From 5980fd40bc59f3f872f57f75b3a31fb986c1b06e Mon Sep 17 00:00:00 2001 From: Rene Ladan Date: Wed, 7 Apr 2021 19:54:12 +0200 Subject: Remove expired ports: 2021-04-01 ftp/wzdftpd: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 astro/roadmap: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 games/cosmo: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 games/bomberinstinct: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 games/drm: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 games/bygfoot: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 games/cre: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 irc/hybserv: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 irc/xaric: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 mail/elmo: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 misc/cave: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 security/bugs: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 security/dmitry: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 security/doorman: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 shells/esh: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 sysutils/cpu: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 textproc/libcrm114: No known users, dead upstream 2021-04-01 x11/wmmatrix: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 x11/wmxss: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 x11/tycoon: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 x11/xgrab: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 x11/xbanner: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 x11/bricons: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 x11/xmon: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 games/cavezofphear: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 astro/saoimage: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 audio/ksmp3play: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 audio/jamin: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 audio/musicbox-tag-editor: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 audio/nspmod: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 audio/cdplay: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 audio/gimmix: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 audio/ghostess: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 audio/wmrecord: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 audio/toolame: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 audio/shout: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 biology/grappa: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 biology/phylip: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 biology/lagan: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 cad/varkon: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 cad/transcalc: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 comms/seyon: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 comms/efax: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 converters/vda2fbd: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 converters/shftool: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 devel/openzz: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 devel/sourcenav: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 devel/gb: Unmaintained and dead upstream 2021-04-01 dns/checkdns: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 dns/inadyn-mt: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 editors/gate: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 editors/thoteditor: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 emulators/cinc: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 emulators/e-uae: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 emulators/dtcyber: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 ftp/jftpgw: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-01 ftp/pureadmin: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) 2021-04-02 textproc/hs-pandoc-citeproc: Integrated into textproc/hs-pandoc --- security/Makefile | 3 - security/bugs/Makefile | 60 --------- security/bugs/distinfo | 2 - security/bugs/files/patch-Makefile.bsd | 20 --- security/bugs/pkg-descr | 11 -- security/bugs/pkg-plist | 57 --------- security/dmitry/Makefile | 30 ----- security/dmitry/distinfo | 2 - security/dmitry/pkg-descr | 5 - security/doorman/Makefile | 49 -------- security/doorman/distinfo | 2 - security/doorman/files/doorman.in | 26 ---- security/doorman/files/doormand.cf.EXAMPLE.in | 18 --- security/doorman/files/ipf_add.atend | 73 ----------- security/doorman/files/ipf_add.before_block | 67 ----------- security/doorman/files/ipf_delete | 38 ------ security/doorman/files/patch-Makefile.in | 20 --- security/doorman/files/patch-configure | 11 -- security/doorman/files/patch-configure.ac | 11 -- security/doorman/files/patch-doormand.c | 167 -------------------------- security/doorman/files/pkg-message.in | 18 --- security/doorman/pkg-descr | 5 - security/doorman/pkg-plist | 20 --- 23 files changed, 715 deletions(-) delete mode 100644 security/bugs/Makefile delete mode 100644 security/bugs/distinfo delete mode 100644 security/bugs/files/patch-Makefile.bsd delete mode 100644 security/bugs/pkg-descr delete mode 100644 security/bugs/pkg-plist delete mode 100644 security/dmitry/Makefile delete mode 100644 security/dmitry/distinfo delete mode 100644 security/dmitry/pkg-descr delete mode 100644 security/doorman/Makefile delete mode 100644 security/doorman/distinfo delete mode 100644 security/doorman/files/doorman.in delete mode 100644 security/doorman/files/doormand.cf.EXAMPLE.in delete mode 100644 security/doorman/files/ipf_add.atend delete mode 100644 security/doorman/files/ipf_add.before_block delete mode 100644 security/doorman/files/ipf_delete delete mode 100644 security/doorman/files/patch-Makefile.in delete mode 100644 security/doorman/files/patch-configure delete mode 100644 security/doorman/files/patch-configure.ac delete mode 100644 security/doorman/files/patch-doormand.c delete mode 100644 security/doorman/files/pkg-message.in delete mode 100644 security/doorman/pkg-descr delete mode 100644 security/doorman/pkg-plist (limited to 'security') diff --git a/security/Makefile b/security/Makefile index 9a51fe75a739..5eabdc2aec13 100644 --- a/security/Makefile +++ b/security/Makefile @@ -59,7 +59,6 @@ SUBDIR += bsdsfv SUBDIR += bsmtrace SUBDIR += bsmtrace3 - SUBDIR += bugs SUBDIR += bzrtp SUBDIR += ca_root_nss SUBDIR += caesarcipher @@ -125,9 +124,7 @@ SUBDIR += dirbuster SUBDIR += dirmngr SUBDIR += distcache - SUBDIR += dmitry SUBDIR += doas - SUBDIR += doorman SUBDIR += doscan SUBDIR += dotdotpwn SUBDIR += dropbear diff --git a/security/bugs/Makefile b/security/bugs/Makefile deleted file mode 100644 index 402eadea940f..000000000000 --- a/security/bugs/Makefile +++ /dev/null @@ -1,60 +0,0 @@ -# Created by: Stephane Legrand - -PORTNAME= bugs -PORTVERSION= 4.1.1 -PORTREVISION= 3 -CATEGORIES= security -MASTER_SITES= SUNSITE/apps/crypto - -MAINTAINER= ports@FreeBSD.org -COMMENT= Great cryptographic library and sample programs - -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING - -USES= gmake tar:tgz -MAKE_ARGS= CC="${CC}" BFLAG="${CFLAGS}" \ - INSTALL_PATH="${PREFIX}/${DISTNAME}" -TEST_TARGET= test - -CFLAGS+= -fcommon - -DEPRECATED= Unmaintained and dead upstream, does not build with -fno-common (llvm 11) -EXPIRATION_DATE=2021-04-01 - -PLIST_SUB= PORTVERSION="${PORTVERSION}" - -DOCSDIR= ${PREFIX}/${DISTNAME}/doc - -OPTIONS_DEFINE= DOCS - -post-patch: -# Allow parallel builds (-jX): fix make(1) syntax, register dependencies - @${REINPLACE_CMD} -E 's+cd (.*); make+$$(MAKE) -C \1+' \ - ${WRKSRC}/Makefile.bsd - @${ECHO_CMD} 'apps: lib' >> ${WRKSRC}/Makefile.bsd - @${REINPLACE_CMD} -E '/^(bcrypt|bchat|bpass|blogin|bkey|bpassdel|bmore|block|bunlock|shell):/s+ *$$+ extra.o+' \ - ${WRKSRC}/apps/Makefile.bsd - -post-configure: - ${MAKE_CMD} -C ${WRKSRC} bsd - @${REINPLACE_CMD} -e 's/^install: instchoice all/install: instchoice/' ${WRKSRC}/Makefile; - @${REINPLACE_CMD} -e 's+\(@echo "Copying docs.*\)+# \1+' ${WRKSRC}/Makefile; - @${REINPLACE_CMD} -e 's+\(@cp -rf ./doc/.*\)+# \1+' ${WRKSRC}/Makefile - @${REINPLACE_CMD} -e 's+\(@cp -rf ./doc/.*\)+# \1+' ${WRKSRC}/Makefile - -post-build: - @${LN} -sf ${WRKSRC}/lib/unix/*.a ${WRKSRC}/lib/ - -post-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/${DISTNAME}/include - ${INSTALL_DATA} ${WRKSRC}/include/*.h ${STAGEDIR}${PREFIX}/${DISTNAME}/include -.for file in bchat bcrypt bhide bkey block blogin bmore bpass bpassdel bunlock - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${DISTNAME}/${file} -.endfor - -post-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) - -.include diff --git a/security/bugs/distinfo b/security/bugs/distinfo deleted file mode 100644 index 83297eadc569..000000000000 --- a/security/bugs/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (bugs-4.1.1.tgz) = 74d311e8b03df540e5d37432cb4002419a308c0ef433f383af138e5a9d947c09 -SIZE (bugs-4.1.1.tgz) = 495080 diff --git a/security/bugs/files/patch-Makefile.bsd b/security/bugs/files/patch-Makefile.bsd deleted file mode 100644 index 6fbdc0af05c3..000000000000 --- a/security/bugs/files/patch-Makefile.bsd +++ /dev/null @@ -1,20 +0,0 @@ ---- Makefile.bsd.orig 2014-06-10 23:16:23.285874501 +0800 -+++ Makefile.bsd 2014-06-10 23:16:59.938863115 +0800 -@@ -77,13 +77,13 @@ lib: testfpost libchoice - - install: instchoice all - @echo "Creating directory $(INSTALL_PATH) ..." -- @mkdir $(INSTALL_PATH) -+ @mkdir $(DESTDIR)$(INSTALL_PATH) - @echo "Copying binaries in $(INSTALL_PATH) ..." -- @cp -f ./bin/* $(INSTALL_PATH)/ -+ @cp -f ./bin/* $(DESTDIR)$(INSTALL_PATH)/ - @echo "Copying bugscrypt.a in $(INSTALL_PATH) ..." -- @cp -f ./lib/bugscrypt.a $(INSTALL_PATH)/ -+ @cp -f ./lib/bugscrypt.a $(DESTDIR)$(INSTALL_PATH)/ - @echo "Copying docs in $(INSTALL_PATH) ..." -- @cp -rf ./doc/* $(INSTALL_PATH)/ -+ @cp -rf ./doc/* $(DESTDIR)$(INSTALL_PATH)/ - @echo - @echo ------------------------------------------------------------ - @echo diff --git a/security/bugs/pkg-descr b/security/bugs/pkg-descr deleted file mode 100644 index b991056e1f83..000000000000 --- a/security/bugs/pkg-descr +++ /dev/null @@ -1,11 +0,0 @@ -This package include a C library and some sample programs that demonstrate -the library's power. - -It is a cryptographic library: you can crypt any type of data. Key length -is unlimited. You can generate password, manage users, hide text in file, -etc. - -ATTENTION!!! IN SOME COUNTRIES THIS SOFTWARE MAY BE ILLEGAL, SO DON'T USE -IT IF YOU ARE NOT ALLOWED. - -WWW: http://www.encryptsolutions.com/ diff --git a/security/bugs/pkg-plist b/security/bugs/pkg-plist deleted file mode 100644 index 7d23fc0f2506..000000000000 --- a/security/bugs/pkg-plist +++ /dev/null @@ -1,57 +0,0 @@ -bugs-%%PORTVERSION%%/bchat -bugs-%%PORTVERSION%%/bcrypt -bugs-%%PORTVERSION%%/bhide -bugs-%%PORTVERSION%%/bkey -bugs-%%PORTVERSION%%/block -bugs-%%PORTVERSION%%/blogin -bugs-%%PORTVERSION%%/bmore -bugs-%%PORTVERSION%%/bpass -bugs-%%PORTVERSION%%/bpassdel -bugs-%%PORTVERSION%%/bugscrypt.a -bugs-%%PORTVERSION%%/bunlock -bugs-%%PORTVERSION%%/include/bstandard.h -bugs-%%PORTVERSION%%/include/extra.h -bugs-%%PORTVERSION%%/include/fpos_t.h -bugs-%%PORTVERSION%%/include/isaac.h -bugs-%%PORTVERSION%%/include/main.h -bugs-%%PORTVERSION%%/include/misc.h -bugs-%%PORTVERSION%%/include/seed.h -bugs-%%PORTVERSION%%/include/shuffle.h -bugs-%%PORTVERSION%%/include/utils.h -bugs-%%PORTVERSION%%/include/wrapper.h -%%PORTDOCS%%%%DOCSDIR%%/CHANGES -%%PORTDOCS%%%%DOCSDIR%%/HOWTO -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/cv/cv.html -%%PORTDOCS%%%%DOCSDIR%%/cv/note.html -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/bssl.txt -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/bugs_intro.html -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/bugs_intro_main.html -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/bugs_intro_menu.html -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/bugs_tech.html -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/bugs_tech_main.html -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/bugs_tech_menu.html -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/contest2.txt -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/contest3.txt -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/dev_english.txt -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/dev_french.txt -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/history_unix.txt -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/history_win.txt -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/images/2_1.gif -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/images/2_2.gif -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/images/2_3.gif -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/images/3_1.gif -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/images/3_10.gif -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/images/3_11.gif -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/images/3_2.gif -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/images/3_3.gif -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/images/3_4.gif -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/images/3_5.gif -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/images/3_6.gif -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/images/3_7.gif -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/images/3_8.gif -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/images/3_9.gif -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/index.html -%%PORTDOCS%%%%DOCSDIR%%/fulldoc/lib_hist.txt -%%PORTDOCS%%%%DOCSDIR%%/history/old_french.txt -%%PORTDOCS%%%%DOCSDIR%%/index.html diff --git a/security/dmitry/Makefile b/security/dmitry/Makefile deleted file mode 100644 index d4fee99035f4..000000000000 --- a/security/dmitry/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -# Created by: Vaida Bogdan - -PORTNAME= dmitry -PORTVERSION= 1.3a -PORTREVISION= 1 -CATEGORIES= security -MASTER_SITES= PACKETSTORM/UNIX/misc -DISTNAME= DMitry-${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= Deepmagic Information Gathering Tool - -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --prefix=${PREFIX} - -PLIST_FILES= bin/dmitry man/man1/dmitry.1.gz -PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README - -CFLAGS+= -fcommon - -DEPRECATED= Unmaintained and dead upstream, does not build with -fno-common (llvm 11) -EXPIRATION_DATE=2021-04-01 - -OPTIONS_DEFINE= DOCS - -post-install: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} - -.include diff --git a/security/dmitry/distinfo b/security/dmitry/distinfo deleted file mode 100644 index 9f5ed839ae9a..000000000000 --- a/security/dmitry/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (DMitry-1.3a.tar.gz) = f335321a092cdc708f3222ce732299289b799602076f22e1942ed152b0f17e43 -SIZE (DMitry-1.3a.tar.gz) = 130691 diff --git a/security/dmitry/pkg-descr b/security/dmitry/pkg-descr deleted file mode 100644 index b97835c3bae9..000000000000 --- a/security/dmitry/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -DMitry (Deepmagic Information Gathering Tool) is a UNIX/Linux command line -program coded purely in C with the ability to gather as much information as -possible about a host. - -WWW: http://www.mor-pah.net diff --git a/security/doorman/Makefile b/security/doorman/Makefile deleted file mode 100644 index 3273ca717839..000000000000 --- a/security/doorman/Makefile +++ /dev/null @@ -1,49 +0,0 @@ -# Created by: Aaron Dalton - -PORTNAME= doorman -PORTVERSION= 0.81 -PORTREVISION= 3 -CATEGORIES= security -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= Port knocking implementation, both daemon and client - -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING - -BUILD_DEPENDS= lsof:sysutils/lsof -RUN_DEPENDS:= ${BUILD_DEPENDS} - -PATCH_STRIP= -p1 - -USES= shebangfix tar:tgz -SHEBANG_FILES= ipfw_add ipfw_delete \ - pfctl_add pfctl_delete -GNU_CONFIGURE= yes -INSTALL_TARGET= installdirs install-exec install-data - -CFLAGS+= -fcommon - -DEPRECATED= Unmaintained and dead upstream, does not build with -fno-common (llvm 11) -EXPIRATION_DATE=2021-04-01 - -SUB_FILES= pkg-message doormand.cf.EXAMPLE -USE_RC_SUBR= doorman - -pre-patch: - @${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' \ - ${WRKSRC}/doormand.c - -post-install: - ${RM} ${STAGEDIR}${PREFIX}/etc/doormand/ipf_add - (cd ${FILESDIR} && ${INSTALL_SCRIPT} ipf_add.atend ipf_delete \ - ipf_add.before_block ${STAGEDIR}${PREFIX}/etc/doormand) - ${INSTALL_DATA} ${WRKDIR}/doormand.cf.EXAMPLE \ - ${STAGEDIR}${PREFIX}/etc/doormand - ${INSTALL_MAN} -C ${WRKSRC}/knock.1 ${STAGEDIR}${PREFIX}/man/man1 - (cd ${WRKSRC} && ${INSTALL_MAN} -C knockcf.5 doormand.cf.5 guestlist.5 \ - ${STAGEDIR}${PREFIX}/man/man5) - ${INSTALL_MAN} -C ${WRKSRC}/doormand.8 ${STAGEDIR}${PREFIX}/man/man8 - -.include diff --git a/security/doorman/distinfo b/security/doorman/distinfo deleted file mode 100644 index 91999cbdf03e..000000000000 --- a/security/doorman/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (doorman-0.81.tgz) = 3b5d27272081553f8751d3f4687b9218fa3bc905c56aa394990b3ac608cca24e -SIZE (doorman-0.81.tgz) = 140643 diff --git a/security/doorman/files/doorman.in b/security/doorman/files/doorman.in deleted file mode 100644 index bdc0dc115c49..000000000000 --- a/security/doorman/files/doorman.in +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -# PROVIDE: doorman -# REQUIRE: LOGIN -# -# Add the following lines to /etc/rc.conf to enable doorman: -# doorman_enable (bool): Set to "NO" by default. -# Set it to "YES" to enable doorman -# doorman_config (path): Set to "%%PREFIX%%/etc/doormand/doormand.cf" by default. - -. /etc/rc.subr - -name="doorman" -rcvar=doorman_enable - -[ -z "$doorman_enable" ] && doorman_enable="NO" -[ -z "$doorman_config" ] && doorman_config="%%PREFIX%%/etc/doormand/doormand.cf" - -[ -f "$doorman_config" ] || (echo "$doorman_config" does not exist.; exit) - -command=%%PREFIX%%/sbin/doormand -pidfile=/var/run/doormand.pid -command_args="-p $pidfile -f $doorman_config" - -load_rc_config $name -run_rc_command "$1" diff --git a/security/doorman/files/doormand.cf.EXAMPLE.in b/security/doorman/files/doormand.cf.EXAMPLE.in deleted file mode 100644 index 8d412b58fbab..000000000000 --- a/security/doorman/files/doormand.cf.EXAMPLE.in +++ /dev/null @@ -1,18 +0,0 @@ -# -# 'doormand.cf' -# Sample configuration file for the Doorman Daemon, "doormand". -# -# -interface tun0 -port 1033 -waitfor 10 -connection_delay_1 100000 # 1/10th second (delay is in microseconds) -connection_delay_2 2 -logfile /var/log/doorman -loglevel debug -pidfile /var/run/doormand.pid -guestlist %%PREFIX%%/etc/doormand/guestlist -firewall-add %%PREFIX%%/etc/doormand/ipf_add.before_block -firewall-del %%PREFIX%%/etc/doormand/ipf_delete -hash-archive /var/run/doormand.hash-archive -hash-archive-size 100000 diff --git a/security/doorman/files/ipf_add.atend b/security/doorman/files/ipf_add.atend deleted file mode 100644 index 93a300f9c97f..000000000000 --- a/security/doorman/files/ipf_add.atend +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/sh -# -# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -# -# WARNING! -# -# This script has not been tested. The author does not run this kind -# of firewall rules and is too lazy to build a firewall that does -# just for testing. -# -# If you use this script and either find it *does* work (surprise!) -# or have modifications that make it work, please send mail to -# tke FreeBSD port maintainer. (See port Makefile). -# -# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -# ********************************************************************* -# This script is used with IPFilter if the ruleset (/etc/ipf.rules) -# does not contain explicit drop rules that mask a rule added at the end. -# -# The script will add it's rules at the end. -# -# Note that it does not use locking, so concurrent accesses may -# interfere with each other. -# ********************************************************************* -# -# file "ipf_add.atend" -# IPFilter add script, called by "doormand". -# This add "pass in quick" rules to the firewall. -# -# Called with five arguments: -# -# $1 : name of the interface (e.g. ne0) -# $2 : source IP; i.e. dotted-decimal address of the 'knock' client -# $3 : source port; when this script is called for the first time -# for a connection (man 8 doormand), this argument will be set -# to a single "0" (0x30) character. This means that the source -# port is not yet known, and a broad rule allowing any source -# port is required. -# $4 : destination IP; that is, the IP address of the interface -# in argument 1. -# $5 : The port number of the requested service (e.g. 22 for ssh, etc.) -# - -# This script expects the IPFilter ruleset to have two rules like this: -inblock="block in log quick on $1 from any to any" -outblock="block out log quick on $1 from any to any" -# The new rules will be inserted just before these blocking rules. - -if [ $3 = 0 ]; then - inrule="pass in quick on $1 proto TCP from $2 to $4 port = $5" - outrule="pass out quick on $1 proto TCP from $4 port = $5 to $2" -else - inrule="pass in quick on $1 proto TCP from $2 port = $3 to $4 port = $5" - outrule="pass out quick on $1 proto TCP from $4 port = $5 to $2 port = $3" -fi - -# -# acquire lock (not implemented) -# - -# Insert new rules. -ret=`(echo $inrule; echo $outrule) | /sbin/ipf -f - 2>&1` - -# -# release lock (not implemented) -# - -if [ -z "$ret" ]; then - echo 0 -else - echo -1 3 $ret -fi diff --git a/security/doorman/files/ipf_add.before_block b/security/doorman/files/ipf_add.before_block deleted file mode 100644 index 12e89c0f45cc..000000000000 --- a/security/doorman/files/ipf_add.before_block +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/sh -# -# ********************************************************************* -# This script is used with IPFilter if the ruleset (/etc/ipf.rules) -# contains an explicit drop rule that masks a rule added at the end. -# It expects block rules for both input and output filters. This -# works e.g. with rule sets generated by fwbuilder. -# -# The script will insert it's rule before the drop rule. The drop rules -# are expected to look like the $inblock and $outblock variables -# defined below. -# -# Note that it does not use locking, so concurrent accesses may -# interfere with each other. -# ********************************************************************* -# -# file "ipf_add.before_block" -# IPFilter add script, called by "doormand". -# This add two "pass in quick" rules to the firewall. -# -# Called with five arguments: -# -# $1 : name of the interface (e.g. ne0) -# $2 : source IP; i.e. dotted-decimal address of the 'knock' client -# $3 : source port; when this script is called for the first time -# for a connection (man 8 doormand), this argument will be set -# to a single "0" (0x30) character. This means that the source -# port is not yet known, and a broad rule allowing any source -# port is required. -# $4 : destination IP; that is, the IP address of the interface -# in argument 1. -# $5 : The port number of the requested service (e.g. 22 for ssh, etc.) -# - -# This script expects the IPFilter ruleset to have two rules like this: -inblock="block in log quick on $1 from any to any" -outblock="block out log quick on $1 from any to any" -# The new rules will be inserted just before these blocking rules. - -if [ $3 = 0 ]; then - inrule="pass in quick on $1 proto TCP from $2 to $4 port = $5" - outrule="pass out quick on $1 proto TCP from $4 port = $5 to $2" -else - inrule="pass in quick on $1 proto TCP from $2 port = $3 to $4 port = $5" - outrule="pass out quick on $1 proto TCP from $4 port = $5 to $2 port = $3" -fi - -# -# acquire lock (not implemented) -# - -# Find the rule numbers of the block rules. -inruleno=`ipfstat -in | sed -n -e "s/@\([0-9]*\) $inblock/\1/p"` -outruleno=`ipfstat -on | sed -n -e "s/@\([0-9]*\) $outblock/\1/p"` - -# Insert new rules. -ret=`(echo @$inruleno $inrule; echo @$outruleno $outrule) | /sbin/ipf -f - 2>&1` - -# -# release lock (not implemented) -# - -if [ -z "$ret" ]; then - echo 0 -else - echo -1 3 $ret -fi diff --git a/security/doorman/files/ipf_delete b/security/doorman/files/ipf_delete deleted file mode 100644 index df82a248a4a9..000000000000 --- a/security/doorman/files/ipf_delete +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh -# -# file "ipf_delete" -# IPFilter firewall-delete script, called by "doormand". -# This removes the "pass in quick" rules from the firewall -# that were added by one of the ipf_add scripts. -# -# Called with five arguments: -# -# $1 : name of the interface (e.g. ne0) -# $2 : source IP; i.e. dotted-decimal address of the 'knock' client -# $3 : source port; when this script is called for the first time -# to delete a broad firewall rule, this argument will be set -# to a single "0" (0x30) character. This means that the source -# port was not known, and a broad rule allowing any source -# port was set. -# $4 : destination IP; that is, the IP address of the interface -# in argument 1. -# $5 : The port number of the requested service (e.g. 22 for ssh, etc.) -# -# -if [ $3 = 0 ]; then - inrule="pass in quick on $1 proto TCP from $2 to $4 port = $5" - outrule="pass out quick on $1 proto TCP from $4 port = $5 to $2" -else - inrule="pass in quick on $1 proto TCP from $2 port = $3 to $4 port = $5" - outrule="pass out quick on $1 proto TCP from $4 port = $5 to $2 port = $3" -fi - -ret=`(echo @$inruleno $inrule; echo @$outruleno $outrule) | /sbin/ipf -r -f - 2>&1` - -if [ -z "$ret" ] -then - echo 0 -else - echo -1 3 $ret -fi - diff --git a/security/doorman/files/patch-Makefile.in b/security/doorman/files/patch-Makefile.in deleted file mode 100644 index e452f37d68b7..000000000000 --- a/security/doorman/files/patch-Makefile.in +++ /dev/null @@ -1,20 +0,0 @@ ---- Makefile.in.orig Sun Jul 25 20:35:35 2004 -+++ Makefile.in Sun Oct 30 15:57:06 2005 -@@ -197,8 +197,7 @@ - man5_MANS = knockcf.5 doormand.cf.5 guestlist.5 - man8_MANS = doormand.8 - cfgdir = $(sysconfdir)/doormand --cfg_DATA = doormand.cf.EXAMPLE\ -- guestlist.EXAMPLE\ -+cfg_DATA = guestlist.EXAMPLE\ - iptables_add iptables_delete\ - ipchains_add ipchains_delete\ - ipf_add ipf_delete\ -@@ -864,7 +863,6 @@ - chmod 744 $(DESTDIR)$(cfgdir)/pfctl_add - chmod 744 $(DESTDIR)$(cfgdir)/pfctl_delete - chmod 600 $(DESTDIR)$(cfgdir)/guestlist.EXAMPLE -- chmod 644 $(DESTDIR)$(cfgdir)/doormand.cf.EXAMPLE - # Tell versions [3.59,3.63) of GNU make to not export all variables. - # Otherwise a system limit (for SysV at least) may be exceeded. - .NOEXPORT: diff --git a/security/doorman/files/patch-configure b/security/doorman/files/patch-configure deleted file mode 100644 index ec2975e957fd..000000000000 --- a/security/doorman/files/patch-configure +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.orig Mon Sep 5 17:07:45 2005 -+++ configure Sun Oct 30 14:52:28 2005 -@@ -4893,7 +4893,7 @@ - echo "${ECHO_T}no" >&6 - fi - --if test "$LSOF" == "no"; then -+if test "$LSOF" = "no"; then - echo -e "\a" - echo "*** Utility 'lsof' is missing; doormand cannot function properly without it." - echo "*** (Get lsof at: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof.tar.gz)" diff --git a/security/doorman/files/patch-configure.ac b/security/doorman/files/patch-configure.ac deleted file mode 100644 index da49e679bd9e..000000000000 --- a/security/doorman/files/patch-configure.ac +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.ac.orig Sun Aug 7 16:26:03 2005 -+++ configure.ac Sun Oct 30 14:53:03 2005 -@@ -22,7 +22,7 @@ - - AC_PATH_PROG([LSOF], [lsof], [no], - [/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin]) --if test "$LSOF" == "no"; then -+if test "$LSOF" = "no"; then - echo -e "\a" - echo "*** Utility 'lsof' is missing; doormand cannot function properly without it." - echo "*** (Get lsof at: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof.tar.gz)" diff --git a/security/doorman/files/patch-doormand.c b/security/doorman/files/patch-doormand.c deleted file mode 100644 index a9563fd826cd..000000000000 --- a/security/doorman/files/patch-doormand.c +++ /dev/null @@ -1,167 +0,0 @@ ---- doorman-0.81/doormand.c 2005-10-30 14:00:27.000000000 +0100 -+++ doormand.c 2005-10-30 14:05:18.000000000 +0100 -@@ -387,7 +387,11 @@ - int datalink_header_lengths[] = { - // hdr len code data link type - // ------- --- --------------------------- -+#ifdef __FreeBSD__ -+ 4, // 0 no link-layer encapsulation -+#else - 0, // 0 no link-layer encapsulation -+#endif - 14, // 1 Ethernet (10Mb) - -1, // 2 Experimental Ethernet (3Mb) - -1, // 3 Amateur Radio AX.25 -@@ -614,6 +618,14 @@ - // more readable. - // - -+/* -+// lsof on FreeBSD produces one more field. -+// This should be rewritten to use a regular expression, anyway. -+// -+// And who said using C++ style comments in C was good for portability?!? -+*/ -+ -+#ifdef __FreeBSD__ - #define LSOF()\ - sprintf (cmd, "lsof -Pn -iTCP@%s:%s", interface_ip_str, dport_string) ;\ - \ -@@ -635,6 +647,7 @@ - if ((p1 = token (&p2, " ")) == NULL) continue ;\ - if ((p1 = token (&p2, " ")) == NULL) continue ;\ - if ((p1 = token (&p2, " ")) == NULL) continue ;\ -+ if ((p1 = token (&p2, " ")) == NULL) continue ;\ - if ((p1 = token (&p2, " :")) == NULL) continue ;\ - local_ip = inet_addr(p1) ;\ - if ((p1 = token (&p2, "-")) == NULL) continue ;\ -@@ -659,7 +672,53 @@ - }\ - }\ - pclose(f) ; -- -+#else -+#define LSOF()\ -+sprintf (cmd, "lsof -Pn -iTCP@%s:%s", interface_ip_str, dport_string) ;\ -+\ -+f = popen (cmd, "r") ;\ -+if (f == NULL) {\ -+ croak (errno, "Can't execute '%s'; exiting.", cmd) ;\ -+}\ -+\ -+fgets(buffer, 254, f) ; /* throw away the first line. */ \ -+while (fgets(buffer, 254, f)) {\ -+ p2 = buffer ;\ -+ if ((p1 = token (&p2, " ")) == NULL) continue ;\ -+ dname = p1 ;\ -+ if ((p1 = token (&p2, " ")) == NULL) continue ;\ -+ pid = p1 ;\ -+ if ((p1 = token (&p2, " ")) == NULL) continue ;\ -+ uname = p1 ;\ -+ if ((p1 = token (&p2, " ")) == NULL) continue ;\ -+ if ((p1 = token (&p2, " ")) == NULL) continue ;\ -+ if ((p1 = token (&p2, " ")) == NULL) continue ;\ -+ if ((p1 = token (&p2, " ")) == NULL) continue ;\ -+ if ((p1 = token (&p2, " :")) == NULL) continue ;\ -+ local_ip = inet_addr(p1) ;\ -+ if ((p1 = token (&p2, "-")) == NULL) continue ;\ -+ local_port = atoi(p1) ;\ -+ if ((p1 = token (&p2, "->:")) == NULL) continue ;\ -+ aptr = p1 ;\ -+ remote_ip = inet_addr(p1) ;\ -+ if ((p1 = token (&p2, " ")) == NULL) continue ;\ -+ pptr = p1 ;\ -+ remote_port = atoi(p1) ;\ -+ if ((p1 = token (&p2, " ()")) == NULL) continue ;\ -+ status = p1 ;\ -+\ -+ if ((saddr == remote_ip) &&\ -+ (daddr == local_ip) &&\ -+ (sport == remote_port) &&\ -+ (dport == local_port) && \ -+ (strcmp(status, "ESTABLISHED") == 0))\ -+ {\ -+ connected = TRUE ;\ -+ break ;\ -+ }\ -+}\ -+pclose(f) ; -+#endif - - - -@@ -704,7 +763,11 @@ - snprintf (cmd, 254, "tcp and dst port %s and src %s and dst %s", - dport_string, src_addr, interface_ip_str) ; - DEBUG "open a secondary pcap: '%s'", cmd) ; -+#ifdef __FreeBSD__ -+ hdr_len = open_a_pcap (device, 1000, &cap, cmd) ; -+#else - hdr_len = open_a_pcap (device, 0, &cap, cmd) ; -+#endif - - // set broad firewall rule - sprintf (G_fw_broad_rule, " %s %s 0 %s %s", -@@ -716,7 +779,22 @@ - - for (;;) { - -+#ifdef __FreeBSD__ -+ { -+ int ret = 0; -+ struct pcap_pkthdr * packet_hdr_p; -+ -+ while (ret == 0) { -+ ret = pcap_next_ex (cap, &packet_hdr_p, (const u_char **)&p) ; -+ packet_hdr = *packet_hdr_p; -+ if (ret < 0) { -+ p = NULL; -+ } -+ } -+ } -+#else - p = (unsigned char*)pcap_next (cap, &packet_hdr) ; -+#endif - if (p == NULL) { - WARNX "manage_firewall got null from 'pcap_next': %s Exiting.", - pcap_geterr(G_cap)) ; -@@ -1300,9 +1378,13 @@ - croak (errno, "Can't get interface address of %s", device) ; - } - -+#ifdef __FreeBSD__ -+ hdr_len = open_a_pcap (device, 1000, &G_cap, "udp and port %d and dst %s", -+ port, interface_ip) ; -+#else - hdr_len = open_a_pcap (device, 0, &G_cap, "udp and port %d and dst %s", - port, interface_ip) ; -- -+#endif - if (G_reconfigure) { - G_reconfigure = FALSE ; - NOTICE "reconfigured.") ; -@@ -1330,9 +1412,22 @@ - char src_addr_buff[16] ; - - errno = 0 ; -- netdown_count = 0 ; -- -+#ifdef __FreeBSD__ -+ { -+ int ret = 0; -+ struct pcap_pkthdr * packet_hdr_p; -+ -+ while (ret == 0) { -+ ret = pcap_next_ex (G_cap, &packet_hdr_p, (const u_char **)&p) ; -+ packet_hdr = *packet_hdr_p; -+ if (ret < 0) { -+ p = NULL; -+ } -+ } -+ } -+#else - p = (unsigned char *)pcap_next (G_cap, &packet_hdr) ; -+#endif - if (G_reconfigure) { - if (daemonize) err_closelog() ; - goto reconfigure ; diff --git a/security/doorman/files/pkg-message.in b/security/doorman/files/pkg-message.in deleted file mode 100644 index 3fd8127443fe..000000000000 --- a/security/doorman/files/pkg-message.in +++ /dev/null @@ -1,18 +0,0 @@ -[ -{ type: install - message: <