From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 21 01:20:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83C45106566C for ; Thu, 21 May 2009 01:20:02 +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 56DAA8FC20 for ; Thu, 21 May 2009 01:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n4L1K2xP013533 for ; Thu, 21 May 2009 01:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n4L1K2cu013532; Thu, 21 May 2009 01:20:02 GMT (envelope-from gnats) Resent-Date: Thu, 21 May 2009 01:20:02 GMT Resent-Message-Id: <200905210120.n4L1K2cu013532@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, Alex de Kruijff Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7B98106564A for ; Thu, 21 May 2009 01:12:18 +0000 (UTC) (envelope-from akruijff@www.kruijff.org) Received: from rotring.dds.nl (rotring.dds.nl [85.17.178.138]) by mx1.freebsd.org (Postfix) with ESMTP id 61E948FC12 for ; Thu, 21 May 2009 01:12:17 +0000 (UTC) (envelope-from akruijff@www.kruijff.org) Received: from localhost (localhost [127.0.0.1]) by rotring.dds.nl (Postfix) with ESMTP id B6740272C73 for ; Thu, 21 May 2009 03:12:16 +0200 (CEST) Received: from www.kruijff.org (195-241-9-169.adsl.dds.nl [195.241.9.169]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by rotring.dds.nl (Postfix) with ESMTP id D450E272C69 for ; Thu, 21 May 2009 03:12:09 +0200 (CEST) Received: from Server1.lan (localhost [127.0.0.1]) by www.kruijff.org (8.13.6/8.13.6) with ESMTP id n4L1Af5B051273 for ; Thu, 21 May 2009 03:10:41 +0200 (CEST) (envelope-from akruijff@Server1.lan) Received: (from root@localhost) by Server1.lan (8.13.6/8.13.6/Submit) id n4L1AekW051272; Thu, 21 May 2009 03:10:40 +0200 (CEST) (envelope-from akruijff) Message-Id: <200905210110.n4L1AekW051272@Server1.lan> Date: Thu, 21 May 2009 03:10:40 +0200 (CEST) From: Alex de Kruijff To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/134769: [MAINTAINER] sysutils/samesame update port to version 1.1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2009 01:20:03 -0000 >Number: 134769 >Category: ports >Synopsis: [MAINTAINER] sysutils/samesame update port to version 1.1 >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 May 21 01:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Alex de Kruijff >Release: >Organization: >Environment: >Description: Updated port to version 1.1. The test should be fixed. >How-To-Repeat: >Fix: --- Makefile.diff begins here --- --- Makefile.orig Thu May 21 02:58:55 2009 +++ Makefile Thu May 21 03:00:00 2009 @@ -5,7 +5,7 @@ # $FreeBSD: ports/sysutils/samesame/Makefile,v 1.4 2009/05/19 14:25:13 dhn Exp $ PORTNAME= samesame -PORTVERSION= 1.0 +PORTVERSION= 1.1 CATEGORIES= sysutils MASTER_SITES= http://www.akruijff.dds.nl/samesame/ \ ${MASTER_SITE_LOCAL} @@ -18,16 +18,18 @@ MAN1= samearchive.1 samearchive-lite.1 samefile.1 samelink.1 MANCOMPRESSED= yes -PLIST_FILES= bin/samearchive \ - bin/samearchive-lite \ - bin/samefile \ - bin/samelink +PLIST_FILES= bin/samearchive bin/samefile \ + bin/samearchive-lite bin/samelink \ + etc/rc.d/samesame.sh USE_BZIP2= yes OPTIONS= DEBUG "Enables debugging support" Off \ DISK_STORAGE "Allow temporarily storage paths on disk" On \ - LOGIC "Determine results by using logic when posible" On + LOGIC "Determine results by using logic when posible" On \ + TEST "Run quality assurance test" On + +.include .if defined(WITH_DEBUG) CFLAGS+= -DDEBUG @@ -46,17 +48,21 @@ CFLAGS+= -DPATH_INIT=256 CFLAGS+= -DSTATIC_CACHE_CAPACITY=8192 -post-patch: - @${REINPLACE_CMD} -e '/^install/s|test-samefile||g' \ - -e '/^install/s|test-samelink||g' \ - -e '/^install/s|test-samearchive-lite||g' \ - -e '/^install/s|test-samearchive||g' ${WRKSRC}/Makefile +post-build: +.if defined(WITH_TEST) + cd ${WRKSRC}; ${MAKE} test +.endif + +pre-install: +.if defined(WITH_TEST) + cd ${WRKSRC}; ${MAKE} test +.endif post-install: - ${CHMOD} 770 ${WRKSRC}/test* ${STRIP_CMD} ${PREFIX}/bin/samefile ${STRIP_CMD} ${PREFIX}/bin/samelink ${STRIP_CMD} ${PREFIX}/bin/samearchive ${STRIP_CMD} ${PREFIX}/bin/samearchive-lite + ${INSTALL_SCRIPT} ${FILESDIR}/samesame.sh ${PREFIX}/etc/rc.d/ -.include +.include --- Makefile.diff ends here --- --- distinfo begins here --- MD5 (samesame-1.1.tar.bz2) = f2ce1139a82213e2095da4fef4311683 SHA256 (samesame-1.1.tar.bz2) = 87fd4e2838659e520e188b0a347c4a0f3c6903b218f6f839ad01f9d75b719479 SIZE (samesame-1.1.tar.bz2) = 41368 --- distinfo ends here --- --- files/samesame.sh begins here --- #!/bin/sh # # $FreeBSD$ # case "$1" in start) /bin/rm -rf /tmp/samefile /tmp/samearchive ;; esac --- files/samesame.sh ends here --- >Release-Note: >Audit-Trail: >Unformatted: