From peterjeremy@acm.org  Sat Mar 19 01:28:19 2011
Return-Path: <peterjeremy@acm.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 939EE106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 19 Mar 2011 01:28:19 +0000 (UTC)
	(envelope-from peterjeremy@acm.org)
Received: from fallbackmx08.syd.optusnet.com.au (fallbackmx08.syd.optusnet.com.au [211.29.132.10])
	by mx1.freebsd.org (Postfix) with ESMTP id D59FC8FC08
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 19 Mar 2011 01:28:18 +0000 (UTC)
Received: from mail10.syd.optusnet.com.au (mail10.syd.optusnet.com.au [211.29.132.191])
	by fallbackmx08.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p2IN41VZ022866
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 19 Mar 2011 10:04:01 +1100
Received: from server.vk2pj.dyndns.org (c220-239-116-103.belrs4.nsw.optusnet.com.au [220.239.116.103])
	by mail10.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p2IN3wnZ022779
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 19 Mar 2011 10:03:59 +1100
Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1])
	by server.vk2pj.dyndns.org (8.14.4/8.14.4) with ESMTP id p2IN3vnL003995;
	Sat, 19 Mar 2011 10:03:57 +1100 (EST)
	(envelope-from peter@server.vk2pj.dyndns.org)
Received: (from peter@localhost)
	by server.vk2pj.dyndns.org (8.14.4/8.14.4/Submit) id p2IN3vFj003994;
	Sat, 19 Mar 2011 10:03:57 +1100 (EST)
	(envelope-from peter)
Message-Id: <201103182303.p2IN3vFj003994@server.vk2pj.dyndns.org>
Date: Sat, 19 Mar 2011 10:03:57 +1100 (EST)
From: Peter Jeremy <peterjeremy@acm.org>
Reply-To: Peter Jeremy <peterjeremy@acm.org>
To: FreeBSD-gnats-submit@freebsd.org
Subject: devel/id-utils - Update and take maintainership
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         155684
>Category:       ports
>Synopsis:       devel/id-utils - Update and take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    edwin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 19 01:30:10 UTC 2011
>Closed-Date:    Sun Mar 27 21:27:48 UTC 2011
>Last-Modified:  Sun Mar 27 21:30:11 UTC 2011
>Originator:     Peter Jeremy
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
n/a
>Environment:
System: FreeBSD server.vk2pj.dyndns.oraudio/polypaudio|audio/pulseaudio|2008-01-01|Project renamed
g 8.2-STABLE FreeBSD 8.2-STABLE #9: Sun Feb 27 17:46:10 EST 2011 root@server.vk2pj.dyndns.org:/var/obj/usr/src/sys/server amd64

>Description:
	devel/id-utils was recently deprecated because the distfile has
	vanished.  The project is still alive and kicking and it seems
	the distfile vanished due to age.  This PR takes maintainership
	and updates it to the currently released version (Jun 2010).
>How-To-Repeat:
	n/a
>Fix:
	1) Rename devel/id-utils to devel/idutils via repocopy and then
	   cvs rm devel/id-utils
        2) Add the following line to MOVED:
devel/id-utils|devel/idutils|20110319|Project renamed
	3) Apply the following patch.  Note that it includes a new file
	   "files/patch-configure".  Please create the files subdirectory
	   and remember to cvs add both it and the patch file.

Index: Makefile
===================================================================
RCS file: /usr/ncvs/ports/devel/id-utils/Makefile,v
retrieving revision 1.34
diff -u -r1.34 Makefile
--- Makefile	16 Mar 2011 13:55:37 -0000	1.34
+++ Makefile	18 Mar 2011 22:40:53 -0000
@@ -5,29 +5,25 @@
 # $FreeBSD: ports/devel/id-utils/Makefile,v 1.34 2011/03/16 13:55:37 bapt Exp $
 #
 
-PORTNAME=	id-utils
-PORTVERSION=	4.0
-PORTREVISION=	3
+PORTNAME=	idutils
+PORTVERSION=	4.5
 CATEGORIES=	devel
-MASTER_SITES=	${MASTER_SITE_GNU_ALPHA}
-MASTER_SITE_SUBDIR=	idutils
+MASTER_SITES=	GNU
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	peterjeremy@acm.org
 COMMENT=	The classic Berkeley gid/lid tools for looking up variables in code
 
