Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 134484 | Differences between
and this patch

Collapse All | Expand All

(-)org.openswan-2.4.7/Makefile.inc (-5 / +5 lines)
Lines 46-52 Link Here
46
DESTDIR?=
46
DESTDIR?=
47
47
48
# "local" part of tree, used in building other pathnames
48
# "local" part of tree, used in building other pathnames
49
INC_USRLOCAL=/usr/local
49
INC_USRLOCAL=/usr
50
50
51
# PUBDIR is where the "ipsec" command goes; beware, many things define PATH
51
# PUBDIR is where the "ipsec" command goes; beware, many things define PATH
52
# settings which are assumed to include it (or at least, to include *some*
52
# settings which are assumed to include it (or at least, to include *some*
Lines 80-86 Link Here
80
MANPLACES=man3 man5 man8
80
MANPLACES=man3 man5 man8
81
81
82
# where configuration files go
82
# where configuration files go
83
FINALCONFFILE?=/etc/ipsec.conf
83
FINALCONFFILE?=/etc/ipsec/ipsec.conf
84
CONFFILE=$(DESTDIR)$(FINALCONFFILE)
84
CONFFILE=$(DESTDIR)$(FINALCONFFILE)
85
85
86
FINALCONFDIR?=/etc
86
FINALCONFDIR?=/etc
Lines 91-100 Link Here
91
91
92
# sample configuration files go into
92
# sample configuration files go into
93
INC_DOCDIR?=share/doc
93
INC_DOCDIR?=share/doc
94
FINALEXAMPLECONFDIR=${INC_USRLOCAL}/${INC_DOCDIR}/openswan
94
FINALEXAMPLECONFDIR=${INC_USRLOCAL}/${INC_DOCDIR}/openswan-2.4.7
95
EXAMPLECONFDIR=${DESTDIR}${FINALEXAMPLECONFDIR}
95
EXAMPLECONFDIR=${DESTDIR}${FINALEXAMPLECONFDIR}
96
96
97
FINALDOCDIR?=${INC_USRLOCAL}/${INC_DOCDIR}/openswan
97
FINALDOCDIR?=${INC_USRLOCAL}/${INC_DOCDIR}/openswan-2.4.7
98
DOCDIR=${DESTDIR}${FINALDOCDIR}
98
DOCDIR=${DESTDIR}${FINALDOCDIR}
99
99
100
# where per-conn pluto logs go
100
# where per-conn pluto logs go
Lines 239-245 Link Here
239
# installed one in RH 7.2, won't work - you wind up depending upon
239
# installed one in RH 7.2, won't work - you wind up depending upon
240
# openssl.
240
# openssl.
241
241
242
BIND9STATICLIBDIR?=/usr/local/lib
242
BIND9STATICLIBDIR?=/usr/lib
243
243
244
# if you install elsewere, you may need to point the include files to it.
244
# if you install elsewere, you may need to point the include files to it.
245
#BIND9STATICLIBDIR?=/sandel/lib
245
#BIND9STATICLIBDIR?=/sandel/lib
(-)org.openswan-2.4.7/doc/Makefile (-1 / +1 lines)
Lines 1-6 Link Here
1
# Makefile to generate various formats from HTML source
1
# Makefile to generate various formats from HTML source
2
#
2
#
3
# Assumes the htmldoc utility is available.
3
# No longer cares if the htmldoc utility is available.
4
# This can be downloaded from www.easysw.com
4
# This can be downloaded from www.easysw.com
5
#
5
#
6
# Also needs lynx(1) for HTML-to-text conversion
6
# Also needs lynx(1) for HTML-to-text conversion
(-)org.openswan-2.4.7/lib/libcrypto/libdes/asm/crypt586.pl (-1 / +1 lines)
Lines 1-4 Link Here
1
#!/usr/local/bin/perl
1
#!/usr/bin/perl
2
#
2
#
3
# The inner loop instruction sequence and the IP/FP modifications are from
3
# The inner loop instruction sequence and the IP/FP modifications are from
4
# Svend Olaf Mikkelsen <svolaf@inet.uni-c.dk>
4
# Svend Olaf Mikkelsen <svolaf@inet.uni-c.dk>
(-)org.openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/cbc.pl (-1 / +1 lines)
Lines 1-4 Link Here
1
#!/usr/local/bin/perl
1
#!/usr/bin/perl
2
2
3
# void des_ncbc_encrypt(input, output, length, schedule, ivec, enc)
3
# void des_ncbc_encrypt(input, output, length, schedule, ivec, enc)
4
# des_cblock (*input);
4
# des_cblock (*input);
(-)org.openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/x86asm.pl (-1 / +1 lines)
Lines 1-4 Link Here
1
#!/usr/local/bin/perl
1
#!/usr/bin/perl
2
2
3
# require 'x86asm.pl';
3
# require 'x86asm.pl';
4
# &asm_init("cpp","des-586.pl");
4
# &asm_init("cpp","des-586.pl");
(-)org.openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/x86ms.pl (-1 / +1 lines)
Lines 1-4 Link Here
1
#!/usr/local/bin/perl
1
#!/usr/bin/perl
2
2
3
package x86ms;
3
package x86ms;
4
4
(-)org.openswan-2.4.7/lib/libcrypto/libdes/asm/perlasm/x86unix.pl (-1 / +1 lines)
Lines 1-4 Link Here
1
#!/usr/local/bin/perl
1
#!/usr/bin/perl
2
2
3
package x86unix;
3
package x86unix;
4
4
(-)org.openswan-2.4.7/lib/liblwres/Makefile (-1 / +1 lines)
Lines 20-26 Link Here
20
CDEFINES = -g
20
CDEFINES = -g
21
CWARNINGS = -Werror
21
CWARNINGS = -Werror
22
22
23
CFLAGS=${CINCLUDES} ${CDEFINES} ${CWARNINGS}
23
CFLAGS=${CINCLUDES} ${CDEFINES} ${CWARNINGS} $(USERCOMPILE)
24
24
25
VERSION="@(\#) openswan-hacking-9.3-for-osw2"
25
VERSION="@(\#) openswan-hacking-9.3-for-osw2"
26
LIBINTERFACE=2
26
LIBINTERFACE=2
(-)org.openswan-2.4.7/linux/net/ipsec/des/asm/des-586.pl (-1 / +1 lines)
Lines 1-4 Link Here
1
#!/usr/local/bin/perl
1
#!/usr/bin/perl
2
#
2
#
3
# The inner loop instruction sequence and the IP/FP modifications are from
3
# The inner loop instruction sequence and the IP/FP modifications are from
4
# Svend Olaf Mikkelsen <svolaf@inet.uni-c.dk>
4
# Svend Olaf Mikkelsen <svolaf@inet.uni-c.dk>
(-)org.openswan-2.4.7/linux/net/ipsec/des/asm/des686.pl (-1 / +1 lines)
Lines 1-4 Link Here
1
#!/usr/local/bin/perl
1
#!/usr/bin/perl
2
2
3
$prog="des686.pl";
3
$prog="des686.pl";
4
4
(-)org.openswan-2.4.7/linux/net/ipsec/des/asm/desboth.pl (-1 / +1 lines)
Lines 1-4 Link Here
1
#!/usr/local/bin/perl
1
#!/usr/bin/perl
2
2
3
$L="edi";
3
$L="edi";
4
$R="esi";
4
$R="esi";
(-)org.openswan-2.4.7/programs/_include/_include.in (-2 / +2 lines)
Lines 47-56 Link Here
47
do
47
do
48
	if test ! -r "$f"
