Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jun 2003 10:11:47 +0200
From:      Kirill Ponomarew <ponomarew@oberon.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53889: New port: news/noffle
Message-ID:  <E19WXHn-000HrC-No@voodoo.oberon.net>
Resent-Message-ID: <200306290820.h5T8KGxW004327@freefall.freebsd.org>

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

>Number:         53889
>Category:       ports
>Synopsis:       New port: news/noffle
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 29 01:20:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kirill Ponomarew
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Oberon.net 
>Environment:
 
        
>Description:
New port: news/noffle

Noffle is a Usenet news server optimized for few users and low
speed dial-up connections to the Internet. It acts as a server
to news clients running on the local host, but gets its news
feed by acting as a client to a remote server. Allows reading
news offline with many news clients, even if they do not
support offline reading by themselves.

>How-To-Repeat:
>Fix:
# 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:
#
#	news/noffle
#	news/noffle/Makefile
#	news/noffle/distinfo
#	news/noffle/pkg-descr
#	news/noffle/pkg-plist
#	news/noffle/pkg-message
#
echo c - news/noffle
mkdir -p news/noffle > /dev/null 2>&1
echo x - news/noffle/Makefile
sed 's/^X//' >news/noffle/Makefile << 'END-of-news/noffle/Makefile'
X# New ports collection makefile for:	noffle
X# Date created:				28.06.2003
X# Whom:					Kirill Ponomarew <ponomarew@oberon.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	noffle
XPORTVERSION=	1.1.5
XCATEGORIES=	net
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	ponomarew@oberon.net
XCOMMENT=	News server for low speed dial-up connections
X
XLIB_DEPENDS=	gdbm.3:${PORTSDIR}/databases/gdbm
X
XGNU_CONFIGURE=	yes
XUSE_REINPLACE=	yes
X
XCONFIGURE_ARGS+=--with-configfile=${LOCALBASE}/etc/noffle.conf \
X		--with-usersfile=${LOCALBASE}/etc/noffle.users
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
X		LIBS="-L${LOCALBASE}/lib"
XCONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
X
XSPOOL_DIR=	/var/spool/noffle
XPLIST_SUB+=	SPOOL_DIR=${SPOOL_DIR}
X
XMAN1=		noffle.1
XMAN5=		noffle.conf.5
XDOCS=		ChangeLog docs/FAQ INSTALL docs/INTERNALS README \
X		docs/testing.txt docs/noffle.lsm
X
Xpost-patch:
X	@${REINPLACE_CMD} -e \
X	's|/etc/noffle.conf|${PREFIX}/etc/noffle.conf|g' \
X		${WRKSRC}/docs/${PORTNAME}.1 \
X		${WRKSRC}/docs/${PORTNAME}.conf.5
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} \
X		${PREFIX}/bin
X	${INSTALL_MAN} ${WRKSRC}/docs/noffle.1 \
X		${PREFIX}/man/man1
X	${INSTALL_MAN} ${WRKSRC}/docs/noffle.conf.5 \
X		${PREFIX}/man/man5
X	${INSTALL_DATA} ${WRKSRC}/noffle.conf.example \
X		${PREFIX}/etc/noffle.conf.sample
X	@${ECHO} "
X	@${ECHO} "------------------------------------------------------------"
X	@${ECHO} "Sample of configuration file placed at"
X	@${ECHO} "${PREFIX}/etc/noffle.conf.sample"
X	@${ECHO} "------------------------------------------------------------
X	@${ECHO} "
X	@${MKDIR} ${SPOOL_DIR}
X	@${MKDIR} ${SPOOL_DIR}/data
X	@${MKDIR} ${SPOOL_DIR}/lock
X	@${MKDIR} ${SPOOL_DIR}/outgoing
X	@${MKDIR} ${SPOOL_DIR}/overview
X	@${MKDIR} ${SPOOL_DIR}/requested
X	@${CHOWN} -R news:news ${SPOOL_DIR}
X
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
X.endif
X
Xpost-install:
X	@${SED} -e "s:/usr/local:${PREFIX}:g" ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-news/noffle/Makefile
echo x - news/noffle/distinfo
sed 's/^X//' >news/noffle/distinfo << 'END-of-news/noffle/distinfo'
XMD5 (noffle-1.1.5.tar.gz) = 43e0a2563b8dec6e4f36824ed4dc05d7
END-of-news/noffle/distinfo
echo x - news/noffle/pkg-descr
sed 's/^X//' >news/noffle/pkg-descr << 'END-of-news/noffle/pkg-descr'
XNoffle is a Usenet news server optimized for few users and low
Xspeed dial-up connections to the Internet. It acts as a server
Xto news clients running on the local host, but gets its news
Xfeed by acting as a client to a remote server. Allows reading
Xnews offline with many news clients, even if they do not
Xsupport offline reading by themselves.
X
XWWW: http://noffle.sourceforge.net
END-of-news/noffle/pkg-descr
echo x - news/noffle/pkg-plist
sed 's/^X//' >news/noffle/pkg-plist << 'END-of-news/noffle/pkg-plist'
Xbin/noffle
X%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
X%%PORTDOCS%%%%DOCSDIR%%/FAQ
X%%PORTDOCS%%%%DOCSDIR%%/INSTALL
X%%PORTDOCS%%%%DOCSDIR%%/INTERNALS
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/noffle.lsm
X%%PORTDOCS%%%%DOCSDIR%%/testing.txt
Xetc/noffle.conf.sample
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X@cwd /
X@exec mkdir -p %%SPOOL_DIR%%
X@exec mkdir -p %%SPOOL_DIR%%/data
X@exec mkdir -p %%SPOOL_DIR%%/lock
X@exec mkdir -p %%SPOOL_DIR%%/outgoing
X@exec mkdir -p %%SPOOL_DIR%%/overview
X@exec mkdir -p %%SPOOL_DIR%%/requested
X@unexec rm -rf %%SPOOL_DIR%%
END-of-news/noffle/pkg-plist
echo x - news/noffle/pkg-message
sed 's/^X//' >news/noffle/pkg-message << 'END-of-news/noffle/pkg-message'
X
X****************************************************************************
XTo enable the noffle-daemon, add the following line to your /etc/inetd.conf:
X
Xnntp stream tcp nowait news /usr/local/bin/noffle -r
X****************************************************************************
X
END-of-news/noffle/pkg-message
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19WXHn-000HrC-No>