From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jul 21 11:40:13 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D447F1065687 for ; Sat, 21 Jul 2012 11:40:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3D5B68FC14 for ; Sat, 21 Jul 2012 11:40:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q6LBeDZ5069844 for ; Sat, 21 Jul 2012 11:40:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q6LBeD37069843; Sat, 21 Jul 2012 11:40:13 GMT (envelope-from gnats) Resent-Date: Sat, 21 Jul 2012 11:40:13 GMT Resent-Message-Id: <201207211140.q6LBeD37069843@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, "J.R. Oldroyd" Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AD2641065673; Sat, 21 Jul 2012 11:39:46 +0000 (UTC) (envelope-from jr@opal.com) Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) by mx1.freebsd.org (Postfix) with ESMTP id 799F18FC19; Sat, 21 Jul 2012 11:39:46 +0000 (UTC) Received: from [86.219.178.3] (helo=shibato.opal.com) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SsY27-000P6C-RT; Sat, 21 Jul 2012 11:39:40 +0000 Received: from shibato.opal.com (localhost [127.0.0.1]) by shibato.opal.com (8.14.4/8.14.4) with ESMTP id q6LBdaYf044501 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 21 Jul 2012 13:39:36 +0200 (CEST) (envelope-from jr@opal.com) Received: (from jr@localhost) by shibato.opal.com (8.14.4/8.14.4/Submit) id q6LBdVec044500; Sat, 21 Jul 2012 13:39:31 +0200 (CEST) (envelope-from jr) Message-Id: <201207211139.q6LBdVec044500@shibato.opal.com> Date: Sat, 21 Jul 2012 13:39:31 +0200 (CEST) From: "J.R. Oldroyd" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: tabthorpe@FreeBSD.org, Eitan Adler Subject: ports/170052: update port: games/daimonin-music to remove NO_CHECKSUM X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "J.R. Oldroyd" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2012 11:40:13 -0000 >Number: 170052 >Category: ports >Synopsis: update port: games/daimonin-music to remove NO_CHECKSUM >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: Sat Jul 21 11:40:12 UTC 2012 >Closed-Date: >Last-Modified: >Originator: J.R. Oldroyd >Release: FreeBSD 8.2-RELEASE amd64 >Organization: >Environment: System: FreeBSD xx.opal.com 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: This update is to remove the need to have "NO_CHECKSUM" in the Makefile. The distfile here is un-versioned and has been known to change in place. This makes checksum verification not possible. The new technique removes NO_CHECKSUM and redefines the checksum code to do nothing. Separately, and also because the file might be updated in place, it is necessary for the fetch code to remove an old download so that a new version is downloaded each time this port is re-installed. This change is also made with this update. >How-To-Repeat: n/a >Fix: diff -ruN /usr/ports/games/daimonin-music/Makefile games/daimonin-music/Makefile --- /usr/ports/games/daimonin-music/Makefile 2010-09-27 11:02:56.000000000 +0200 +++ games/daimonin-music/Makefile 2012-07-21 13:22:08.000000000 +0200 @@ -6,25 +6,33 @@ # PORTNAME= daimonin-music -PORTVERSION= 20100827 +PORTVERSION= 20120721 CATEGORIES= games MASTER_SITES= SF/daimonin/Addon%20packs/Music/ -DISTFILES= AllMusic.zip +DISTNAME= AllMusic DIST_SUBDIR= ${PORTNAME:S/-music//} MAINTAINER= fbsd@opal.com COMMENT= Music for daimonin client -NO_CHECKSUM= true NO_BUILD= true +NO_PACKAGE= true USE_ZIP= true MYDATADIR= ${DATADIR:S/-music//} EXTRACT_BEFORE_ARGS= -aqo +pre-fetch: + [ ! -f ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}-${PORTVERSION}${EXTRACT_SUFX} ] && ${RM} -f ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} || ${TRUE} + +post-fetch: + ${LN} -f ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}-${PORTVERSION}${EXTRACT_SUFX} + +checksum: + ${DO_NADA} + do-install: - ${MKDIR} ${MYDATADIR}/media - ${CP} -p ${WRKDIR}/* ${MYDATADIR}/media/ + ${CP} -pr ${WRKDIR}/media ${MYDATADIR} .include diff -ruN /usr/ports/games/daimonin-music/pkg-plist games/daimonin-music/pkg-plist --- /usr/ports/games/daimonin-music/pkg-plist 2010-09-27 11:02:56.000000000 +0200 +++ games/daimonin-music/pkg-plist 2012-05-22 15:57:55.000000000 +0200 @@ -53,6 +53,7 @@ share/daimonin/media/License Note share/daimonin/media/airhits-01.ogg share/daimonin/media/airhits-02.ogg +@unexec if [ -f %D/share/daimonin/media/battle.ogg ]; then rm %D/share/daimonin/media/battle.ogg; fi share/daimonin/media/barrenlands.ogg share/daimonin/media/bubblymud.ogg share/daimonin/media/comecloser.ogg @@ -72,5 +73,5 @@ share/daimonin/media/spokyspace.ogg share/daimonin/media/swamp.ogg share/daimonin/media/thonkdonk.ogg -@dirrmtry share/daimonin/media +@dirrm share/daimonin/media @dirrmtry share/daimonin >Release-Note: >Audit-Trail: >Unformatted: