Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Aug 1998 00:18:53 -0500 (EST)
From:      Don Croyle <croyle@gelemna.ft-wayne.in.us>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7627: Update news/inn port for the new perl5 and man schemes.
Message-ID:  <199808160518.AAA21130@emerson.gelemna.ft-wayne.in.us>

next in thread | raw e-mail | index | archive | help

>Number:         7627
>Category:       ports
>Synopsis:       Update news/inn port for the new perl5 and man schemes.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 15 22:30:00 PDT 1998
>Last-Modified:
>Originator:     Don Croyle
>Organization:
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

	

>Description:
Not my port, but in company with PRs 7597 and 7598 it gets all of the
perl5-using news ports updated.  Fixing the PLISTs for the rest of
ports/news isn't something that needs to be done immediately.
	

>How-To-Repeat:

	

>Fix:
Apply this patch:	
	

diff -ruN inn.old/Makefile inn/Makefile
--- inn.old/Makefile	Wed Feb 11 12:58:27 1998
+++ inn/Makefile	Sat Aug 15 23:23:57 1998
@@ -22,7 +22,8 @@
 USE_TCL?=	DONT
 USE_PERL5?=	DONT
 
-SCRIPTS_ENV+= PGPVERIFY=${PGPVERIFY} USE_TCL=${USE_TCL} USE_PERL5=${USE_PERL5}
+SCRIPTS_ENV+= PGPVERIFY=${PGPVERIFY} USE_TCL=${USE_TCL} USE_PERL5=${USE_PERL5}\
+	PERL_VERSION=${PERL_VERSION}
 
 NO_PACKAGE=	"Too many compile-time options"
 MAN1=	convdate.1 getlist.1 grephistory.1 inews.1 innconfval.1 installit.1 \
diff -ruN inn.old/files/config.data inn/files/config.data
--- inn.old/files/config.data	Wed Feb 11 13:02:45 1998
+++ inn/files/config.data	Sat Aug 15 23:11:00 1998
@@ -559,7 +559,7 @@
 _PATH_EGREP		/usr/bin/egrep
 ##  Where perl lives
 #### =()<_PATH_PERL		@<_PATH_PERL>@>()=
-_PATH_PERL		!!PREFIX!!/bin/perl5.00404
+_PATH_PERL		!!PREFIX!!/bin/perl!!USEPERL5VER!!
 ##  Where awk lives
 #### =()<_PATH_AWK		@<_PATH_AWK>@>()=
 _PATH_AWK		/usr/bin/awk
diff -ruN inn.old/pkg/PLIST inn/pkg/PLIST
--- inn.old/pkg/PLIST	Sun Jan 25 16:41:03 1998
+++ inn/pkg/PLIST	Sat Aug 15 20:45:16 1998
@@ -6,72 +6,6 @@
 include/libinn.h
 include/qio.h
 lib/libinn.a
-man/man1/getlist.1.gz
-man/man1/grephistory.1.gz
-man/man1/inews.1.gz
-man/man1/innconfval.1.gz
-man/man1/installit.1.gz
-man/man1/nntpget.1.gz
-man/man1/rnews.1.gz
-man/man1/shrinkfile.1.gz
-man/man1/subst.1.gz
-man/man1/convdate.1.gz
-man/man1/shlock.1.gz
-man/man3/dbz.3.gz
-man/man3/inndcomm.3.gz
-man/man3/libinn.3.gz
-man/man3/parsedate.3.gz
-man/man3/qio.3.gz
-man/man3/wildmat.3.gz
-man/man3/clientlib.3.gz
-man/man5/active.5.gz
-man/man5/distrib.pats.5.gz
-man/man5/expire.ctl.5.gz
-man/man5/history.5.gz
-man/man5/hosts.nntp.5.gz
-man/man5/inn.conf.5.gz
-man/man5/innwatch.ctl.5.gz
-man/man5/moderators.5.gz
-man/man5/newsfeeds.5.gz
-man/man5/newslog.5.gz
-man/man5/nntpsend.ctl.5.gz
-man/man5/overview.fmt.5.gz
-man/man5/passwd.nntp.5.gz
-man/man5/control.ctl.5.gz
-man/man5/nnrp.access.5.gz
-man/man8/archive.8.gz
-man/man8/batcher.8.gz
-man/man8/buffchan.8.gz
-man/man8/crosspost.8.gz
-man/man8/ctlinnd.8.gz
-man/man8/expire.8.gz
-man/man8/expireover.8.gz
-man/man8/expirerm.8.gz
-man/man8/fastrm.8.gz
-man/man8/filechan.8.gz
-man/man8/inncheck.8.gz
-man/man8/innd.8.gz
-man/man8/innlog.pl.8.gz
-man/man8/innwatch.8.gz
-man/man8/innxbatch.8.gz
-man/man8/innxmit.8.gz
-man/man8/makeactive.8.gz
-man/man8/makehistory.8.gz
-man/man8/nnrpd.8.gz
-man/man8/news.daily.8.gz
-man/man8/newslog.8.gz
-man/man8/nntpsend.8.gz
-man/man8/overchan.8.gz
-man/man8/prunehistory.8.gz
-man/man8/scanlogs.8.gz
-man/man8/tally.control.8.gz
-man/man8/writelog.8.gz
-man/man8/actsync.8.gz
-man/man8/cvtbatch.8.gz
-man/man8/innstat.8.gz
-man/man8/news-recovery.8.gz
-man/man8/newsrequeue.8.gz
-man/man8/tally.unwanted.8.gz
 sbin/innd
 sbin/inndstart
 sbin/in.nnrpd
diff -ruN inn.old/scripts/configure inn/scripts/configure
--- inn.old/scripts/configure	Wed Feb 11 12:58:29 1998
+++ inn/scripts/configure	Sat Aug 15 23:33:23 1998
@@ -15,8 +15,8 @@
 [ x$USE_TCL = xDO ] && USE_TCLINC=-I/usr/local/include/tcl8.0
 [ x$USE_TCL = xDO ] && USE_TCLLIB="-L/usr/local/lib -ltcl80 -lm"
 
-[ x$USE_PERL5 = xDO ] && USE_PERL5INC=-I/usr/local/lib/perl5/i386-freebsd/5.00404/CORE
-[ x$USE_PERL5 = xDO ] && USE_PERL5LIB="-L/usr/local/lib/perl5/i386-freebsd/5.00404/CORE -lperl -lm"
+[ x$USE_PERL5 = xDO ] && USE_PERL5INC=-I/usr/local/lib/perl5/${PERL_VERSION}/i386-freebsd/CORE
+[ x$USE_PERL5 = xDO ] && USE_PERL5LIB="-L/usr/local/lib/perl5/${PERL_VERSION}/i386-freebsd/CORE -lperl -lm"
 
 cat >/tmp/tmp.inn.sed.$$ << --EOF--
 s+!!NEWSSPOOL!!+$NEWSDIR+g
@@ -27,6 +27,7 @@
 s+!!USETCLINC!!+$USE_TCLINC+g
 s+!!USETCLLIB!!+$USE_TCLLIB+g
 s+!!USEPERL5!!+$USE_PERL5+g
+s+!!USEPERL5VER!!+$PERL_VERSION+g
 s+!!USEPERL5INC!!+$USE_PERL5INC+g
 s+!!USEPERL5LIB!!+$USE_PERL5LIB+g
 --EOF--
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808160518.AAA21130>