48
	if test ! -r "$f"
49
	then
49
	then
50
		if test ! "$f" = "/etc/ipsec.conf"
50
		if test ! "$f" = "/etc/ipsec/ipsec.conf"
51
		then
51
		then
52
			echo "#:cannot open configuration file \'$f\'"
52
			echo "#:cannot open configuration file \'$f\'"
53
			if test "$f" = "/etc/ipsec.secrets"
53
			if test "$f" = "/etc/ipsec/ipsec.secrets"
54
			then
54
			then
55
				echo "#:Your secrets file will be created when you start FreeS/WAN for the first time."
55
				echo "#:Your secrets file will be created when you start FreeS/WAN for the first time."
56
			fi
56
			fi
(-)org.openswan-2.4.7/programs/barf/barf.in (-5 / +5 lines)
Lines 16-22 Link Here
16
16
17
LOGS=${LOGS-/var/log}
17
LOGS=${LOGS-/var/log}
18
CONFS=${IPSEC_CONFS-/etc}
18
CONFS=${IPSEC_CONFS-/etc}
19
CONFDDIR=${IPSEC_CONFDDIR-/etc/ipsec.d}
19
CONFDDIR=${IPSEC_CONFDDIR-/etc/ipsec/ipsec.d}
20
me="ipsec barf"
20
me="ipsec barf"
21
# Max lines to use for things like 'route -n'
21
# Max lines to use for things like 'route -n'
22
maxlines=100
22
maxlines=100
Lines 238-250 Link Here
238
	done
238
	done
239
fi
239
fi
240
_________________________ ipsec/ls-libdir
240
_________________________ ipsec/ls-libdir
241
ls -l ${IPSEC_LIBDIR-/usr/local/lib/ipsec}
241
ls -l ${IPSEC_LIBDIR-/usr/lib/ipsec}
242
_________________________ ipsec/ls-execdir
242
_________________________ ipsec/ls-execdir
243
ls -l ${IPSEC_EXECDIR-/usr/local/libexec/ipsec}
243
ls -l ${IPSEC_EXECDIR-/usr/libexec/ipsec}
244
_________________________ ipsec/updowns
244
_________________________ ipsec/updowns
245
for f in `ls ${IPSEC_EXECDIR-/usr/local/libexec/ipsec} | egrep updown`
245
for f in `ls ${IPSEC_EXECDIR-/usr/libexec/ipsec} | egrep updown`
246
do
246
do
247
	cat ${IPSEC_EXECDIR-/usr/local/libexec/ipsec}/$f
247
	cat ${IPSEC_EXECDIR-/usr/libexec/ipsec}/$f
248
done
248
done
249
_________________________ /proc/net/dev
249
_________________________ /proc/net/dev
250
cat /proc/net/dev
250
cat /proc/net/dev
(-)org.openswan-2.4.7/programs/eroute/eroute.5 (-1 / +1 lines)
Lines 168-174 Link Here
168
.SH "FILES"
168
.SH "FILES"
169
169
170
.PP
170
.PP
171
/proc/net/ipsec_eroute, /usr/local/bin/ipsec
171
/proc/net/ipsec_eroute, /usr/bin/ipsec
172
172
173
.SH "SEE ALSO"
173
.SH "SEE ALSO"
174
174
(-)org.openswan-2.4.7/programs/eroute/eroute.8 (-1 / +1 lines)
Lines 308-314 Link Here
308
.br
308
.br
309
.LP
309
.LP
310
.SH FILES
310
.SH FILES
311
/proc/net/ipsec_eroute, /usr/local/bin/ipsec
311
/proc/net/ipsec_eroute, /usr/bin/ipsec
312
.SH "SEE ALSO"
312
.SH "SEE ALSO"
313
ipsec(8), ipsec_manual(8), ipsec_tncfg(8), ipsec_spi(8),
313
ipsec(8), ipsec_manual(8), ipsec_tncfg(8), ipsec_spi(8),
314
ipsec_spigrp(8), ipsec_klipsdebug(8), ipsec_eroute(5)
314
ipsec_spigrp(8), ipsec_klipsdebug(8), ipsec_eroute(5)
(-)org.openswan-2.4.7/programs/ipsec/ipsec.8 (-1 / +1 lines)
Lines 81-87 Link Here
81
.I ipsec
81
.I ipsec
82
thinks the IPsec configuration files are stored.
82
thinks the IPsec configuration files are stored.
83
.SH FILES
83
.SH FILES
84
/usr/local/lib/ipsec	usual utilities directory
84
/usr/lib/ipsec	usual utilities directory
85
.SH ENVIRONMENT
85
.SH ENVIRONMENT
86
.PP
86
.PP
87
The following environment variables control where FreeS/WAN finds its
87
The following environment variables control where FreeS/WAN finds its
(-)org.openswan-2.4.7/programs/klipsdebug/klipsdebug.5 (-1 / +1 lines)
Lines 114-120 Link Here
114
.SH "FILES"
114
.SH "FILES"
115
115
116
.PP
116
.PP
117
/proc/net/ipsec_klipsdebug, /usr/local/bin/ipsec
117
/proc/net/ipsec_klipsdebug, /usr/bin/ipsec
118
118
119
.SH "SEE ALSO"
119
.SH "SEE ALSO"
120
120
(-)org.openswan-2.4.7/programs/klipsdebug/klipsdebug.8 (-1 / +1 lines)
Lines 111-117 Link Here
111
.SH "FILES"
111
.SH "FILES"
112
112
113
.PP
113
.PP
114
/proc/net/ipsec_klipsdebug, /usr/local/bin/ipsec
114
/proc/net/ipsec_klipsdebug, /usr/bin/ipsec
115
115
116
.SH "SEE ALSO"
116
.SH "SEE ALSO"
117
117
(-)org.openswan-2.4.7/programs/mailkey/mailkey.in (-1 / +1 lines)
Lines 60-66 Link Here
60
60
61
"$test1st"
61
"$test1st"
62
62
63
Common concerns: This account must be able to read /etc/ipsec.secrets. 
63
Common concerns: This account must be able to read /etc/ipsec/ipsec.secrets. 
64
If you haven't generated your key yet, please run 'ipsec newhostkey'." 
64
If you haven't generated your key yet, please run 'ipsec newhostkey'." 
65
exit 0
65
exit 0
66
}
66
}
(-)org.openswan-2.4.7/programs/pluto/Makefile (-1 / +1 lines)
Lines 256-262 Link Here
256
	-DPOLICYGROUPSDIR=\"${FINALCONFDDIR}/policies\" \
256
	-DPOLICYGROUPSDIR=\"${FINALCONFDDIR}/policies\" \
257
	-DPERPEERLOGDIR=\"${FINALLOGDIR}/pluto/peer\"
257
	-DPERPEERLOGDIR=\"${FINALLOGDIR}/pluto/peer\"
258
258
259
ALLFLAGS = $(CPPFLAGS) $(CFLAGS)
259
ALLFLAGS = $(CPPFLAGS) $(CFLAGS) $(USERCOMPILE)
260
260
261
# libefence is a free memory allocation debugger
261
# libefence is a free memory allocation debugger
262
# Solaris 2 needs -lsocket -lnsl
262
# Solaris 2 needs -lsocket -lnsl
(-)org.openswan-2.4.7/programs/setup/Makefile (-15 lines)
Lines 33-57 Link Here
33
	@rm -f $(BINDIR)/setup
33
	@rm -f $(BINDIR)/setup
34
	@$(INSTALL) $(INSTBINFLAGS) setup $(RCDIR)/ipsec
34
	@$(INSTALL) $(INSTBINFLAGS) setup $(RCDIR)/ipsec
35
	@ln -s $(FINALRCDIR)/ipsec $(BINDIR)/setup
35
	@ln -s $(FINALRCDIR)/ipsec $(BINDIR)/setup
36
	-@for i in 0 1 2 3 4 5 6; do mkdir -p $(RCDIR)/../rc$$i.d; done
37
	-@cd $(RCDIR)/../rc0.d && ln -f -s ../init.d/ipsec K76ipsec
38
	-@cd $(RCDIR)/../rc1.d && ln -f -s ../init.d/ipsec K76ipsec
39
	-@cd $(RCDIR)/../rc2.d && ln -f -s ../init.d/ipsec S47ipsec
40
	-@cd $(RCDIR)/../rc3.d && ln -f -s ../init.d/ipsec S47ipsec
41
	-@cd $(RCDIR)/../rc4.d && ln -f -s ../init.d/ipsec S47ipsec
42
	-@cd $(RCDIR)/../rc5.d && ln -f -s ../init.d/ipsec S47ipsec
43
	-@cd $(RCDIR)/../rc6.d && ln -f -s ../init.d/ipsec K76ipsec
44
36
45
install_file_list::
37
install_file_list::
46
	@echo $(RCDIR)/ipsec
38
	@echo $(RCDIR)/ipsec
47
	@echo $(BINDIR)/setup
