diff options
Diffstat (limited to 'news/newscache')
-rw-r--r-- | news/newscache/Makefile | 34 | ||||
-rw-r--r-- | news/newscache/distinfo | 2 | ||||
-rw-r--r-- | news/newscache/files/newscache.in | 25 | ||||
-rw-r--r-- | news/newscache/files/patch-NewsCache.info | 13 | ||||
-rw-r--r-- | news/newscache/files/patch-src_NewsCache.cc | 15 | ||||
-rw-r--r-- | news/newscache/pkg-descr | 13 | ||||
-rw-r--r-- | news/newscache/pkg-plist | 9 |
7 files changed, 0 insertions, 111 deletions
diff --git a/news/newscache/Makefile b/news/newscache/Makefile deleted file mode 100644 index f9b8c1d42691..000000000000 --- a/news/newscache/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -# Created by: Tilman Linneweh <arved@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= newscache -PORTVERSION= 1.2.r.6 -PORTREVISION= 5 -CATEGORIES= news -MASTER_SITES= http://src.linuxhacker.at/NewsCache/ -DISTNAME= NewsCache-${PORTVERSION:S/.r./rc/} - -MAINTAINER= ports@FreeBSD.org -COMMENT= NewsCache is a free cache server for USENET News - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -LIB_DEPENDS= libsocket++.so:net/libsocket++ - -USES= autoreconf -GNU_CONFIGURE= yes -CPPFLAGS+= ${CFLAGS} -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc -USE_RC_SUBR= ${PORTNAME} - -INFO= NewsCache - -post-patch: - ${REINPLACE_CMD} -e "s,-pedantic,," \ - -e "s,^main,int main," \ - ${WRKSRC}/configure.in - -.include <bsd.port.mk> diff --git a/news/newscache/distinfo b/news/newscache/distinfo deleted file mode 100644 index a92fa80118e9..000000000000 --- a/news/newscache/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (NewsCache-1.2rc6.tar.gz) = 3e9540de6c5859bc79b785c90780336c91feaf7282ca4e619d5c84b54ee5541e -SIZE (NewsCache-1.2rc6.tar.gz) = 356563 diff --git a/news/newscache/files/newscache.in b/news/newscache/files/newscache.in deleted file mode 100644 index 57830d8ad51d..000000000000 --- a/news/newscache/files/newscache.in +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# PROVIDE: newscache -# REQUIRE: DAEMON -# -# Add the following lines to /etc/rc.conf to enable newscache: -# -# newscache_enable="YES" -# newscache_flags="<set as needed>" - -newscache_enable=${newscache_enable-"NO"} - -. /etc/rc.subr - -name=newscache -rcvar=newscache_enable - -command=%%PREFIX%%/sbin/${name} -pidfile=/var/run/${name}.pid -sig_stop=KILL - -load_rc_config ${name} -run_rc_command "$1" diff --git a/news/newscache/files/patch-NewsCache.info b/news/newscache/files/patch-NewsCache.info deleted file mode 100644 index ce49d420a1cb..000000000000 --- a/news/newscache/files/patch-NewsCache.info +++ /dev/null @@ -1,13 +0,0 @@ ---- doc/NewsCache.info.orig Tue Feb 5 10:07:28 2002 -+++ doc/NewsCache.info Sat May 4 15:28:28 2002 -@@ -1,6 +1,10 @@ - This is Info file NewsCache.info, produced by Makeinfo version 1.68 - from the input file NewsCache.texinfo. - -+START-INFO-DIR-ENTRY -+* NewsCache: (newscache). Cache for Network News Transport Protocol. -+END-INFO-DIR-ENTRY -+ - This is the NewsCache Reference Manual. - - Copyright (C) 1998 Thomas Gschwind <tom@infosys.tuwien.ac.at> diff --git a/news/newscache/files/patch-src_NewsCache.cc b/news/newscache/files/patch-src_NewsCache.cc deleted file mode 100644 index d0d96168865f..000000000000 --- a/news/newscache/files/patch-src_NewsCache.cc +++ /dev/null @@ -1,15 +0,0 @@ -NewsCache.cc:2265:62: error: invalid operands to binary expression ('__bind<int &, sockaddr *, unsigned int>' and 'int') - if (bind(sock, (struct sockaddr *) &nproxy, sizeof(nproxy)) < 0) { - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ - ---- src/NewsCache.cc.orig 2018-08-31 22:11:06 UTC -+++ src/NewsCache.cc -@@ -2262,7 +2262,7 @@ void nntpd() - } - } /* end create socket and set some socket options */ - -- if (bind(sock, (struct sockaddr *) &nproxy, sizeof(nproxy)) < 0) { -+ if (::bind(sock, (struct sockaddr *) &nproxy, sizeof(nproxy)) < 0) { - slog. - p(Logger:: - Error) << "can't bind socket: " << strerror(errno) << diff --git a/news/newscache/pkg-descr b/news/newscache/pkg-descr deleted file mode 100644 index 5403215505e0..000000000000 --- a/news/newscache/pkg-descr +++ /dev/null @@ -1,13 +0,0 @@ -What is NewsCache? - -NewsCache is a free cache server for USENET News available under the GNU -General Public License. NewsCache can be plugged in between your news -reader(s) and your news server. NewsCache acts to news readers like a news -server and retrieves news articles from the news server like a news -reader. Whenever, a client requests an article from NewsCache, NewsCache -checks whether the article has already been stored in the cache area. If -this is the case, the article is sent directly to its client. Otherwise, -the article is requested from the upstream news server, stored in the -cache area and sent back to the client. - -WWW: http://www.linuxhacker.at/newscache/ diff --git a/news/newscache/pkg-plist b/news/newscache/pkg-plist deleted file mode 100644 index 637850c9dc3b..000000000000 --- a/news/newscache/pkg-plist +++ /dev/null @@ -1,9 +0,0 @@ -bin/updatenews -etc/newscache.conf-dist -etc/newscache.auth-dist -sbin/newscache -sbin/newscacheclean -man/man5/newscache.conf.5.gz -man/man8/newscache.8.gz -man/man8/newscacheclean.8.gz -man/man8/updatenews.8.gz |