ports/53889: New port: news/noffle
Kirill Ponomarew
ponomarew at oberon.net
Sun Jun 29 08:20:18 UTC 2003
>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 at 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 at 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 at cwd /
X at exec mkdir -p %%SPOOL_DIR%%
X at exec mkdir -p %%SPOOL_DIR%%/data
X at exec mkdir -p %%SPOOL_DIR%%/lock
X at exec mkdir -p %%SPOOL_DIR%%/outgoing
X at exec mkdir -p %%SPOOL_DIR%%/overview
X at exec mkdir -p %%SPOOL_DIR%%/requested
X at 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:
More information about the freebsd-ports-bugs
mailing list