]> git.pld-linux.org Git - packages/freeswan.git/blame - freeswan-config.patch
we do not want to generate rsa keys in %build; it will be done in %post;
[packages/freeswan.git] / freeswan-config.patch
CommitLineData
64c24b24 1diff -Naur freeswan-1.95.orig/utils/Makefile freeswan-1.95/utils/Makefile
2--- freeswan-1.95.orig/utils/Makefile Mon Feb 18 12:48:24 2002
3+++ freeswan-1.95/utils/Makefile Mon Feb 18 13:12:55 2002
4@@ -67,7 +67,7 @@
5 send-pr.8: send-pr.man
6 sed "s/xVERSIONx/$(IPSECVERSION)/" send-pr.man | sed "s:@IPSEC_DIR@:$(FINALBINDIR):" >$@
7
8-# generate RSA private key... if, and only if, /etc/ipsec.secrets does
9+# generate RSA private key... if, and only if, /etc/ipsec/ipsec.secrets does
10 # not already exist
11 BLURB=-- not filled in because ipsec.secrets existed at build time --
12 secrets.eg: secrets.proto ranbits rsasigkey
13diff -Naur freeswan-1.95.orig/utils/_confread freeswan-1.95/utils/_confread
14--- freeswan-1.95.orig/utils/_confread Mon Feb 18 12:48:24 2002
15+++ freeswan-1.95/utils/_confread Mon Feb 18 13:10:13 2002
16@@ -14,7 +14,7 @@
17 #
18 # RCSID $Id$
19 #
20-# Extract configuration info from /etc/ipsec.conf, repackage as assignments
21+# Extract configuration info from /etc/ipsec/ipsec.conf, repackage as assignments
22 # to shell variables or tab-delimited fields. Success or failure is reported
23 # inline, as extra data, due to the vagaries of shell backquote handling.
24 # In the absence of --varprefix, output is tab-separated fields, like:
7cfbbab1
JK
25@@ -41,7 +41,7 @@
26 # exit 1
27 # fi
28
29-config=/etc/ipsec.conf
64c24b24 30+config=/etc/ipsec/ipsec.conf
7cfbbab1
JK
31 include=yes
32 type=conn
33 fieldfmt=yes
64c24b24 34diff -Naur freeswan-1.95.orig/utils/auto freeswan-1.95/utils/auto
35--- freeswan-1.95.orig/utils/auto Mon Feb 18 12:48:24 2002
36+++ freeswan-1.95/utils/auto Mon Feb 18 13:07:54 2002
7cfbbab1
JK
37@@ -24,7 +24,7 @@
38 other options: [--config ipsecconfigfile] [--verbose] [--show]"
39
40 showonly=
41-config=/etc/ipsec.conf
64c24b24 42+config=/etc/ipsec/ipsec.conf
7cfbbab1
JK
43 info=/var/run/ipsec.info
44 shopts=
45 noinclude=
64c24b24 46diff -Naur freeswan-1.95.orig/utils/barf freeswan-1.95/utils/barf
47--- freeswan-1.95.orig/utils/barf Mon Feb 18 12:48:24 2002
48+++ freeswan-1.95/utils/barf Mon Feb 18 13:09:09 2002
49@@ -144,9 +144,9 @@
aaf2feac 50 _________________________ ipsec/showdefaults
7cfbbab1 51 ipsec showdefaults
aaf2feac 52 _________________________ ipsec/conf
7cfbbab1 53-ipsec _include /etc/ipsec.conf | ipsec _keycensor
64c24b24 54+ipsec _include /etc/ipsec/ipsec.conf | ipsec _keycensor
aaf2feac 55 _________________________ ipsec/secrets
7cfbbab1 56-ipsec _include /etc/ipsec.secrets | ipsec _secretcensor
64c24b24 57+ipsec _include /etc/ipsec/ipsec.secrets | ipsec _secretcensor
aaf2feac 58 _________________________ ipsec/ls-dir
64c24b24 59 ls -l ${IPSEC_DIR-/usr/local/lib/ipsec}
aaf2feac 60 _________________________ ipsec/updowns
64c24b24 61diff -Naur freeswan-1.95.orig/utils/conf.proto freeswan-1.95/utils/conf.proto
62--- freeswan-1.95.orig/utils/conf.proto Mon Feb 18 12:48:24 2002
63+++ freeswan-1.95/utils/conf.proto Mon Feb 18 13:09:51 2002
64@@ -1,4 +1,4 @@
65-# /etc/ipsec.conf - FreeS/WAN IPsec configuration file
66+# /etc/ipsec/ipsec.conf - FreeS/WAN IPsec configuration file
67 # RCSID $Id$
68
69 # More elaborate and more varied sample configurations can be found
70diff -Naur freeswan-1.95.orig/utils/manual freeswan-1.95/utils/manual
71--- freeswan-1.95.orig/utils/manual Mon Feb 18 12:48:24 2002
72+++ freeswan-1.95/utils/manual Mon Feb 18 13:13:17 2002
aaf2feac
SZ
73@@ -26,7 +26,7 @@
74 unset LANG LANGUAGE LC_ALL LC_MESSAGES
7cfbbab1
JK
75
76 showonly=
77-config=/etc/ipsec.conf
64c24b24 78+config=/etc/ipsec/ipsec.conf
7cfbbab1
JK
79 info=/var/run/ipsec.info
80 shopts=
81 other=0
64c24b24 82diff -Naur freeswan-1.95.orig/utils/showhostkey freeswan-1.95/utils/showhostkey
83--- freeswan-1.95.orig/utils/showhostkey Mon Feb 18 12:48:24 2002
84+++ freeswan-1.95/utils/showhostkey Mon Feb 18 13:14:06 2002
85@@ -17,7 +17,7 @@
86 me="ipsec showhostkey"
87 usage="Usage: $me [--file secrets] [--left] [--right] [--txt gateway] [--id id]"
88
89-file=/etc/ipsec.secrets
90+file=/etc/ipsec/ipsec.secrets
91 fmt="dns"
92 gw=
93 id=
This page took 0.04986 seconds and 4 git commands to generate.