1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

Initial import of gup version 0.4.

Allows remote sites to change their newsgroup subscriptions.

PR:		11602
Submitted by:	Denis Shaposhnikov <wizard@vlink.ru>
This commit is contained in:
Steve Price 1999-06-09 00:35:34 +00:00
parent 933abeff0e
commit 88448775a3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=19353
9 changed files with 93 additions and 0 deletions

26
news/gup/Makefile Normal file
View File

@ -0,0 +1,26 @@
# New ports collection makefile for: gup
# Version required: 0.4
# Date created: 22 November 1998
# Whom: Denis Shaposhnikov <wizard@vlink.ru>
#
# $Id$
#
DISTNAME= gup-0.4
CATEGORIES= news
MASTER_SITES= ftp://ftp.isc.org/isc/inn/unoff-contrib/
MAINTAINER= wizard@vlink.ru
WRKSRC= ${WRKDIR}/gup
MAN1= gup.1
do-configure:
@${CP} ${FILESDIR}/freebsd ${WRKSRC}/config
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gup ${PREFIX}/libexec
${INSTALL_MAN} ${WRKSRC}/gup.1 ${MANPREFIX}/man/man1
.include <bsd.port.mk>

1
news/gup/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (gup-0.4.tar.gz) = ecf8d543b1db408909f66f6e222b82ad

1
news/gup/files/freebsd Normal file
View File

@ -0,0 +1 @@
P_NO_FLAGS = -DNO_MALLOC_H

36
news/gup/files/patch-aa Normal file
View File

@ -0,0 +1,36 @@
--- Makefile.orig Sun Nov 22 13:15:39 1998
+++ Makefile Sun Nov 22 13:18:46 1998
@@ -8,7 +8,7 @@
# a working version for your system, please mail a copy back to the
# author so that others may benefit from your effort.
-CONFIG = vanilla
+CONFIG = freebsd
# Destination directories for the executable and man page. Note that
# the executable is only used in a .forward so /usr/local/bin may
@@ -28,20 +28,20 @@
# ACTIVE_PATH is the full pathname for your news active file. This
# file is used to validate newgroup names.
-ACTIVE_PATH =
+ACTIVE_PATH = /var/db/news/active
# NEWSGROUPS_PATH is the fill pathname for your newsgroups file. This
# file is used to provide descriptions for each newsgroup.
-NEWSGROUPS_PATH =
+NEWSGROUPS_PATH = /var/db/news/newsgroups
# BACKSTOP_MAILID is used if gup cannot find a FROM: or a REPLY-TO: or
# a valid site command, this is where the mail goes to.
-BACKSTOP_MAILID = news
+BACKSTOP_MAILID = usenet
# MAIL_COMMAND is the mailer that accepts a mail with rfc822 headers and
# body from stdin.
-MAIL_COMMAND = "/usr/lib/sendmail -t"
+MAIL_COMMAND = "/usr/sbin/sendmail -oi -t"
# With a command like "include alt.*" the resultant list is, long.
# LOG_MATCH_LIMIT, defines the upper bound on the number of pattern

10
news/gup/files/patch-ab Normal file
View File

@ -0,0 +1,10 @@
--- rfc822.h.orig Sun May 9 12:53:24 1999
+++ rfc822.h Sun May 9 12:53:58 1999
@@ -246,7 +246,6 @@
extern int errno;
extern int sys_nerr;
extern int optind;
-extern char *sys_errlist[];
extern char **environ;
extern char *optarg;

11
news/gup/files/patch-ac Normal file
View File

@ -0,0 +1,11 @@
--- main.mk.orig Mon Jun 7 23:37:43 1999
+++ main.mk Mon Jun 7 23:38:19 1999
@@ -17,7 +17,7 @@
-DBACKSTOP_MAILID='"$(BACKSTOP_MAILID)"' \
-DLOG_MATCH_LIMIT=$(LOG_MATCH_LIMIT) -DUMASK=$(UMASK)
-CFLAGS = $(P_CFLAGS) $(P_NO_FLAGS) $(P_USE_FLAGS) $(P_INCLUDES) \
+CFLAGS += $(P_CFLAGS) $(P_NO_FLAGS) $(P_USE_FLAGS) $(P_INCLUDES) \
$(DEFS) -DMAIL_COMMAND='"$(MAIL_COMMAND)"'
LDFLAGS = $(P_LDFLAGS) $(P_LIBS)

1
news/gup/pkg-comment Normal file
View File

@ -0,0 +1 @@
Allows remote sites to change their newsgroup subscriptions.

6
news/gup/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
Gup, the Group Update Program is a Unix mail-server that lets a remote
site change their newsgroups subscription without requiring the
intervention of the news administrator at the feed site.
-- Denis Shaposhnikov
wizard@vlink.ru

1
news/gup/pkg-plist Normal file
View File

@ -0,0 +1 @@
libexec/gup