diff options
author | torstenb <torstenb@FreeBSD.org> | 1995-07-16 06:46:26 +0800 |
---|---|---|
committer | torstenb <torstenb@FreeBSD.org> | 1995-07-16 06:46:26 +0800 |
commit | b5f301d0c4d3eaa776e716a13214ffe9a4c28117 (patch) | |
tree | 0fd110dac05d2a5f64afb36f91d8e2a666476306 /news/rkive/files | |
parent | d8344a5f4cec9e68c30df058df4f2361312f33a9 (diff) | |
download | freebsd-ports-gnome-b5f301d0c4d3eaa776e716a13214ffe9a4c28117.tar.gz freebsd-ports-gnome-b5f301d0c4d3eaa776e716a13214ffe9a4c28117.tar.zst freebsd-ports-gnome-b5f301d0c4d3eaa776e716a13214ffe9a4c28117.zip |
rkive - a USENET newsgroup archiver
Diffstat (limited to 'news/rkive/files')
-rw-r--r-- | news/rkive/files/patch-aa | 180 | ||||
-rw-r--r-- | news/rkive/files/patch-ab | 108 |
2 files changed, 288 insertions, 0 deletions
diff --git a/news/rkive/files/patch-aa b/news/rkive/files/patch-aa new file mode 100644 index 000000000000..fc9b983ff003 --- /dev/null +++ b/news/rkive/files/patch-aa @@ -0,0 +1,180 @@ +*** 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 new file mode 100644 index 000000000000..f95784156c64 --- /dev/null +++ b/news/rkive/files/patch-ab @@ -0,0 +1,108 @@ +*** 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 |