From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jun 29 01:20:18 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 084BD37B404 for ; Sun, 29 Jun 2003 01:20:17 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 087044400F for ; Sun, 29 Jun 2003 01:20:17 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h5T8KGUp004328 for ; Sun, 29 Jun 2003 01:20:16 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h5T8KGxW004327; Sun, 29 Jun 2003 01:20:16 -0700 (PDT) Resent-Date: Sun, 29 Jun 2003 01:20:16 -0700 (PDT) Resent-Message-Id: <200306290820.h5T8KGxW004327@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kirill Ponomarew Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19CFD37B401 for ; Sun, 29 Jun 2003 01:13:28 -0700 (PDT) Received: from office.LF.net (office.LF.net [212.9.190.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48B7A4402B for ; Sun, 29 Jun 2003 01:13:27 -0700 (PDT) (envelope-from krion@voodoo.oberon.net) Received: from voodoo.oberon.net ([212.118.165.100]) by office.LF.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.20) id 19WXJN-00057U-RX for FreeBSD-gnats-submit@freebsd.org; Sun, 29 Jun 2003 10:13:25 +0200 Received: from krion by voodoo.oberon.net with local (Exim 4.20) id 19WXHn-000HrC-No for FreeBSD-gnats-submit@freebsd.org; Sun, 29 Jun 2003 10:11:47 +0200 Message-Id: Date: Sun, 29 Jun 2003 10:11:47 +0200 From: Kirill Ponomarew Sender: Kirill Ponomarew To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/53889: New port: news/noffle X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jun 2003 08:20:18 -0000 >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 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 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: