Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
package-helpers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
trisquel
package-helpers
Commits
49d62146
Commit
49d62146
authored
12 years ago
by
Ruben Rodriguez
Browse files
Options
Downloads
Patches
Plain Diff
Updated apt, fixes #5518
parent
64cc0572
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
helpers/make-apt
+55
-1
55 additions, 1 deletion
helpers/make-apt
with
55 additions
and
1 deletion
helpers/make-apt
+
55
−
1
View file @
49d62146
...
@@ -17,13 +17,67 @@
...
@@ -17,13 +17,67 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
#
VERSION
=
1
VERSION
=
2
COMPONENT
=
main
COMPONENT
=
main
.
./config
.
./config
cp
$DATA
/trisquel-archive.gpg share
cp
$DATA
/trisquel-archive.gpg share
# remove non-free examples https://trisquel.info/en/issues/5518
replace
"contrib non-free"
extras
.
replace non-free extras
.
replace contrib universe doc
replace contrib universe po
cat
<<
EOF
> ./test/interactive-helper/networkless-install-fixes/sources.test.list
deb http://archive.trisquel.info/trisquel/
$CODENAME
main
deb-src http://archive.trisquel.info/trisquel/
$CODENAME
main
deb http://archive.trisquel.info/trisquel/
$CODENAME
-updates main
deb-src http://archive.trisquel.info/trisquel/
$CODENAME
-updates main
deb http://archive.trisquel.info/trisquel/
$CODENAME
-security main
deb-src http://archive.trisquel.info/trisquel/
$CODENAME
-security main
EOF
cp
./test/interactive-helper/networkless-install-fixes/sources.test.list ./doc/examples/sources.list
cat
<<
EOF
> ./doc/examples/apt-ftparchive.conf
// This config is for use with the pool-structure for the packages, thus we
// don't use a Tree Section in here
// The debian archive should be in the current working dir
Dir {
ArchiveDir ".";
CacheDir ".";
};
// Create Packages, Packages.gz and Packages.bz2, remove what you don't need
Default {
Packages::Compress ". gzip bzip2";
Sources::Compress ". gzip bzip2";
Contents::Compress ". gzip bzip2";
};
// Includes the main section. You can structure the directory tree under
// ./pool/main any way you like, apt-ftparchive will take any deb (and
// source package) it can find. This creates a Packages a Sources and a
// Contents file for these in the main section of the sid release
BinDirectory "pool/main" {
Packages "dists/
$CODENAME
/main/binary-i386/Packages";
Sources "dists/
$CODENAME
/main/source/Sources";
Contents "dists/
$CODENAME
/Contents-i386";
}
// By default all Packages should have the extension ".deb"
Default {
Packages {
Extensions ".deb";
};
};
EOF
## end non-free examples
sed
-i
's_http://archive.ubuntu.com/ubuntu/project/_http://archive.trisquel.info/trisquel/_g; s/ubuntu-archive-keyring/trisquel-archive-keyring/g; s/ubuntu-keyring/trisquel-keyring/g; '
cmdline/apt-key debian/control
*
sed
-i
's_http://archive.ubuntu.com/ubuntu/project/_http://archive.trisquel.info/trisquel/_g; s/ubuntu-archive-keyring/trisquel-archive-keyring/g; s/ubuntu-keyring/trisquel-keyring/g; '
cmdline/apt-key debian/control
*
replace Ubuntu Trisquel methods/http.cc
replace Ubuntu Trisquel methods/http.cc
replace ubuntu-archive.gpg trisquel-archive.gpg
.
replace ubuntu-archive.gpg trisquel-archive.gpg
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment