diff options
32 files changed, 5 insertions, 607 deletions
@@ -16268,3 +16268,8 @@ emulators/dtcyber||2021-04-07|Has expired: Unmaintained and dead upstream, does ftp/jftpgw||2021-04-07|Has expired: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) ftp/pureadmin||2021-04-07|Has expired: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) textproc/hs-pandoc-citeproc||2021-04-07|Has expired: Integrated into textproc/hs-pandoc +devel/buildtool-doc||2021-04-07|Removed, depends on expired devel/buildtool +devel/buildtool||2021-04-07|Has expired: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) +misc/floatator||2021-04-07|Has expired: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) +finance/wmstock||2021-04-07|Has expired: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) +ftp/frox||2021-04-07|Has expired: Unmaintained and dead upstream, does not build with -fno-common (llvm 11) diff --git a/devel/Makefile b/devel/Makefile index 9d22c214314a..a0c9b1d5ba06 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -274,8 +274,6 @@ SUBDIR += bugzilla50 SUBDIR += build SUBDIR += buildstream - SUBDIR += buildtool - SUBDIR += buildtool-doc SUBDIR += bullet SUBDIR += busybee SUBDIR += byacc diff --git a/devel/buildtool-doc/Makefile b/devel/buildtool-doc/Makefile deleted file mode 100644 index 44ec5acb1c90..000000000000 --- a/devel/buildtool-doc/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -# Created by: Sergei Kolobov <sergei@kolobov.com> - -PORTNAME= buildtool-doc -PORTVERSION= 0.16 -PORTREVISION= 1 -CATEGORIES= devel -MASTER_SITES= SF/buildtool/${PORTNAME}/${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= Buildtool User's and Developer's manuals - -BUILD_DEPENDS= ${BUILDTOOL}:devel/buildtool \ - xsltproc:textproc/libxslt \ - xmlcatalog:textproc/libxml2 \ - docbook-xml>0:textproc/docbook-xml \ - ${DOCBOOK_XSL}:textproc/docbook-xsl - -BUILDTOOL= ${LOCALBASE}/bin/buildtool -CONFIGURE_ARGS= --prefix=${STAGEDIR}${PREFIX} --dir-doc=${STAGEDIR}${DOCSDIR} \ - --dir-html=${STAGEDIR}${DOCSDIR} - -DOCBOOK_XML= ${LOCALBASE}/share/xml/docbook/4.2 -DOCBOOK_XSL= ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl - -DOCS= CHANGES COPYING PEOPLE README README.bt - -OPTIONS_DEFINE= DOCS - -do-configure: - cd ${WRKSRC} && \ - CATALOG_FILE=${LOCALBASE}/share/xml/catalog.ports \ - DOCBOOK_XSL=${LOCALBASE}/share/xsl/docbook \ - ${BUILDTOOL} config ${CONFIGURE_ARGS} - -do-build: - cd ${WRKSRC} && ${BUILDTOOL} build - -do-install: - cd ${WRKSRC} && ${BUILDTOOL} install - -.include <bsd.port.mk> diff --git a/devel/buildtool-doc/distinfo b/devel/buildtool-doc/distinfo deleted file mode 100644 index 2a369615345e..000000000000 --- a/devel/buildtool-doc/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (buildtool-doc-0.16.tar.gz) = ad1ca5d9243835cd9c487e225d55005c78ac69a339a3ab32379b8d027f39efe9 -SIZE (buildtool-doc-0.16.tar.gz) = 45891 diff --git a/devel/buildtool-doc/pkg-descr b/devel/buildtool-doc/pkg-descr deleted file mode 100644 index b4a6ecce66cd..000000000000 --- a/devel/buildtool-doc/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -This package includes the Buildtool User's and Developer's manual. -You will need Buildtool itself to generate and install end user -documents. - -WWW: http://buildtool.sourceforge.net/ diff --git a/devel/buildtool-doc/pkg-plist b/devel/buildtool-doc/pkg-plist deleted file mode 100644 index c0c4b51108dc..000000000000 --- a/devel/buildtool-doc/pkg-plist +++ /dev/null @@ -1,24 +0,0 @@ -%%PORTDOCS%%%%DOCSDIR%%/CHANGES -%%PORTDOCS%%%%DOCSDIR%%/COPYING -%%PORTDOCS%%%%DOCSDIR%%/PEOPLE -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/bt_config.html -%%PORTDOCS%%%%DOCSDIR%%/bt_dist.html -%%PORTDOCS%%%%DOCSDIR%%/bt_doc.html -%%PORTDOCS%%%%DOCSDIR%%/bt_lint.html -%%PORTDOCS%%%%DOCSDIR%%/bt_logic.html -%%PORTDOCS%%%%DOCSDIR%%/bt_pkgflags.html -%%PORTDOCS%%%%DOCSDIR%%/bt_swcgen.html -%%PORTDOCS%%%%DOCSDIR%%/bt_wizard.html -%%PORTDOCS%%%%DOCSDIR%%/buildtool.html -%%PORTDOCS%%%%DOCSDIR%%/config.html -%%PORTDOCS%%%%DOCSDIR%%/defs.html -%%PORTDOCS%%%%DOCSDIR%%/devtut.html -%%PORTDOCS%%%%DOCSDIR%%/docs.html -%%PORTDOCS%%%%DOCSDIR%%/index.html -%%PORTDOCS%%%%DOCSDIR%%/intro.html -%%PORTDOCS%%%%DOCSDIR%%/logic.html -%%PORTDOCS%%%%DOCSDIR%%/pt01.html -%%PORTDOCS%%%%DOCSDIR%%/pt02.html -%%PORTDOCS%%%%DOCSDIR%%/scripts.html -%%PORTDOCS%%%%DOCSDIR%%/style.css diff --git a/devel/buildtool/Makefile b/devel/buildtool/Makefile deleted file mode 100644 index d8c44fedb63e..000000000000 --- a/devel/buildtool/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# Created by: Jos Backus <jos@catnook.com> - -PORTNAME= buildtool -PORTVERSION= 0.16 -PORTREVISION= 1 -CATEGORIES= devel -MASTER_SITES= SF - -MAINTAINER= ports@FreeBSD.org -COMMENT= Set of portable software build utilities - -HAS_CONFIGURE= yes -CONFIGURE_ARGS= -p ${PREFIX} -d ${DOCSDIR} - -CFLAGS+= -fcommon - -DEPRECATED= Unmaintained and dead upstream, does not build with -fno-common (llvm 11) -EXPIRATION_DATE=2021-04-01 - - -OPTIONS_DEFINE= DOCS - -post-patch: - ${REINPLACE_CMD} -e "s/dprintf/debug_printf/g" \ - ${WRKSRC}/bt_sh/output.h ${WRKSRC}/bt_sh/input.c \ - ${WRKSRC}/bt_sh/input.c ${WRKSRC}/bt_sh/output.c - -.include <bsd.port.mk> diff --git a/devel/buildtool/distinfo b/devel/buildtool/distinfo deleted file mode 100644 index 89f9d5f18de5..000000000000 --- a/devel/buildtool/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (buildtool-0.16.tar.gz) = 4232f48c9a3bd043f82bbb7d1a92adffe3765bdd8538eaa73ada61e92d0a40b5 -SIZE (buildtool-0.16.tar.gz) = 194576 diff --git a/devel/buildtool/files/patch-bt_sh-Makefile.in b/devel/buildtool/files/patch-bt_sh-Makefile.in deleted file mode 100644 index 3e6dcaa19806..000000000000 --- a/devel/buildtool/files/patch-bt_sh-Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- bt_sh/Makefile.in.orig 2009-03-24 22:07:42.000000000 +0100 -+++ bt_sh/Makefile.in 2009-03-24 22:09:38.000000000 +0100 -@@ -26,6 +26,8 @@ - - build: bt_sh - -+$(OBJS): nodes.h syntax.h builtins.h -+ - bt_sh: ${GENSRCS} ${ARITHSRCS} ${OBJS} - ${CC} ${OBJS} -o bt_sh ${LDFLAGS} - ${STRIP} bt_sh diff --git a/devel/buildtool/pkg-descr b/devel/buildtool/pkg-descr deleted file mode 100644 index d4c6bbff62b3..000000000000 --- a/devel/buildtool/pkg-descr +++ /dev/null @@ -1,10 +0,0 @@ -Buildtool is a set of utilities which will make your programs more portable -and easier to build on any kind of Unix-like system. All the utilities are -integrated with each other, which means that they all work together. It is -completely free, licensed under the terms of the BSD license. - -If you have ever used GNU automake, autoconf and/or libtool, you will find -buildtool very similar. In fact, it is an implementation of the ideas of the -GNU programs, but with a completely different design. - -WWW: http://buildtool.sourceforge.net/ diff --git a/devel/buildtool/pkg-plist b/devel/buildtool/pkg-plist deleted file mode 100644 index 92ce2493c4c3..000000000000 --- a/devel/buildtool/pkg-plist +++ /dev/null @@ -1,36 +0,0 @@ -bin/buildtool -libexec/buildtool/bt_config -libexec/buildtool/bt_dist -libexec/buildtool/bt_doc -libexec/buildtool/bt_lint -libexec/buildtool/bt_logic -libexec/buildtool/bt_pkgflags -libexec/buildtool/bt_sh -libexec/buildtool/bt_swcgen -libexec/buildtool/bt_wizard -libexec/buildtool/depconv -man/man1/buildtool.1.gz -share/buildtool/bt_config/base.subr -share/buildtool/bt_config/pkgconfig.subr -share/buildtool/bt_config/pthread.subr -share/buildtool/bt_config/x11.subr -share/buildtool/bt_logic/archive.subr -share/buildtool/bt_logic/convert.subr -share/buildtool/bt_logic/depend.subr -share/buildtool/bt_logic/library.subr -share/buildtool/bt_logic/null.subr -share/buildtool/bt_logic/output.subr -share/buildtool/bt_logic/program.subr -share/buildtool/bt_logic/qt_program.subr -share/buildtool/bt_logic/runscript.subr -share/buildtool/bt_logic/shlib.subr -share/buildtool/bt_logic/texinfo.subr -share/buildtool/templates/README.bt -share/buildtool/templates/bt_config.conf.in -share/buildtool/templates/pkgflags -%%PORTDOCS%%%%DOCSDIR%%/CHANGES -%%PORTDOCS%%%%DOCSDIR%%/COPYING -%%PORTDOCS%%%%DOCSDIR%%/DIFFS.bt_sh -%%PORTDOCS%%%%DOCSDIR%%/PEOPLE -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/TODO diff --git a/finance/Makefile b/finance/Makefile index 8e6c1b2927d7..019b5f241fa1 100644 --- a/finance/Makefile +++ b/finance/Makefile @@ -112,7 +112,6 @@ SUBDIR += vanitygen SUBDIR += venice SUBDIR += weberp - SUBDIR += wmstock SUBDIR += xtrader .include <bsd.port.subdir.mk> diff --git a/finance/wmstock/Makefile b/finance/wmstock/Makefile deleted file mode 100644 index e04776e6db67..000000000000 --- a/finance/wmstock/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# Created by: Will Andrews <andrews@technologist.com> - -PORTNAME= wmstock -PORTVERSION= 0.11 -PORTREVISION= 4 -CATEGORIES= finance windowmaker -MASTER_SITES= http://www.mattfischer.com/wmstock/src/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Cool WindowMaker Dockapp that shows stock ticker(s) - -LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/../COPYING - -DEPRECATED= Unmaintained and dead upstream, does not build with -fno-common (llvm 11) -EXPIRATION_DATE=2021-04-01 - -USES= gmake shebangfix xorg -USE_XORG= xpm -SHEBANG_FILES= getquote - -CFLAGS+= -fcommon - -WRKSRC= ${WRKDIR}/wmstock/src - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/wmstock ${STAGEDIR}${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/getquote ${STAGEDIR}${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/wmstock.1x ${STAGEDIR}${PREFIX}/man/man1/wmstock.1 - -.include <bsd.port.mk> diff --git a/finance/wmstock/distinfo b/finance/wmstock/distinfo deleted file mode 100644 index 6502ecead547..000000000000 --- a/finance/wmstock/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (wmstock-0.11.tar.gz) = e7fa585ee9961fbe2d5fe9dd4d89bb5e83af218201f04ab1e1375e0d7ee153d3 -SIZE (wmstock-0.11.tar.gz) = 45078 diff --git a/finance/wmstock/files/patch-Makefile b/finance/wmstock/files/patch-Makefile deleted file mode 100644 index edbc21726149..000000000000 --- a/finance/wmstock/files/patch-Makefile +++ /dev/null @@ -1,22 +0,0 @@ ---- Makefile.orig 2000-04-19 15:17:30 UTC -+++ Makefile -@@ -2,14 +2,15 @@ - # <mfischer@umr.edu> - # based on wmWeather - see ../Credits for more information - --CC = gcc -+CC ?= gcc - DEBUG = -DMLF_DEBUG -DTIME_DEBUG - GCOV = -fprofile-arcs -ftest-coverage - - #standard, should work for most Linux/Solaris (may need to be changed for HP) --INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include --DESTDIR= /usr/X11R6 --LIBDIR = -L/usr/X11R6/lib -+X11BASE ?= ${LOCALBASE} -+INCDIR = -I${LOCALBASE}/include/X11 -I${LOCALBASE}/include -+DESTDIR= ${PREFIX} -+LIBDIR = -L${LOCALBASE}/lib - - # for linux - LIBS = -lXpm -lX11 -lXext diff --git a/finance/wmstock/files/patch-getquote b/finance/wmstock/files/patch-getquote deleted file mode 100644 index 1fd17392c77e..000000000000 --- a/finance/wmstock/files/patch-getquote +++ /dev/null @@ -1,28 +0,0 @@ ---- getquote.orig 2000-05-14 17:28:49 UTC -+++ getquote -@@ -1,6 +1,6 @@ - #!/usr/bin/perl - -- $wget_loc = "wget"; -+ $wget_loc = "fetch"; - - # used to have some "which" here, replaced it.. - -@@ -77,7 +77,7 @@ sub get_quote_data - # - - $tempfile = "stock.tmp.$$"; -- $wget_args = " --cache=off --tries 0 -q -O $home/.wmstock/$tempfile \"$URL\""; -+ $wget_args = " -p -o $home/.wmstock/$tempfile \"$URL\""; - $command = $wget_loc.$wget_args; - $result = system ("$wget_loc$wget_args"); - if ($result != 0) { -@@ -118,7 +118,7 @@ sub look_for_new_version - $version = $_[0]; - $vtempfile = "newest"; - $vers_url="http://www.mattfischer.com/wmstock/src/$vtempfile"; -- $wget_args = " --cache=off --tries 0 -q -O $home/.wmstock/$vtempfile \"$vers_url\""; -+ $wget_args = " -p -o $home/.wmstock/$vtempfile \"$vers_url\""; - - $command = $wget_loc.$wget_args; - diff --git a/finance/wmstock/pkg-descr b/finance/wmstock/pkg-descr deleted file mode 100644 index a199ab720131..000000000000 --- a/finance/wmstock/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -wmstock is a cool WindowMaker dockapp that shows stock -ticker(s) that are retrieved from Yahoo. - -WWW: https://mattfischer.com/wmstock/ diff --git a/finance/wmstock/pkg-plist b/finance/wmstock/pkg-plist deleted file mode 100644 index d80d75243886..000000000000 --- a/finance/wmstock/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/wmstock -bin/getquote -man/man1/wmstock.1.gz diff --git a/ftp/Makefile b/ftp/Makefile index e740233d366d..c78424d688fd 100644 --- a/ftp/Makefile +++ b/ftp/Makefile @@ -16,7 +16,6 @@ SUBDIR += filezilla SUBDIR += fmirror SUBDIR += fpc-libcurl - SUBDIR += frox SUBDIR += ftpcopy SUBDIR += ftpfind SUBDIR += ftplib diff --git a/ftp/frox/Makefile b/ftp/frox/Makefile deleted file mode 100644 index 24b6a8ba8833..000000000000 --- a/ftp/frox/Makefile +++ /dev/null @@ -1,74 +0,0 @@ -# Created by: Sergey Matveychuk <sem@ciam.ru> - -PORTNAME= frox -PORTVERSION= 0.7.18 -PORTREVISION= 4 -CATEGORIES= ftp -MASTER_SITES= http://www.hollo.org/frox/download/ \ - http://frox.sourceforge.net/download/ \ - SF - -MAINTAINER= ports@FreeBSD.org -COMMENT= Transparent FTP proxy with caching support - -LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING - -USES= gmake tar:bzip2 -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-configfile=${PREFIX}/etc/frox.conf - -CFLAGS+= -fcommon - -DEPRECATED= Unmaintained and dead upstream, does not build with -fno-common (llvm 11) -EXPIRATION_DATE=2021-04-01 - -USE_RC_SUBR= frox -SUB_FILES= pkg-message - -PORTDOCS= SECURITY CREDITS ChangeLog FAQ.html FAQ-1.html FAQ-2.html \ - FAQ-3.html FAQ-4.html FAQ-5.html FAQ-6.html FAQ-7.html \ - FAQ-8.html -PORTEXAMPLES= * -PLIST_FILES= sbin/frox \ - man/man1/frox.1.gz \ - man/man5/frox.conf.5.gz - -OPTIONS_DEFINE= VIRUS_SCAN HTTP_CACHE LOCAL_CACHE CCP ROOT_RUN DOCS EXAMPLES -OPTIONS_DEFAULT= HTTP_CACHE CCP - -OPTIONS_RADIO= PFILTER -OPTIONS_RADIO_PFILTER= IPFILTER PF - -IPFILTER_DESC= Use ipfilter instead of ipfw -PF_DESC= Build with pf(4) support -VIRUS_SCAN_DESC= Run external virus scaner on each download -HTTP_CACHE_DESC= Enable use of external cache -LOCAL_CACHE_DESC= Enable use of local cache -CCP_DESC= Ftp-proxy style command control programs -ROOT_RUN_DESC= Allow frox running as root (not recomended) - -IPFILTER_CONFIGURE_ENABLE= ipfilter -PF_CPPFLAGS= -DPF -VIRUS_SCAN_CONFIGURE_ENABLE= virus-scan -HTTP_CACHE_CONFIGURE_ENABLE= http-cache -LOCAL_CACHE_CONFIGURE_ENABLE= local-cache -CCP_CONFIGURE_ENABLE= ccp -ROOT_RUN_CONFIGURE_ENABLE= run-as-root - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/frox ${STAGEDIR}${PREFIX}/sbin - ${INSTALL_MAN} ${WRKSRC}/doc/frox.man ${STAGEDIR}${MANPREFIX}/man/man1/frox.1 - ${INSTALL_MAN} ${WRKSRC}/doc/frox.conf.man ${STAGEDIR}${MANPREFIX}/man/man5/frox.conf.5 - -do-install-EXAMPLES-on: - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/src/frox.conf ${STAGEDIR}${EXAMPLESDIR}/frox.conf - -do-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR} -.endfor - -.include <bsd.port.mk> diff --git a/ftp/frox/distinfo b/ftp/frox/distinfo deleted file mode 100644 index c6d05861e838..000000000000 --- a/ftp/frox/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (frox-0.7.18.tar.bz2) = f7b637dd108444ff9c2302aa134f434e1606a2f965c01492abfbdc9b1c0bd0fc -SIZE (frox-0.7.18.tar.bz2) = 173355 diff --git a/ftp/frox/files/frox.in b/ftp/frox/files/frox.in deleted file mode 100644 index b005eeaedc86..000000000000 --- a/ftp/frox/files/frox.in +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh - -# PROVIDE: frox -# REQUIRE: NETWORKING -# KEYWORD: shutdown - -# -# Add the following lines to /etc/rc.conf to enable frox: -# -# frox_enable="YES" -# frox_flags="<set as needed>" -# -# See frox(8) for flags -# - -. /etc/rc.subr - -name=frox -rcvar=frox_enable - -command=%%PREFIX%%/sbin/frox -pidfile=/var/run/frox.pid -required_files=%%PREFIX%%/etc/frox.conf - -stop_postcmd=stop_postcmd - -stop_postcmd() -{ - rm -f $pidfile -} - -# set defaults - -frox_enable=${frox_enable:-"NO"} - -load_rc_config $name -run_rc_command "$1" diff --git a/ftp/frox/files/patch-lib-sstrlib-sstr_io.c b/ftp/frox/files/patch-lib-sstrlib-sstr_io.c deleted file mode 100644 index b985c0b9e9be..000000000000 --- a/ftp/frox/files/patch-lib-sstrlib-sstr_io.c +++ /dev/null @@ -1,27 +0,0 @@ ---- lib/sstrlib/sstr_io.c.orig 2005-02-04 10:24:55 UTC -+++ lib/sstrlib/sstr_io.c -@@ -26,6 +26,7 @@ - #include <sys/ioctl.h> - #include <unistd.h> - #include <ctype.h> -+#include <sys/stat.h> - - #include "sstr.h" - #include "sstr_private.h" -@@ -61,8 +62,14 @@ int sstr_apprintf(sstr * p, const char * - int sstr_append_read(int fd, sstr * p, int cnt) - { - int i; -- if(ioctl(fd, FIONREAD, &i) == -1) -- return (-1); -+ struct stat mystat; -+ -+ if(ioctl(fd, FIONREAD, &i) == -1) { -+ fstat(fd,&mystat); -+ if (mystat.st_mode & S_IFREG == 0) -+ return (-1); -+ i=mystat.st_blksize; -+ } - if(i == 0) - return (0); - diff --git a/ftp/frox/files/patch-src-bsd.c b/ftp/frox/files/patch-src-bsd.c deleted file mode 100644 index 2f90ecba530c..000000000000 --- a/ftp/frox/files/patch-src-bsd.c +++ /dev/null @@ -1,75 +0,0 @@ ---- src/bsd.c.orig 2005-02-04 10:24:55 UTC -+++ src/bsd.c -@@ -30,6 +30,16 @@ - #error --enable-transparent-data not supported under BSD - #endif - -+#ifdef PF -+#include <fcntl.h> -+#include <sys/ioctl.h> -+#include <net/if.h> -+#include <net/pfvar.h> -+ -+static int natfd; -+#endif -+ -+ - #ifdef IPFILTER - #include <fcntl.h> - #include <sys/ioctl.h> -@@ -51,6 +61,11 @@ int os_init(void) - if(natfd < 0) - write_log(ERROR, "Unable to initialise IPFilter"); - #endif -+#ifdef PF -+ natfd = open("/dev/pf", O_RDWR); -+ if (natfd == -1) -+ write_log(ERROR, "Unable to initialise PF"); -+#endif - return 0; - } - -@@ -61,6 +76,11 @@ int os_init(void) - int get_orig_dest(int fd, struct sockaddr_in *addr) - { - socklen_t len; -+#ifdef PF -+ struct pfioc_natlook nl; -+ struct sockaddr_in from; -+ int r2; -+#endif - #ifdef IPFILTER - struct natlookup nat; - struct sockaddr_in from; -@@ -100,6 +120,31 @@ int get_orig_dest(int fd, struct sockadd - return r2; - } - #endif -+#ifdef PF -+ getpeername(fd, (struct sockaddr *) &from, &len); -+ memset(&nl, 0, sizeof(struct pfioc_natlook)); -+ memcpy( &nl.daddr.v4, &to.sin_addr.s_addr, sizeof( nl.saddr.v4 )); -+ memcpy( &nl.saddr.v4, &from.sin_addr.s_addr, sizeof( nl.daddr.v4 )); -+ nl.dport = to.sin_port; -+ nl.sport = from.sin_port; -+ nl.af = AF_INET; -+ nl.proto = IPPROTO_TCP; -+ nl.direction = PF_INOUT; -+ -+ if ( natfd > 0 ){ -+ if (ioctl(natfd, DIOCNATLOOK, &nl)==-1){ -+ write_log(ERROR, "Failed to lookup address"); -+ } -+ else { -+ memset(addr, sizeof(*addr), 0); -+ memcpy(&addr->sin_addr.s_addr, &nl.rdaddr.v4.s_addr, sizeof(struct sockaddr_in)); -+ addr->sin_len = sizeof(struct sockaddr_in); -+ addr->sin_port = nl.rdport; -+ addr->sin_family = AF_INET; -+ return r2; -+ } -+ } -+#endif - memcpy(addr, &to, len); - return r1; - } diff --git a/ftp/frox/files/patch-src-cache.c b/ftp/frox/files/patch-src-cache.c deleted file mode 100644 index 234d61301042..000000000000 --- a/ftp/frox/files/patch-src-cache.c +++ /dev/null @@ -1,16 +0,0 @@ -Apply patch - - -Patch attached with submission follows: - ---- src/cache.c.orig 2005-02-04 10:24:55 UTC -+++ src/cache.c -@@ -364,7 +364,7 @@ int setup_fileinfo(sstr * filename) - int code; - sstr *msg; - -- if(!strcasecmp(config.cachemod, "Local") || !config.forcehttp) { -+ if(!strcasecmp(config.cachemod, "Local") || config.forcehttp) { - send_ccommand("SIZE", sstr_buf(filename)); - get_message(&code, &msg); - if(code / 100 != 2) { diff --git a/ftp/frox/files/patch-src_frox.conf b/ftp/frox/files/patch-src_frox.conf deleted file mode 100644 index f47c53b0f18c..000000000000 --- a/ftp/frox/files/patch-src_frox.conf +++ /dev/null @@ -1,51 +0,0 @@ ---- src/frox.conf.orig 2005-02-04 10:24:55 UTC -+++ src/frox.conf -@@ -18,16 +18,13 @@ - # commented out to listen on all local IPs. - # - # Listen firewall.localnet -+# Change it with your ip! - Listen 192.168.2.1 - - # Port to listen on. Must be supplied. - # - Port 2121 - --# If specified then bind to this device --# --BindToDevice eth0 -- - # Whether to run from inetd. You should still define Port above, but - # it isn't used for much. - # -@@ -44,7 +41,7 @@ BindToDevice eth0 - # comment this out and copy resolver libraries into the chroot jail instead. - # See FAQ section 3.2 for details. - # --ResolvLoadHack wontresolve.doesntexist.abc -+#ResolvLoadHack wontresolve.doesntexist.abc - - # Another ftp proxy to forward on to. Frox will contact this ftp - # proxy, and send it a login name of the form "user@host:port" where -@@ -73,8 +70,8 @@ ResolvLoadHack wontresolve.doesntexist.a - # you really want to run as root (not a good idea) you must say so - # specifically, and have compiled with --enable-run-as-root. - # --# User nobody --# Group nogroup -+User nobody -+Group nogroup - - # This is frox's working directory - it must be specified. Temporary - # files and sockets will be created here. If you are using local -@@ -83,8 +80,8 @@ ResolvLoadHack wontresolve.doesntexist.a - # also chroot to this dir on startup. To avoid this you must specifically - # set DontChroot to Yes. - # --# WorkingDir /usr/local/lib/frox --# DontChroot Yes -+WorkingDir /tmp -+DontChroot Yes - - # Logging level. 0=No logging. 5=Critical errors only. 10= All errors. - # 15=Errors, other important stuf. 20= Errors, connections, cache diff --git a/ftp/frox/files/pkg-message.in b/ftp/frox/files/pkg-message.in deleted file mode 100644 index a82361dd292e..000000000000 --- a/ftp/frox/files/pkg-message.in +++ /dev/null @@ -1,19 +0,0 @@ -[ -{ type: install - message: <<EOM -Don't forget to create %%PREFIX%%/etc/frox.conf. -See an example in %%EXAMPLESDIR%%/frox.conf - -You can use frox by two ways: -1) run as a daemon: -Add `frox_enable="YES"' in /etc/rc.conf and run %%PREFIX%%/etc/rc.d/frox.sh - -2) run frox with inetd(8): -* uncomment 'FromInetd yes' in your %%PREFIX%%/etc/frox.conf -* add a line in /etc/inetd.conf: -frox stream tcp nowait nobody %%PREFIX%%/sbin/frox frox -* assign a port number for frox inside /etc/services (e.g. 2121): -frox 2121/tcp -EOM -} -] diff --git a/ftp/frox/pkg-descr b/ftp/frox/pkg-descr deleted file mode 100644 index 3a18c1209785..000000000000 --- a/ftp/frox/pkg-descr +++ /dev/null @@ -1,15 +0,0 @@ -This is frox, a transparent ftp proxy by James Hollingshead. - -Current features include: - - o rfc959 compliant transparent proxying of ftp connections. - o active --> passive mode conversion for data connections. - o Optional caching support either locally or through an external - HTTP cache. - o Optional virus scanning - o Optional non-transparent proxy support by logging in with - user@host:port. - o Options to bind to a specific interface, chroot, and drop - priveleges for security. - -WWW: http://www.hollo.org/frox/ diff --git a/misc/Makefile b/misc/Makefile index fe6d186cbb5c..240e82012207 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -98,7 +98,6 @@ SUBDIR += findutils SUBDIR += firestring SUBDIR += flag - SUBDIR += floatator SUBDIR += fortune-mod-bible SUBDIR += fortune-mod-bofh SUBDIR += fortune-mod-epictetus diff --git a/misc/floatator/Makefile b/misc/floatator/Makefile deleted file mode 100644 index 6eef0090459c..000000000000 --- a/misc/floatator/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# Created by: ijliao - -PORTNAME= floatator -PORTVERSION= 0.2.1 -PORTREVISION= 3 -CATEGORIES= misc -MASTER_SITES= http://floatator.cichon.com/download/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Interactive fluid dynamics simulation - -WRKSRC= ${WRKDIR}/${PORTNAME} - -PORTSCOUT= skipv:0.9.1 -USES= motif -MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DNDEBUG" \ - X11INCLUDE="-I${LOCALBASE}/include" X11LIB="-L${LOCALBASE}/lib" -PLIST_FILES= bin/floatator bin/floatator_X_interface -MAKE_JOBS_UNSAFE= yes - -CFLAGS+= -fcommon - -DEPRECATED= Unmaintained and dead upstream, does not build with -fno-common (llvm 11) -EXPIRATION_DATE=2021-04-01 - -do-install: -.for f in floatator floatator_X_interface - ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin -.endfor - -.include <bsd.port.mk> diff --git a/misc/floatator/distinfo b/misc/floatator/distinfo deleted file mode 100644 index e01767aa7179..000000000000 --- a/misc/floatator/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (floatator-0.2.1.tar.gz) = 59c5931a375a6655a7b8cc6d4856acdb6611416c9f36ec0dc56ba44a19dbe68a -SIZE (floatator-0.2.1.tar.gz) = 52770 diff --git a/misc/floatator/pkg-descr b/misc/floatator/pkg-descr deleted file mode 100644 index 59d52cac82ef..000000000000 --- a/misc/floatator/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -Floatator is an interactive fluid dynamics simulation. The simulation -and the visualisation are 2D. - -WWW: http://floatator.cichon.com/ |