From sevan@newbie.thingamajig-systems.co.uk  Sun Jan 24 23:18:32 2010
Return-Path: <sevan@newbie.thingamajig-systems.co.uk>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0B9151065672
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 24 Jan 2010 23:18:32 +0000 (UTC)
	(envelope-from sevan@newbie.thingamajig-systems.co.uk)
Received: from newbie.thingamajig-systems.co.uk (newbie.thingamajig-systems.co.uk [93.97.185.103])
	by mx1.freebsd.org (Postfix) with ESMTP id 504BA8FC0C
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 24 Jan 2010 23:18:30 +0000 (UTC)
Received: from newbie.thingamajig-systems.co.uk (localhost [127.0.0.1])
	by newbie.thingamajig-systems.co.uk (8.14.3/8.14.3) with ESMTP id o0ONEstQ089406
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 24 Jan 2010 23:14:55 GMT
	(envelope-from sevan@newbie.thingamajig-systems.co.uk)
Received: (from root@localhost)
	by newbie.thingamajig-systems.co.uk (8.14.3/8.14.3/Submit) id o0ONEsEQ089405;
	Sun, 24 Jan 2010 23:14:54 GMT
	(envelope-from sevan)
Message-Id: <201001242314.o0ONEsEQ089405@newbie.thingamajig-systems.co.uk>
Date: Sun, 24 Jan 2010 23:14:54 GMT
From: Sevan Janiyan <venture37@geeklan.co.uk>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] net-p2p/javadc: use $SUB_FILES to adjust wrapper.sh 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         143195
>Category:       ports
>Synopsis:       [PATCH] net-p2p/javadc: use $SUB_FILES to adjust wrapper.sh
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    stefan
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 24 23:20:04 UTC 2010
>Closed-Date:    Fri May 21 18:57:38 UTC 2010
>Last-Modified:  Fri May 21 19:00:09 UTC 2010
>Originator:     Sevan Janiyan
>Release:        FreeBSD 8.0-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD newbie.thingamajig-systems.co.uk 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan  5 21:11:58 UTC
>Description:
use DOCSDIR in plist

Added file(s):
- files/wrapper.sh.in

Removed file(s):
- files/wrapper.sh

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- javadc-0.20_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net-p2p/javadc/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	22 Aug 2009 00:32:13 -0000	1.11
+++ Makefile	24 Jan 2010 23:13:33 -0000
@@ -29,10 +29,10 @@
 
 DOC_FILES=	COPYING ChangeLog INSTALL README
 
