ports/60484: devel/gdb53 downgraded without bumping PORTEPOCH

Matthias Andree matthias.andree at gmx.de
Mon Dec 22 00:20:22 UTC 2003


>Number:         60484
>Category:       ports
>Synopsis:       devel/gdb53 downgraded without bumping PORTEPOCH
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 21 16:20:19 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD libertas.emma.line.org 4.9-STABLE FreeBSD 4.9-STABLE #66: Sat Dec 20 20:26:40 CET 2003 toor at libertas.emma.line.org:/usr/src/sys/compile/LIBERTAS i386


	
>Description:
(maintainer cc'd)

On 2003-11-21, the devel/gdb53 port was downgraded from 5.3_20030311 to 5.3
without setting PORTEPOCH. The reason was to make the port fetchable after the
discontinuation of the gdb 5.3.1 branch according to
http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/gdb53/Makefile?rev=1.21&content-type=text/x-cvsweb-markup

The missing PORTEPOCH confuses pkg_version, and rightfully so:

# pkg_version -v -s gdb*
gdb-5.3_20030311                    >   succeeds port (port has 5.3)

Please remember to increase PORTEPOCH when downgrading the version of a port.
	
>How-To-Repeat:
	
>Fix:
Apply this patch to ports/devel/gdb53/Makefile:

diff -Nur /usr/ports/devel/gdb53/Makefile /root/gdb53/Makefile
--- /usr/ports/devel/gdb53/Makefile	Sun Nov 23 18:52:07 2003
+++ /root/gdb53/Makefile	Mon Dec 22 01:06:46 2003
@@ -8,6 +8,7 @@
 
 PORTNAME=	gdb
 PORTVERSION=	5.3
+PORTEPOCH=	1
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_SOURCEWARE}
 MASTER_SITE_SUBDIR=	gdb/releases
	
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list