mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
news/nntpcache: Remove expired port:
2023-03-31 news/nntpcache: Upstream site no longer available
This commit is contained in:
parent
89e9241959
commit
37bab33957
1
MOVED
1
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
|
||||
|
@ -38,7 +38,6 @@
|
||||
SUBDIR += nn
|
||||
SUBDIR += nnap
|
||||
SUBDIR += nntp
|
||||
SUBDIR += nntpcache
|
||||
SUBDIR += noffle
|
||||
SUBDIR += nzbget
|
||||
SUBDIR += nzbhydra2
|
||||
|
@ -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>
|
@ -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
|
@ -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"
|
@ -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)
|
@ -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
|
@ -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
|
@ -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
|
||||
-
|
@ -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
|
@ -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 $<
|
@ -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);
|
||||
}
|
@ -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) {
|
@ -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);
|
@ -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
|
@ -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).
|
@ -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%%
|
Loading…
Reference in New Issue
Block a user