Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2006 08:22:07 GMT
From:      Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/98203: [PATCH] print/foomatic-db-engine: update to 20060531, take maintainership
Message-ID:  <200605310822.k4V8M7qf009844@www.freebsd.org>
Resent-Message-ID: <200605310830.k4V8UFcO027609@freefall.freebsd.org>

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

>Number:         98203
>Category:       ports
>Synopsis:       [PATCH] print/foomatic-db-engine: update to 20060531, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 31 08:30:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jose Alonso Cardenas Marquez
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
BSDPeru (http://www.bsd.org.pe)
>Environment:
FreeBSD HellFire.BSD.org.pe 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed May 24 08:30:45 PET 2006
>Description:
- Update to 20060531
- Take maintainership
- The foomatic-db-engine distfile is needing house on freebsd mirrors. The fetch command is forbidden for download foomatic-db-engine's file on linuxprinting's site.
- I will update it each 15 days.
>How-To-Repeat:

>Fix:
--- foomatic-db-engine-20060531.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/print/foomatic-db-engine/Makefile /usr/ports/print/foomatic-db-engine-new/Makefile
--- /usr/ports/print/foomatic-db-engine/Makefile	Tue Oct 12 07:16:21 2004
+++ /usr/ports/print/foomatic-db-engine-new/Makefile	Wed May 31 03:14:19 2006
@@ -5,14 +5,16 @@
 # $FreeBSD: ports/print/foomatic-db-engine/Makefile,v 1.17 2004/10/12 12:16:21 krion Exp $
 #
 
-PORTNAME=	foomatic-db-engine
-PORTVERSION=	3.0.2
-PORTEPOCH=	1
+PORTNAME=	engine
+PORTVERSION=	20060531
 CATEGORIES=	print
-MASTER_SITES=	http://www.linuxprinting.org/download/foomatic/%SUBDIR%/
-MASTER_SITE_SUBDIR=	. oldstuff
+MASTER_SITES=	${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR=
+PKGNAMEPREFIX=	foomatic-db-
+DISTNAME=	${PKGNAMEPREFIX}${PORTNAME}-${FOOMATICVER}-${PORTVERSION}
+DIST_SUBDIR=	foomatic
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	acardenas@bsd.org.pe
 COMMENT=	Foomatic database engine
 
 BUILD_DEPENDS=	curl:${PORTSDIR}/ftp/curl
@@ -24,6 +26,8 @@
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	PERL=${PERL} LIBDIR=${PREFIX}/share/foomatic/
 
+FOOMATICVER=	3.0
+
 MAN1=		foomatic-printjob.1 foomatic-ppdfile.1 foomatic-perl-data.1 \
 		foomatic-configure.1 foomatic-compiledb.1 foomatic-combo-xml.1 \
 		foomatic-ppd-options.1
@@ -32,10 +36,10 @@
 		foomatic-addpjloptions.8
 
 post-patch:
-	@${PERL} -pi.bak -e \
+	@${REINPLACE_CMD} -e \
 		"s,sysconfdir=/etc,sysconfdir=\'${PREFIX}/etc\',g ; \
 		 s,/usr/local/etc:,${PREFIX}/etc:,g" ${WRKSRC}/configure
-	@${PERL} -pi.bak -e \
+	@${REINPLACE_CMD} -e \
 		"s,/usr/local/bin:,${PREFIX}/bin:,g" ${WRKSRC}/Makefile.in
 
 post-install:
diff -ruN --exclude=CVS /usr/ports/print/foomatic-db-engine/distinfo /usr/ports/print/foomatic-db-engine-new/distinfo
--- /usr/ports/print/foomatic-db-engine/distinfo	Fri Nov 25 16:24:49 2005
+++ /usr/ports/print/foomatic-db-engine-new/distinfo	Wed May 31 02:56:32 2006
@@ -1,3 +1,3 @@
-MD5 (foomatic-db-engine-3.0.2.tar.gz) = 3061b8d3f7870467e6fbeae8d4399211
-SHA256 (foomatic-db-engine-3.0.2.tar.gz) = d4070ec489d347810569bc6a9f6289be3b54ea42afea18116c0e06bf16e41a3c
-SIZE (foomatic-db-engine-3.0.2.tar.gz) = 286367
+MD5 (foomatic/foomatic-db-engine-3.0-20060531.tar.gz) = 75c4bb04054726493c6d0e373d02e071
+SHA256 (foomatic/foomatic-db-engine-3.0-20060531.tar.gz) = c3c9af257bb856095db89540edd20f2ac22698df2cf40feb9ae968b00eeac29b
+SIZE (foomatic/foomatic-db-engine-3.0-20060531.tar.gz) = 312455
diff -ruN --exclude=CVS /usr/ports/print/foomatic-db-engine/pkg-plist /usr/ports/print/foomatic-db-engine-new/pkg-plist
--- /usr/ports/print/foomatic-db-engine/pkg-plist	Wed Jan 25 17:58:30 2006
+++ /usr/ports/print/foomatic-db-engine-new/pkg-plist	Wed May 31 03:00:38 2006
@@ -6,12 +6,8 @@
 bin/foomatic-ppd-options
 bin/foomatic-ppdfile
 bin/foomatic-printjob
-%%SITE_PERL%%/Foomatic/DB.pm
-%%SITE_PERL%%/Foomatic/Defaults.pm
-%%SITE_PERL%%/Foomatic/PPD.pm
-%%SITE_PERL%%/Foomatic/UIElem.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Foomatic/.packlist
 sbin/foomatic-addpjloptions
+sbin/foomatic-cleanupdrivers
 sbin/foomatic-fix-xml
 sbin/foomatic-getpjloptions
 sbin/foomatic-kitload
@@ -22,8 +18,6 @@
 share/foomatic/templates/pjl_enum_choice.xml
 share/foomatic/templates/pjl_enum_option.xml
 share/foomatic/templates/pjl_num_option.xml
-@dirrm %%SITE_PERL%%/Foomatic
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Foomatic
 @dirrm share/foomatic/templates
 @dirrmtry share/foomatic
 @unexec rmdir %D/etc/foomatic
--- foomatic-db-engine-20060531.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?200605310822.k4V8M7qf009844>