aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-03-25 14:52:13 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-03-30 23:59:41 +0000
commit37bab33957de2324323778052d8e6dc94cb1cd84 (patch)
tree53afd45678d551d3e6a9c3e0418a27b55fbb1ac0
parent89e9241959d1b038fedc69fcc4eee8bd6663774a (diff)
downloadports-37bab33957de2324323778052d8e6dc94cb1cd84.tar.gz
ports-37bab33957de2324323778052d8e6dc94cb1cd84.zip
news/nntpcache: Remove expired port:
2023-03-31 news/nntpcache: Upstream site no longer available
-rw-r--r--MOVED1
-rw-r--r--news/Makefile1
-rw-r--r--news/nntpcache/Makefile71
-rw-r--r--news/nntpcache/distinfo4
-rw-r--r--news/nntpcache/files/nntpcached.in25
-rw-r--r--news/nntpcache/files/patch-cf_Makefile.am16
-rw-r--r--news/nntpcache/files/patch-http_Makefile.am12
-rw-r--r--news/nntpcache/files/patch-innreport_Makefile.am11
-rw-r--r--news/nntpcache/files/patch-pgp_Makefile.am13
-rw-r--r--news/nntpcache/files/patch-scripts_nntpcache-gdb.sh.in10
-rw-r--r--news/nntpcache/files/patch-src_Makefile.am11
-rw-r--r--news/nntpcache/files/patch-src_acc.c19
-rw-r--r--news/nntpcache/files/patch-src_authinfo__ldap.c19
-rw-r--r--news/nntpcache/files/patch-src_nntpcache.c11
-rw-r--r--news/nntpcache/files/patch-unixauth_Makefile.am12
-rw-r--r--news/nntpcache/pkg-descr16
-rw-r--r--news/nntpcache/pkg-plist31
17 files changed, 1 insertions, 282 deletions
diff --git a/MOVED b/MOVED
index 6dbd3a601c4b..687dd08399b1 100644
--- a/MOVED
+++ b/MOVED
@@ -17859,3 +17859,4 @@ multimedia/mkxvcd||2023-03-31|Has expired: Depends on broken transcode port
multimedia/win32-codecs||2023-03-31|Has expired: Obsolete and users are recommended to utilize ffmpeg instead
net/minisapserver||2023-03-31|Has expired: Obsolete utility, functionality is now included in multimedia/vlc
net/tightvnc||2023-03-31|Has expired: Last release in 2009, newer version 2.x is available for Windows only.
+news/nntpcache||2023-03-31|Has expired: Upstream site no longer available
diff --git a/news/Makefile b/news/Makefile
index 386f8d9c5c1b..dad44225b967 100644
--- a/news/Makefile
+++ b/news/Makefile
@@ -38,7 +38,6 @@
SUBDIR += nn
SUBDIR += nnap
SUBDIR += nntp
- SUBDIR += nntpcache
SUBDIR += noffle
SUBDIR += nzbget
SUBDIR += nzbhydra2
diff --git a/news/nntpcache/Makefile b/news/nntpcache/Makefile
deleted file mode 100644
index 6258201c13ac..000000000000
--- a/news/nntpcache/Makefile
+++ /dev/null
@@ -1,71 +0,0 @@
-PORTNAME= nntpcache
-PORTVERSION= 3.0.2
-PORTREVISION= 11
-CATEGORIES= news
-MASTER_SITES= http://www.xs4all.nl/~suelette/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= News caching/anti-spam/server-merging system
-WWW= http://iq.org/~proff/nntpcache.org/
-
-# Converted from NO_CDROM
-LICENSE= nttpcache
-LICENSE_NAME= nttpcache
-LICENSE_TEXT= Free for individuals and non-military, non-profit organisations only
-LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
-
-DEPRECATED= Upstream site no longer available
-EXPIRATION_DATE= 2023-03-31
-BROKEN_aarch64= fails to link: missing sbrk
-BROKEN_mips64= fails to build: qemu: uncaught target signal 11 (Segmentation fault) - core dumped
-BROKEN_riscv64= fails to link: missing sbrk
-BROKEN_FreeBSD_13= ld: error: duplicate symbol: jmp
-BROKEN_FreeBSD_14= ld: error: duplicate symbol: jmp
-
-USES= compiler:c11 gmake autoreconf shebangfix
-USE_RC_SUBR= nntpcached
-
-SHEBANG_FILES= contrib/perlnewshound/newshound.pl
-
-# This may be set interactively at install-time. NNTPCache will
-# cache news articles and related data in ${SPOOLDIR}/nntpcache.
-SPOOLDIR?= /var/spool
-
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --localstatedir=${SPOOLDIR} \
- --program-transform-name=''
-
-PLIST_SUB+= SPOOLDIR=${NNTPSPOOLDIR}
-PORTDOCS= AUTHORS ChangeLog FAQ FAQ.html HACKING HTML \
- INSTALL LICENSING NEWS README README.INN VERSION
-
-OPTIONS_DEFINE= LDAP RADIUS SPAMPHOBIA DOCS
-
-SPAMPHOBIA_DESC= Spamphobia NoCeM support
-
-LDAP_USES= ldap
-LDAP_CONFIGURE_WITH= authinfo-ldap
-LDAP_CPPFLAGS= -I${PREFIX}/include -I${LOCALBASE}/include
-LDAP_LDFLAGS= -L${PREFIX}/lib -L${LOCALBASE}/lib
-LDAP_VARS= AUTHINFO_EXT+=authinfo_ldap.ext
-RADIUS_CONFIGURE_WITH= authinfo-radius
-RADIUS_VARS= AUTHINFO_EXT+=authinfo_radius.ext
-SPAMPHOBIA_PATCH_SITES= http://people.freebsd.org/~leeym/:SPAMPHOBIA
-SPAMPHOBIA_PATCHFILES= ${DISTNAME}-spamphobia-${REVISEDATE}.diff.gz:SPAMPHOBIA
-
-NNTPSPOOLDIR?= ${SPOOLDIR}/${PORTNAME}
-
-CPIO_CMD= ${CPIO} --quiet -pdum -R
-
-REVISEDATE= 20060903
-
-AUTHINFO_EXT= authinfo_pam.ext
-
-post-configure:
- ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} -C ${WRKSRC}/src ${AUTHINFO_EXT}
-
-post-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- @cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.mk>
diff --git a/news/nntpcache/distinfo b/news/nntpcache/distinfo
deleted file mode 100644
index ee84d5783f4b..000000000000
--- a/news/nntpcache/distinfo
+++ /dev/null
@@ -1,4 +0,0 @@
-SHA256 (nntpcache-3.0.2.tar.gz) = 613faeff339c6d3c5f0cc4ce80fe8a20f2ac484e5d1e5e71e4c7877a8281565e
-SIZE (nntpcache-3.0.2.tar.gz) = 1077641
-SHA256 (nntpcache-3.0.2-spamphobia-20060903.diff.gz) = acde506f5c0191657f5c24685783039dec2e4da9a76760c25bba95e46888c49a
-SIZE (nntpcache-3.0.2-spamphobia-20060903.diff.gz) = 2492
diff --git a/news/nntpcache/files/nntpcached.in b/news/nntpcache/files/nntpcached.in
deleted file mode 100644
index dbec9bc1ff87..000000000000
--- a/news/nntpcache/files/nntpcached.in
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: nntpcached
-# REQUIRE: NETWORKING SERVERS
-# KEYWORD: shutdown
-
-#
-# Add the following lines to /etc/rc.conf to enable nntpcached:
-#
-# nntpcached_enable="YES"
-#
-
-. /etc/rc.subr
-
-name=nntpcached
-rcvar=nntpcached_enable
-
-load_rc_config $name
-
-command=%%PREFIX%%/sbin/nntpcached
-required_files="%%PREFIX%%/etc/nntpcache/nntpcache.access %%PREFIX%%/etc/nntpcache/nntpcache.config %%PREFIX%%/etc/nntpcache/nntpcache.servers"
-
-: ${nntpcached_enable="NO"}
-
-run_rc_command "$1"
diff --git a/news/nntpcache/files/patch-cf_Makefile.am b/news/nntpcache/files/patch-cf_Makefile.am
deleted file mode 100644
index 35ee282040ab..000000000000
--- a/news/nntpcache/files/patch-cf_Makefile.am
+++ /dev/null
@@ -1,16 +0,0 @@
---- cf/Makefile.am.orig 2004-04-11 11:43:52 UTC
-+++ cf/Makefile.am
-@@ -22,13 +22,5 @@ VERSION:
- echo @VERSION@ >$@
-
-
--install-data-hook:
-- for f in $(distf); do { cd $(sysconfdir) && (orig=`basename $$f -dist`; test -e $$orig || cp $$f $$orig) ;} done
--
- nntpcache.config-dist : nnconf.cf
- sed -e 's/^ *[a-zA-Z_][a-zA-Z_]* //;s/"//g' <nnconf.cf >$@
--
--# this is ugly, but more flexible than merely redefining INSTALL_DATA
--install-data-local:
-- cd $(sysconfdir) && chmod 700 . && chown @nntpcacheUID@ . && chgrp @nntpcacheUID@ . && chmod 600 $(sysconf_DATA) && chown @nntpcacheUID@ $(sysconf_DATA) && chgrp @nntpcacheGID@ $(sysconf_DATA)
-- cd $(localstatedir) && chmod 700 . && chown @nntpcacheUID@ . && chgrp @nntpcacheUID@ . && chmod 600 $(localstate_DATA) && chown @nntpcacheUID@ $(localstate_DATA) && chgrp @nntpcacheGID@ $(localstate_DATA)
diff --git a/news/nntpcache/files/patch-http_Makefile.am b/news/nntpcache/files/patch-http_Makefile.am
deleted file mode 100644
index 4f4793e6518e..000000000000
--- a/news/nntpcache/files/patch-http_Makefile.am
+++ /dev/null
@@ -1,12 +0,0 @@
---- http/Makefile.am.orig 2004-04-11 11:43:56 UTC
-+++ http/Makefile.am
-@@ -12,7 +12,5 @@ EXTRA_DIST = \
- ch = . $(httpdata)
-
- install-data-local:
-- -mkdir $(sysconfdir)/http
-- cp $(httpdata) $(sysconfdir)/http
-- cd $(sysconfdir)/http && chown @nntpcacheUID@ $(ch)
-- cd $(sysconfdir)/http && chgrp @nntpcacheUID@ $(ch)
-+ -mkdir $(DESTDIR)$(sysconfdir)/http
-+ cp $(httpdata) $(DESTDIR)$(sysconfdir)/http
diff --git a/news/nntpcache/files/patch-innreport_Makefile.am b/news/nntpcache/files/patch-innreport_Makefile.am
deleted file mode 100644
index 2135400faacb..000000000000
--- a/news/nntpcache/files/patch-innreport_Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
---- innreport/Makefile.am.orig 2004-04-11 11:43:57 UTC
-+++ innreport/Makefile.am
-@@ -15,7 +15,4 @@ EXTRA_DIST = \
-
- # the trailing slash is to force symlink transversal
- install-data-local:
-- cd $(sysconfdir) && chmod 700 . && chown @nntpcacheUID@ . && chgrp @nntpcacheUID@ . && chmod 600 $(sysconf_DATA) && chown @nntpcacheUID@ $(sysconf_DATA) && chgrp @nntpcacheGID@ $(sysconf_DATA)
-- -mkdir $(sysconfdir)/http $(sysconfdir)/http/innreport $(sysconfdir)/http/innreport/pics
-- chown @nntpcacheUID@ $(sysconfdir)/http $(sysconfdir)/http/innreport $(sysconfdir)/http/innreport/pics
-- chgrp @nntpcacheGID@ $(sysconfdir)/http $(sysconfdir)/http/innreport $(sysconfdir)/http/innreport/pics
-+ -mkdir $(DESTDIR)$(sysconfdir)/http $(DESTDIR)$(sysconfdir)/http/innreport $(DESTDIR)$(sysconfdir)/http/innreport/pics
diff --git a/news/nntpcache/files/patch-pgp_Makefile.am b/news/nntpcache/files/patch-pgp_Makefile.am
deleted file mode 100644
index e588bd443ac5..000000000000
--- a/news/nntpcache/files/patch-pgp_Makefile.am
+++ /dev/null
@@ -1,13 +0,0 @@
---- pgp/Makefile.am.orig 2004-04-11 11:43:57 UTC
-+++ pgp/Makefile.am
-@@ -8,10 +8,3 @@ sysconf_DATA = \
- EXTRA_DIST = \
- $(sysconf_DATA)
-
--# the trailing slash is to force symlink transversal
--install-data-local:
-- cd $(sysconfdir) && chmod 700 . && chown @nntpcacheUID@ . && chgrp @nntpcacheUID@ . && chmod 600 $(sysconf_DATA) && chown @nntpcacheUID@ $(sysconf_DATA) && chgrp @nntpcacheGID@ $(sysconf_DATA)
--
--install-data-hook:
-- for f in $(sysconf_DATA); do { cd $(sysconfdir) && (orig=`basename $$f -dist`; test -e $$orig || cp $$f $$orig) ;} done
--
diff --git a/news/nntpcache/files/patch-scripts_nntpcache-gdb.sh.in b/news/nntpcache/files/patch-scripts_nntpcache-gdb.sh.in
deleted file mode 100644
index a73620bfa334..000000000000
--- a/news/nntpcache/files/patch-scripts_nntpcache-gdb.sh.in
+++ /dev/null
@@ -1,10 +0,0 @@
---- scripts/nntpcache-gdb.sh.in.orig 2004-04-11 11:43:50 UTC
-+++ scripts/nntpcache-gdb.sh.in
-@@ -61,6 +61,7 @@ for n in $libexec/nntpcached.debug $prog
- break
- fi
- done
-+exit
-
- (
- echo === uname -a
diff --git a/news/nntpcache/files/patch-src_Makefile.am b/news/nntpcache/files/patch-src_Makefile.am
deleted file mode 100644
index cdc03c1b692f..000000000000
--- a/news/nntpcache/files/patch-src_Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/Makefile.am.orig 2006-03-05 21:42:38 UTC
-+++ src/Makefile.am
-@@ -61,7 +61,7 @@ nntpcached_LDADD = \
- ../libradius/libradius.a
-
- install-exec-hook:
-- cp nntpcached $(libexecdir)/nntpcached.debug && chmod a+x $(libexecdir)/nntpcached.debug
-+ cp nntpcached $(DESTDIR)$(libexecdir)/nntpcached.debug && chmod a+x $(DESTDIR)$(libexecdir)/nntpcached.debug
-
- nnconf.c nnconf.h : ../cf/nnconf.cf
- $(top_srcdir)/confused/confused $<
diff --git a/news/nntpcache/files/patch-src_acc.c b/news/nntpcache/files/patch-src_acc.c
deleted file mode 100644
index dcdaa2b03833..000000000000
--- a/news/nntpcache/files/patch-src_acc.c
+++ /dev/null
@@ -1,19 +0,0 @@
---- src/acc.c.orig 2004-04-11 11:43:55 UTC
-+++ src/acc.c
-@@ -147,6 +147,7 @@ static struct filter_chain *filterReadCo
- if (strEq(fli->name, fi))
- {
- fc->filter = fli->filter;
-+ fc->name = fli->name;
- goto cont;
- }
- }
-@@ -195,7 +196,7 @@ static struct filter_chain *filterReadCo
- loge (("bad filter header/scope %s in file %s: %s", scope, fi, buf));
- Exit(1);
- }
-- *p='\0';
-+ /* *p='\0'; */
- f->scope = sc_header;
- f->scope_header = Sstrdup(scope);
- }
diff --git a/news/nntpcache/files/patch-src_authinfo__ldap.c b/news/nntpcache/files/patch-src_authinfo__ldap.c
deleted file mode 100644
index 50f75a0805e4..000000000000
--- a/news/nntpcache/files/patch-src_authinfo__ldap.c
+++ /dev/null
@@ -1,19 +0,0 @@
---- src/authinfo_ldap.c.orig 2004-04-11 11:43:55 UTC
-+++ src/authinfo_ldap.c
-@@ -78,7 +78,16 @@ EXPORT int ldap_got_pass(char *pass)
-
- lderr = ldap_bind_s(ld, dnbuf, pass, LDAP_AUTH_SIMPLE);
- if (lderr != LDAP_SUCCESS && lderr != LDAP_INVALID_CREDENTIALS && lderr != LDAP_INAPPROPRIATE_AUTH)
-+#if LDAP_API_VERSION >= 2004
-+ {
-+ int ld_errno = 0;
-+ ldap_get_option(ld, LDAP_OPT_ERROR_NUMBER, &ld_errno);
-+ logen(("LDAP ERROR: ldap user bind failed (%d): %s", lderr, ldap_err2string(ld_errno)));
-+ }
-+#else
-+
- logen(("LDAP ERROR: ldap user bind failed (%d): %s", lderr, ldap_err2string(GET_LDERROR(ld))));
-+#endif
- ldap_unbind(ld);
- memset(pass, strlen(pass), 0);
- if (lderr == LDAP_SUCCESS) {
diff --git a/news/nntpcache/files/patch-src_nntpcache.c b/news/nntpcache/files/patch-src_nntpcache.c
deleted file mode 100644
index ed6cb03c42ab..000000000000
--- a/news/nntpcache/files/patch-src_nntpcache.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/nntpcache.c.orig 2004-04-11 11:43:56 UTC
-+++ src/nntpcache.c
-@@ -810,7 +810,7 @@ static bool load_servers(char *file)
- loge (("missing password in %s:%d: %s", file, n, buf));
- continue;
- }
-- if ((hostname = strrchr(password-2, '@')) != NULL) {
-+ if ((hostname = strrchr(password, '@')) != NULL) {
- *(hostname++) = '\0';
- username = host;
- list->user = Sstrdup (username);
diff --git a/news/nntpcache/files/patch-unixauth_Makefile.am b/news/nntpcache/files/patch-unixauth_Makefile.am
deleted file mode 100644
index 65b6155320de..000000000000
--- a/news/nntpcache/files/patch-unixauth_Makefile.am
+++ /dev/null
@@ -1,12 +0,0 @@
---- unixauth/Makefile.am.orig 2004-04-11 11:43:57 UTC
-+++ unixauth/Makefile.am
-@@ -8,9 +8,4 @@ INCLUDES = \
- -I../cf \
- -I../common
-
--install-exec-hook:
-- chown root $(libexecdir)/unixauth
-- chgrp @nntpcacheGID@ $(libexecdir)/unixauth
-- chmod u+s,g+x,o-x $(libexecdir)/unixauth
--
- include ../mk/rules.mk
diff --git a/news/nntpcache/pkg-descr b/news/nntpcache/pkg-descr
deleted file mode 100644
index ba7ce93caaa8..000000000000
--- a/news/nntpcache/pkg-descr
+++ /dev/null
@@ -1,16 +0,0 @@
-NNTPCache is Squid for news (plus lots more).
-
-NNTPCache (very efficiently, using shared memory, COW, mmaps, etc)
-executes on the localhost pretending to be an NNRP news reading
-server. In fact, what it does is pass certain NNTP commands through
-to real (remote and possibly local) news-servers based on various
-pattern matching rules. nntpcache then takes the output from those
-servers and caches & indexes it in funky ways (much specific case
-magic goes into this). The next time such information is asked
-for, or other information which can be logically inferred from the
-previously collated information, it is sent directly from the cache,
-without consulting the remote servers. NNTPCache can transparently
-merge multiple servers, (permiting local newsgroups with remote
-NNTP feeds), filter articles, xovers, and headers based on weighted
-regular expressions, and has built in NoCem/PGP (anti-spam) support
-(see http://www.nocem.org/ for details).
diff --git a/news/nntpcache/pkg-plist b/news/nntpcache/pkg-plist
deleted file mode 100644
index 6553dae98b99..000000000000
--- a/news/nntpcache/pkg-plist
+++ /dev/null
@@ -1,31 +0,0 @@
-bin/confused
-bin/mmap_tests
-@(news,news,600) %%ETCDIR%%/VERSION
-%%ETCDIR%%/http/index.html
-%%ETCDIR%%/http/moose.gif
-%%ETCDIR%%/http/nntpcache.jpg
-@sample(,,600) %%ETCDIR%%/innreport.conf-dist %%ETCDIR%%/innreport.conf
-%%ETCDIR%%/innreport.pl
-%%ETCDIR%%/innreport.pm
-@sample(,,600) %%ETCDIR%%/newshound.conf-dist %%ETCDIR%%/newshound.conf
-@sample(,,600) %%ETCDIR%%/nntpcache.access-dist %%ETCDIR%%/nntpcache.access
-@sample(,,600) %%ETCDIR%%/nntpcache.config-dist %%ETCDIR%%/nntpcache.config
-@sample(,,600) %%ETCDIR%%/nntpcache.servers-dist %%ETCDIR%%/nntpcache.servers
-@sample(,,600) %%ETCDIR%%/pubring.asc-dist %%ETCDIR%%/pubring.asc
-@sample(,,600) %%ETCDIR%%/pubring.pgp-dist %%ETCDIR%%/pubring.pgp
-%%ETCDIR%%/spam.filter
-include/mmap_results.h
-libexec/nntpcache-gdb.sh
-libexec/nntpcache.gdb
-libexec/nntpcached.debug
-@(root,news,4550) libexec/unixauth
-man/man8/newshound.8.gz
-man/man8/nntpcached.8.gz
-sbin/innreport.sh
-sbin/newshound
-sbin/newshound.pl
-sbin/nntpcached
-@(news,news,600) %%SPOOLDIR%%/VERSION
-@dir %%ETCDIR%%/http/innreport/pics
-@dir(news,news,700) %%ETCDIR%%
-@dir(news,news,770) %%SPOOLDIR%%