[Trisquel-devel] Rev 42: + Added support for trisquel to apt-mirror. Closes #2539 in file:///home/bzr/package-helpers/branches/aklis/

Santiago Rodríguez santi at trisquel.info
Fri Feb 17 00:52:09 CET 2012


At file:///home/bzr/package-helpers/branches/aklis/

------------------------------------------------------------
revno: 42
revision-id: santi at trisquel.info-20120216235128-inm3stwner0mz7de
parent: santi at trisquel.info-20120216233439-qgsse8j5bp70zdc7
committer: Santiago Rodríguez <santi at trisquel.info>
branch nick: aklis
timestamp: Fri 2012-02-17 00:51:28 +0100
message:
  + Added support for trisquel to apt-mirror. Closes #2539
-------------- next part --------------
=== added directory 'helpers/natty/DATA/apt-mirror'
=== added file 'helpers/natty/DATA/apt-mirror/Trisquel-mirror.list'
--- a/helpers/natty/DATA/apt-mirror/Trisquel-mirror.list	1970-01-01 00:00:00 +0000
+++ b/helpers/natty/DATA/apt-mirror/Trisquel-mirror.list	2012-02-16 23:51:28 +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 at -security main 
+deb http://archive.trisquel.info/trisquel @CODENAME at -updates main 
+deb http://archive.trisquel.info/trisquel @CODENAME at -backports main 
+
+deb-src http://archive.trisquel.info/trisquel @CODENAME@ main 
+deb-src http://archive.trisquel.info/trisquel @CODENAME at -security main 
+deb-src http://archive.trisquel.info/trisquel @CODENAME at -updates main 
+deb-src http://archive.trisquel.info/trisquel @CODENAME at -backports main 
+
+clean http://archive.trisquel.info/trisquel

=== added file 'helpers/natty/make-apt-mirror'
--- a/helpers/natty/make-apt-mirror	1970-01-01 00:00:00 +0000
+++ b/helpers/natty/make-apt-mirror	2012-02-16 23:51:28 +0000
@@ -0,0 +1,29 @@
+#!/bin/sh
+#
+#    Copyright (C) 2012  Santiago Rodr��guez  <santi at 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
+

=== added directory 'helpers/oneiric/DATA/apt-mirror'
=== added file 'helpers/oneiric/DATA/apt-mirror/Trisquel-mirror.list'
--- a/helpers/oneiric/DATA/apt-mirror/Trisquel-mirror.list	1970-01-01 00:00:00 +0000
+++ b/helpers/oneiric/DATA/apt-mirror/Trisquel-mirror.list	2012-02-16 23:51:28 +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 at -security main 
+deb http://archive.trisquel.info/trisquel @CODENAME at -updates main 
+deb http://archive.trisquel.info/trisquel @CODENAME at -backports main 
+
+deb-src http://archive.trisquel.info/trisquel @CODENAME@ main 
+deb-src http://archive.trisquel.info/trisquel @CODENAME at -security main 
+deb-src http://archive.trisquel.info/trisquel @CODENAME at -updates main 
+deb-src http://archive.trisquel.info/trisquel @CODENAME at -backports main 
+
+clean http://archive.trisquel.info/trisquel

=== added file 'helpers/oneiric/make-apt-mirror'
--- a/helpers/oneiric/make-apt-mirror	1970-01-01 00:00:00 +0000
+++ b/helpers/oneiric/make-apt-mirror	2012-02-16 23:51:28 +0000
@@ -0,0 +1,29 @@
+#!/bin/sh
+#
+#    Copyright (C) 2012  Santiago Rodr��guez  <santi at 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