summaryrefslogtreecommitdiff
path: root/security/openfwtk
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2014-07-24 18:36:19 +0000
committerRene Ladan <rene@FreeBSD.org>2014-07-24 18:36:19 +0000
commit36e34f48e2e5ab984eb31b7cff1ee163494523f0 (patch)
tree78419497b9b7f06ed2367445df2b7045727c6e0a /security/openfwtk
parentnet/openldap24-*: (diff)
Remove expired ports:
2014-07-23 chinese/big5con: Fails to build with new utmpx 2014-07-23 chinese/hztty: Fails to build with new utmpx 2014-07-23 irc/solid-ircd: Fails to build with new utmpx 2014-07-23 korean/eterm: Fails to build with new utmpx 2014-07-23 mail/biffer: Fails to build with new utmpx 2014-07-23 misc/c-hey: Fails to build with new utmpx 2014-07-23 misc/wminfo: Fails to build with new utmpx 2014-07-23 net/sendfile: Fails to build with new utmpx 2014-07-23 net-im/centericq: Fails to build with new utmpx 2014-07-23 security/chkrootkit: Fails to build with new utmpx 2014-07-23 security/openfwtk: Fails to build with new utmpx 2014-07-23 security/pam_alreadyloggedin: Fails to build with new utmpx 2014-07-23 security/srp: Fails to build with new utmpx 2014-07-23 security/sud: Fails to build with new utmpx 2014-07-23 sysutils/hyperic-sigar: Fails to build with new utmpx 2014-07-23 sysutils/lookupd: Fails to build with new utmpx 2014-07-23 sysutils/lookupd_ldap: Fails to build with new utmpx 2014-07-23 sysutils/p5-Sys-Utmp: Fails to build with new utmpx 2014-07-23 sysutils/syslog-ng2: Fails to build with new utmpx 2014-07-23 sysutils/yawho: Fails to build with new utmpx
Notes
Notes: svn path=/head/; revision=362836
Diffstat (limited to 'security/openfwtk')
-rw-r--r--security/openfwtk/Makefile82
-rw-r--r--security/openfwtk/Makefile.man58
-rw-r--r--security/openfwtk/distinfo2
-rw-r--r--security/openfwtk/files/patch-Makefile.common29
-rw-r--r--security/openfwtk/files/patch-Makefile.config10
-rw-r--r--security/openfwtk/files/patch-configs-FreeBSD64
-rw-r--r--security/openfwtk/files/patch-reports-Makefile13
-rw-r--r--security/openfwtk/files/patch-reports-frequentcheck.sh17
-rw-r--r--security/openfwtk/files/patch-squid-gw-squid-gw.restart8
-rw-r--r--security/openfwtk/files/pkg-message.in24
-rw-r--r--security/openfwtk/pkg-descr6
-rw-r--r--security/openfwtk/pkg-plist53
12 files changed, 0 insertions, 366 deletions
diff --git a/security/openfwtk/Makefile b/security/openfwtk/Makefile
deleted file mode 100644
index 3aba294a3e89..000000000000
--- a/security/openfwtk/Makefile
+++ /dev/null
@@ -1,82 +0,0 @@
-# Created by: Anton Karpov <toxa@toxahost.ru>
-# $FreeBSD$
-
-PORTNAME= openfwtk
-PORTVERSION= 2.0
-PORTREVISION= 1
-CATEGORIES= security
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Release%20${PORTVERSION}
-DISTNAME= ${PORTNAME}${PORTVERSION}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Application proxy toolkit which inherits the ideology of TIS fwtk
-
-LICENSE= BSD
-
-DEPRECATED= Fails to build with new utmpx
-EXPIRATION_DATE= 2014-07-23
-
-OPTIONS_DEFINE= GUI
-GUI_DESC= Install fw-watch GUI (require TCL/TK!)
-
-WRKSRC= ${WRKDIR}/fwtk
-WRKSRC_WATCH= ${WRKDIR}/fw_watch
-WRKSRC_MILTER= ${WRKDIR}/libci_milter
-
-MAKE_JOBS_UNSAFE=yes
-
-SUB_FILES= pkg-message
-MANCOMPRESSED= no
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MGUI}
-USES+= tk:wrapper
-PLIST_SUB+= WATCH=""
-.else
-PLIST_SUB+= WATCH="@comment "
-.endif
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} > 900007
-BROKEN= fails to build with new utmpx
-.endif
-
-post-patch:
-.for conf in auth/authadduser.sh reports/summ_resources.sh \
- reports/daily_report reports/frequentcheck \
- reports/frequentcheck.sh squid-gw/squid-gw.restart
- @${REINPLACE_CMD} -e \
- 's|/etc/openfwtk.conf|${PREFIX}/etc/openfwtk.conf|g' ${WRKSRC}/${conf}
-.endfor
-.for wish in fileselect.tcl fw_watch
- @${REINPLACE_CMD} -e \
- 's|/usr/bin/|${LOCALBASE}/bin/|g' ${WRKSRC_WATCH}/${wish}
-.endfor
- @${REINPLACE_CMD} -e \
- '/^CC/s|=.*|= ${CC}|g ; \
- /^COPT/s|=.*|= ${CFLAGS}|g' ${WRKSRC_MILTER}/Makefile
- @${REINPLACE_CMD} -e \
- '/^CC/s|=.*|= ${CC}|g ; \
- /^COPT/s|-std=c99|${CFLAGS}|g' ${WRKSRC}/configs/FreeBSD
-
-pre-build:
- @(cd ${WRKSRC_MILTER}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
-
-pre-install:
- @${MKDIR} ${ETCDIR}
-
-post-install:
-.if ${PORT_OPTIONS:MGUI}
- @${MKDIR} ${PREFIX}/share/fw_watch
-.for data in fileselect.tcl fw_watch newsb.tcl searchbox.tcl taputils.tcl
- ${INSTALL_DATA} ${WRKSRC_WATCH}/${data} ${PREFIX}/share/fw_watch
-.endfor
-.endif
- ${ECHO_CMD} "root@`hostname`" > ${ETCDIR}/admin
- @${CAT} ${PKGMESSAGE}
-
-.include "Makefile.man"
-.include <bsd.port.post.mk>
diff --git a/security/openfwtk/Makefile.man b/security/openfwtk/Makefile.man
deleted file mode 100644
index 5eb77b16ecb1..000000000000
--- a/security/openfwtk/Makefile.man
+++ /dev/null
@@ -1,58 +0,0 @@
-# $FreeBSD$
-
-MAN3= \
- cfg_append.3 \
- cfg_free.3 \
- cfg_get.3 \
- cfg_read.3 \
- cfg_setpfile.3 \
- conn_server.3 \
- daemonize.3 \
- do_daemon.3 \
- enargv.3 \
- getpassword.3 \
- hostmatch.3 \
- hup_exit.3 \
- isalldigits.3 \
- lock_fd.3 \
- locktest_fd.3 \
- lockun_fd.3 \
- mapgid.3 \
- maphostname.3 \
- mapuid.3 \
- nacasematch.3 \
- namatch.3 \
- peername.3 \
- randomnumber.3 \
- set_oob_notification.3 \
- str_to_port.3 \
- waitwaitwait.3 \
- xmalloc.3 \
- xrealloc.3 \
- xstrdup.3
-
-MAN5= netperm-table.5
-
-MAN8= \
- auth_telnetd.8 \
- authdump.8 \
- authmgr.8 \
- authsrv.8 \
- cmd-gw.8 \
- cvs-gw.8 \
- dnsctl.8 \
- ftp-gw.8 \
- hqdaemon.8 \
- ident-spoofer.8 \
- lp-gw.8 \
- netacl.8 \
- nntp-gw.8 \
- plug-gw.8 \
- pop3-gw.8 \
- rexec-gw.8 \
- rsh-gw.8 \
- smtpd.8 \
- smtpfwdd.8 \
- squid-gw.8 \
- ssmtp.8
-
diff --git a/security/openfwtk/distinfo b/security/openfwtk/distinfo
deleted file mode 100644
index 950ef0665c85..000000000000
--- a/security/openfwtk/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (openfwtk2.0.tar.gz) = e09b30f13edcc0ec297add629259fc5414081d26aeb3ecc6bfc67f3a27f8d5b6
-SIZE (openfwtk2.0.tar.gz) = 615400
diff --git a/security/openfwtk/files/patch-Makefile.common b/security/openfwtk/files/patch-Makefile.common
deleted file mode 100644
index 5b579f191f3d..000000000000
--- a/security/openfwtk/files/patch-Makefile.common
+++ /dev/null
@@ -1,29 +0,0 @@
---- Makefile.common.orig 2007-09-25 06:26:36.000000000 +0400
-+++ Makefile.common 2007-10-12 04:55:16.000000000 +0400
-@@ -34,11 +34,11 @@
- install-etc: $(ETCOBJS)
- @for CETC in $(ETCOBJS) ""; do \
- if [ "$$CETC" = "" ]; then continue; fi; \
-- if [ -f $(PREFIX)/etc/$$CETC ]; then \
-- echo "NOT installing $(PREFIX)/$$CETC: exists, skipped"; \
-+ if [ -f $(PREFIX)/etc/openfwtk/$$CETC ]; then \
-+ echo "NOT installing $(PREFIX)/openfwtk/$$CETC: exists, skipped"; \
- else \
-- echo "Installing ETC: $$CETC -> $(PREFIX)/etc"; \
-- cp $$CETC $(PREFIX)/etc; \
-+ echo "Installing ETC: $$CETC -> $(PREFIX)/etc/openfwtk"; \
-+ cp $$CETC $(PREFIX)/etc/openfwtk; \
- fi; \
- done; \
-
-@@ -57,8 +57,7 @@
- echo "Creating/updating directory: $$CDIR"; \
- mkdir -p $$CDIR; \
- done; \
-- echo "Installing OpenFWTK base path: OFWTKPATH -> /etc/openfwtk.conf"; \
-- echo "OFWTKPATH=\"$(PREFIX)\"" > /etc/openfwtk.conf
-+ echo "Installing OpenFWTK base path: OFWTKPATH -> ${PREFIX}/etc/openfwtk.conf"; \
-+ echo "OFWTKPATH=\"$(PREFIX)\"" > ${PREFIX}/etc/openfwtk.conf
-
- install: all install-common install-bin install-man install-etc
-- $(INSTALLADD)
diff --git a/security/openfwtk/files/patch-Makefile.config b/security/openfwtk/files/patch-Makefile.config
deleted file mode 100644
index 6038b4f485c7..000000000000
--- a/security/openfwtk/files/patch-Makefile.config
+++ /dev/null
@@ -1,10 +0,0 @@
---- Makefile.config.orig 2007-10-12 02:30:32.000000000 +0400
-+++ Makefile.config 2007-10-12 02:30:52.000000000 +0400
-@@ -1,6 +1,6 @@
- # Define here one of the supported OS-es:
- # Linux, FreeBSD, OpenBSD, Solaris, Solaris64, HP-UX, MacOSX
--OSTYPE = Linux
-+OSTYPE = FreeBSD
-
- include $(GMKPATH)/configs/$(OSTYPE)
- include $(GMKPATH)/Makefile.common
diff --git a/security/openfwtk/files/patch-configs-FreeBSD b/security/openfwtk/files/patch-configs-FreeBSD
deleted file mode 100644
index 481a8ae52a87..000000000000
--- a/security/openfwtk/files/patch-configs-FreeBSD
+++ /dev/null
@@ -1,64 +0,0 @@
---- configs/FreeBSD.orig 2007-10-12 02:53:28.000000000 +0400
-+++ configs/FreeBSD 2007-10-12 03:03:56.000000000 +0400
-@@ -2,25 +2,25 @@
- CC = cc
- CP = cp
- MAKE = make
--PREFIX = /usr/firewall
-+PREFIX = /usr/local
-
- # Defines path where to find ncurses libraries
--NCURSES_LIBDIR=/usr/local/lib
-+NCURSES_LIBDIR=/usr/lib
-
- # Defines path where to find ncurses headers
--NCURSES_INCDIR=/usr/local/include/ncurses
-+NCURSES_INCDIR=/usr/include/ncurses
-
- # Defines path where to find SSL libraries
--SSL_LIBDIR=/usr/local/ssl/lib
-+SSL_LIBDIR=/usr/lib
-
- # Defines path where to find SSL headers
--SSL_INCDIR=/usr/local/ssl/include
-+SSL_INCDIR=/usr/include/openssl
-
- # Defines path where to find GNU Magic/File libraries
--MAGIC_LIBDIR=/usr/local/lib
-+MAGIC_LIBDIR=/usr/lib
-
- # Defines path where to find GNU Magic/File headers
--MAGIC_INCDIR=/usr/local/include
-+MAGIC_INCDIR=/usr/include
-
- # Defines path where to find Milter client library (libci_milter)
- MILTER_LIBDIR=../../libci_milter
-@@ -29,7 +29,7 @@
- MILTER_INCDIR=../../libci_milter/include
-
- # Defines path where to find berkeley bd headers
--DBM_INCDIR=/usr/include/gdbm
-+DBM_INCDIR=/usr/include
-
- # Defines for your operating system
- DEFINES=-DPREFIX=\"$(PREFIX)\"
-@@ -70,16 +70,16 @@
- FWTKSRCDIR=$(PREFIX)/src/fwtk
-
- # Location of X libraries for X-gw
--XLIBDIR=/usr/X11R6/lib
-+XLIBDIR=${LOCALBASE}lib/X11
-
- # X Libraries
- XLIBS = -L$(XLIBDIR) -lXaw -lXmu -lXt -lXext -lX11 -lSM -lICE -lXext
-
- # Location of X include files
--XINCLUDE=/usr/X11R6/include
-+XINCLUDE=${LOCALBASE}/include/X11
-
- # IPFilter location
- #IPFILTER=$(PREFIX)/development/src/ipfilter/ip_fil3.2.9
-
- # authsrv agent communication socket
--AUTHSRV_SOCK_PATH=$(PREFIX)/var/
-+AUTHSRV_SOCK_PATH=/var/run/openfwtk
diff --git a/security/openfwtk/files/patch-reports-Makefile b/security/openfwtk/files/patch-reports-Makefile
deleted file mode 100644
index 008d0eb2e85f..000000000000
--- a/security/openfwtk/files/patch-reports-Makefile
+++ /dev/null
@@ -1,13 +0,0 @@
---- reports/Makefile.orig 2007-09-25 00:20:36.000000000 +0400
-+++ reports/Makefile 2007-10-12 04:54:53.000000000 +0400
-@@ -16,10 +16,3 @@
- logtail: $(LTLOBJS)
- $(OFWTKLINK) $(LTLOBJS)
-
--INSTALLADD = \
-- if ! grep -q frequentcheck /etc/crontab; then \
-- echo "59 * * * * root $(DEST)/frequentcheck">>/etc/crontab ;\
-- fi; \
-- if ! grep -q daily_report /etc/crontab; then \
-- echo "58 23 * * * root $(DEST)/daily_report">>/etc/crontab ; \
-- fi
diff --git a/security/openfwtk/files/patch-reports-frequentcheck.sh b/security/openfwtk/files/patch-reports-frequentcheck.sh
deleted file mode 100644
index 10df4b1f7c13..000000000000
--- a/security/openfwtk/files/patch-reports-frequentcheck.sh
+++ /dev/null
@@ -1,17 +0,0 @@
---- reports/frequentcheck.sh.orig 2007-10-12 04:42:16.000000000 +0400
-+++ reports/frequentcheck.sh 2007-10-12 04:42:45.000000000 +0400
-@@ -43,10 +43,10 @@
-
- PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
-
--PATFILE=$OFWTKPATH/etc/frequentcheck.ignore
--ALERTFILE=$OFWTKPATH/etc/securityalerts.ignore
--WARNFILE=$OFWTKPATH/etc/securitywarnings.ignore
--ERRFILE=$OFWTKPATH/etc/syserr.ignore
-+PATFILE=$OFWTKPATH/etc/openfwtk/frequentcheck.ignore
-+ALERTFILE=$OFWTKPATH/etc/openfwtk/securityalerts.ignore
-+WARNFILE=$OFWTKPATH/etc/openfwtk/securitywarnings.ignore
-+ERRFILE=$OFWTKPATH/etc/openfwtk/syserr.ignore
-
- # Set the flag variables
- FOUND=0
diff --git a/security/openfwtk/files/patch-squid-gw-squid-gw.restart b/security/openfwtk/files/patch-squid-gw-squid-gw.restart
deleted file mode 100644
index 1488605a913b..000000000000
--- a/security/openfwtk/files/patch-squid-gw-squid-gw.restart
+++ /dev/null
@@ -1,8 +0,0 @@
---- squid-gw/squid-gw.restart.orig 2007-10-12 18:09:43.000000000 +0400
-+++ squid-gw/squid-gw.restart 2007-10-12 18:10:12.000000000 +0400
-@@ -9,4 +9,4 @@
- exit 1
- fi
-
--kill -HUP `cat $OFWTKPATH/var/pid/squid-gw.pid`
-+kill -HUP `cat /var/run/openfwtk/squid-gw.pid`
diff --git a/security/openfwtk/files/pkg-message.in b/security/openfwtk/files/pkg-message.in
deleted file mode 100644
index 4bfe43abb428..000000000000
--- a/security/openfwtk/files/pkg-message.in
+++ /dev/null
@@ -1,24 +0,0 @@
-=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
-* NOTE:
-
-* In order to use OpenFWTK proxies you need to have
-procfs(5) filesystem mounted.
-
-* You are advised to add following to /etc/crontab:
-
-59 * * * * root %%LOCALBASE%%/bin/frequentcheck
-58 23 * * * root %%LOCALBASE%%/bin/daily_report
-
-* In order to get this reports, run:
-echo "admin@email.addr" > %%LOCALBASE%%/etc/openfwtk/admin
-
-* fw_check installed in %%LOCALBASE%%/share/fw_watch.
-
-* In order to user openfwtk, you need to create
-%%LOCALBASE%%/etc/netperm-table, there is no predefined
-example for now!
-
-* netperm-table(5) is a good place to start read about
-various configuration options
-
-=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
diff --git a/security/openfwtk/pkg-descr b/security/openfwtk/pkg-descr
deleted file mode 100644
index 7134afbfd1c1..000000000000
--- a/security/openfwtk/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-OpenFWTK is an application proxy toolkit which inherits the ideology
-of TIS fwtk and maintains API backwards compatibility. The design goal
-is to make it simple yet powerful; no performance hacks allowed in the
-code and library dependencies are reduced to minimum.
-
-WWW: http://sourceforge.net/projects/openfwtk
diff --git a/security/openfwtk/pkg-plist b/security/openfwtk/pkg-plist
deleted file mode 100644
index 1463b3dab541..000000000000
--- a/security/openfwtk/pkg-plist
+++ /dev/null
@@ -1,53 +0,0 @@
-bin/auth_cons
-bin/auth_telnetd
-bin/authadduser.sh
-bin/authdump
-bin/authload
-bin/authmgr
-bin/authsrv
-bin/chart.pl
-bin/cmd-gw
-bin/cmd-tn
-bin/cvs-gw
-bin/daily_report
-bin/dnsctl
-bin/frequentcheck
-bin/frequentcheck.sh
-bin/ftp-gw
-bin/get_today
-bin/hqdaemon
-bin/ident-spoofer
-bin/logtail
-bin/lp-gw
-bin/netacl
-bin/nntp-gw
-bin/nntp-top
-bin/plug-gw
-bin/pop3-gw
-bin/rexec-gw
-bin/rsh-gw
-bin/smtpd
-bin/smtpfwdd
-bin/squid-gw
-bin/squid-gw.restart
-bin/squid-log
-bin/squid-top
-bin/ssl-gw
-bin/ssmtp
-bin/summ_complete.pl
-bin/summ_resources.sh
-etc/openfwtk/alerts.add
-etc/openfwtk/frequentcheck.ignore
-etc/openfwtk/securityalerts.ignore
-etc/openfwtk/securitywarnings.ignore
-etc/openfwtk/syserr.ignore
-etc/openfwtk/warnings.add
-etc/openfwtk/admin
-etc/openfwtk.conf
-%%WATCH%%share/fw_watch/fileselect.tcl
-%%WATCH%%share/fw_watch/fw_watch
-%%WATCH%%share/fw_watch/newsb.tcl
-%%WATCH%%share/fw_watch/searchbox.tcl
-%%WATCH%%share/fw_watch/taputils.tcl
-%%WATCH%%@dirrm share/fw_watch
-@dirrm etc/openfwtk