diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-08-01 05:24:51 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-08-01 05:24:51 +0000 |
commit | f32b4a646d57ce481b4dd7fe5833576a69aa79d5 (patch) | |
tree | 6c82ba3db072751cdb149734b14210803e71bfa2 /news/rkive | |
parent | 5accad06a79f54cba34f76f2319d8456664b9780 (diff) | |
download | ports-f32b4a646d57ce481b4dd7fe5833576a69aa79d5.tar.gz ports-f32b4a646d57ce481b4dd7fe5833576a69aa79d5.zip |
Notes
Diffstat (limited to 'news/rkive')
-rw-r--r-- | news/rkive/Makefile | 38 | ||||
-rw-r--r-- | news/rkive/distinfo | 2 | ||||
-rw-r--r-- | news/rkive/files/patch-aa | 180 | ||||
-rw-r--r-- | news/rkive/files/patch-ab | 108 | ||||
-rw-r--r-- | news/rkive/files/patch-ac | 19 | ||||
-rw-r--r-- | news/rkive/files/patch-ad | 11 | ||||
-rw-r--r-- | news/rkive/pkg-descr | 8 | ||||
-rw-r--r-- | news/rkive/pkg-plist | 6 | ||||
-rw-r--r-- | news/rkive/scripts/configure | 30 |
9 files changed, 0 insertions, 402 deletions
diff --git a/news/rkive/Makefile b/news/rkive/Makefile deleted file mode 100644 index 09186430ad8f..000000000000 --- a/news/rkive/Makefile +++ /dev/null @@ -1,38 +0,0 @@ -# New ports collection makefile for: rkive -# Date created: 03 Jul 1995 -# Whom: torsten@FreeBSD.org -# -# $FreeBSD$ -# - -PORTNAME= rkive -PORTVERSION= 3.1 -CATEGORIES= news -MASTER_SITES= ftp://ftp.vmunix.org/pub/misc/rkive/ -DISTNAME= ${PORTNAME}${PORTVERSION} -EXTRACT_SUFX= .tar.Z - -MAINTAINER= ports@FreeBSD.org -COMMENT= A USENET newsgroup archiver - -DEPRECATED= Looks like an abandonware, no more public distfiles -EXPIRATION_DATE= 2011-08-01 - -NO_CDROM= "Don't make money from it" -MAN1= rkive.1 article.1 ckconfig.1 -MAN5= rkive.5 -MANCOMPRESSED= yes - -pre-patch: - @${CP} ${WRKSRC}/Makefile.dst ${WRKSRC}/Makefile - @${CP} ${WRKSRC}/rkive.h.dst ${WRKSRC}/rkive.h - -post-patch: - ${REINPLACE_CMD} -e "s,^int fprintf();,," ${WRKSRC}/header.c \ - ${WRKSRC}/rkive.h ${WRKSRC}/version.c ${WRKSRC}/efopen.c - ${REINPLACE_CMD} -e "s,^int sscanf();,," ${WRKSRC}/setup.c \ - ${WRKSRC}/record_arc.c - ${REINPLACE_CMD} -e "s,int mkdir();,," ${WRKSRC}/makedir.c - ${REINPLACE_CMD} -e "s,int chmod();,," ${WRKSRC}/rkive.c - -.include <bsd.port.mk> diff --git a/news/rkive/distinfo b/news/rkive/distinfo deleted file mode 100644 index e4e714426283..000000000000 --- a/news/rkive/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (rkive3.1.tar.Z) = c7a94897439c583d9f11fb9e5f48165d2c9973ff926766501aa2d242d6789ea0 -SIZE (rkive3.1.tar.Z) = 188299 diff --git a/news/rkive/files/patch-aa b/news/rkive/files/patch-aa deleted file mode 100644 index fc9b983ff003..000000000000 --- a/news/rkive/files/patch-aa +++ /dev/null @@ -1,180 +0,0 @@ -*** Makefile.orig Mon Jul 3 20:49:16 1995 ---- Makefile Mon Jul 3 20:55:31 1995 -*************** -*** 77,89 **** - # Define your favorite C compiler here... - # - #CC=insight -! CC=cc - - # - # Compilation flags.. - # -! FLAGS=-g -! CFLAGS=$(SFLAGS) $(FLAGS) $(NNTPFLAGS) - - # - # Yacc flags for compilation of match.y ---- 77,89 ---- - # Define your favorite C compiler here... - # - #CC=insight -! #CC=cc - - # - # Compilation flags.. - # -! #FLAGS=-g -! #CFLAGS=$(SFLAGS) $(FLAGS) $(NNTPFLAGS) - - # - # Yacc flags for compilation of match.y -*************** -*** 104,126 **** - # - ACCESSLIB= - -! LDFLAGS=$(EXOSLIBS) $(ACCESSLIB) - - # - # If your system requires additional libraries or if you wish to - # use shared libraries, add the -l declarations to LIBS below such - # as -lc_s - # -! LIBS= - - I = /usr/include - LP=lpr - PR=nl -n - NROFF=nroff -! BINDIR=/usr/local/bin -! RKIVEDIR=/usr/local/lib/rkive -! MAN1=/usr/man/man1 -! MAN5=/usr/man/man5 - - MANS= $(MAN1)/article.1 \ - $(MAN1)/rkive.1 \ ---- 104,126 ---- - # - ACCESSLIB= - -! #LDFLAGS=$(EXOSLIBS) $(ACCESSLIB) - - # - # If your system requires additional libraries or if you wish to - # use shared libraries, add the -l declarations to LIBS below such - # as -lc_s - # -! #LIBS= - - I = /usr/include - LP=lpr - PR=nl -n - NROFF=nroff -! BINDIR=${PREFIX}/bin -! RKIVEDIR=${PREFIX}/lib/rkive -! MAN1=${PREFIX}/man/man1 -! MAN5=${PREFIX}/man/man5 - - MANS= $(MAN1)/article.1 \ - $(MAN1)/rkive.1 \ -*************** -*** 158,164 **** - $(GETOPTO) $(TMPNAMO) $(STRDUPO) - - SRCS = $(ARTICLE_SRCS) $(CKCONFIG_SRCS) $(ARCHIVE_SRCS) match.y -! $(GETOPTC) $(STRDUPC) $(TMPNAMC) - - - INSTALLED_PROGS=\ ---- 158,164 ---- - $(GETOPTO) $(TMPNAMO) $(STRDUPO) - - SRCS = $(ARTICLE_SRCS) $(CKCONFIG_SRCS) $(ARCHIVE_SRCS) match.y -! # $(GETOPTC) $(STRDUPC) $(TMPNAMC) - - - INSTALLED_PROGS=\ -*************** -*** 168,183 **** - - PROGS = article ckconfig rkive - -! all: $(PROGS) $(MANS) $(SCRIPTS) - #all: $(PROGS) - - $(MANS): - cp `basename $@` $@ - chmod 444 $@ - -! install: $(MANS) $(SCRIPTS) $(INSTALLED_PROGS) -! @echo "Type \"make cf\" if you wish to have rkive.cf installed." -! @echo "Beware: It will overwrite any existing rkive.cf file." - - #install: $(INSTALLED_PROGS) - ---- 168,197 ---- - - PROGS = article ckconfig rkive - -! #all: $(PROGS) $(MANS) $(SCRIPTS) - #all: $(PROGS) -+ all: article ckconfig rkive - - $(MANS): - cp `basename $@` $@ - chmod 444 $@ - -! install: # $(MANS) $(SCRIPTS) $(INSTALLED_PROGS) -! # @echo "Type \"make cf\" if you wish to have rkive.cf installed." -! # @echo "Beware: It will overwrite any existing rkive.cf file." -! install -c -s -m 555 -o bin -g bin article ${PREFIX}/bin/article -! mkdir -p ${PREFIX}/lib/rkive -! install -c -s -m 555 -o bin -g bin ckconfig ${PREFIX}/bin/ckconfig -! install -c -s -m 555 -o bin -g bin rkive ${PREFIX}/bin/rkive -! install -c -m 444 -o bin -g bin article.1 rkive.1 ckconfig.1 \ -! ckconfig.1 ${PREFIX}/man/man1/ -! install -c -m 444 -o bin -g bin rkive.5 ${PREFIX}/man/man5/rkive.5 -! install -c -m 644 -o root -g wheel rkive.cf \ -! ${PREFIX}/lib/rkive/rkive.cf.sample -! install -c -m 755 -o bin -g bin update_netdocs \ -! ${PREFIX}/lib/rkive/update_netdocs -! gzip -9nf ${PREFIX}/man/man1/article.1 ${PREFIX}/man/man1/rkive.1 \ -! ${PREFIX}/man/man1/ckconfig.1 ${PREFIX}/man/man5/rkive.5 - - #install: $(INSTALLED_PROGS) - -*************** -*** 334,340 **** - - strdup.o: ./port/strdup.c - $(CC) $(CFLAGS) $(TARGET_ARCH) -c ./port/strdup.c -! - tmpnam.o: ./port/tmpnam.c - $(CC) $(CFLAGS) $(TARGET_ARCH) -c ./port/tmpnam.c - ---- 348,354 ---- - - strdup.o: ./port/strdup.c - $(CC) $(CFLAGS) $(TARGET_ARCH) -c ./port/strdup.c -! - tmpnam.o: ./port/tmpnam.c - $(CC) $(CFLAGS) $(TARGET_ARCH) -c ./port/tmpnam.c - -*************** -*** 343,349 **** - - nntpclnt.o: $(NNTPSRCDIR)/nntpclnt.c - $(CC) $(CFLAGS) $(TARGET_ARCH) -c $(NNTPSRCDIR)/nntpclnt.c -! - match.o: match.y article.h - - # ---- 357,363 ---- - - nntpclnt.o: $(NNTPSRCDIR)/nntpclnt.c - $(CC) $(CFLAGS) $(TARGET_ARCH) -c $(NNTPSRCDIR)/nntpclnt.c -! - match.o: match.y article.h - - # diff --git a/news/rkive/files/patch-ab b/news/rkive/files/patch-ab deleted file mode 100644 index f95784156c64..000000000000 --- a/news/rkive/files/patch-ab +++ /dev/null @@ -1,108 +0,0 @@ -*** rkive.h.orig Mon Jul 3 20:04:07 1995 ---- rkive.h Mon Jul 3 20:13:25 1995 -*************** -*** 12,19 **** - ** appropriate values are not in the configuration file. - */ - -! #define OWNER 0 -! #define GROUP 3 - #define MODES 0444 - #define DIR_MODE 0755 /* directory creation modes */ - ---- 12,19 ---- - ** appropriate values are not in the configuration file. - */ - -! #define OWNER 8 -! #define GROUP 8 - #define MODES 0444 - #define DIR_MODE 0755 /* directory creation modes */ - -*************** -*** 26,32 **** - #define SUBJECT_LINE - - #ifdef SUBJECT_LINE -! #define MAIL "/usr/ucb/Mail" /* mail program to use */ - # ifdef NOTDEF - # define MAIL "/usr/local/bin/elm" - # define MAIL "/usr/bin/mailx" /* mail program to use */ ---- 26,32 ---- - #define SUBJECT_LINE - - #ifdef SUBJECT_LINE -! #define MAIL "/usr/bin/Mail" /* mail program to use */ - # ifdef NOTDEF - # define MAIL "/usr/local/bin/elm" - # define MAIL "/usr/bin/mailx" /* mail program to use */ -*************** -*** 50,74 **** - ** (config) file. - */ - -! #define PROBLEMS_DIR "/usenet/problems" - - /* - ** Home directory for news - */ - -! #define SPOOLDIR "/usr/spool/news" - - /* - ** Temporary file creation directory - */ - -! #define TMP_DIR "/usr/tmp" - - /* - ** Location of the default rkive configuration file. - */ - -! #define LOCATION "/usr/local/lib/rkive/rkive.cf" - - /* - ** Defines to control the handling of repostings. ---- 50,74 ---- - ** (config) file. - */ - -! #define PROBLEMS_DIR "!!PROBLEMSDIR!!" - - /* - ** Home directory for news - */ - -! #define SPOOLDIR "!!NEWSSPOOL!!" - - /* - ** Temporary file creation directory - */ - -! #define TMP_DIR "/var/tmp" - - /* - ** Location of the default rkive configuration file. - */ - -! #define LOCATION "!!PREFIX!!/lib/rkive/rkive.cf" - - /* - ** Defines to control the handling of repostings. -*************** -*** 139,145 **** - ** per archived article. - */ - -! #define REDUCE_HEADERS - - /* - ** The following define specifies a default format for generating ---- 139,145 ---- - ** per archived article. - */ - -! #undef REDUCE_HEADERS - - /* - ** The following define specifies a default format for generating diff --git a/news/rkive/files/patch-ac b/news/rkive/files/patch-ac deleted file mode 100644 index 465d5848200e..000000000000 --- a/news/rkive/files/patch-ac +++ /dev/null @@ -1,19 +0,0 @@ ---- news_arc.c.orig Sat Jan 21 23:43:40 1995 -+++ news_arc.c Wed May 30 17:21:11 2007 -@@ -67,6 +67,7 @@ - void write_patch_log(); - char *readline(); /* local function declaration */ - -+void write_archived(char *filename, char *message_id, char *path); - - void get_header(filename) - char *filename; -@@ -855,7 +856,7 @@ - int seqnum; - int zfill; - { -- long time(); -+ time_t time(); - struct tm *localtime(); - - long clk; diff --git a/news/rkive/files/patch-ad b/news/rkive/files/patch-ad deleted file mode 100644 index c80a79bae347..000000000000 --- a/news/rkive/files/patch-ad +++ /dev/null @@ -1,11 +0,0 @@ ---- rkive.c.orig Sun Jun 20 13:07:44 1999 -+++ rkive.c Sun Jun 20 13:08:02 1999 -@@ -700,7 +700,7 @@ - struct group_archive *ng; - { - long clock; -- long time(); -+ time_t time(); - char *ctime(); - - char logbuf[BUFSIZ]; diff --git a/news/rkive/pkg-descr b/news/rkive/pkg-descr deleted file mode 100644 index 0c3876fca962..000000000000 --- a/news/rkive/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -It is intended that rkive be run by cron on a daily basis. In this manner, -software is archived and available for retrieval from the archives on the -day it reaches the machine. It allows for the archives to be managed by -the same or different people (or accounts). It supports the building -of indexes for later review or to interface to the netlib type of mail -retrieval software. It also supports mailing notifications of the archiving -to a specified list of users or aliases. The indexes and log file formats -are specifiable by the person configuring the rkive configuration file. diff --git a/news/rkive/pkg-plist b/news/rkive/pkg-plist deleted file mode 100644 index 900d8f5bbfe5..000000000000 --- a/news/rkive/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -bin/article -bin/rkive -bin/ckconfig -lib/rkive/rkive.cf.sample -lib/rkive/update_netdocs -@dirrm lib/rkive diff --git a/news/rkive/scripts/configure b/news/rkive/scripts/configure deleted file mode 100644 index 929f53893cc1..000000000000 --- a/news/rkive/scripts/configure +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -if [ -d /var/spool/news ] && [ ! -d /var/news ] -then - NEWSSPOOL=/var/spool/news -else - NEWSSPOOL=/var/news -fi - -if [ -z $PROBLEMSDIR ] -then - echo Warning: PROBLEMSDIR undefined, using \"/usenet\" as default - echo " this will only be used if you do not specify" - echo " the PROBLEMS path variable inside the configuration" - echo " file ($PREFIX/lib/rkive/rkive.cf)" - PROBLEMSDIR=/usenet -fi - -cat >/tmp/tmp.rkive.sed.$$ << --EOF-- -s+!!NEWSSPOOL!!+$NEWSSPOOL+g -s+!!PREFIX!!+$PREFIX+g -s+!!PROBLEMSDIR!!+$PROBLEMSDIR+g ---EOF-- - -mv ${WRKSRC}/rkive.h ${WRKSRC}/rkive.h.old -sed <${WRKSRC}/rkive.h.old >${WRKSRC}/rkive.h -f /tmp/tmp.rkive.sed.$$ - -rm -f /tmp/tmp.inn.sed.$$ |