From akruijff@www.kruijff.org  Thu May 21 01:12:18 2009
Return-Path: <akruijff@www.kruijff.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C7B98106564A
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <samesame@akruijff.dds.nl>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] sysutils/samesame update port to version 1.1
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         134769
>Category:       ports
>Synopsis:       [MAINTAINER] sysutils/samesame update port to version 1.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dhn
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 21 01:20:01 UTC 2009
>Closed-Date:    Mon May 25 19:57:10 UTC 2009
>Last-Modified:  Mon May 25 20:00:09 UTC 2009
>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 <bsd.port.pre.mk>
 
 .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 <bsd.port.mk>
+.include <bsd.port.post.mk>
--- 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:
Responsible-Changed-From-To: freebsd-ports-bugs->dhn 
Responsible-Changed-By: dhn 
Responsible-Changed-When: Thu May 21 08:24:31 UTC 2009 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134769 
State-Changed-From-To: open->feedback 
State-Changed-By: dhn 
State-Changed-When: Fri May 22 08:01:27 UTC 2009 
State-Changed-Why:  
Hi, your patch failed on 7.x,HEAD/i386/amd64 please check it: 
http://tb.4bit.ws/index.php?action=describe_port&id=764 -Dennis 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134769 
State-Changed-From-To: feedback->open 
State-Changed-By: dhn 
State-Changed-When: Sun May 24 12:06:50 UTC 2009 
State-Changed-Why:  
see feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134769 
State-Changed-From-To: open->feedback 
State-Changed-By: dhn 
State-Changed-When: Sun May 24 12:07:04 UTC 2009 
State-Changed-Why:  
please check again your port! it failed again 
http://tb.4bit.ws/index.php?action=describe_port&id=764 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134769 
State-Changed-From-To: feedback->closed 
State-Changed-By: dhn 
State-Changed-When: Mon May 25 19:57:09 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134769 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/134769: commit references a PR
Date: Mon, 25 May 2009 19:56:58 +0000 (UTC)

 dhn         2009-05-25 19:56:45 UTC
 
   FreeBSD ports repository
 
   Modified files:
     sysutils/samesame    Makefile distinfo 
   Added files:
     sysutils/samesame/files samesame.sh 
   Log:
   - Update to 1.1
   
   PR:             ports/134769
   Submitted by:   Alex de Kruijff <samesame@akruijff.dds.nl> (maintainer)
   
   Revision  Changes    Path
   1.5       +25 -15    ports/sysutils/samesame/Makefile
   1.2       +3 -3      ports/sysutils/samesame/distinfo
   1.1       +11 -0     ports/sysutils/samesame/files/samesame.sh (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