-post-patch:
-	@${SED} -e "s|%%JAR_DIR%%|${JAR_DIR}|;s|%%JAR_FILE%%|${JAR_FILE}|; \
-		s|%%JAVAVM%%|${JAVAVM}|;s|%%PREFIX%%|${PREFIX}|" \
-		${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh
+SUB_FILES=	wrapper.sh
+SUB_LIST=	JAR_DIR=${JAR_DIR} \
+		JAR_FILE=${JAR_FILE} \
+		JAVAVM=${JAVAVM}
 
 # as far as build goes... ;)
 do-build:
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/net-p2p/javadc/pkg-plist,v
retrieving revision 1.3
diff -u -r1.3 pkg-plist
--- pkg-plist	22 Jan 2006 02:45:50 -0000	1.3
+++ pkg-plist	24 Jan 2010 23:13:33 -0000
@@ -1,9 +1,9 @@
 bin/javadc
-%%PORTDOCS%%share/doc/javadc/COPYING
-%%PORTDOCS%%share/doc/javadc/ChangeLog
-%%PORTDOCS%%share/doc/javadc/INSTALL
-%%PORTDOCS%%share/doc/javadc/README
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/README
 %%JAR_DIR%%/%%JAR_FILE%%
 @dirrm %%JAR_DIR%%
-%%PORTDOCS%%@dirrm share/doc/javadc
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrmtry share/java/jar
Index: files/wrapper.sh
===================================================================
RCS file: files/wrapper.sh
diff -N files/wrapper.sh
--- files/wrapper.sh	16 Aug 2002 02:18:14 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-PREFIX="%%PREFIX%%"
-JAVAVM="%%JAVAVM%%"
-JAR_DIR="%%JAR_DIR%%"
-JAR_FILE="%%JAR_FILE%%"
-
-${JAVAVM} -jar ${PREFIX}/${JAR_DIR}/${JAR_FILE} "${@}"
Index: files/wrapper.sh.in
===================================================================
RCS file: files/wrapper.sh.in
diff -N files/wrapper.sh.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/wrapper.sh.in	24 Jan 2010 23:13:33 -0000
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+PREFIX="%%PREFIX%%"
+JAVAVM="%%JAVAVM%%"
+JAR_DIR="%%JAR_DIR%%"
+JAR_FILE="%%JAR_FILE%%"
+
+${JAVAVM} -jar ${PREFIX}/${JAR_DIR}/${JAR_FILE} "${@}"
--- javadc-0.20_2.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pgollucci 
State-Changed-When: Sun Jan 31 01:42:12 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=143195 
State-Changed-From-To: closed->open 
State-Changed-By: pgollucci 
State-Changed-When: Sun Jan 31 01:44:48 UTC 2010 
State-Changed-Why:  
oops, wrong script, re-open, assign to myself 


Responsible-Changed-From-To: freebsd-ports-bugs->pgollucci 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Sun Jan 31 01:44:48 UTC 2010 
Responsible-Changed-Why:  
oops, wrong script, re-open, assign to myself 

http://www.freebsd.org/cgi/query-pr.cgi?pr=143195 
Responsible-Changed-From-To: pgollucci->freebsd-ports-bugs 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Sun Jan 31 04:05:58 UTC 2010 
Responsible-Changed-Why:  
I don't do java 

http://www.freebsd.org/cgi/query-pr.cgi?pr=143195 
State-Changed-From-To: open->feedback 
State-Changed-By: stefan 
State-Changed-When: Fri May 21 17:32:32 UTC 2010 
State-Changed-Why:  
Awaiting submitter's feedback. 


Responsible-Changed-From-To: freebsd-ports-bugs->stefan 
Responsible-Changed-By: stefan 
Responsible-Changed-When: Fri May 21 17:32:32 UTC 2010 
Responsible-Changed-Why:  
Track this for now. 

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

From: Stefan Walter <stefan@freebsd.org>
To: Sevan Janiyan <venture37@geeklan.co.uk>
Cc: GNATS <FreeBSD-gnats-submit@FreeBSD.org>
Subject: Re: ports/143195: [PATCH] net-p2p/javadc: use $SUB_FILES to adjust
 wrapper.sh
Date: Fri, 21 May 2010 19:32:19 +0200

 Hi Sevan,
 
 there hasn't been an update on your PR for net-p2p/javadc [1] for a while.
 The port doesn't have a maintainer, so I'm wondering if you might be
 willing to become its maintainer in case you have some interest in that
 port.  However, I'm also wondering if the port really serves any purpose.
 It seems to be an old version of that software which can only be used with
 the JDK 1.3, and the sources are pulled from the FreeBSD mirrors only, no
 master site is known. If you don't have an interest in the software, I
 would mark the port as DEPRECATED so that it would eventually be removed
 from the ports tree.
 
 Please let me know what you think.
 
 Regards,
 Stefan

From: Venture37 <venture37@geeklan.co.uk>
To: Stefan Walter <stefan@freebsd.org>
Cc: GNATS <FreeBSD-gnats-submit@FreeBSD.org>
Subject: Re: ports/143195: [PATCH] net-p2p/javadc: use $SUB_FILES to adjust
 wrapper.sh
Date: Fri, 21 May 2010 19:12:52 +0100

 On 21/05/2010 18:32, Stefan Walter wrote:
 > Hi Sevan,
 >
 > there hasn't been an update on your PR for net-p2p/javadc [1] for a while.
 > The port doesn't have a maintainer, so I'm wondering if you might be
 > willing to become its maintainer in case you have some interest in that
 > port.  However, I'm also wondering if the port really serves any purpose.
 > It seems to be an old version of that software which can only be used with
 > the JDK 1.3, and the sources are pulled from the FreeBSD mirrors only, no
 > master site is known. If you don't have an interest in the software, I
 > would mark the port as DEPRECATED so that it would eventually be removed
 > from the ports tree.
 >
 > Please let me know what you think.
 >
 > Regards,
 > Stefan
 
 Hi Stefan,
 Mark it deprecared, I was just working through the tree, tidying up 
 ports. I don't use net-p2p/javadc.
 
 
 Sevan
State-Changed-From-To: feedback->closed 
State-Changed-By: stefan 
State-Changed-When: Fri May 21 18:56:22 UTC 2010 
State-Changed-Why:  
Port marked DEPRECATED. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/143195: commit references a PR
Date: Fri, 21 May 2010 18:55:50 +0000 (UTC)

 stefan      2010-05-21 18:55:38 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net-p2p/javadc       Makefile 
   Log:
   Mark as DEPRECATED: The software is ancient, unmaintained, works with the JDK
   1.3 only and does not have a master/project site.
   
   PR:             ports/143195
   Submitted by:   Sevan Janiyan <venture37@geeklan.co.uk>
   Patch by:       stefan
   
   Revision  Changes    Path
   1.12      +5 -0      ports/net-p2p/javadc/Makefile
 _______________________________________________
 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:
