pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security Remove security/isakmpd.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/389cc6408ea5
branches:  trunk
changeset: 443896:389cc6408ea5
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Dec 31 17:10:20 2020 +0000

description:
Remove security/isakmpd.

Ancient ipsec stuff ported in 2003 then abandoned, doesn't work
with modern operating systems.

Directing (unlikely, this doesn't build) users to security/racoon2

diffstat:

 security/Makefile                           |   3 +-
 security/isakmpd/DESCR                      |  14 ------
 security/isakmpd/Makefile                   |  59 -----------------------------
 security/isakmpd/PLIST                      |  20 ---------
 security/isakmpd/distinfo                   |  26 ------------
 security/isakmpd/files/isakmpd.sh           |  25 ------------
 security/isakmpd/patches/patch-aa           |  38 ------------------
 security/isakmpd/patches/patch-ab           |  13 ------
 security/isakmpd/patches/patch-ad           |  15 -------
 security/isakmpd/patches/patch-ae           |  49 ------------------------
 security/isakmpd/patches/patch-ag           |  42 --------------------
 security/isakmpd/patches/patch-aj           |  28 -------------
 security/isakmpd/patches/patch-ak           |  13 ------
 security/isakmpd/patches/patch-al           |  20 ---------
 security/isakmpd/patches/patch-am           |  22 ----------
 security/isakmpd/patches/patch-an           |  36 -----------------
 security/isakmpd/patches/patch-ao           |  25 ------------
 security/isakmpd/patches/patch-ba           |  16 -------
 security/isakmpd/patches/patch-bb           |  18 --------
 security/isakmpd/patches/patch-bc           |  13 ------
 security/isakmpd/patches/patch-bd           |  29 --------------
 security/isakmpd/patches/patch-be           |  24 -----------
 security/isakmpd/patches/patch-bf           |  13 ------
 security/isakmpd/patches/patch-math__2n.h   |  13 ------
 security/isakmpd/patches/patch-math__ec2n.h |  13 ------
 security/isakmpd/patches/patch-udp.c        |  13 ------
 26 files changed, 1 insertions(+), 599 deletions(-)

diffs (truncated from 714 to 300 lines):

diff -r 881816b5b532 -r 389cc6408ea5 security/Makefile
--- a/security/Makefile Thu Dec 31 17:06:31 2020 +0000
+++ b/security/Makefile Thu Dec 31 17:10:20 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.794 2020/12/31 17:06:03 nia Exp $
+# $NetBSD: Makefile,v 1.795 2020/12/31 17:10:20 nia Exp $
 #
 
 COMMENT=       Security tools
@@ -141,7 +141,6 @@
 SUBDIR+=       hydra
 SUBDIR+=       ike-scan
 SUBDIR+=       ipv6-toolkit
-SUBDIR+=       isakmpd
 SUBDIR+=       john
 SUBDIR+=       kauth
 SUBDIR+=       kdesu
diff -r 881816b5b532 -r 389cc6408ea5 security/isakmpd/DESCR
--- a/security/isakmpd/DESCR    Thu Dec 31 17:06:31 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-This is isakmpd, a BSD-licensed ISAKMP/Oakley (a.k.a. IKE)
-implementation.  It's written by Niklas Hallqvist and Niels Provos,
-funded by Ericsson Radio Systems AB.  Currently it is work in
-progress, although it can be used for real setups.  There are
-releases, but this distribution is not a release and is not named with
-ordinary version numbers.  When you got the source, hopefully the
-archive was named with a date which reflects when it was created.
-These archives are also known as snapshots and will be created at
-irregular intervals and put up on ftp.gsnig.net and ftp.appli.se in
-/pub/isakmpd.  From Nov 14, 1998 isakmpd is also available in the
-OpenBSD main source tree under src/sbin/isakmpd, though slightly
-modified because I don't want to carry support files for other OSes in
-that distribution.  Look at http://www.openbsd.org/ for details on how
-to get OpenBSD source.
diff -r 881816b5b532 -r 389cc6408ea5 security/isakmpd/Makefile
--- a/security/isakmpd/Makefile Thu Dec 31 17:06:31 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,59 +0,0 @@
-# $NetBSD: Makefile,v 1.55 2020/05/09 12:34:16 rillig Exp $
-
-DISTNAME=              isakmpd-20030903
-PKGREVISION=           11
-CATEGORIES=            security net
-MASTER_SITES=          ${MASTER_SITE_LOCAL}
-
-MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
-COMMENT=               OpenBSD IKE daemon
-
-# Dragonfly upstream says to use security/racoon2 instead.
-NOT_FOR_PLATFORM=      DragonFly-*-*
-
-MAKE_JOBS_SAFE=                no
-
-# this is not compatible with cross build - there's no other way
-.if !exists(/usr/include/netinet6/ipsec.h)
-PKG_FAIL_REASON+=      "${PKGNAME} requires ipsec-ready ${OPSYS}"
-.endif
-
-WRKSRC=                        ${WRKDIR}/isakmpd
-
-BUILD_TARGET=          depend all
-
-MAKE_ENV+=             BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/${PKGMANDIR}
-
-PKG_SYSCONFSUBDIR=     isakmpd
-RCD_SCRIPTS=           isakmpd
-
-SUBST_CLASSES+=                ssl
-SUBST_STAGE.ssl=       pre-configure
-SUBST_MESSAGE.ssl=     Fixing references to buildlink directories
-SUBST_FILES.ssl=       sysdep/netbsd/Makefile.sysdep
-SUBST_VARS.ssl=                BUILDLINK_PREFIX.openssl
-
-SUBST_CLASSES+=                cfg
-SUBST_STAGE.cfg=       pre-configure
-SUBST_MESSAGE.cfg=     Fixing references to configuration directory
-SUBST_FILES.cfg=       conf.h
-SUBST_SED.cfg=         -e "s+/etc/isakmpd+${PKG_SYSCONFDIR}+g"
-
-SUBST_CLASSES+=                man
-SUBST_STAGE.man=       pre-configure
-SUBST_MESSAGE.man=     Fixing manual page references
-SUBST_FILES.man=       isakmpd.8 isakmpd.conf.5 isakmpd.policy.5
-SUBST_SED.man=         -e "s+/usr/share/ipsec+${PREFIX}/share/examples+g"
-SUBST_SED.man+=                -e "s+/etc/isakmpd+${PKG_SYSCONFDIR}+g"
-
-SUBST_CLASSES+=                destdir
-SUBST_STAGE.destdir=   pre-configure
-SUBST_MESSAGE.destdir= Fixing ownership for DESTDIR installations
-SUBST_FILES.destdir=   Makefile apps/certpatch/Makefile
-SUBST_VARS.destdir=    BINOWN BINGRP MANOWN MANGRP
-
-INSTALLATION_DIRS+=    sbin ${PKGMANDIR}/man5 ${PKGMANDIR}/cat5
-INSTALLATION_DIRS+=    ${PKGMANDIR}/man8 ${PKGMANDIR}/cat8
-
-.include "../../security/openssl/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r 881816b5b532 -r 389cc6408ea5 security/isakmpd/PLIST
--- a/security/isakmpd/PLIST    Thu Dec 31 17:06:31 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-@comment $NetBSD: PLIST,v 1.7 2014/03/11 14:05:13 jperkin Exp $
-man/cat5/isakmpd.conf.0
-man/cat5/isakmpd.policy.0
-man/cat8/certpatch.0
-man/cat8/isakmpd.0
-man/man5/isakmpd.conf.5
-man/man5/isakmpd.policy.5
-man/man8/certpatch.8
-man/man8/isakmpd.8
-sbin/certpatch
-sbin/isakmpd
-share/examples/isakmpd/VPN-3way-template.conf
-share/examples/isakmpd/VPN-east.conf
-share/examples/isakmpd/VPN-west.conf
-share/examples/isakmpd/policy
-share/examples/isakmpd/singlehost-east.conf
-share/examples/isakmpd/singlehost-east.gdb
-share/examples/isakmpd/singlehost-setup.sh
-share/examples/isakmpd/singlehost-west.conf
-share/examples/isakmpd/singlehost-west.gdb
diff -r 881816b5b532 -r 389cc6408ea5 security/isakmpd/distinfo
--- a/security/isakmpd/distinfo Thu Dec 31 17:06:31 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-$NetBSD: distinfo,v 1.21 2015/11/04 01:17:47 agc Exp $
-
-SHA1 (isakmpd-20030903.tar.gz) = 3400947199759a69b878ea396a598d9df174c6e8
-RMD160 (isakmpd-20030903.tar.gz) = 988afc6f8c84122e7a0a70ef4afe6815aceeb95d
-SHA512 (isakmpd-20030903.tar.gz) = 34cc4c09a097a47aeaf63008f5908099ade5a77a3eb0a93d85edf69b8dce1d5e193eca110f1223ac8ece6105893399f2f9a6b1f536171f50d9aa1e673e445d22
-Size (isakmpd-20030903.tar.gz) = 358314 bytes
-SHA1 (patch-aa) = da61cae20e99276720183264896ada554cc2f38e
-SHA1 (patch-ab) = f30c790f42d72866e95092848e102e4c3728365c
-SHA1 (patch-ad) = 8c477b99fd3d82ccb52b01374450295cc25244c0
-SHA1 (patch-ae) = c6ca573357381ae867b1251a90b0c4df4e82d95a
-SHA1 (patch-ag) = effdc541fd6e3dde8761fde48d3b3ed11b818412
-SHA1 (patch-aj) = bfffb5290629807a08870a438405adbab0efc9bf
-SHA1 (patch-ak) = e168240460695a86533237856f3997b5c06d7805
-SHA1 (patch-al) = eb6c16bf8d98219ab5d70dc5378a47772ec4dc23
-SHA1 (patch-am) = 6220da76dcf0d2a150f8803ce5728469a4e66c31
-SHA1 (patch-an) = 15daec89e015b74f92fdd2ad6b1a890a77cbbbb3
-SHA1 (patch-ao) = a09592b744a249671f29455db9d3224220ea5de5
-SHA1 (patch-ba) = 3364e78d129f6458b76d479cf1ac4e7df2448a7a
-SHA1 (patch-bb) = d12672cfbac4ffd88530215c4f940bed84c63976
-SHA1 (patch-bc) = 4e31f3b55c6084bc2661f3e18333086d5d466ea4
-SHA1 (patch-bd) = 2208f541a6998df91b8ea62b78ae5c82fadf41f6
-SHA1 (patch-be) = e2d98476e3f15144157bb82f970a6f9b822534f8
-SHA1 (patch-bf) = e95bfdf10d289cbbbee400f175f02cdc40cf3f9f
-SHA1 (patch-math__2n.h) = 27a16155fba3c3de9e4bee6007280b511609b50d
-SHA1 (patch-math__ec2n.h) = 611fcd430f74d044515e096a337087fc0dc44443
-SHA1 (patch-udp.c) = 7ea9207979934db63988c476f72218e5e734e043
diff -r 881816b5b532 -r 389cc6408ea5 security/isakmpd/files/isakmpd.sh
--- a/security/isakmpd/files/isakmpd.sh Thu Dec 31 17:06:31 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-#!@RCD_SCRIPTS_SHELL@
-#
-# $NetBSD: isakmpd.sh,v 1.2 2003/07/31 10:38:33 jmmv Exp $
-#
-# PROVIDE: isakmpd
-# REQUIRE: DAEMON NETWORK
-#
-
-if [ -f /etc/rc.subr ]; then
-       . /etc/rc.subr
-fi
-
-name="isakmpd"
-rcvar="${name}"
-command="@PREFIX@/sbin/isakmpd"
-pidfile="/var/run/isakmpd.pid"
-required_files="@PKG_SYSCONFDIR@/isakmpd.conf"
-
-if [ -f /etc/rc.subr ]; then
-       load_rc_config "${name}"
-       run_rc_command "$1"
-else
-       printf " ${name}"
-       eval ${command} ${isakmpd_flags} ${command_args}
-fi
diff -r 881816b5b532 -r 389cc6408ea5 security/isakmpd/patches/patch-aa
--- a/security/isakmpd/patches/patch-aa Thu Dec 31 17:06:31 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-$NetBSD: patch-aa,v 1.8 2011/05/19 15:48:41 drochner Exp $
-
---- Makefile.orig      2003-08-28 14:43:35.000000000 +0000
-+++ Makefile
-@@ -38,8 +38,8 @@
- 
- # openbsd means OpenBSD 2.5 or newer. freeswan is the name for Linux with
- # FreeS/WAN integrated, freebsd/netbsd means FreeBSD/NetBSD with KAME IPsec.
--OS=           openbsd
--#OS=          netbsd
-+#OS=          openbsd
-+OS=           netbsd
- #OS=          freebsd
- #OS=          freeswan
- #OS=          bsdi
-@@ -55,6 +55,12 @@ FEATURES+=  rawkey isakmp_cfg
- .PATH:                ${.CURDIR}/sysdep/${OS}
- 
- PROG=         isakmpd
-+
-+BINOWN=               @BINOWN@
-+BINGRP=               @BINGRP@
-+MANOWN=               @MANOWN@
-+MANGRP=               @MANGRP@
-+
- BINDIR?=      /sbin
- LDSTATIC?=    -static
- SRCS=         app.c attribute.c cert.c connection.c constants.c conf.c \
-@@ -71,7 +77,8 @@ CLEANFILES=  exchange_num.c exchange_num.
-               isakmp_num.c isakmp_num.h ipsec_fld.c ipsec_fld.h \
-               isakmp_fld.c isakmp_fld.h
- MAN=          isakmpd.8 isakmpd.conf.5 isakmpd.policy.5
--CFLAGS+=      -Wall -Wstrict-prototypes -Wmissing-prototypes \
-+MKHTML=       no
-+CFLAGS+=      -Wall -Wmissing-prototypes \
-               -DNEED_SYSDEP_APP \
-               -I${.CURDIR} -I${.CURDIR}/sysdep/${OS} -I.
- #CFLAGS+=     -Wsign-compare -Werror
diff -r 881816b5b532 -r 389cc6408ea5 security/isakmpd/patches/patch-ab
--- a/security/isakmpd/patches/patch-ab Thu Dec 31 17:06:31 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.3 2001/02/24 00:34:30 itojun Exp $
-
---- samples/Makefile-  Wed Feb 14 22:17:37 2001
-+++ samples/Makefile   Wed Feb 14 22:17:53 2001
-@@ -31,7 +31,7 @@
- #
- 
- FILES=                VPN-* policy singlehost-*
--TARGETDIR=    /usr/share/ipsec/isakmpd
-+TARGETDIR=    ${PREFIX}/share/examples/isakmpd
- 
- # The mkdir below is for installation on OpenBSD pre 2.7
- install:
diff -r 881816b5b532 -r 389cc6408ea5 security/isakmpd/patches/patch-ad
--- a/security/isakmpd/patches/patch-ad Thu Dec 31 17:06:31 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-ad,v 1.3 2001/04/05 23:29:42 itojun Exp $
-
---- sysdep/netbsd/GNUmakefile.sysdep-  Fri Apr  6 08:26:41 2001
-+++ sysdep/netbsd/GNUmakefile.sysdep   Fri Apr  6 08:27:01 2001
-@@ -33,8 +33,8 @@
- LIBSYSDEPDIR:=        ${.CURDIR}/sysdep/common/libsysdep
- LIBSYSDEP:=   ${LIBSYSDEPDIR}/libsysdep.a
- 
--LDADD+=               ${LIBGMP} ${LIBSYSDEP}
--DPADD+=               ${LIBGMP} ${LIBSYSDEP}
-+LDADD+=               ${LIBSYSDEP}
-+DPADD+=               ${LIBSYSDEP}
- 
- FEATURES=     debug tripledes des blowfish cast ec aggressive x509
- # Not yet
diff -r 881816b5b532 -r 389cc6408ea5 security/isakmpd/patches/patch-ae
--- a/security/isakmpd/patches/patch-ae Thu Dec 31 17:06:31 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-$NetBSD: patch-ae,v 1.5 2003/12/30 15:57:53 bad Exp $
-
---- sysdep/netbsd/Makefile.sysdep.orig Tue Jun  3 16:53:11 2003
-+++ sysdep/netbsd/Makefile.sysdep      Tue Dec 30 16:51:15 2003
-@@ -35,26 +35,23 @@
- LIBCRYPTO=    /usr/lib/libcrypto.a
- LIBSYSDEPDIR= ${.CURDIR}/sysdep/common/libsysdep
- 
--LDADD+=               ${LIBGMP} ${LIBSYSDEPDIR}/libsysdep.a -lipsec
--DPADD+=               ${LIBGMP} ${LIBSYSDEPDIR}/libsysdep.a ${LIBIPSEC}
-+LDADD+=               ${LIBSYSDEPDIR}/libsysdep.a -lipsec
-+DPADD+=               ${LIBSYSDEPDIR}/libsysdep.a ${LIBIPSEC}
- 
--CFLAGS+=      -DNO_RSA -DNO_IDEA -DNO_RC5 -DHAVE_GETNAMEINFO \
-+CFLAGS+=      -DNO_IDEA -DNO_RC5 -DHAVE_GETNAMEINFO \
-               -DHAVE_GETIFADDRS \
-               -I${.CURDIR}/sysdep/common
--.if exists(/usr/pkg/include/openssl/rsa.h)
--CFLAGS+=      -I/usr/pkg/include/openssl
--.elif  exists(/usr/include/openssl/rsa.h)
--CFLAGS+=      -I/usr/include -I/usr/include/openssl
--.endif
- # mandatory for gmp
--CFLAGS+=      -I/usr/pkg/include
--LDADD+=               -L/usr/pkg/lib
-+CFLAGS+=      -I@BUILDLINK_PREFIX.openssl@/include -I@BUILDLINK_PREFIX.openssl@/include/openssl
-+LDADD+=               -L@BUILDLINK_PREFIX.openssl@/lib
- 
- IPSEC_SRCS=   pf_key_v2.c
- IPSEC_CFLAGS= -DUSE_PF_KEY_V2
- 
- USE_LIBCRYPTO=        defined
--USE_GMP=      defined
-+.if ${FEATURES:Mpolicy} == "policy"
-+USE_KEYNOTE=  defined
-+.endif
- 



Home | Main Index | Thread Index | Old Index