From owner-freebsd-ports@FreeBSD.ORG Mon May 26 15:04:29 2014 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E5D40DBC for ; Mon, 26 May 2014 15:04:28 +0000 (UTC) Received: from mo6-p05-ob.smtp.rzone.de (mo6-p05-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5305::12]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.smtp.rzone.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 737EC2C00 for ; Mon, 26 May 2014 15:04:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1401116664; l=2373; s=domk; d=nagilum.de; h=Date:Cc:From:Subject:To:X-RZG-CLASS-ID:X-RZG-AUTH; bh=V4embo+is/kkQzQM9NlPqOOEJA0=; b=SJEI0oxxDC2LmYK5eTxryPFQvjTy9O7uqR6SEYrVXS0YtHX1u5DPQjgeQ9B/ovfiWco DxCQQwbtranfiomdlGVxorAS4klQ33DtuVIWYyxQs7XEUhvTgTETMZqOA+hKTPPlF5BdS ed5B+x6/1sc1lUvvF+yVFJc60oNoQPHyh/g= X-RZG-AUTH: :O2kGeEG7b/pS1EO4THa/nJdkGexqY2koAkiM3P8W4OZGgXnciNPcJoCmfQ0bAjNacNys X-RZG-CLASS-ID: mo05 Received: from cakebox.homeunix.net (188-015-186-093.fttx.vsenet.de [93.186.15.188]) by smtp.strato.de (RZmta 34.2 AUTH) with ESMTPSA id y02f9cq4QF4EKsX (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cakebox.mooo.com", Issuer "CA Cert Signing Authority" (verification FAILED - unable to verify the first certificate)) (Client hostname not verified); Mon, 26 May 2014 17:04:14 +0200 (CEST) Received: from cakebox.homeunix.net (localhost [127.0.0.1]) by cakebox.homeunix.net (Postfix) with ESMTP id 87E162D5AF0; Mon, 26 May 2014 17:04:02 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on cakebox.tis X-Spam-Level: X-Spam-Status: No, score=-0.0 required=3.4 tests=NO_RELAYS autolearn=ham autolearn_force=no version=3.4.0 Received: by cakebox.homeunix.net (Postfix, from userid 0) id E4C612D51FC; Mon, 26 May 2014 17:03:58 +0200 (CEST) To: FreeBSD-gnats-submit@freebsd.org Subject: Stagify www/wwwoffle From: freebsd@nagilum.org X-send-pr-version: 3.114 X-GNATS-Notify: Message-Id: <20140526150359.E4C612D51FC@cakebox.homeunix.net> Date: Mon, 26 May 2014 17:03:58 +0200 (CEST) Cc: ports@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2014 15:04:29 -0000 >Submitter-Id: freebsd@nagilum.org >Originator: freebsd@nagilum.org >Organization: >Confidential: no >Synopsis: Stagify www/wwwoffle >Severity: non-critical >Priority: low >Category: ports >Class: sw-bug >Release: FreeBSD 9.2-STABLE i386 >Environment: System: FreeBSD cakebox.tis 9.2-STABLE FreeBSD 9.2-STABLE #0 r264294M: Fri Apr 11 10:19:25 CEST 2014 root@cakebox.tis:/usr/obj/export/src/sys/net5501 i386 >Description: www/wwwoffle does not support staging >Fix: Apply the patch below. --- wwwoffle.patch begins here --- diff -Naur wwwoffle.orig/Makefile wwwoffle/Makefile --- wwwoffle.orig/Makefile 2014-03-15 09:12:20.000000000 +0100 +++ wwwoffle/Makefile 2014-05-26 16:52:12.000000000 +0200 @@ -12,7 +12,7 @@ LICENSE= GPLv2 -LIB_DEPENDS= gnutls:${PORTSDIR}/security/gnutls +TLS_DEPENDS= gnutls:${PORTSDIR}/security/gnutls USES= perl5 gmake @@ -35,13 +35,12 @@ SUB_FILES= pkg-message SUB_LIST= WWWOFFLE_SPOOL="${WWWOFFLE_SPOOL}" -MAN1= wwwoffle.1 -MAN5= wwwoffle.conf.5 -MAN8= wwwoffled.8 - -NO_STAGE= yes post-install: - @${INSTALL_SCRIPT} ${WRKSRC}/conf/upgrade-config.pl ${WWWOFFLE_SPOOL} + ${INSTALL_SCRIPT} ${WRKSRC}/conf/upgrade-config.pl ${WWWOFFLE_SPOOL} + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}* ${STAGEDIR}${PREFIX}/sbin/${PORTNAME}d @${CAT} ${PKGMESSAGE} +post-stage: + @${RM} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf + .include diff -Naur wwwoffle.orig/pkg-plist wwwoffle/pkg-plist --- wwwoffle.orig/pkg-plist 2014-01-22 16:16:56.000000000 +0100 +++ wwwoffle/pkg-plist 2014-05-26 11:42:37.000000000 +0200 @@ -9,8 +9,11 @@ bin/wwwoffle-rm bin/wwwoffle-tools bin/wwwoffle-write -@unexec if cmp -s %D/etc/wwwoffle.conf.install %D/etc/wwwoffle.conf; then rm -f %D/etc/wwwoffle.conf; fi +@unexec if cmp -s %D/etc/wwwoffle.conf %D/etc/wwwoffle.conf.install; then rm -f %D/etc/wwwoffle.conf; fi etc/wwwoffle.conf.install +man/man1/wwwoffle.1.gz +man/man5/wwwoffle.conf.5.gz +man/man8/wwwoffled.8.gz sbin/wwwoffled share/doc/wwwoffle/CHANGES.CONF share/doc/wwwoffle/COPYING @@ -838,7 +841,6 @@ search/namazu/scripts/wwwoffle-mknmz-lasttime search/namazu/scripts/wwwoffle-namazu search/udmsearch -upgrade-config.pl @dirrm search/namazu/scripts @dirrm search/namazu/db @dirrm search/namazu/conf --- wwwoffle.patch ends here ---