Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Dec 2003 01:14:57 +0100
From:      Matthias Andree <matthias.andree@gmx.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        mp@FreeBSD.org
Subject:   ports/60484: devel/gdb53 downgraded without bumping PORTEPOCH 
Message-ID:  <E1AYDir-0004BX-Fj@libertas.emma.line.org>
Resent-Message-ID: <200312220020.hBM0KJtt083921@freefall.freebsd.org>

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

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1AYDir-0004BX-Fj>