-DEPRECATED=     Upstream disapear and distfile is no more available
-EXPIRATION_DATE=        2011-05-01
-
 CONFLICTS=	coreutils-[0-9]* linux-gid-[0-9]* sh-utils-[0-9]*
 
-USE_GMAKE=	yes
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/COPYING
+USE_XZ=		yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-
-INFO=		id-utils
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LDFLAGS="-L${LOCALBASE}/lib"
 
-CPPFLAGS=	-I${LOCALBASE}/include
-LDFLAGS=	-L${LOCALBASE}/lib
+INFO=		idutils
+MAN1=		aid.1 defid.1 eid.1 fid.1 fnid.1 gid.1 lid.1 mkid.1 xtokid.1
 
 .if defined(WITHOUT_NLS)
 CONFIGURE_ARGS+=	--disable-nls
@@ -37,10 +33,14 @@
 PLIST_SUB+=	NLS=""
 .endif
 
-post-extract:
-	@${RM} -f ${WRKSRC}/lib/getopt.h
+# Port configure script will auto-install the .elc file if [x]emacs is found
+.if exists(${LOCALBASE}/bin/emacs) ||  exists(${LOCALBASE}/bin/xemacs)
+PLIST_SUB+=	ELC=""
+.else
+PLIST_SUB+=	ELC="@comment "
 
 post-install:
-	${INSTALL_DATA} ${WRKSRC}/lisp/id-utils.el ${PREFIX}/share/emacs/site-lisp
+	${INSTALL_DATA} ${WRKSRC}/lisp/idutils.el ${PREFIX}/share/emacs/site-lisp
+.endif
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /usr/ncvs/ports/devel/id-utils/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- distinfo	24 Nov 2005 15:39:19 -0000	1.5
+++ distinfo	18 Mar 2011 07:05:04 -0000
@@ -1,3 +1,2 @@
-MD5 (id-utils-4.0.tar.gz) = 2053522dab62f2286579eecf2d0252e9
-SHA256 (id-utils-4.0.tar.gz) = 92dbf05578c94d46f7f1b2ebb6288e78ce1c3c8dd7fcb4f66fd8f5d30156c5f5
-SIZE (id-utils-4.0.tar.gz) = 643191
+SHA256 (idutils-4.5.tar.xz) = 62e15fbd7df43a717c88f0128a5de10f1bd11164cd222327d11285a5918011bf
+SIZE (idutils-4.5.tar.xz) = 885376
Index: pkg-descr
===================================================================
RCS file: /usr/ncvs/ports/devel/id-utils/pkg-descr,v
retrieving revision 1.3
diff -u -r1.3 pkg-descr
--- pkg-descr	21 Dec 2009 02:16:15 -0000	1.3
+++ pkg-descr	18 Mar 2011 09:00:50 -0000
@@ -5,14 +5,4 @@
 queries can be issued from the command-line, or from within emacs,
 serving as an augmented tags facility.
 
-`mkid' was originally written by Greg McGary
-and posted to comp.sources.unix in September 1987.  It was then
-maintained and enhanced by a loose knit group of programmers on the
-Internet led by Tom Horsley.  Tom released
-`mkid2' on comp.sources.unix in March, 1991.  Since then, Greg McGary
-has resumed maintenance and is releasing an improved version 3 under GPL.
-
-Version 3 is an interim release.  Version 4 will follow in the coming
-months and include a cscope clone plus other improvements.  This
-version is an improved version of version 3 (which hasn't been updated
-since 1996!), it now understands C++.
+WWW: http://www.gnu.org/software/idutils/
Index: pkg-plist
===================================================================
RCS file: /usr/ncvs/ports/devel/id-utils/pkg-plist,v
retrieving revision 1.9
diff -u -r1.9 pkg-plist
--- pkg-plist	19 May 2007 20:02:53 -0000	1.9
+++ pkg-plist	18 Mar 2011 22:30:41 -0000
@@ -7,9 +7,23 @@
 bin/lid
 bin/mkid
 bin/xtokid
-share/emacs/site-lisp/id-utils.el
+share/emacs/site-lisp/idutils.el
+%%ELC%%share/emacs/site-lisp/idutils.elc
 share/id-lang.map
-%%NLS%%share/locale/de/LC_MESSAGES/id-utils.mo
-%%NLS%%share/locale/fr/LC_MESSAGES/id-utils.mo
-%%NLS%%share/locale/nl/LC_MESSAGES/id-utils.mo
-%%NLS%%share/locale/pl/LC_MESSAGES/id-utils.mo
+%%NLS%%share/locale/da/LC_MESSAGES/idutils.mo
+%%NLS%%share/locale/de/LC_MESSAGES/idutils.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/idutils.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/idutils.mo
+%%NLS%%share/locale/ga/LC_MESSAGES/idutils.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/idutils.mo
+%%NLS%%share/locale/id/LC_MESSAGES/idutils.mo
+%%NLS%%share/locale/it/LC_MESSAGES/idutils.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/idutils.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/idutils.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/idutils.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/idutils.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/idutils.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/idutils.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/idutils.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/idutils.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/idutils.mo
--- /dev/null	2011-03-19 09:50:57.000000000 +1100
+++ files/patch-configure	2011-03-18 19:22:15.264065461 +1100
@@ -0,0 +1,20 @@
+--- configure.orig	2010-06-17 16:35:56.000000000 +1000
++++ configure	2011-03-18 19:05:56.718661721 +1100
+@@ -8239,7 +8239,7 @@
+                   || close (fd) != 0
+                   || stat (file, &st1) != 0
+                   || st0.st_atime != st1.st_atime)
+-                status |= 64;
++                status |= 0;
+             }
+             return status;
+   ;
+@@ -14722,8 +14722,6 @@
+            linux*) # On linux between 2008-07-27 and 2009-05-11, dup2 of a
+                    # closed fd may yield -EBADF instead of -1 / errno=EBADF.
+              gl_cv_func_dup2_works=no;;
+-           freebsd*) # on FreeBSD 6.1, dup2(1,1000000) gives EMFILE, not EBADF.
+-             gl_cv_func_dup2_works=no;;
+            *) gl_cv_func_dup2_works=yes;;
+          esac
+ else
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Sat Mar 19 02:07:21 UTC 2011 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=155684 
State-Changed-From-To: open->repocopy 
State-Changed-By: edwin 
State-Changed-When: Mon Mar 21 21:02:24 UTC 2011 
State-Changed-Why:  
Please repocyopy from devel/id-utils to devel/idutils as requested by new maintainer. 


Responsible-Changed-From-To: miwi->edwin 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Mar 21 21:02:24 UTC 2011 
Responsible-Changed-Why:  
Peter asked me to handle it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=155684 
Responsible-Changed-From-To: edwin->portmgr 
Responsible-Changed-By: lawrance 
Responsible-Changed-When: Thu Mar 24 09:28:43 UTC 2011 
Responsible-Changed-Why:  
Over to portmgr for repocopy. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=155684 
State-Changed-From-To: repocopy->open 
State-Changed-By: marcus 
State-Changed-When: Sun Mar 27 03:15:45 UTC 2011 
State-Changed-Why:  
Repocopy complete. 


Responsible-Changed-From-To: portmgr->lawrance 
Responsible-Changed-By: marcus 
Responsible-Changed-When: Sun Mar 27 03:15:45 UTC 2011 
Responsible-Changed-Why:  
Repocopy complete. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=155684 
Responsible-Changed-From-To: lawrance->edwin 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Mar 27 20:58:31 UTC 2011 
Responsible-Changed-Why:  
Thanks to Lawrance for keeping it warm. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=155684 
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Sun Mar 27 20:59:00 UTC 2011 
State-Changed-Why:  
All commitd. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/155684: commit references a PR
Date: Sun, 27 Mar 2011 21:22:51 +0000 (UTC)

 edwin       2011-03-27 21:22:37 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/idutils        Makefile distinfo pkg-descr pkg-plist 
   Added files:
     devel/idutils/files  patch-configure 
   Log:
   devel/id-utils - Update and take maintainership
   
   devel/id-utils was recently deprecated because the distfile has
   vanished.  The project is still alive and kicking and it seems
   the distfile vanished due to age.  This PR takes maintainership
   and updates it to the currently released version (Jun 2010).
   
   PR:             ports/155684
   Submitted by:   Peter Jeremy <peterjeremy@acm.org>
   
   Revision  Changes    Path
   1.35      +18 -18    ports/devel/idutils/Makefile
   1.6       +2 -3      ports/devel/idutils/distinfo
   1.1       +20 -0     ports/devel/idutils/files/patch-configure (new)
   1.4       +1 -11     ports/devel/idutils/pkg-descr
   1.10      +19 -5     ports/devel/idutils/pkg-plist
 _______________________________________________
 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:
