File: security-non-us-configurable.patch

package info (click to toggle)
vserver-debiantools 0.6.3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 212 kB
  • ctags: 24
  • sloc: sh: 1,599; makefile: 90
file content (55 lines) | stat: -rw-r--r-- 1,916 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
diff -ur vserver-debiantools-0.3.6/newvserver.sh vserver-debiantools-0.3.6.1/newvserver.sh
--- vserver-debiantools-0.3.6/newvserver.sh	2007-08-20 07:43:58.000000000 +0100
+++ vserver-debiantools-0.3.6.1/newvserver.sh	2007-10-01 14:22:34.000000000 +0100
@@ -71,6 +71,12 @@
 # Local or nearest location of a debian mirror (must include the `/debian')
 MIRROR="http://ftp.uk.debian.org/debian"
 
+# debian-non-US mirror (must include the '/debian-non-US', only used for woody)
+MIRROR_NON_US="http://non-us.debian.org/debian-non-US"
+
+# mirror for security updates
+MIRROR_SECURITY="http://security.debian.org"
+
 # Default network interface for vservers:
 INTERFACE="eth0"
 
@@ -431,10 +437,10 @@
 deb $MIRROR/ $DIST main
 deb-src $MIRROR/ $DIST main
 
-deb http://non-us.debian.org/debian-non-US $DIST/non-US main
-deb-src http://non-us.debian.org/debian-non-US $DIST/non-US main
+deb $MIRROR_NON_US $DIST/non-US main
+deb-src $MIRROR_NON_US $DIST/non-US main
 
-deb http://security.debian.org $DIST/updates main
+deb $MIRROR_SECURITY $DIST/updates main
 
 EOF
 else
@@ -442,7 +448,7 @@
 deb $MIRROR/ $DIST main
 deb-src $MIRROR/ $DIST main
 
-deb http://security.debian.org $DIST/updates main
+deb $MIRROR_SECURITY $DIST/updates main
 
 EOF
 fi
diff -ur vserver-debiantools-0.3.6/newvserver.pod vserver-debiantools-0.3.6.1/newvserver.pod
--- vserver-debiantools-0.3.6/newvserver.pod	2006-12-09 10:31:06.000000000 +0000
+++ vserver-debiantools-0.3.6.1/newvserver.pod	2007-10-01 14:22:00.000000000 +0100
@@ -75,6 +75,12 @@
 Local or nearest location of a debian mirror (must include the `/debian')
 MIRROR="http://ftp.uk.debian.org/debian"
 
+debian-non-US mirror (must include the '/debian-non-US', only used for woody)
+MIRROR_NON_US="http://non-us.debian.org/debian-non-US"
+
+mirror for security updates
+MIRROR_SECURITY="http://security.debian.org"
+
 Default network interface for vservers:
 INTERFACE="eth0"