1 Index: isakmpd-20041012.orig/GNUmakefile
2 ===================================================================
3 --- isakmpd-20041012.orig.orig/GNUmakefile 2007-06-04 13:22:39.283883224 +0200
4 +++ isakmpd-20041012.orig/GNUmakefile 2007-06-04 13:22:39.722816496 +0200
7 CFLAGS+= -DUSE_LIBCRYPTO
19 +install: install-bin install-man
22 + -mkdir -p $(DESTDIR)$(BINDIR)
23 + $(INSTALL) $(INSTALL_OPTS) -m 755 isakmpd $(DESTDIR)$(BINDIR)
26 + -mkdir -p $(DESTDIR)$(MANDIR)/man8
27 + $(INSTALL) $(INSTALL_OPTS) -m 444 isakmpd.8 $(DESTDIR)$(MANDIR)/man8
28 + -mkdir -p $(DESTDIR)$(MANDIR)/man5
29 + $(INSTALL) $(INSTALL_OPTS) -m 444 isakmpd.conf.5 isakmpd.policy.5 $(DESTDIR)$(MANDIR)/man5
30 Index: isakmpd-20041012.orig/samples/Makefile
31 ===================================================================
32 --- isakmpd-20041012.orig.orig/samples/Makefile 2007-06-04 13:22:39.015923960 +0200
33 +++ isakmpd-20041012.orig/samples/Makefile 2007-06-04 13:22:39.722816496 +0200
37 FILES= VPN-* policy singlehost-*
38 -TARGETDIR= /usr/share/ipsec/isakmpd
39 +TARGETDIR= /usr/share/isakmpd/samples
41 # The mkdir below is for installation on OpenBSD pre 2.7
43 Index: isakmpd-20041012.orig/sysdep/linux/GNUmakefile.sysdep
44 ===================================================================
45 --- isakmpd-20041012.orig.orig/sysdep/linux/GNUmakefile.sysdep 2007-06-04 13:22:39.291882008 +0200
46 +++ isakmpd-20041012.orig/sysdep/linux/GNUmakefile.sysdep 2007-06-04 13:22:39.722816496 +0200
48 # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
51 -LIBGMP:= /usr/lib/libgmp.a
52 -LIBCRYPTO:= /usr/lib/libcrypto.a
55 LIBSYSDEPDIR:= ${.CURDIR}/sysdep/common/libsysdep
56 LIBSYSDEP:= ${LIBSYSDEPDIR}/libsysdep.a
58 -LDADD+= -lgmp ${LIBSYSDEP} ${LIBCRYPTO}
59 +LDADD+= $(EXTRA_LDFLAGS) -lgmp ${LIBSYSDEP} ${LIBCRYPTO}
60 DPADD+= ${LIBGMP} ${LIBSYSDEP}
62 CFLAGS+= -DHAVE_GETNAMEINFO -DUSE_OLD_SOCKADDR -DHAVE_PCAP \
63 -DNEED_SYSDEP_APP -DMP_FLAVOUR=MP_FLAVOUR_GMP -DUSE_AES \
64 -I${.CURDIR}/sysdep/linux/include -I${.CURDIR}/sysdep/common \
65 - -I/usr/include/openssl
68 FEATURES= debug tripledes blowfish cast ec aggressive x509 policy
69 FEATURES+= dpd nat_traversal isakmp_cfg des aes
70 Index: isakmpd-20041012.orig/Makefile
71 ===================================================================
72 --- isakmpd-20041012.orig.orig/Makefile 2007-06-04 13:22:39.028921984 +0200
73 +++ isakmpd-20041012.orig/Makefile 2007-06-04 13:22:39.723816344 +0200
76 CFLAGS+= -DUSE_LIBCRYPTO
82 Index: isakmpd-20041012.orig/apps/certpatch/Makefile
83 ===================================================================
84 --- isakmpd-20041012.orig.orig/apps/certpatch/Makefile 2007-06-04 13:22:39.035920920 +0200
85 +++ isakmpd-20041012.orig/apps/certpatch/Makefile 2007-06-04 13:22:39.723816344 +0200
87 .PATH: ${TOPSRC} ${TOPSRC}/sysdep/${OS} ${TOPOBJ}
88 CFLAGS+= -I${TOPSRC} -I${TOPSRC}/sysdep/${OS} -I${TOPOBJ} -Wall
93 .if ${FEATURES:Mgmp} == "gmp"
94 Index: isakmpd-20041012.orig/regress/crypto/Makefile
95 ===================================================================
96 --- isakmpd-20041012.orig.orig/regress/crypto/Makefile 2007-06-04 13:22:39.041920008 +0200
97 +++ isakmpd-20041012.orig/regress/crypto/Makefile 2007-06-04 13:22:39.723816344 +0200
99 -DUSE_TRIPLEDES -DUSE_CAST -DUSE_BLOWFISH -DUSE_DES \
101 LDADD+= -lcrypto -ldes
102 -DPADD+= ${LIBCRYPTO} ${LIBDES}
107 Index: isakmpd-20041012.orig/regress/dh/Makefile
108 ===================================================================
109 --- isakmpd-20041012.orig.orig/regress/dh/Makefile 2007-06-04 13:22:39.048918944 +0200
110 +++ isakmpd-20041012.orig/regress/dh/Makefile 2007-06-04 13:22:39.726815888 +0200
115 -DPADD+= ${LIBCRYPTO}
118 .if ${FEATURES:Mgmp} == "gmp"
119 Index: isakmpd-20041012.orig/regress/group/Makefile
120 ===================================================================
121 --- isakmpd-20041012.orig.orig/regress/group/Makefile 2007-06-04 13:22:39.054918032 +0200
122 +++ isakmpd-20041012.orig/regress/group/Makefile 2007-06-04 13:22:39.727815736 +0200
127 -DPADD+= ${LIBCRYPTO}
130 .if ${FEATURES:Mgmp} == "gmp"
131 Index: isakmpd-20041012.orig/regress/rsakeygen/Makefile
132 ===================================================================
133 --- isakmpd-20041012.orig.orig/regress/rsakeygen/Makefile 2007-06-04 13:22:39.060917120 +0200
134 +++ isakmpd-20041012.orig/regress/rsakeygen/Makefile 2007-06-04 13:22:39.727815736 +0200
137 CFLAGS+= -DUSE_LIBCRYPTO
139 -DPADD+= ${LIBCRYPTO}
142 .if !defined (HAVE_DLOPEN) && !defined (USE_LIBCRYPTO)
143 Index: isakmpd-20041012.orig/regress/x509/Makefile
144 ===================================================================
145 --- isakmpd-20041012.orig.orig/regress/x509/Makefile 2007-06-04 13:22:39.068915904 +0200
146 +++ isakmpd-20041012.orig/regress/x509/Makefile 2007-06-04 13:22:39.727815736 +0200
149 CFLAGS+= -DUSE_LIBCRYPTO
150 LDADD+= -lcrypto ${LIBLWRES}
151 -DPADD+= ${LIBCRYPTO}
154 .if !defined (HAVE_DLOPEN) && !defined (USE_LIBCRYPTO) || !defined (USE_KEYNOTE)