39
	@echo $(BINDIR)/setup
48
	@echo $(RCDIR)/../rc0.d/K76ipsec
49
	@echo $(RCDIR)/../rc1.d/K76ipsec
50
	@echo $(RCDIR)/../rc2.d/S47ipsec
51
	@echo $(RCDIR)/../rc3.d/S47ipsec
52
	@echo $(RCDIR)/../rc4.d/S47ipsec
53
	@echo $(RCDIR)/../rc5.d/S47ipsec
54
	@echo $(RCDIR)/../rc6.d/K76ipsec
55
40
56
clean::
41
clean::
57
	@rm -f setup
42
	@rm -f setup
(-)org.openswan-2.4.7/programs/showhostkey/showhostkey.in (-1 / +1 lines)
Lines 18-24 Link Here
18
usage="Usage: $me [--file secrets] [--left] [--right] [--txt gateway] [--id id]
18
usage="Usage: $me [--file secrets] [--left] [--right] [--txt gateway] [--id id]
19
                  [--dhclient] [--ipseckey]"
19
                  [--dhclient] [--ipseckey]"
20
20
21
file=/etc/ipsec.secrets
21
file=/etc/ipsec/ipsec.secrets
22
fmt=""
22
fmt=""
23
gw=
23
gw=
24
id=
24
id=
(-)org.openswan-2.4.7/programs/spi/spi.5 (-1 / +1 lines)
Lines 157-163 Link Here
157
.SH "FILES"
157
.SH "FILES"
158
158
159
.PP
159
.PP
160
/proc/net/ipsec_spi, /usr/local/bin/ipsec
160
/proc/net/ipsec_spi, /usr/bin/ipsec
161
161
162
.SH "SEE ALSO"
162
.SH "SEE ALSO"
163
163
(-)org.openswan-2.4.7/programs/spi/spi.8 (-1 / +1 lines)
Lines 215-221 Link Here
215
.SH "FILES"
215
.SH "FILES"
216
216
217
.PP
217
.PP
218
/proc/net/ipsec_spi, /usr/local/bin/ipsec
218
/proc/net/ipsec_spi, /usr/bin/ipsec
219
219
220
.SH "SEE ALSO"
220
.SH "SEE ALSO"
221
221
(-)org.openswan-2.4.7/programs/spigrp/spigrp.5 (-1 / +1 lines)
Lines 67-73 Link Here
67
.SH "FILES"
67
.SH "FILES"
68
68
69
.PP
69
.PP
70
/proc/net/ipsec_spigrp, /usr/local/bin/ipsec
70
/proc/net/ipsec_spigrp, /usr/bin/ipsec
71
71
72
.SH "SEE ALSO"
72
.SH "SEE ALSO"
73
73
(-)org.openswan-2.4.7/programs/spigrp/spigrp.8 (-1 / +1 lines)
Lines 87-93 Link Here
87
.SH "FILES"
87
.SH "FILES"
88
88
89
.PP
89
.PP
90
/proc/net/ipsec_spigrp, /usr/local/bin/ipsec
90
/proc/net/ipsec_spigrp, /usr/bin/ipsec
91
91
92
.SH "SEE ALSO"
92
.SH "SEE ALSO"
93
93
(-)org.openswan-2.4.7/programs/tncfg/tncfg.5 (-1 / +1 lines)
Lines 101-107 Link Here
101
.SH "FILES"
101
.SH "FILES"
102
102
103
.PP
103
.PP
104
/proc/net/ipsec_tncfg, /usr/local/bin/ipsec
104
/proc/net/ipsec_tncfg, /usr/bin/ipsec
105
105
106
.SH "SEE ALSO"
106
.SH "SEE ALSO"
107
107
(-)org.openswan-2.4.7/programs/tncfg/tncfg.8 (-1 / +1 lines)
Lines 63-69 Link Here
63
.SH "FILES"
63
.SH "FILES"
64
64
65
.PP
65
.PP
66
/proc/net/ipsec_tncfg, /usr/local/bin/ipsec
66
/proc/net/ipsec_tncfg, /usr/bin/ipsec
67
67
68
.SH "SEE ALSO"
68
.SH "SEE ALSO"
69
69

Return to bug 134484