Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Apr 2011 14:11:58 GMT
From:      Eric Freeman <freebsdports@chillibear.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/156720: [PATCH] chinese/joe (fix PKGORIGIN)
Message-ID:  <201104291411.p3TEBwGD039986@red.freebsd.org>
Resent-Message-ID: <201104291420.p3TEK86f015884@freefall.freebsd.org>

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

>Number:         156720
>Category:       ports
>Synopsis:       [PATCH] chinese/joe (fix PKGORIGIN)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 29 14:20:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Eric Freeman
>Release:        8.0
>Organization:
>Environment:
>Description:
In response to the alerts send out by Erwin (below):

 PKGORIGIN connects packaged or installed ports to the directory they
 originated from. This is essential for tools like pkg_version or
 portupgrade to work correctly. Wrong PKGORIGINs are often caused by a
 wrong order of CATEGORIES after a repocopy.

 Please fix any errors as soon as possible.

 The ports tree was updated at Fri Apr 29 2011 12:00:22 UTC.

- *chinese/joe* <sylvio@FreeBSD.org>: editors/joe
   | revision 1.27
   | date: 2010/10/28 21:00:07;  author: erwin;  state: Exp;  lines: +1 -1
   | Deprecate md5 in favour of sha256 checksums.  md5 checksums will no longer
   | be generated or checked, and will be silently ignored for now.  Also,
   | generalize the MD5_FILE macro to DISTINFO_FILO.
   | 
   | PR:		149657
   | Submitted by:	rene
   | Approved by:	portmgr
   | Tested on:	pointyhat i386 7-exp
  (master: editors/joe)
   | revision 1.32
   | date: 2010/12/29 20:04:18;  author: pgollucci;  state: Exp;  lines: +0 -1
   | - DISTNAME= ${PORTNAME}-${PORTVERSION} is the default and not needed.
   | 
   | PR:             ports/153292
   | Submitted by:   myself (pgollucci)
   | Tested by:      -exp run by pav
   | Approved by:    portmgr (pav)

I think chinease/joe is flagging this warning because its categories entry is missing 'editors', not totally sure about that, but it seems to be the only thing missing from the Makefile that's obvious and may lead to the broken PKGORIGIN that I can think of.  I don't know if the order of the categories is important.

See: http://lists.freebsd.org/pipermail/freebsd-ports/2011-April/067484.html
>How-To-Repeat:

>Fix:
diff -ru joe.orig/Makefile joe/Makefile
--- joe.orig/Makefile	2011-04-29 14:53:44.000000000 +0100
+++ joe/Makefile	2011-04-29 15:07:39.000000000 +0100
@@ -6,7 +6,7 @@
 #
 
 PORTREVISION=	1
-CATEGORIES=	chinese
+CATEGORIES=	chinese editors
 
 PATCH_SITES=	${MASTER_SITE_LOCAL}
 PATCH_SITE_SUBDIR=	chinsan/patch

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104291411.p3TEBwGD039986>