From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 17 10:30:13 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org 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 3E5E216A420 for ; Thu, 17 Nov 2005 10:30:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7922B43D5F for ; Thu, 17 Nov 2005 10:30:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jAHAUC4P068904 for ; Thu, 17 Nov 2005 10:30:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jAHAUCHg068895; Thu, 17 Nov 2005 10:30:12 GMT (envelope-from gnats) Resent-Date: Thu, 17 Nov 2005 10:30:12 GMT Resent-Message-Id: <200511171030.jAHAUCHg068895@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, infofarmer@gmail.com Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5948016A41F for ; Thu, 17 Nov 2005 10:23:17 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: from proxy.gubkin.ru (proxy.gubkin.ru [193.233.78.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB4EE43D49 for ; Thu, 17 Nov 2005 10:23:16 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: from proxy.gubkin.ru (localhost [127.0.0.1]) by proxy.gubkin.ru (8.13.4/8.13.4) with ESMTP id jAHANCpt090798 for ; Thu, 17 Nov 2005 13:23:12 +0300 (MSK) (envelope-from infofarmer@gmail.com) Received: (from sat@localhost) by proxy.gubkin.ru (8.13.4/8.13.3/Submit) id jAHANCDr090796; Thu, 17 Nov 2005 13:23:12 +0300 (MSK) (envelope-from infofarmer@gmail.com) Message-Id: <200511171023.jAHANCDr090796@proxy.gubkin.ru> Date: Thu, 17 Nov 2005 13:23:12 +0300 (MSK) From: infofarmer@gmail.com To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/89190: update deskutils/plans X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: infofarmer@gmail.com List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Nov 2005 10:30:13 -0000 >Number: 89190 >Category: ports >Synopsis: update deskutils/plans >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Nov 17 10:30:11 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Andrew Pantyukhin >Release: FreeBSD 6.0-RELEASE i386 >Organization: >Environment: System: FreeBSD proxy.gubkin.ru 6.0-RELEASE FreeBSD 6.0-RELEASE #2: Thu Nov 3 19:20:06 MSK 2005 sat@proxy.gubkin.ru:/usr/obj/usr/src/sys/SPG6 i386 >Description: o Update to 7.4.8 o Do not overwrite existing files during installation o Respect WWWDOCROOT >How-To-Repeat: >Fix: --- plans748.diff begins here --- diff -urN /usr/ports/deskutils/plans/Makefile plans/Makefile --- /usr/ports/deskutils/plans/Makefile Fri Nov 11 21:32:28 2005 +++ plans/Makefile Thu Nov 17 13:00:56 2005 @@ -7,8 +7,7 @@ # PORTNAME= plans -PORTVERSION= 7.4.7 -PORTREVISION= 1 +PORTVERSION= 7.4.8 CATEGORIES= deskutils www MASTER_SITES= http://www.planscalendar.com/release/:plans \ http://www.freebsd.org/gifs/:logo @@ -25,10 +24,13 @@ WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION} -DIR= www/data/plans -PLIST_SUB+= DIR=${DIR} +WWWDOCROOT?= www/data +PLANSSUBDIR?= plans +PLANSDIR?= ${WWWDOCROOT}/${PLANSSUBDIR} +PLIST_SUB+= DIR=${PLANSDIR} SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message +DIR= ${PREFIX}/${PLANSDIR} post-extract: ${CP} ${DISTDIR}/powerani.gif ${WRKSRC}/theme/graphics/freebsd.gif @@ -37,12 +39,12 @@ @${RM} -f ${WRKSRC}/theme/plans.template.orig do-install: - @${MKDIR} ${PREFIX}/${DIR} - @${CP} -R ${WRKSRC}/* ${PREFIX}/${DIR} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${DIR} - @${FIND} ${PREFIX}/${DIR} -type f -exec ${CHMOD} 644 {} \; - @${FIND} ${PREFIX}/${DIR} -name '*.cgi' -exec ${CHMOD} 755 {} \; - @${FIND} ${PREFIX}/${DIR} -name '*.xml' -exec ${CHMOD} 664 {} \; + @${INSTALL} -d ${DIR} + @${CP} -nR ${WRKSRC}/ ${DIR} + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${DIR} + @${FIND} ${DIR} -type f -exec ${CHMOD} 644 {} \; + @${FIND} ${DIR} -name '*.cgi' -exec ${CHMOD} 755 {} \; + @${FIND} ${DIR} -name '*.xml' -exec ${CHMOD} 664 {} \; post-install: @${CAT} ${PKGMESSAGE} diff -urN /usr/ports/deskutils/plans/distinfo plans/distinfo --- /usr/ports/deskutils/plans/distinfo Fri Nov 11 21:32:28 2005 +++ plans/distinfo Thu Nov 17 13:01:25 2005 @@ -1,6 +1,6 @@ -MD5 (plans_7.4.7.zip) = 75e77cf0b50e378a9cadb0c39f703947 -SHA256 (plans_7.4.7.zip) = 38bec8aa2c0d2a174717b423e94b7f7364b002316d6b310cefb526ff24530dbf -SIZE (plans_7.4.7.zip) = 585978 +MD5 (plans_7.4.8.zip) = 46a1d95b6264247088f56b0faa86b020 +SHA256 (plans_7.4.8.zip) = 6be1f2176a93cd76a7c75b4bf0a83bcd6ea1dac1c2b2512c722da8ac8feee94f +SIZE (plans_7.4.8.zip) = 587278 MD5 (powerani.gif) = b0f85a6c41817a2dcad0ffe6f0729fa8 SHA256 (powerani.gif) = d01c1c8299aa6c0eda0cd7c202bdf5a4ad49400377596fc2e114db6591c66d97 SIZE (powerani.gif) = 7203 diff -urN /usr/ports/deskutils/plans/pkg-plist plans/pkg-plist --- /usr/ports/deskutils/plans/pkg-plist Fri Nov 11 21:32:28 2005 +++ plans/pkg-plist Thu Nov 17 13:07:22 2005 @@ -326,7 +326,7 @@ @dirrm %%DIR%%/theme/icons @dirrm %%DIR%%/theme/graphics -@dirrm %%DIR%%/theme +@unexec rmdir %D/%%DIR%%/theme 2>/dev/null || true @unexec rmdir %D/%%DIR%%/sessions 2>/dev/null || true @unexec rmdir %D/%%DIR%%/data 2>/dev/null || true @unexec rmdir %D/%%DIR%% 2>/dev/null || echo "Note: %D/%%DIR%% not empty -- not deleted!" --- plans748.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: