Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
1af4e0c2
Commit
1af4e0c2
authored
Jun 12, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pkg: it's really tricky to be honest; no @sample for now
parent
1707c68b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
4 deletions
+1
-4
Makefile
pkg/Makefile
+0
-3
origin.conf
pkg/repos/origin.conf
+0
-0
switch_repo.php
scripts/switch_repo.php
+1
-1
No files found.
pkg/Makefile
View file @
1af4e0c2
...
...
@@ -14,9 +14,6 @@ install:
@
cp
-r
${
.CURDIR
}
/repos
${
DESTDIR
}
/usr/local/etc/pkg/
@
(
cd
${
.CURDIR
}
/repos
;
find
*
-type
f
)
|
\
xargs
-n1
printf
"/usr/local/etc/pkg/repos/%s
\n
"
# main package repository configuration
@
cp
${
.CURDIR
}
/origin.conf.sample
${
DESTDIR
}
/usr/local/etc/pkg/repos
@
echo
"@sample /usr/local/etc/pkg/repos/origin.conf.sample"
# available fingerprints
@
cp
-r
${
.CURDIR
}
/fingerprints
${
DESTDIR
}
/usr/local/etc/pkg/
@
(
cd
${
.CURDIR
}
/fingerprints
;
find
*
-type
f
)
|
\
...
...
pkg/
origin.conf.sample
→
pkg/
repos/origin.conf
View file @
1af4e0c2
File moved
scripts/switch_repo.php
View file @
1af4e0c2
...
...
@@ -38,7 +38,7 @@ if (count($argv) > 2) {
$pkg_mirror
=
$argv
[
2
];
}
$pkg_sample
=
file_get_contents
(
'/usr/local/etc/pkg/repos/origin.conf
.sample
'
);
$pkg_sample
=
file_get_contents
(
'/usr/local/etc/pkg/repos/origin.conf'
);
$pkg_sample
=
explode
(
PHP_EOL
,
$pkg_sample
);
$pkg_config
=
''
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment