git: 51c097e06436 - main - cleanup: Remove expired ports:

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Sat, 31 Dec 2022 01:11:50 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=51c097e06436c0ad91486387238a0d2e75d6a284

commit 51c097e06436c0ad91486387238a0d2e75d6a284
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2022-12-31 01:10:13 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2022-12-31 01:11:35 +0000

    cleanup: Remove expired ports:
    
    2022-09-30 comms/hylafax: dead upstream, someone port hylafax+ from sourceforge.net instead
    2022-12-31 comms/tkhylafax: Depends on expired comms/hylafax
---
 MOVED                                      |   2 +
 comms/Makefile                             |   2 -
 comms/hylafax/Makefile                     | 121 --------
 comms/hylafax/distinfo                     |   3 -
 comms/hylafax/files/README                 |  10 -
 comms/hylafax/files/hylafax.in             |  24 --
 comms/hylafax/files/patch-FileTransfer.c++ | 102 ------
 comms/hylafax/files/patch-GettySysV.c++    |  31 --
 comms/hylafax/files/patch-Makefile.in      |  14 -
 comms/hylafax/files/patch-config.h.in      |  11 -
 comms/hylafax/files/patch-configure        | 205 -------------
 comms/hylafax/files/patch-hylafax.in       |  24 --
 comms/hylafax/files/patch-nls.mk           |  34 --
 comms/hylafax/files/pkg-message.in         |  29 --
 comms/hylafax/pkg-descr                    |  14 -
 comms/hylafax/pkg-plist                    | 478 -----------------------------
 comms/tkhylafax/Makefile                   |  22 --
 comms/tkhylafax/distinfo                   |   2 -
 comms/tkhylafax/files/patch-Makefile       |  74 -----
 comms/tkhylafax/files/patch-faxIt.t        |  35 ---
 comms/tkhylafax/pkg-descr                  |  12 -
 comms/tkhylafax/pkg-plist                  |  21 --
 22 files changed, 2 insertions(+), 1268 deletions(-)

diff --git a/MOVED b/MOVED
index 33cf1be42ff0..dbbdcbe94767 100644
--- a/MOVED
+++ b/MOVED
@@ -17715,3 +17715,5 @@ devel/rubygem-google-protobuf319|devel/rubygem-google-protobuf|2022-12-30|Remove
 databases/pgpool-II-37|databases/pgpool-II-43|2022-12-30|Has expired: Upstream EOL reaches on 2022-11 use pgpool-II-43
 shells/ksh2020||2022-12-30|Has expired: Upstream ksh2020 branch archived, development continues under new ksh93 project
 games/scorched3d/||2022-12-31|Has expired: Abandoned project and use deprecated wxgtk28
+comms/hylafax||2022-12-31|Has expired: dead upstream, someone port hylafax+ from sourceforge.net instead
+comms/tkhylafax||2022-12-31|Has expired: Depends on expired comms/hylafax
diff --git a/comms/Makefile b/comms/Makefile
index 379e130fc7b0..2f1aab56fca2 100644
--- a/comms/Makefile
+++ b/comms/Makefile
@@ -64,7 +64,6 @@
     SUBDIR += hamlib
     SUBDIR += hcidump
     SUBDIR += hidapi
-    SUBDIR += hylafax
     SUBDIR += ibp
     SUBDIR += iceoryx
     SUBDIR += inspectrum
@@ -193,7 +192,6 @@
     SUBDIR += tilp2
     SUBDIR += tio
     SUBDIR += tits
-    SUBDIR += tkhylafax
     SUBDIR += tkscanfax
     SUBDIR += tlf
     SUBDIR += trustedqsl
diff --git a/comms/hylafax/Makefile b/comms/hylafax/Makefile
deleted file mode 100644
index 7811c523d8c5..000000000000
--- a/comms/hylafax/Makefile
+++ /dev/null
@@ -1,121 +0,0 @@
-PORTNAME=	hylafax
-PORTVERSION=	6.0.7
-PORTREVISION=	1
-CATEGORIES=	comms
-MASTER_SITES=	ftp://ftp.hylafax.org/source/
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Fax software
-WWW=		https://www.hylafax.org/
-
-LICENSE=	MIT
-LICENSE_FILE=	${WRKSRC}/COPYRIGHT
-
-BUILD_DEPENDS=	${LOCALBASE}/lib/afm/Courier:print/afm
-LIB_DEPENDS=	libtiff.so:graphics/tiff \
-		libjbig.so:graphics/jbigkit
-
-USES=		cpe fakeroot ghostscript jpeg
-
-USE_RC_SUBR=	hylafax
-
-MAKE_JOBS_UNSAFE=	yes
-HAS_CONFIGURE=		yes
-
-DEPRECATED=	dead upstream, someone port hylafax+ from sourceforge.net instead
-EXPIRATION_DATE=2022-09-30
-
-CONFIGURE_ARGS=	--with-INSTALL="" \
-		--with-LIBTIFF="-L${LOCALBASE}/lib -ltiff -ljpeg" \
-		--with-ZLIB=no --with-LIBZ=-lz \
-		--with-TIFFINC="-I${LOCALBASE}/include" \
-		--with-GCOPTS=" " --with-GCXXOPTS=" " \
-		--with-REGEX=no --with-LIBREGEX='' --with-REGEXINC=-I/usr/include \
-		--with-DIR_HTML="${DOCSDIR}" \
-		--with-GETTY=SysV
-CFLAGS+=	-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -L${LOCALBASE}/lib
-CONFIGURE_ENV=	ENVOPTS="${CFLAGS}" STRIP=/usr/bin/true
-MAKE_ENV+=	ROOT=${STAGEDIR}
-MAKE_ARGS+=	OPTIMIZER="" -DOPTIMIZER
-
-CONFLICTS_INSTALL=	mgetty
-
-PORTDOCS=	RELEASENOTES-4.3.txt RELEASENOTES-4.4.txt RELEASENOTES-6.0.txt
-SUB_FILES=	pkg-message
-
-OPTIONS_DEFINE=	PAM NLS GAWK DOCS
-OPTIONS_DEFAULT=PAM
-OPTIONS_SUB=	yes
-
-NO_OPTIONS_SORT=yes
-
-GAWK_DESC=	Use gawk for scripts
-
-PAM_CONFIGURE_OFF=	--disable-pam
-
-NLS_USES=		gettext
-NLS_CONFIGURE_ENABLE=	nls
-
-GAWK_BUILD_DEPENDS=	gawk:lang/gawk
-GAWK_RUN_DEPENDS=	gawk:lang/gawk
-GAWK_CONFIGURE_ON=	--with-AWK="${LOCALBASE}/bin/gawk"
-
-DOCS_CONFIGURE_ON=	--with-HTML=yes
-
-.include <bsd.port.options.mk>
-
-# Defaults to "North American Letter".  Use "ISO A4" for A4.
-.if defined(PAGESIZE)
-CONFIGURE_ARGS+=--with-PAGESIZE="${PAGESIZE}"
-.endif
-
-# Redefine path for spool
-.if defined(HYLAFAX_SPOOL)
-CONFIGURE_ARGS+=--with-DIR_SPOOL="${HYLAFAX_SPOOL}"
-.endif
-HYLAFAX_SPOOL?=	/var/spool/hylafax
-PLIST_SUB+=	HYLAFAX_SPOOL=${HYLAFAX_SPOOL}
-
-.if defined(PACKAGE_BUILDING) || defined(BATCH)
-CONFIGURE_ARGS+=--nointeractive
-.endif
-
-post-patch:
-	${REINPLACE_CMD} \
-		-e 's,/usr/local,${LOCALBASE},g' \
-		-e 's,-ljbig,-L${LOCALBASE}/lib &,' \
-		${WRKSRC}/configure
-	${REINPLACE_CMD} -e 's,-O hfaxd.conf,-O hfaxd.conf.sample,' \
-		${WRKSRC}/hfaxd/Makefile.in
-	${REINPLACE_CMD} -e 's,hosts.hfaxd,hosts.hfaxd.sample,' \
-		${WRKSRC}/etc/Makefile.in
-	${REINPLACE_CMD} -e 's,-O typerules,-O typerules.sample,' \
-		-e 's,-O pagesizes,-O pagesizes.sample -src pagesizes,' \
-		${WRKSRC}/libhylafax/Makefile.in
-
-pre-install:
-	${MKDIR} ${STAGEDIR}${HYLAFAX_SPOOL}/archive \
-		${STAGEDIR}${HYLAFAX_SPOOL}/docq \
-		${STAGEDIR}${HYLAFAX_SPOOL}/doneq \
-		${STAGEDIR}${HYLAFAX_SPOOL}/pollq \
-		${STAGEDIR}${HYLAFAX_SPOOL}/sendq \
-		${STAGEDIR}${HYLAFAX_SPOOL}/tmp \
-		${STAGEDIR}${HYLAFAX_SPOOL}/info \
-		${STAGEDIR}${HYLAFAX_SPOOL}/log
-
-post-install:
-.for i in bin/faxalter bin/faxcover bin/faxmail bin/faxrm bin/faxstat bin/sendfax \
-bin/sendpage sbin/choptest sbin/cqtest sbin/dialtest sbin/faxabort \
-sbin/faxadduser sbin/faxanswer sbin/faxconfig sbin/faxdeluser \
-sbin/faxgetty sbin/faxinfo sbin/faxlock sbin/faxmodem sbin/faxmsg \
-sbin/faxq sbin/faxqclean sbin/faxquit sbin/faxsend sbin/faxstate \
-sbin/faxwatch sbin/hfaxd sbin/lockname sbin/ondelay sbin/pagesend \
-sbin/tagtest sbin/textfmt sbin/tiffcheck sbin/tsitest sbin/typetest
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${i}
-.endfor
-
-post-install-DOCS-on:
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
-
-.include <bsd.port.mk>
diff --git a/comms/hylafax/distinfo b/comms/hylafax/distinfo
deleted file mode 100644
index 4c44f564dbb0..000000000000
--- a/comms/hylafax/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1556939625
-SHA256 (hylafax-6.0.7.tar.gz) = a3dcb1a7fd8794bd33cea9a9414c32da100119dd2131bd08ab3ab3749fc30315
-SIZE (hylafax-6.0.7.tar.gz) = 1309111
diff --git a/comms/hylafax/files/README b/comms/hylafax/files/README
deleted file mode 100644
index fa7926e3174d..000000000000
--- a/comms/hylafax/files/README
+++ /dev/null
@@ -1,10 +0,0 @@
-The port is complete rewrite of hylafax-3.0p1 port by Julian Stacey
-<jhs@freebsd.org>, May 1995.
-original notice was as follows:
- 
- Copyright Julian Stacey 1995:
- 	Please preserve & comply with Sam Leffler's & SGI's legal stuff
-	I hereby release my work in this area for public use,
-	& disclaim all liability !  
-	Leave my name intact please, I'm a freelance, publicity can
-	be useful.
diff --git a/comms/hylafax/files/hylafax.in b/comms/hylafax/files/hylafax.in
deleted file mode 100644
index 44ee85f2c818..000000000000
--- a/comms/hylafax/files/hylafax.in
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: hylafax
-# REQUIRE: LOGIN
-# KEYWORD: shutdown
-
-# be sure to initialize the following:
-#   server: %%PREFIX%%/sbin/faxsetup
-#   modems: %%PREFIX%%/sbin/faxaddmodem
-#   incoming calls: /etc/ttys
-
-hylafax_enable=${hylafax_enable-"NO"}
-
-. /etc/rc.subr
-
-name="hylafax"
-rcvar="hylafax_enable"
-
-start_cmd="%%PREFIX%%/sbin/hylafax start"
-stop_cmd="%%PREFIX%%/sbin/hylafax stop"
-procname="%%PREFIX%%/sbin/faxq"
-
-load_rc_config $name
-run_rc_command "$1"
diff --git a/comms/hylafax/files/patch-FileTransfer.c++ b/comms/hylafax/files/patch-FileTransfer.c++
deleted file mode 100644
index ff58afa1f1e2..000000000000
--- a/comms/hylafax/files/patch-FileTransfer.c++
+++ /dev/null
@@ -1,102 +0,0 @@
---- hfaxd/FileTransfer.c++.orig	2009-12-28 20:05:40.000000000 +0100
-+++ hfaxd/FileTransfer.c++	2010-08-26 21:47:16.000000000 +0200
-@@ -65,11 +65,31 @@
- static 	const char* strunames[] =  { "File", "Record", "Page", "TIFF" };
- static 	const char* modenames[] =  { "Stream", "Block", "Compressed", "ZIP" };
- 
-+extern "C" {
-+/*
-+ * TIFF Image File Directories are comprised of a table of field
-+ * descriptors of the form shown below.  The table is sorted in
-+ * ascending order by tag.  The values associated with each entry are
-+ * disjoint and may appear anywhere in the file (so long as they are
-+ * placed on a word boundary).
-+ *
-+ * If the value is 4 bytes or less, then it is placed in the offset
-+ * field to save space.  If the value is less than 4 bytes, it is
-+ * left-justified in the offset field.
-+ */
-+typedef struct {
-+        uint16          tdir_tag;       /* see below */
-+        uint16          tdir_type;      /* data type; see below */
-+        uint32          tdir_count;     /* number of items; length in spec */
-+        uint32          tdir_offset;    /* byte offset to field data */
-+} TIFFDirEntry;
-+}
-+
- #define	N(a)	(sizeof (a) / sizeof (a[0]))
- 
- 
- static bool
--isTIFF(const TIFFHeader& h)
-+isTIFF(const TIFFHeaderClassic& h)
- {
-     if (h.tiff_magic != TIFF_BIGENDIAN && h.tiff_magic != TIFF_LITTLEENDIAN)
- 	return (false);
-@@ -82,7 +102,7 @@
-     // byte swap version stamp if opposite byte order
-     if ((u.c[0] == 0) ^ (h.tiff_magic == TIFF_BIGENDIAN))
- 	TIFFSwabShort(&version);
--    return (version == TIFF_VERSION);
-+    return (version == TIFF_VERSION_CLASSIC);
- }
- 
- 
-@@ -229,7 +249,7 @@
- 		uint32* sb;
- 		TIFFGetField(tif, TIFFTAG_STRIPBYTECOUNTS, &sb);
- 		file_size = sizeof (DirTemplate) +
--		    sizeof (TIFFHeader) + sizeof (uint16);
-+		    sizeof (TIFFHeaderClassic) + sizeof (uint16);
- 		for (tstrip_t s = 0, ns = TIFFNumberOfStrips(tif); s < ns; s++)
- 		    file_size += sb[s];
- 		reply(code, "%s for %s (%lu bytes).",
-@@ -261,10 +281,10 @@
- 	if (fd >= 0) {
- 	    union {
- 		char buf[512];
--		TIFFHeader h;
-+		TIFFHeaderClassic h;
- 	    } b;
- 	    ssize_t cc = Sys::read(fd, (char*) &b, sizeof (b));
--	    if (cc > (ssize_t)sizeof (b.h) && b.h.tiff_version == TIFF_VERSION &&
-+	    if (cc > (ssize_t)sizeof (b.h) && b.h.tiff_version == TIFF_VERSION_CLASSIC &&
- 	      (b.h.tiff_magic == TIFF_BIGENDIAN ||
- 	       b.h.tiff_magic == TIFF_LITTLEENDIAN)) {
- 		(void) lseek(fd, 0L, SEEK_SET);		// rewind
-@@ -343,7 +363,7 @@
- {
-     static DirTemplate templ = {
- #define	TIFFdiroff(v) \
--    (uint32) (sizeof (TIFFHeader) + sizeof (uint16) + \
-+    (uint32) (sizeof (TIFFHeaderClassic) + sizeof (uint16) + \
-       (intptr_t) &(((DirTemplate*) 0)->v))
- 	{ TIFFTAG_SUBFILETYPE,		TIFF_LONG,	1 },
- 	{ TIFFTAG_IMAGEWIDTH,		TIFF_LONG,	1 },
-@@ -377,14 +397,14 @@
-      * of things about the contents of the TIFF file.
-      */
-     struct {
--	TIFFHeader h;
-+	TIFFHeaderClassic h;
- 	uint16	dircount;
- 	u_char	dirstuff[sizeof (templ)];
-     } buf;
-     union { int32 i; char c[4]; } u; u.i = 1;
-     buf.h.tiff_magic = (u.c[0] == 0 ? TIFF_BIGENDIAN : TIFF_LITTLEENDIAN);
--    buf.h.tiff_version = TIFF_VERSION;
--    buf.h.tiff_diroff = sizeof (TIFFHeader);
-+    buf.h.tiff_version = TIFF_VERSION_CLASSIC;
-+    buf.h.tiff_diroff = sizeof (TIFFHeaderClassic);
-     buf.dircount = (uint16) NTAGS;
-     getLong(tif, templ.SubFileType);
-     getLong(tif, templ.ImageWidth);
-@@ -957,7 +977,7 @@
- 	if (FileCache::lookup(docname, sb) && S_ISREG(sb.st_mode)) {
- 	    union {
- 		char buf[512];
--		TIFFHeader h;
-+		TIFFHeaderClassic h;
- 	    } b;
- 	    ssize_t cc = Sys::read(fd, (char*) &b, sizeof (b));
- 	    if (cc > 2 && b.buf[0] == '%' && b.buf[1] == '!')
diff --git a/comms/hylafax/files/patch-GettySysV.c++ b/comms/hylafax/files/patch-GettySysV.c++
deleted file mode 100644
index 85adc8498850..000000000000
--- a/comms/hylafax/files/patch-GettySysV.c++
+++ /dev/null
@@ -1,31 +0,0 @@
---- faxd/GettySysV.c++.orig	2009-12-28 20:05:40.000000000 +0100
-+++ faxd/GettySysV.c++	2010-01-26 22:44:19.000000000 +0100
-@@ -49,8 +49,12 @@
- #define ut_time       ut_tv.tv_sec
- #endif
- #else
-+#ifdef __FreeBSD__
-+#define ut_time       ut_tv.tv_sec
-+#else
- #define ut_time       ut_xtime
- #endif
-+#endif
- 
- #define getutent      getutxent
- #define getutid       getutxid
-@@ -172,6 +176,7 @@
- void
- SysVGetty::writeWtmp(utmp* ut)
- {
-+#if !defined(__FreeBSD__)
-     // append record of login to wtmp file
- #if HAS_UTMPX
-     updwtmpx(_PATH_WTMPX, ut);
-@@ -182,6 +187,7 @@
- 	Sys::close(fd);
-     }
- #endif
-+#endif
- }
- 
- /*
diff --git a/comms/hylafax/files/patch-Makefile.in b/comms/hylafax/files/patch-Makefile.in
deleted file mode 100644
index d24e12fe3976..000000000000
--- a/comms/hylafax/files/patch-Makefile.in
+++ /dev/null
@@ -1,14 +0,0 @@
---- Makefile.in.orig	Mon Apr 14 12:44:42 2003
-+++ Makefile.in	Sat Feb 11 12:00:16 2006
-@@ -233,10 +233,8 @@
- makeClientDirs::
- 	-${INSTALL} -u ${SYSUSER} -g ${SYSGROUP} -m ${DIRMODE} \
- 	    -idb hylafax.sw.client -dir \
--	    ${BIN} ${LIBDATA} ${LIBEXEC} ${SBIN}
-+	    ${LIBDATA}
- makeServerDirs::
--	-${INSTALL} -u ${SYSUSER} -g ${SYSGROUP} -m ${DIRMODE} \
--	    -idb hylafax.sw.server -dir ${SBIN};
- 	-${INSTALL} -u ${FAXUSER} -g ${FAXGROUP} -m ${DIRMODE} \
- 	    -idb hylafax.sw.server -dir ${SPOOL}
- 	-${INSTALL} -u ${FAXUSER} -g ${FAXGROUP} -m ${DIRMODE} \
diff --git a/comms/hylafax/files/patch-config.h.in b/comms/hylafax/files/patch-config.h.in
deleted file mode 100644
index fe4cc7ed7d0b..000000000000
--- a/comms/hylafax/files/patch-config.h.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- config.h.in.orig	2012-06-06 02:58:38.000000000 +0200
-+++ config.h.in	2013-02-23 22:28:46.471211000 +0100
-@@ -303,3 +303,8 @@
- #define LOCALE_DOMAIN "@LOCALE_DOMAIN@"
- 
- #endif
-+
-+#if defined(__DragonFly__)
-+    #define HAS_UTMPX 1
-+    #define HAS_EXIT_STATUS 1
-+#endif
diff --git a/comms/hylafax/files/patch-configure b/comms/hylafax/files/patch-configure
deleted file mode 100644
index 41211d66aea7..000000000000
--- a/comms/hylafax/files/patch-configure
+++ /dev/null
@@ -1,205 +0,0 @@
---- configure.orig	2018-09-18 18:51:17 UTC
-+++ configure
-@@ -831,7 +831,8 @@ checkGCCVersion()
- # NB: use ANSI C prototype to weed out non-ANSI compilers.
- #
- cat>dummy.c<<EOF
--main(int argc, char* argv) { exit(0); }
-+#include <stdlib.h>
-+int main(int argc, char** argv) { exit(0); }
- EOF
- 
- checkCompiler()
-@@ -982,7 +983,8 @@ fi
- # Make dependency information.
- #
- cat>dummy.c<<EOF
--main(int argc, char* argv) { exit(0); }
-+#include <stdlib.h>
-+int main(int argc, char** argv) { exit(0); }
- EOF
- capture cat dummy.c
- if capture "$CCOMPILER -c -M $MKDEPCOPTS dummy.c | grep '^dummy.o[ 	]*:[ 	]*dummy.c'"; then
-@@ -1629,7 +1631,7 @@ pamconv(int num_msg, const struct pam_message **msg, s
- {
-     return(0);
- }
--main()
-+int main()
- {
-     struct pam_conv conv = { pamconv };
- }
-@@ -1664,10 +1666,10 @@ HAVE_JBIG="/*#define HAVE_JBIG 1*/"
- LIBJBIG=""
- if [ "$DISABLE_JBIG" != "yes" ]; then
- 	Note "Checking for JBIG library support"
--	CheckForLibrary jbg_enc_init -ljbig &&
-+	CheckForLibrary jbg_enc_init -L/usr/local/lib -ljbig &&
- 		CheckForIncludeFile jbig.h && {
- 			HAVE_JBIG="#define HAVE_JBIG 1"
--			LIBJBIG="-ljbig"
-+			LIBJBIG="-L/usr/local/lib -ljbig"
- 		}
- 	if [ "x$LIBJBIG" = "x" ]; then
- 		Note "... not found. Disabling JBIG support"
-@@ -1832,17 +1834,48 @@ for f in openlog pututxline; do
- done
- if [ "$ISGXX" = yes ]; then
-     if [ -z "$CXXRUNTIME" ]; then
--	for f in memmove strdup; do
--	    CheckForLibrary $f -lc || {
--		CheckForLibrary $f -lg++ && {
-+        f="memmove"
-+	    CheckForLibraryWithArgs $f '(char *)0L, "", 0' -lc || {
-+		CheckForLibraryWithArgs $f '(char *)0L, "", 0' -lg++ && {
- 		    Note "Looks like we need -lg++ for $f"
- 		    MACHDEPLIBS="$MACHDEPLIBS -lg++"
- 		    break;
- 		}
- 	    }
--	done
-+        f="strdup"
-+	    CheckForLibraryWithArgs $f '""' -lc || {
-+		CheckForLibraryWithArgs $f '""' -lg++ && {
-+		    Note "Looks like we need -lg++ for $f"
-+		    MACHDEPLIBS="$MACHDEPLIBS -lg++"
-+		    break;
-+		}
-+	    }
-     fi
--    for f in strtoul strerror memmove random; do
-+    f="strtoul"
-+	CheckForLibraryWithArgs $f '"", &"", 0' -lc || {
-+	    CheckForLibraryWithArgs $f  '"", &"", 0' -liberty && {
-+		Note "Looks like we need -liberty for $f"
-+		MACHDEPLIBS="$MACHDEPLIBS -liberty"
-+		break;
-+	    }
-+	}
-+    f="strerror"
-+	CheckForLibraryWithArgs $f '""' -lc || {
-+	    CheckForLibraryWithArgs $f '""' -liberty && {
-+		Note "Looks like we need -liberty for $f"
-+		MACHDEPLIBS="$MACHDEPLIBS -liberty"
-+		break;
-+	    }
-+	}
-+    f="memmove"
-+	CheckForLibraryWithArgs $f '(char *)0L, "", 0' -lc || {
-+	    CheckForLibraryWithArgs $f '(char *)0L, "", 0' -liberty && {
-+		Note "Looks like we need -liberty for $f"
-+		MACHDEPLIBS="$MACHDEPLIBS -liberty"
-+		break;
-+	    }
-+	}
-+    f="random"
- 	CheckForLibrary $f -lc || {
- 	    CheckForLibrary $f -liberty && {
- 		Note "Looks like we need -liberty for $f"
-@@ -1850,9 +1883,8 @@ if [ "$ISGXX" = yes ]; then
- 		break;
- 	    }
- 	}
--    done
- fi
--CheckForLibrary floor -lm && {
-+CheckForLibraryWithArgs floor "0.0" -lm && {
-     Note "Looks like -lm is the library for math functions."
-     MACHDEPLIBS="$MACHDEPLIBS -lm"
- }
-@@ -2176,11 +2208,13 @@ EmitConfigurationDefinitions()
- #
- CheckForFunc()
- {
--    echo "extern int $1(); main(){$1($2);exit(0);}" >t.c
-+    echo "#include <stdlib.h>" > t.c
-+    echo "extern int $1(); main(){$1($2);exit(0);}" >>t.c
-     capture cat t.c
-     runMake t "t:; \${CC} t.c ${MACHDEPLIBS}"
- }
- 
-+
- #
- # Look for a function declaration in system include files.
- #
-@@ -2397,6 +2431,7 @@ EOF
- EOF
-     }
- cat<<'EOF'
-+#include <stdlib.h>
- extern char* malloc();
- static void
- boom(const char* msg)
-@@ -2448,7 +2483,7 @@ CheckForStructExitStatus()
- 	echo "$i"
-     done
-     cat<<EOF
--main()
-+int main()
- {
-     struct $decl x;
-     x.ut_exit.e_exit = 0;
-@@ -2465,7 +2500,7 @@ CheckForTimeZoneHandling()
- {
-     (echo '#include <time.h>'
-     cat<<EOF
--main()
-+int main()
- {
-     struct tm x;
-     char* cp;
-@@ -2484,7 +2519,7 @@ CheckForTXCD()
- {
-     cat>t.c<<EOF
- #include <sys/ioctl.h>
--main()
-+int main()
- {
-     ioctl(0, TXADDCD, "rts");
-     ioctl(0, TXDELCD, "rts");
-@@ -2537,8 +2572,9 @@ CheckLibtiff()
-     tiff_bytecount_t=""
-     cat>t.c<<EOF
- #include <stdio.h>
-+#include <stdlib.h>
- #include "tiffio.h"
--main()
-+int main()
- {
-     printf( "header_ver=%d lib_ver=%s", TIFFLIB_VERSION, TIFFGetVersion() );
-     exit(0);
-@@ -2563,12 +2599,12 @@ EOF
- 				tiff_offset_t="uint32"
- 				tiff_bytecount_t="uint32"
- 				;;
--		4.[0])		tiff_runlen_t="uint32"
-+		4.[01234])		tiff_runlen_t="uint32"
- 				tiff_offset_t="uint64"
- 				tiff_bytecount_t="uint64"
- 				echo '#define TIFFHeader	TIFFHeaderClassic'
- 				echo '#define TIFF_VERSION	TIFF_VERSION_CLASSIC'
--				echo '#define NEED_TIFFDIRENTRY'
-+				echo '#define IGNORE_NEED_TIFFDIRENTRY'
- 				;;
- 	    esac
- 	fi
-@@ -3255,7 +3291,7 @@ FUNCS="
-     strtoul
-     writev
- "
--
-+FUNCS=""
- for i in $FUNCS; do
-     CheckForFunc $i || {
- 	Note "... emulate $i"
-@@ -3313,8 +3349,9 @@ Note "Checking ZLIB support."
- # Verify library is compatible.
- #
- cat>t.c<<EOF
-+#include <stdlib.h>
- #include "zlib.h"
--main()
-+int main()
- {
-     if (strcmp(ZLIB_VERSION, "0.95") < 0) {     /* include file version */
-         printf("old include files: version %u\n", ZLIB_VERSION);
diff --git a/comms/hylafax/files/patch-hylafax.in b/comms/hylafax/files/patch-hylafax.in
deleted file mode 100644
index 6a3f52ab79b8..000000000000
--- a/comms/hylafax/files/patch-hylafax.in
+++ /dev/null
@@ -1,24 +0,0 @@
-
---- etc/hylafax.in.orig	2010-07-03 12:28:08.000000000 +0400
-+++ etc/hylafax.in	2010-07-03 12:34:20.000000000 +0400
-@@ -74,6 +74,9 @@
- if [ -z "$HFAXD_SNPP_SERVER" ]; then
-     HFAXD_SNPP_SERVER=no
- fi
-+if [ -z "$HFAXD_ARGS" ]; then
-+    HFAXD_ARGS=
-+fi
- 
- IS_ON=/etc/chkconfig		# NB: chkconfig is IRIX- and Linux-specific
- FAXQ=$SBIN/faxq
-@@ -154,7 +157,7 @@
- 	        $FAXQ; printf " faxq"
-             fi
-             if test $HFAXD_SERVER = yes ; then
--	        HFAXD="$HFAXD -i $FAXPORT"
-+		HFAXD="$HFAXD $HFAXD_ARGS -i $FAXPORT"	        
- 		HFAXMSG=" hfaxd"
- 		if [ $HFAXD_SNPP_SERVER = yes ]; then
- 	    	    HFAXD="$HFAXD -s $SNPPPORT"
-
-
diff --git a/comms/hylafax/files/patch-nls.mk b/comms/hylafax/files/patch-nls.mk
deleted file mode 100644
index a55f8e2b2d6f..000000000000
--- a/comms/hylafax/files/patch-nls.mk
+++ /dev/null
@@ -1,34 +0,0 @@
---- po/nls.mk.orig	2009-01-21 15:32:14.000000000 +0100
-+++ po/nls.mk	2009-06-01 12:30:35.000000000 +0200
-@@ -8,6 +8,9 @@
- 	${MSGCAT} libhylafax/messages.pot hylafax-client/messages.pot hylafax-server/messages.pot >> $@.tmp
- 	mv $@.tmp $@
- 
-+FIXMATCH=	${DEPTH}/*/messages.po
-+SYSUSER=	root
-+SYSGROUP=	wheel
- 
- # A bit more trikery here
- # We want $(wildcard...) because we don't want to try to "rebuild" thes messages.pot
-@@ -15,18 +18,18 @@
- # But legacy makes (SCO) don't support $(wildcard...).  Luckly, they don't support $(...)
- # At all, so they just drop it all.  Real makes support $(wildcard)
- # That's why we use the $(...${...})
--libhylafax/messages.pot: $(wildcard ${patsubst %, ${DEPTH}/%/messages.po, libhylafax})
-+libhylafax/messages.pot: ${FIXMATCH:Mlibhylafax}
- 	test -d libhylafax || mkdir libhylafax
- 	${MSGCAT} $^ > $@.tmp
- 	mv $@.tmp $@
- 
--hylafax-client/messages.pot: $(wildcard ${patsubst %, ${DEPTH}/%/messages.po, ${CLIENTS}})
-+hylafax-client/messages.pot: ${FIXMATCH:Mclient}
- 	test -d hylafax-client || mkdir hylafax-client
- 	${MSGCAT} $^ > $@.tmp
- 	mv $@.tmp $@
- 
- 
--hylafax-server/messages.pot: $(wildcard ${patsubst %, ${DEPTH}/%/messages.po, ${SERVERS}})
-+hylafax-server/messages.pot: ${FIXMATCH:Mserver}
- 	test -d hylafax-server || mkdir hylafax-server
- 	${MSGCAT} $^ > $@.tmp
- 	mv $@.tmp $@
diff --git a/comms/hylafax/files/pkg-message.in b/comms/hylafax/files/pkg-message.in
deleted file mode 100644
index 961215db3ac4..000000000000
--- a/comms/hylafax/files/pkg-message.in
+++ /dev/null
@@ -1,29 +0,0 @@
-[
-{ type: install
-  message: <<EOM
-Hylafax was installed.  You'll need manual configurations to actually
-activate it.
-
-Setting up: (for impatients)
-	Invoke %%PREFIX%%/sbin/faxsetup, and answer the questions.
-	Mostly, accepting the defaults should work well.
-
-	When you are asked to specify the name of tty device, use "cuad1"
-	instead of "ttyd1".  Otherwise it does not work well.
-
-	Consult %%PREFIX%%/etc/rc.d/hylafax.sh.sample for startups.
-
-	For accepting incoming FAX/data calls, modify /etc/ttys as below
-	and send SIGHUP to init process:
-
->cuad1	"%%PREFIX%%/sbin/faxgetty"	dialup	on secure
-
-Be sure to rerun %%PREFIX%%/sbin/faxsetup after updating your hylafax version
-
-Documentation:
-	On Line Manuals: 	man hylafax-client
-				man hylafax-server
-	World Wide Web site:	http://www.hylafax.org/
-EOM
-}
-]
diff --git a/comms/hylafax/pkg-descr b/comms/hylafax/pkg-descr
deleted file mode 100644
index bad1dc68665d..000000000000
--- a/comms/hylafax/pkg-descr
+++ /dev/null
@@ -1,14 +0,0 @@
-(excerpt from HylaFAX FAQ, http://www.hylafax.org/content/About_HylaFAX)
-
-     HylaFAX is a facsimile system for UNIX systems. It supports:
-        o sending facsimile
-        o receiving facsimile
-        o polled retrieval of facsimile
-        o transparent shared data use of the modem
-        o sending messages to pagers
-     Facsimile can be any size (e.g. A4, B4), either 98 or 196 lpi, and
-     transmitted/received as either 1D-encoded or 2D-encoded facsimile data
-     (2D-encoded data is frequently more compact and hence takes a shorter
-     time to communicate). Any modem that supports one of the standard
-     interfaces for facsimile operation can be used; i.e. any Class 1, Class
-     2, or Class 2.0 modem.
diff --git a/comms/hylafax/pkg-plist b/comms/hylafax/pkg-plist
deleted file mode 100644
index a1783be4e760..000000000000
--- a/comms/hylafax/pkg-plist
+++ /dev/null
@@ -1,478 +0,0 @@
-@(uucp,,4555) bin/faxalter
-bin/faxcover
-bin/faxmail
-@(uucp,,4555) bin/faxrm
-bin/faxstat
-bin/sendfax
-bin/sendpage
-lib/fax/faxcover.ps
-lib/fax/faxcover_example_sgi.ps
-lib/fax/faxmail.ps
-@sample lib/fax/hfaxd.conf.sample
-@sample lib/fax/pagesizes.sample
-@sample lib/fax/typerules.sample
-man/man1/edit-faxcover.1.gz
-man/man1/faxalter.1.gz
-man/man1/faxcover.1.gz
-man/man1/faxmail.1.gz
-man/man1/faxrm.1.gz
-man/man1/faxstat.1.gz
-man/man1/hylafax-client.1.gz
-man/man1/sendfax.1.gz
-man/man1/sendpage.1.gz
-man/man1/sgi2fax.1.gz
-man/man1/textfmt.1.gz
-man/man5/dialrules.5f.gz
-man/man5/doneq.5f.gz
-man/man5/hosts.hfaxd.5f.gz
-man/man5/hylafax-config.5f.gz
-man/man5/hylafax-info.5f.gz
-man/man5/hylafax-log.5f.gz
-man/man5/hylafax-server.5f.gz
-man/man5/hylafax-shutdown.5f.gz
-man/man5/pagermap.5f.gz
-man/man5/pagesizes.5f.gz
-man/man5/recvq.5f.gz
-man/man5/sendq.5f.gz
-man/man5/status.5f.gz
-man/man5/tsi.5f.gz
-man/man5/typerules.5f.gz
-man/man5/xferfaxlog.5f.gz
-man/man8/choptest.8c.gz
-man/man8/cqtest.8c.gz
-man/man8/dialtest.8c.gz
-man/man8/faxabort.8c.gz
-man/man8/faxaddmodem.8c.gz
-man/man8/faxadduser.8c.gz
-man/man8/faxanswer.8c.gz
-man/man8/faxconfig.8c.gz
-man/man8/faxcron.8c.gz
-man/man8/faxdeluser.8c.gz
-man/man8/faxgetty.8c.gz
-man/man8/faxinfo.8c.gz
-man/man8/faxlock.8c.gz
-man/man8/faxmodem.8c.gz
-man/man8/faxq.8c.gz
-man/man8/faxqclean.8c.gz
-man/man8/faxquit.8c.gz
-man/man8/faxrcvd.8c.gz
-man/man8/faxsend.8c.gz
-man/man8/faxsetup.8c.gz
-man/man8/faxstate.8c.gz
-man/man8/faxwatch.8c.gz
-man/man8/hfaxd.8c.gz
-man/man8/jobcontrol.8c.gz
-man/man8/mkcover.8c.gz
-man/man8/notify.8c.gz
-man/man8/pagesend.8c.gz
-man/man8/pdf2fax.8c.gz
-man/man8/pollrcvd.8c.gz
-man/man8/ps2fax.8c.gz
-man/man8/recvstats.8c.gz
-man/man8/tagtest.8c.gz
-man/man8/tiff2fax.8c.gz
-man/man8/tiffcheck.8c.gz
-man/man8/tsitest.8c.gz
-man/man8/wedged.8c.gz
-man/man8/xferfaxstats.8c.gz
-sbin/textfmt
-sbin/faxmsg
-sbin/faxadduser
-sbin/faxconfig
-sbin/faxdeluser
-sbin/faxmodem
-sbin/faxstate
-sbin/faxwatch
-sbin/faxinfo
-sbin/tiffcheck
-sbin/faxabort
-sbin/faxanswer
-sbin/faxquit
-sbin/faxlock
-sbin/dialtest
-sbin/typetest
-sbin/xferfaxstats
-sbin/recvstats
-sbin/faxcron
-sbin/edit-faxcover
-@(uucp,,4555) sbin/faxq
-sbin/faxqclean
-@(uucp,,4555) sbin/faxgetty
-sbin/faxsend
-sbin/pagesend
-sbin/tsitest
-sbin/tagtest
-sbin/cqtest
-sbin/choptest
-sbin/hfaxd
-sbin/faxaddmodem
-sbin/faxsetup
-sbin/faxsetup.bsdi
-sbin/faxsetup.irix
-sbin/faxsetup.linux
-sbin/probemodem
-sbin/lockname
-sbin/ondelay
-sbin/hylafax
-%%NLS%%share/locale/de/LC_MESSAGES/hylafax-client.mo
-%%NLS%%share/locale/de/LC_MESSAGES/hylafax-server.mo
-%%NLS%%share/locale/de/LC_MESSAGES/libhylafax.mo
-%%NLS%%share/locale/es/LC_MESSAGES/hylafax-client.mo
-%%NLS%%share/locale/es/LC_MESSAGES/hylafax-server.mo
-%%NLS%%share/locale/es/LC_MESSAGES/libhylafax.mo
-%%NLS%%share/locale/id/LC_MESSAGES/hylafax-client.mo
-%%NLS%%share/locale/id/LC_MESSAGES/hylafax-server.mo
-%%NLS%%share/locale/id/LC_MESSAGES/libhylafax.mo
-%%NLS%%share/locale/nl/LC_MESSAGES/hylafax-client.mo
-%%NLS%%share/locale/nl/LC_MESSAGES/hylafax-server.mo
-%%NLS%%share/locale/nl/LC_MESSAGES/libhylafax.mo
-%%NLS%%share/locale/vi/LC_MESSAGES/hylafax-client.mo
-%%NLS%%share/locale/vi/LC_MESSAGES/hylafax-server.mo
-%%NLS%%share/locale/vi/LC_MESSAGES/libhylafax.mo
-%%HYLAFAX_SPOOL%%/COPYRIGHT
-@postexec mkfifo -m 0600 %%HYLAFAX_SPOOL%%/FIFO
-@postexec chown uucp:dialer %%HYLAFAX_SPOOL%%/FIFO
-@rmtry %%HYLAFAX_SPOOL%%/FIFO
-%%HYLAFAX_SPOOL%%/bin/ps2fax.gs
-%%HYLAFAX_SPOOL%%/bin/ps2fax.dps
-%%HYLAFAX_SPOOL%%/bin/ps2fax.imp
-%%HYLAFAX_SPOOL%%/bin/pdf2fax.gs
-%%HYLAFAX_SPOOL%%/bin/pcl2fax
-%%HYLAFAX_SPOOL%%/bin/tiff2fax
-%%HYLAFAX_SPOOL%%/bin/tiff2pdf
-%%HYLAFAX_SPOOL%%/bin/notify
-%%HYLAFAX_SPOOL%%/bin/notify-4.1
-%%HYLAFAX_SPOOL%%/bin/notify-4.2
-%%HYLAFAX_SPOOL%%/bin/archive
-%%HYLAFAX_SPOOL%%/bin/common-functions
-%%HYLAFAX_SPOOL%%/bin/dictionary
-%%HYLAFAX_SPOOL%%/bin/notify.awk
-%%HYLAFAX_SPOOL%%/bin/qp-encode.awk
-%%HYLAFAX_SPOOL%%/bin/b64-encode.awk
-%%HYLAFAX_SPOOL%%/bin/faxrcvd
-%%HYLAFAX_SPOOL%%/bin/pollrcvd
-%%HYLAFAX_SPOOL%%/bin/mkcover
-%%HYLAFAX_SPOOL%%/bin/wedged
-@rmtry %%HYLAFAX_SPOOL%%/bin/pdf2fax
-%%HYLAFAX_SPOOL%%/config/class1
-%%HYLAFAX_SPOOL%%/config/class1.0
-%%HYLAFAX_SPOOL%%/config/class2
-%%HYLAFAX_SPOOL%%/config/class2.0
-%%HYLAFAX_SPOOL%%/config/class2.1
-%%HYLAFAX_SPOOL%%/config/skel
-%%HYLAFAX_SPOOL%%/config/att-dataport-2
-%%HYLAFAX_SPOOL%%/config/att-dataport-2.0
-%%HYLAFAX_SPOOL%%/config/att-dataport
-%%HYLAFAX_SPOOL%%/config/att-dpexpress-2
-%%HYLAFAX_SPOOL%%/config/cirrus
-%%HYLAFAX_SPOOL%%/config/conexant-1.0
-%%HYLAFAX_SPOOL%%/config/digi
-%%HYLAFAX_SPOOL%%/config/digi-2
-%%HYLAFAX_SPOOL%%/config/digi-20
-%%HYLAFAX_SPOOL%%/config/davicom-2
-%%HYLAFAX_SPOOL%%/config/dsi-scout+
-%%HYLAFAX_SPOOL%%/config/e-tech
-%%HYLAFAX_SPOOL%%/config/eicon
-%%HYLAFAX_SPOOL%%/config/eicon-2
-%%HYLAFAX_SPOOL%%/config/elsa-microlink-56k-basic-2.0
-%%HYLAFAX_SPOOL%%/config/everex-2496d
-%%HYLAFAX_SPOOL%%/config/exar
-%%HYLAFAX_SPOOL%%/config/gvc-288
-%%HYLAFAX_SPOOL%%/config/gvc-288-2
-%%HYLAFAX_SPOOL%%/config/hayes
-%%HYLAFAX_SPOOL%%/config/iaxmodem
-%%HYLAFAX_SPOOL%%/config/intel-400e
-%%HYLAFAX_SPOOL%%/config/ip568x
-%%HYLAFAX_SPOOL%%/config/linux-isdn-2
-%%HYLAFAX_SPOOL%%/config/lucent
-%%HYLAFAX_SPOOL%%/config/lucent-isa
-%%HYLAFAX_SPOOL%%/config/lucent-mt-10
-%%HYLAFAX_SPOOL%%/config/lucent-mt-2
-%%HYLAFAX_SPOOL%%/config/lucent-mt-20
-%%HYLAFAX_SPOOL%%/config/lucent-mt-21
-%%HYLAFAX_SPOOL%%/config/mainpine-10
-%%HYLAFAX_SPOOL%%/config/mainpine-2
-%%HYLAFAX_SPOOL%%/config/mainpine-20
-%%HYLAFAX_SPOOL%%/config/mainpine-21
-%%HYLAFAX_SPOOL%%/config/moto-288
-%%HYLAFAX_SPOOL%%/config/mt-1432
-%%HYLAFAX_SPOOL%%/config/nuvo-voyager
-%%HYLAFAX_SPOOL%%/config/ppi-pm14400fxmt
-%%HYLAFAX_SPOOL%%/config/ppi-pm14400fxsa
-%%HYLAFAX_SPOOL%%/config/prometheus
-%%HYLAFAX_SPOOL%%/config/rc144ac
-%%HYLAFAX_SPOOL%%/config/rc144ac-1
-%%HYLAFAX_SPOOL%%/config/rc288dpi
-%%HYLAFAX_SPOOL%%/config/rc288dpi-1
-%%HYLAFAX_SPOOL%%/config/rc32acl
-%%HYLAFAX_SPOOL%%/config/rc32acl-1
-%%HYLAFAX_SPOOL%%/config/rockwell-k56
-%%HYLAFAX_SPOOL%%/config/rockwell-rc
-%%HYLAFAX_SPOOL%%/config/t38modem
-%%HYLAFAX_SPOOL%%/config/telebit-t3000
*** 468 LINES SKIPPED ***