[Trisquel-devel] Rev 55: apt-mirror helper added to lucid in file:///home/bzr/package-helpers/trunk/
Ruben Rodriguez
ruben at trisquel.info
Sun Jun 10 05:05:44 CEST 2012
At file:///home/bzr/package-helpers/trunk/
------------------------------------------------------------
revno: 55
revision-id: ruben en trisquel.info-20120610030456-h31c4nyi3gus4j46
parent: ruben en trisquel.info-20120610025919-msed4o43n82xunmd
committer: Ruben Rodriguez <ruben en trisquel.info>
branch nick: trunk
timestamp: Sun 2012-06-10 05:04:56 +0200
message:
apt-mirror helper added to lucid
------------ pr�xima parte ------------
=== added directory 'helpers/lucid/DATA/apt-mirror'
=== added file 'helpers/lucid/DATA/apt-mirror/Trisquel-mirror.list'
--- a/helpers/lucid/DATA/apt-mirror/Trisquel-mirror.list 1970-01-01 00:00:00 +0000
+++ b/helpers/lucid/DATA/apt-mirror/Trisquel-mirror.list 2012-06-10 03:04:56 +0000
@@ -0,0 +1,27 @@
+############# config ##################
+#
+# set base_path /var/spool/apt-mirror
+#
+# set mirror_path $base_path/mirror
+# set skel_path $base_path/skel
+# set var_path $base_path/var
+# set cleanscript $var_path/clean.sh
+# set defaultarch <running host architecture>
+# set postmirror_script $var_path/postmirror.sh
+# set run_postmirror 0
+set nthreads 20
+set _tilde 0
+#
+############# end config ##############
+
+deb http://archive.trisquel.info/trisquel @CODENAME@ main
+deb http://archive.trisquel.info/trisquel @CODENAME en -security main
+deb http://archive.trisquel.info/trisquel @CODENAME en -updates main
+deb http://archive.trisquel.info/trisquel @CODENAME en -backports main
+
+deb-src http://archive.trisquel.info/trisquel @CODENAME@ main
+deb-src http://archive.trisquel.info/trisquel @CODENAME en -security main
+deb-src http://archive.trisquel.info/trisquel @CODENAME en -updates main
+deb-src http://archive.trisquel.info/trisquel @CODENAME en -backports main
+
+clean http://archive.trisquel.info/trisquel
=== added file 'helpers/lucid/make-apt-mirror'
--- a/helpers/lucid/make-apt-mirror 1970-01-01 00:00:00 +0000
+++ b/helpers/lucid/make-apt-mirror 2012-06-10 03:04:56 +0000
@@ -0,0 +1,29 @@
+#!/bin/sh
+#
+# Copyright (C) 2012 Santiago Rodr��guez <santi en trisquel.info>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+#
+
+VERSION=1
+
+. ./config
+
+cp $DATA/Trisquel-mirror.list debian/
+
+changelog "Added config for Trisquel GNU/Linux"
+
+compile
+
More information about the Trisquel-devel
mailing list