Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Mar 2005 10:55:46 +0800 (CST)
From:      Xin LI <delphij@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        kris@FreeBSD.org
Subject:   ports/78268: [MAINTAINER UPDATE] Unbreak postfix-gps fetch error
Message-ID:  <200503020255.j222tkg9025285@tarsier.delphij.net>
Resent-Message-ID: <200503020300.j2230gR3047001@freefall.freebsd.org>

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

>Number:         78268
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] Unbreak postfix-gps fetch error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 02 03:00:42 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Xin LI
>Release:        FreeBSD 5.3-RELEASE-p5 i386
>Organization:
The FreeBSD Simplified Chinese Project
>Environment:
System: FreeBSD tarsier.delphij.net 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Sat Jan 22 01:19:23 CST 2005 root@builder.delphij.net:/usr/obj/usr/src/sys/MULE i386

>Description:
	Previously, postfix-gps distributes the maintaince script outside
their package.  Recent development of the software has a new branch and
hence the gps-maintain.pl provided on the website is changed to fit latest
development version. 
>How-To-Repeat:
	N/A
>Fix:

	The attached patch will use stoke script instead of fetching one
from the website.

--- patch-gps begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/postfix-gps/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	28 Feb 2005 04:34:12 -0000	1.5
+++ Makefile	2 Mar 2005 02:50:59 -0000
@@ -7,11 +7,11 @@
 
 PORTNAME=	gps
 PORTVERSION=	0.93
+PORTREVISION=	1
 CATEGORIES=	mail security
 MASTER_SITES=	http://mimo.gn.apc.org/gps/
 PKGNAMEPREFIX=	postfix-
-DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}	\
-		${SCRIPT_FILES}
+DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
 EXTRACT_ONLY=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
 
 MAINTAINER=	delphij@FreeBSD.org
@@ -20,9 +20,7 @@
 LIB_DEPENDS=	dbi.0:${PORTSDIR}/databases/libdbi
 RUN_DEPENDS=	${LOCALBASE}/lib/dbd:${PORTSDIR}/databases/libdbi-drivers
 
-BROKEN=		Size mismatch
-
-SCRIPT_FILES=	gps-maintain.pl
+SCRIPT_FILES=	gps-maintain.pl gps-db-update.pl
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
@@ -39,7 +37,7 @@
 post-install:
 	@${INSTALL_DATA} ${WRKSRC}/etc/gps.conf ${PREFIX}/etc/gps.conf-dist
 .for f in ${SCRIPT_FILES}
-	@${INSTALL_SCRIPT} ${_DISTDIR}/${f} ${PREFIX}/libexec
+	@${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/libexec
 .endfor
 	@${CAT} ${PKGMESSAGE}
 
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/mail/postfix-gps/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo	13 Feb 2005 16:21:47 -0000	1.2
+++ distinfo	2 Mar 2005 02:39:43 -0000
@@ -1,4 +1,2 @@
 MD5 (gps-0.93.tar.gz) = cd12ea6ca4b4bea06690a3356aabd7b2
 SIZE (gps-0.93.tar.gz) = 338790
-MD5 (gps-maintain.pl) = e42d47d0b093d54277de826f24ccb1bd
-SIZE (gps-maintain.pl) = 3502
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/mail/postfix-gps/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- pkg-plist	13 Feb 2005 16:21:47 -0000	1.2
+++ pkg-plist	2 Mar 2005 02:48:20 -0000
@@ -1,3 +1,4 @@
 etc/gps.conf-dist
 libexec/gps
 libexec/gps-maintain.pl
+libexec/gps-db-update.pl
--- patch-gps ends here ---


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



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