Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 2004 22:14:50 +0200
From:      Radim Kolar <hsn@netmag.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        hsn@netmag.cz
Subject:   ports/70800: [mu] sysutils/portindex: fix symlink case
Message-ID:  <E1BycGI-00077l-AK@sanatana.dharma>
Resent-Message-ID: <200408212040.i7LKeZD2084285@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         70800
>Category:       ports
>Synopsis:       [mu] sysutils/portindex: fix symlink case
>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 Aug 21 20:40:34 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Radim Kolar
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD sanatana.dharma 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Thu Aug 19 19:04:54 CEST 2004
>Description:
Fix case while /usr/ports is symlink to somewhere else. Not tested, but
it should not break any existing code.

Reported by  Alex Varju <alex@varju.ca>

Added file(s):
- files/patch-varju

Port maintainer (hsn@netmag.cz) is cc'd.

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

--- portindex-18_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/portindex/Makefile /home/hsn/myports/portindex/Makefile
--- /usr/ports/sysutils/portindex/Makefile	Fri Jul 30 19:08:46 2004
+++ /home/hsn/myports/portindex/Makefile	Sat Aug 21 22:03:38 2004
@@ -7,6 +7,7 @@
 
 PORTNAME=	portindex
 PORTVERSION=	18
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://people.tecnik93.com/~radim/distfiles/
 DISTNAME=	bsdportsutils-${PORTVERSION}
diff -ruN --exclude=CVS /usr/ports/sysutils/portindex/files/patch-varju /home/hsn/myports/portindex/files/patch-varju
--- /usr/ports/sysutils/portindex/files/patch-varju	Thu Jan  1 01:00:00 1970
+++ /home/hsn/myports/portindex/files/patch-varju	Sat Aug 21 22:07:14 2004
@@ -0,0 +1,23 @@
+--- freebsdports.py.bak	Wed Jul 28 14:03:59 2004
++++ freebsdports.py	Sat Aug 21 22:05:52 2004
+@@ -117,9 +117,9 @@
+             print 'Output of make describe has',len(spl),'fields.'
+             return False
+         if this.path!=spl[1]:
+-            print "Port path is",this.path,"but Makefile reports",spl[1]
++            print "Warning: port path is",this.path,"but Makefile reports",spl[1]
+         this.name=spl[0]
+-        this.path=spl[1]
++        #this.path=spl[1]
+         this.prefix=spl[2]
+         this.comment=sre.sub(r'\s{2,}',' ',spl[3].strip())
+         this.dfile=spl[4]
--- portindex-18_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1BycGI-00077l-AK>