Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2002 21:24:31 +0100 (CET)
From:      Thierry Thomas <thierry@pompo.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/34503: Upgrade news/newsx to v. 1.4.6
Message-ID:  <20020131202431.53F65750E@graf.pompo.net>

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

>Number:         34503
>Category:       ports
>Synopsis:       Upgrade news/newsx to v. 1.4.6
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 31 12:30:03 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Thierry Thomas
>Release:        FreeBSD 4.5-RC i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 4.5-RC FreeBSD 4.5-RC #0: Sat Jan 12 16:26:48 CET 2002 root@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF010429 i386


	
>Description:
	Upgrade to the last release. This release is basically for bug fixes.

	It supports inn's storage manager => no more ugly patches!

>How-To-Repeat:
	N/A

>Fix:

	Execute the following shar file (no diffs: they were much bigger
	than this shar file!).


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/news/newsx
#	/usr/ports/news/newsx/Makefile
#	/usr/ports/news/newsx/distinfo
#	/usr/ports/news/newsx/pkg-comment
#	/usr/ports/news/newsx/pkg-descr
#	/usr/ports/news/newsx/pkg-plist
#	/usr/ports/news/newsx/files
#	/usr/ports/news/newsx/files/patch-configure.in
#
echo c - /usr/ports/news/newsx
mkdir -p /usr/ports/news/newsx > /dev/null 2>&1
echo x - /usr/ports/news/newsx/Makefile
sed 's/^X//' >/usr/ports/news/newsx/Makefile << 'END-of-/usr/ports/news/newsx/Makefile'
X# New ports collection makefile for:	newsx
X# Date created: 10th February, 2001
X# Whom:		Thierry Thomas <tthomas@mail.dotcom.fr>
X#
X# $FreeBSD: ports/news/newsx/Makefile,v 1.6 2002/01/20 22:32:44 lioux Exp $
X#
X
XPORTNAME=	newsx
XPORTVERSION=	1.4.6
XCATEGORIES=	news
XMASTER_SITES=	ftp://ftp.kvaleberg.com/pub/
XDISTNAME=	${PORTNAME}-${PORTVERSION:S/.6/pl6/}
X
XMAINTAINER=	thierry@pompo.net
X
X.if defined(WITH_CNEWS)
XBUILD_DEPENDS=	${LOCALBASE}/news/lib/libcnews.a:${PORTSDIR}/news/cnews
X.else !defined(WITHOUT_INN_2-X)
XBUILD_DEPENDS=	${LOCALBASE}/news/lib/libinn.a:${PORTSDIR}/news/inn
X.endif
X
XUSE_AUTOMAKE_VER=14
XCONFIGURE_ENV=	PATH="${PATH}:${LOCALBASE}/news/bin"
X.if !defined(WITH_CNEWS)
X.if !defined(WITHOUT_INN_2-X)
XCONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/news/include"
XCONFIGURE_ARGS=	--with-newslib=${LOCALBASE}/news/lib
X.endif
X.endif
X
XHDR_DIR=	${LOCALBASE}/news/include
X
XDOCS=		AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README TODO
X
Xpost-patch:
X	@${PERL} -pi -e "s:%%LOCALBASE%%:${LOCALBASE}:" ${WRKSRC}/configure.in
X
Xpre-configure:
X	@${ECHO} "*********************************************************"
X	@${ECHO} "If the configure step fails, then you probably don't have"
X	@${ECHO} "a news server package installed.  Try installing INN from"
X	@${ECHO} "${PORTSDIR}/news/inn, and then try building this port"
X	@${ECHO} "again."
X	@${ECHO} "*********************************************************"
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X.for FILE in ${DOCS}
X	@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
X.endfor
X	@${ECHO} "Documentation installed in ${DOCSDIR}."
X.endif
X
XMAN1=	newsq.1
XMAN5=	newsx.conf.5 in.hosts.5
XMAN8=	newsx.8
X
X.include <bsd.port.mk>
END-of-/usr/ports/news/newsx/Makefile
echo x - /usr/ports/news/newsx/distinfo
sed 's/^X//' >/usr/ports/news/newsx/distinfo << 'END-of-/usr/ports/news/newsx/distinfo'
XMD5 (newsx-1.4pl6.tar.gz) = bbd6fcd33cdc9469b81f1e168fb2478c
END-of-/usr/ports/news/newsx/distinfo
echo x - /usr/ports/news/newsx/pkg-comment
sed 's/^X//' >/usr/ports/news/newsx/pkg-comment << 'END-of-/usr/ports/news/newsx/pkg-comment'
XA program to fetch news from and post news to a remote NNTP server
END-of-/usr/ports/news/newsx/pkg-comment
echo x - /usr/ports/news/newsx/pkg-descr
sed 's/^X//' >/usr/ports/news/newsx/pkg-descr << 'END-of-/usr/ports/news/newsx/pkg-descr'
XNewsx is an NNTP client for Unix. It will connect to a remote NNTP
Xserver and post outgoing articles batched by the news system, as well as
Xfetch incoming articles.
X
XIt provides the NNTP capabilities required for small local news spools
Xon installations with NNTP access only through limited ISP accounts. It
Xworks well via a dialup SLIP/PPP connection.
X
XNewsx is also well suited for large spools with normal feeds, being
Xused for pulling newsgroups from specific NNTP servers that are not
Xdistributed in the usual manner. Since newsx obeys the normal news spool
Xconfiguration file and requires little or no specific configuration, the
Xadministrative burden should be minimized.
X
XWWW: http://www.kvaleberg.com/newsx.html
END-of-/usr/ports/news/newsx/pkg-descr
echo x - /usr/ports/news/newsx/pkg-plist
sed 's/^X//' >/usr/ports/news/newsx/pkg-plist << 'END-of-/usr/ports/news/newsx/pkg-plist'
Xbin/newsx
Xbin/newsq
X%%PORTDOCS%%share/doc/newsx/AUTHORS
X%%PORTDOCS%%share/doc/newsx/COPYING
X%%PORTDOCS%%share/doc/newsx/ChangeLog
X%%PORTDOCS%%share/doc/newsx/FAQ
X%%PORTDOCS%%share/doc/newsx/INSTALL
X%%PORTDOCS%%share/doc/newsx/NEWS
X%%PORTDOCS%%share/doc/newsx/README
X%%PORTDOCS%%share/doc/newsx/TODO
X%%PORTDOCS%%@dirrm share/doc/newsx
X@dirrm news/spool/inhosts
X@dirrm news/spool
X@dirrm news
END-of-/usr/ports/news/newsx/pkg-plist
echo c - /usr/ports/news/newsx/files
mkdir -p /usr/ports/news/newsx/files > /dev/null 2>&1
echo x - /usr/ports/news/newsx/files/patch-configure.in
sed 's/^X//' >/usr/ports/news/newsx/files/patch-configure.in << 'END-of-/usr/ports/news/newsx/files/patch-configure.in'
X--- configure.in.orig	Tue Jan 29 20:15:19 2002
X+++ configure.in	Thu Jan 31 01:05:04 2002
X@@ -189,7 +189,7 @@
X dnl  Default list of locations to visit in search of the
X dnl  news configuration file
X dnl
X-VISIT="/usr/lib/news /var/news/etc /usr/spool/news /usr/share/news \
X+VISIT="/usr/local/news/lib /usr/lib/news /var/news/etc /usr/spool/news /usr/share/news \
X  /var/db/news /usr/local/news/control /usr/local/news /local/news /etc/news \
X  /usr/local/news/bin/control /usr/local/lib/news /news /usr/local/inn \
X  /var/lib/news /usr/lib"
END-of-/usr/ports/news/newsx/files/patch-configure.in
exit



>Release-Note:
>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?20020131202431.53F65750E>