1 diff -urN isakmpd/GNUmakefile isakmpd.new/GNUmakefile
2 --- isakmpd/GNUmakefile 2004-01-16 13:36:32.000000000 +0100
3 +++ isakmpd.new/GNUmakefile 2006-09-03 17:33:03.000000000 +0200
10 +install: install-bin install-man
13 + -mkdir -p $(DESTDIR)$(BINDIR)
14 + $(INSTALL) $(INSTALL_OPTS) -m 755 isakmpd $(DESTDIR)$(BINDIR)
17 + -mkdir -p $(DESTDIR)$(MANDIR)/man8
18 + $(INSTALL) $(INSTALL_OPTS) -m 444 isakmpd.8 $(DESTDIR)$(MANDIR)/man8
19 + -mkdir -p $(DESTDIR)$(MANDIR)/man5
20 + $(INSTALL) $(INSTALL_OPTS) -m 444 isakmpd.conf.5 isakmpd.policy.5 $(DESTDIR)$(MANDIR)/man5
21 diff -urN isakmpd/samples/Makefile isakmpd.new/samples/Makefile
22 --- isakmpd/samples/Makefile 2003-06-03 16:39:50.000000000 +0200
23 +++ isakmpd.new/samples/Makefile 2006-09-03 17:07:24.000000000 +0200
27 FILES= VPN-* policy singlehost-*
28 -TARGETDIR= /usr/share/ipsec/isakmpd
29 +TARGETDIR= /usr/share/isakmpd/samples
31 # The mkdir below is for installation on OpenBSD pre 2.7
34 diff -urN isakmp.old/sysdep/linux/GNUmakefile.sysdep isakmp.dev/sysdep/linux/GNUmakefile.sysdep
35 --- isakmp.old/sysdep/linux/GNUmakefile.sysdep 2006-09-07 13:49:20.000000000 +0200
36 +++ isakmp.dev/sysdep/linux/GNUmakefile.sysdep 2006-09-07 13:51:41.000000000 +0200
38 # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
41 -LIBGMP:= /usr/lib/libgmp.a
42 -LIBCRYPTO:= /usr/lib/libcrypto.a
45 LIBSYSDEPDIR:= ${.CURDIR}/sysdep/common/libsysdep
46 LIBSYSDEP:= ${LIBSYSDEPDIR}/libsysdep.a
48 -LDADD+= -lgmp ${LIBSYSDEP} ${LIBCRYPTO}
49 +LDADD+= $(EXTRA_LDFLAGS) -lgmp ${LIBSYSDEP} ${LIBCRYPTO}
50 DPADD+= ${LIBGMP} ${LIBSYSDEP}
52 CFLAGS+= -DHAVE_GETNAMEINFO -DUSE_OLD_SOCKADDR -DHAVE_PCAP \
53 -DNEED_SYSDEP_APP -DMP_FLAVOUR=MP_FLAVOUR_GMP -DUSE_AES \
54 -I${.CURDIR}/sysdep/linux/include -I${.CURDIR}/sysdep/common \
55 - -I/usr/include/openssl
58 FEATURES= debug tripledes blowfish cast ec aggressive x509 policy
59 FEATURES+= dpd nat_traversal isakmp_cfg des aes
60 diff -ruN isakmpd-20041012.orig/GNUmakefile isakmpd-20041012.new/GNUmakefile
61 --- isakmpd-20041012.orig/GNUmakefile 2006-12-16 22:41:26.000000000 +0100
62 +++ isakmpd-20041012.new/GNUmakefile 2006-12-16 22:48:27.000000000 +0100
65 CFLAGS+= -DUSE_LIBCRYPTO
71 diff -ruN isakmpd-20041012.orig/Makefile isakmpd-20041012.new/Makefile
72 --- isakmpd-20041012.orig/Makefile 2004-10-12 23:25:52.000000000 +0200
73 +++ isakmpd-20041012.new/Makefile 2006-12-16 22:46:48.000000000 +0100
76 CFLAGS+= -DUSE_LIBCRYPTO
82 diff -ruN isakmpd-20041012.orig/apps/certpatch/Makefile isakmpd-20041012.new/apps/certpatch/Makefile
83 --- isakmpd-20041012.orig/apps/certpatch/Makefile 2004-10-12 23:25:52.000000000 +0200
84 +++ isakmpd-20041012.new/apps/certpatch/Makefile 2006-12-16 22:48:58.000000000 +0100
86 .PATH: ${TOPSRC} ${TOPSRC}/sysdep/${OS} ${TOPOBJ}
87 CFLAGS+= -I${TOPSRC} -I${TOPSRC}/sysdep/${OS} -I${TOPOBJ} -Wall
92 .if ${FEATURES:Mgmp} == "gmp"
93 diff -ruN isakmpd-20041012.orig/regress/crypto/Makefile isakmpd-20041012.new/regress/crypto/Makefile
94 --- isakmpd-20041012.orig/regress/crypto/Makefile 2004-10-12 23:25:52.000000000 +0200
95 +++ isakmpd-20041012.new/regress/crypto/Makefile 2006-12-16 22:50:02.000000000 +0100
97 -DUSE_TRIPLEDES -DUSE_CAST -DUSE_BLOWFISH -DUSE_DES \
99 LDADD+= -lcrypto -ldes
100 -DPADD+= ${LIBCRYPTO} ${LIBDES}
105 diff -ruN isakmpd-20041012.orig/regress/dh/Makefile isakmpd-20041012.new/regress/dh/Makefile
106 --- isakmpd-20041012.orig/regress/dh/Makefile 2004-10-12 23:25:52.000000000 +0200
107 +++ isakmpd-20041012.new/regress/dh/Makefile 2006-12-16 22:49:25.000000000 +0100
112 -DPADD+= ${LIBCRYPTO}
115 .if ${FEATURES:Mgmp} == "gmp"
116 diff -ruN isakmpd-20041012.orig/regress/group/Makefile isakmpd-20041012.new/regress/group/Makefile
117 --- isakmpd-20041012.orig/regress/group/Makefile 2004-10-12 23:25:52.000000000 +0200
118 +++ isakmpd-20041012.new/regress/group/Makefile 2006-12-16 22:49:30.000000000 +0100
123 -DPADD+= ${LIBCRYPTO}
126 .if ${FEATURES:Mgmp} == "gmp"
127 diff -ruN isakmpd-20041012.orig/regress/rsakeygen/Makefile isakmpd-20041012.new/regress/rsakeygen/Makefile
128 --- isakmpd-20041012.orig/regress/rsakeygen/Makefile 2004-10-12 23:25:52.000000000 +0200
129 +++ isakmpd-20041012.new/regress/rsakeygen/Makefile 2006-12-16 22:49:41.000000000 +0100
132 CFLAGS+= -DUSE_LIBCRYPTO
134 -DPADD+= ${LIBCRYPTO}
137 .if !defined (HAVE_DLOPEN) && !defined (USE_LIBCRYPTO)
138 diff -ruN isakmpd-20041012.orig/regress/x509/Makefile isakmpd-20041012.new/regress/x509/Makefile
139 --- isakmpd-20041012.orig/regress/x509/Makefile 2004-10-12 23:25:52.000000000 +0200
140 +++ isakmpd-20041012.new/regress/x509/Makefile 2006-12-16 22:49:49.000000000 +0100
143 CFLAGS+= -DUSE_LIBCRYPTO
144 LDADD+= -lcrypto ${LIBLWRES}
145 -DPADD+= ${LIBCRYPTO}
148 .if !defined (HAVE_DLOPEN) && !defined (USE_LIBCRYPTO) || !defined (USE_KEYNOTE)