From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 21 03:40:15 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 DE29237B401 for ; Wed, 21 May 2003 03:40:15 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 233D543FB1 for ; Wed, 21 May 2003 03:40:14 -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 h4LAeDUp093407 for ; Wed, 21 May 2003 03:40:13 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h4LAeDZx093406; Wed, 21 May 2003 03:40:13 -0700 (PDT) Resent-Date: Wed, 21 May 2003 03:40:13 -0700 (PDT) Resent-Message-Id: <200305211040.h4LAeDZx093406@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, Matthias Andree Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 374C637B401 for ; Wed, 21 May 2003 03:30:26 -0700 (PDT) Received: from mail.dt.e-technik.uni-dortmund.de (krusty.dt.E-Technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A58743FB1 for ; Wed, 21 May 2003 03:30:25 -0700 (PDT) (envelope-from matthias.andree@gmx.de) Received: from m2a2.dyndns.org (krusty.dt.e-technik.uni-dortmund.de [129.217.163.1])C85A8A381D for ; Wed, 21 May 2003 12:30:23 +0200 (CEST) Received: from libertas.emma.line.org (libertas.emma.line.org [192.168.0.2]) by merlin.emma.line.org (Postfix) with ESMTP id F12BE843F8; Wed, 21 May 2003 12:30:20 +0200 (CEST) Received: from emma by libertas.emma.line.org with local (Exim 3.36 #1) id 19IQrU-00007E-00; Wed, 21 May 2003 12:30:20 +0200 Message-Id: Date: Wed, 21 May 2003 12:30:20 +0200 From: Matthias Andree To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/52523: maintainer update port: news/leafnode X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Matthias Andree List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2003 10:40:16 -0000 >Number: 52523 >Category: ports >Synopsis: maintainer update port: news/leafnode >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 21 03:40:13 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Matthias Andree >Release: FreeBSD 4.8-STABLE i386 >Organization: >Environment: System: FreeBSD libertas.emma.line.org 4.8-STABLE FreeBSD 4.8-STABLE #30: Mon May 19 17:39:43 CEST 2003 toor@libertas.emma.line.org:/usr/src/sys/compile/LIBERTAS i386 >Description: This patch cleans up the port a bit, uses variables rather than hard coded path components, prints information on the spool directory, and will generate pkg-message according to the actual spool directory to give proper uninstallation info. NOTE TO COMMITTER: please make sure pkg-message is removed from the source directory; there is now a source file, files/pkg-message.in, that is run through sed. >How-To-Repeat: >Fix: diff -Nur /usr/ports/news/leafnode/Makefile /root/leafnode/Makefile --- /usr/ports/news/leafnode/Makefile Thu May 8 17:46:05 2003 +++ /root/leafnode/Makefile Wed May 21 12:24:45 2003 @@ -18,7 +18,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}.rel DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:sourceforge,sunsite,DEFAULT -MAINTAINER= matthias.andree@web.de +MAINTAINER= matthias.andree@gmx.de COMMENT= NNTP package for offline news caching and reading LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre @@ -31,32 +31,42 @@ USE_BZIP2= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --quiet --prefix=${PREFIX} --sysconfdir=${PREFIX}/etc/leafnode \ +CONFIGURE_ARGS= --prefix=${PREFIX} --sysconfdir=${PREFIX}/etc/leafnode \ --with-lockfile=${LEAFNODE_SPOOLDIR}/leaf.node/lock.file \ --with-spooldir=${LEAFNODE_SPOOLDIR} --with-ipv6 CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} MAKE_ARGS= MAN1= leafnode-version.1 newsq.1 MAN8= applyfilter.8 checkgroups.8 fetchnews.8 leafnode.8 texpire.8 +PKGMESSAGE= ${WRKSRC}/pkg-message + +pre-configure: + @${ECHO} + @${ECHO} "------------------------------------------------------------------------" + @${ECHO} "This port will use ${LEAFNODE_SPOOLDIR} as spool directory." + @${ECHO} "Use LEAFNODE_SPOOLDIR=d to specify d as spool directory." + @${ECHO} "------------------------------------------------------------------------" + @${ECHO} post-install: ${INSTALL_PROGRAM} ${WRKSRC}/quickmkdir ${PREFIX}/sbin/ ${INSTALL_SCRIPT} ${WRKSRC}/setup-daemontools.sh ${PREFIX}/sbin/ .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/${PORTNAME} + ${MKDIR} ${DOCSDIR} for i in ChangeLog COPYING CREDITS FAQ.txt FAQ.pdf FAQ.html \ INSTALL NEWS README \ README-FQDN README-FQDN.html README-daemontools \ README.FIRST TODO leafnode.cron.daily ; do \ - ${INSTALL_MAN} ${WRKSRC}/$$i \ - ${PREFIX}/share/doc/${PORTNAME} ; done - ${MKDIR} ${PREFIX}/share/doc/${PORTNAME}/doc_german + ${INSTALL_MAN} ${WRKSRC}/$$i ${DOCSDIR} ; \ + done + ${MKDIR} ${DOCSDIR}/doc_german for i in INSTALL_de LIESMICH-daemontools README \ README_de newsq.1 ${MAN8} ; do \ ${INSTALL_MAN} ${WRKSRC}/doc_german/$$i \ - ${PREFIX}/share/doc/${PORTNAME}/doc_german ; done + ${DOCSDIR}/doc_german ; done .endif - ${CAT} pkg-message + @${SED} 's}%%DOCSDIR%%}${DOCSDIR}}g' ${FILESDIR}/pkg-message.in >${PKGMESSAGE} + ${CAT} ${PKGMESSAGE} PKG_PREFIX=${PREFIX} SPOOLDIR=${LEAFNODE_SPOOLDIR} \ ${SH} pkg-install ${PORTNAME} POST-INSTALL diff -Nur /usr/ports/news/leafnode/files/pkg-message.in /root/leafnode/files/pkg-message.in --- /usr/ports/news/leafnode/files/pkg-message.in Thu Jan 1 01:00:00 1970 +++ /root/leafnode/files/pkg-message.in Wed May 21 12:21:31 2003 @@ -0,0 +1,5 @@ +To finalize the leafnode install, proceed as follows: + +1. read %%DOCSDIR%%/INSTALL, starting at item #5. +2. read %%DOCSDIR%%/NEWS, mind the incompatible changes! +3. read %%DOCSDIR%%/README, mind the incompatible changes! diff -Nur /usr/ports/news/leafnode/pkg-message /root/leafnode/pkg-message --- /usr/ports/news/leafnode/pkg-message Fri Aug 23 17:19:12 2002 +++ /root/leafnode/pkg-message Thu Jan 1 01:00:00 1970 @@ -1,5 +0,0 @@ -To finalize the leafnode install, proceed as follows: - -1. read ${PREFIX}/share/doc/leafnode/INSTALL, starting at item #5. -2. read ${PREFIX}/share/doc/leafnode/NEWS, mind the incompatible changes! -3. read ${PREFIX}/share/doc/leafnode/README, mind the incompatible changes! >Release-Note: >Audit-Trail: >Unformatted: