From root@ridcully.dnsalias.org  Thu Oct 23 11:47:53 2003
Return-Path: <root@ridcully.dnsalias.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3F4C016A4B3
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 23 Oct 2003 11:47:53 -0700 (PDT)
Received: from ridcully.dnsalias.org (arken-16-57-39.ip-pluggen.com [194.16.57.39])
	by mx1.FreeBSD.org (Postfix) with SMTP id 9BF6343FCB
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 23 Oct 2003 11:47:51 -0700 (PDT)
	(envelope-from root@ridcully.dnsalias.org)
Received: (qmail 55875 invoked from network); 23 Oct 2003 18:47:47 -0000
Received: from dibbler.discworld (172.16.127.10)
  by 0 with SMTP; 23 Oct 2003 18:47:47 -0000
Received: by dibbler.discworld (Postfix, from userid 0)
	id 75EB040DC; Thu, 23 Oct 2003 20:47:56 +0200 (CEST)
Message-Id: <20031023184756.75EB040DC@dibbler.discworld>
Date: Thu, 23 Oct 2003 20:47:56 +0200 (CEST)
From: Martin Ranne <gasp@ridcully.dnsalias.org>
Reply-To: Martin Ranne <gasp@ridcully.dnsalias.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Update port: print/foomatic-filters to 20031022 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         58460
>Category:       ports
>Synopsis:       Update port: print/foomatic-filters to 20031022
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    linimon
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 23 11:50:12 PDT 2003
>Closed-Date:    Tue Feb 17 23:58:54 PST 2004
>Last-Modified:  Tue Feb 17 23:58:54 PST 2004
>Originator:     Martin Ranne
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD dibbler.discworld 5.1-RELEASE FreeBSD 5.1-RELEASE #2: Sun Jun 29 17:46:25 CEST 2003 gasp@dibbler.discworld:/temp/.obj/temp/.src/sys/dibbler.07 i386


	
>Description:
Update of foomatic-filters to 20031022. It now uses cvs to fetch the source.
	
>How-To-Repeat:
	
>Fix:

	

--- foomatic-filters.update begins here ---
diff -ru foomatic-filters.org/Makefile foomatic-filters/Makefile
--- foomatic-filters.org/Makefile	Thu Oct 23 18:43:42 2003
+++ foomatic-filters/Makefile	Thu Oct 23 18:49:01 2003
@@ -1,28 +1,70 @@
-# New ports collection makefile for:   foomatic-filters
-# Date created:        23 Februari 2003
-# Whom:                gasp0de
+# New ports collection makefile for:	foomatic-filters
+# Date created:			23 October 2003
+# Whom:				Martin Ranne <gasp@ridcully.dnsalias.org>
 #
 # $FreeBSD$
 #
 
-PORTNAME=foomatic-filters
-PORTVERSION=3.0.0b1
-CATEGORIES=print
-MASTER_SITES=http://www.linuxprinting.org/download/foomatic/
-DISTNAME=${PORTNAME}-3.0.0beta1
-
-MAINTAINER=gasp@ridcully.dnsalias.org
-COMMENT=Foomatic filters package
-
-LIB_DEPENDS=xml2.5:${PORTSDIR}/textproc/libxml2 \
-curl.2:${PORTSDIR}/ftp/curl \
-cups.2:${PORTSDIR}/print/cups-base
-
-USE_GMAKE=yes
-USE_PERL5=yes
-
-MAN1=foomatic-gswrapper.1 foomatic-rip.1
-
-MANCOMPRESSED=no
-GNU_CONFIGURE=yes
-.include <bsd.port.mk>
+PORTNAME=	foomatic-filters
+PORTVERSION=	20031022
+CATEGORIES=	print
+MASTER_SITES=	${MASTER_SITE_LOCAL}
+
+MAINTAINER=	gasp@ridcully.dnsalias.org
+COMMENT=	Foomatic filters package
+
+LIB_DEPENDS=	xml2.5:${PORTSDIR}/textproc/libxml2 \
+		curl.2:${PORTSDIR}/ftp/curl \
+		cups.2:${PORTSDIR}/print/cups-base
+BUILD_DEPENDS=	automake:${PORTSDIR}/devel/automake
+
+USE_GMAKE=	yes
+USE_PERL5=	yes
+USE_BZIP2=	yes
+USE_AUTOCONF=	yes
+GNU_CONFIGURE=	yes
+NO_CHECKSUM=	yes	# the tarball is created on the fly from CVS
+MAN_COMPRESSED=	no
+
+MAN1=		foomatic-gswrapper.1 foomatic-rip.1
+
+.include <bsd.port.pre.mk>
+CVS_CMD?=	cvs -z3
+CVS_DATE=	${PORTVERSION}
+CVS_SITES?=	pserver:anonymous@cvs.linuxprinting.org:/usr/local/cvs
+CVS_MODULE=	foomatic-filters
+
+#
+# CVS checkout stuff mostly stolen from security/openssh-askpass port by
+# kris@freebsd.org
+#
+do-fetch:
+	@if test ! -f ${DISTDIR}/${PKGNAME}${EXTRACT_SUFX} ; then \
+		${MKDIR} ${DISTDIR}/${PKGNAME} && \
+		cd ${DISTDIR}/${PKGNAME}; \
+		for CVS_SITE in ${CVS_SITES}; do \
+			${ECHO_MSG} ">> Attempting to check out from $${CVS_SITE}."; \
+			if ${CVS_CMD} -d:$${CVS_SITE} co -D "${CVS_DATE}" ${CVS_MODULE}; \
+			    then \
+				cd ${DISTDIR}; \
+				${ECHO_MSG} ">> Creating dist tarball in ${DISTDIR}"; \
+				${ECHO_MSG} ">> \"${PKGNAME}${EXTRACT_SUFX}\"."; \
+				${MV} ${PKGNAME}/${CVS_MODULE} \
+					${PKGNAME}/${CVS_MODULE:H}/${PKGNAME}; \
+				${TAR} -cj \
+					-X ${FILESDIR}/tarignore \
+					-f ${PKGNAME}${EXTRACT_SUFX} \
+					-C ${PKGNAME}/${CVS_MODULE:H} \
+					${PKGNAME}; \
+				exit; \
+			fi \
+		done; \
+		${RMDIR} ${DISTDIR}/${PKGNAME}; \
+		${ECHO_MSG} ">> CVS checkout failed."; \
+		exit 1; \
+	fi
+
+pre-configure:
+	@cd ${WRKSRC} && ./make_configure
+
+.include <bsd.port.post.mk>
diff -ru foomatic-filters.org/distinfo foomatic-filters/distinfo
--- foomatic-filters.org/distinfo	Thu Oct 23 18:43:42 2003
+++ foomatic-filters/distinfo	Thu Oct 23 18:59:43 2003
@@ -1 +1 @@
-MD5 (foomatic-filters-3.0.0beta1.tar.gz) = 66ac3b4b1eec86d117b8a50fd10b07af
+Data is retrieved via CVS
Only in foomatic-filters/files: patch-Makefile.in
Only in foomatic-filters/files: patch-configure.in
Only in foomatic-filters.org/files: patch-foomatic-rip.in
Only in foomatic-filters/files: tarignore
diff -ru foomatic-filters.org/pkg-plist foomatic-filters/pkg-plist
--- foomatic-filters.org/pkg-plist	Thu Oct 23 18:43:42 2003
+++ foomatic-filters/pkg-plist	Thu Oct 23 20:40:26 2003
@@ -1,5 +1,7 @@
 bin/foomatic-gswrapper
 bin/foomatic-rip
 etc/foomatic/filter.conf
+etc/foomatic/filter.conf.sample
+libexec/cups/filter/foomatic-rip
 @dirrm etc/foomatic/direct
 @dirrm etc/foomatic
--- foomatic-filters.update ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gnome 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Oct 24 23:06:18 PDT 2003 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=58460 
Responsible-Changed-From-To: gnome->freebsd-ports-bugs 
Responsible-Changed-By: marcus 
Responsible-Changed-When: Fri Oct 24 23:11:40 PDT 2003 
Responsible-Changed-Why:  
gnome@ does not maintain this port. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=58460 
Class-Changed-From-To: update->maintainer-update 
Class-Changed-By: mat 
Class-Changed-When: Mon Nov 24 03:42:54 PST 2003 
Class-Changed-Why:  
It's a maintainer-update 

http://www.freebsd.org/cgi/query-pr.cgi?pr=58460 
Responsible-Changed-From-To: freebsd-ports-bugs->linimon 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Dec 2 23:15:10 PST 2003 
Responsible-Changed-Why:  
Since I had taken ports/48813, which is supplanted by this one 
at my request, I should take this one. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=58460 
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Wed Dec 3 16:26:28 PST 2003 
State-Changed-Why:  
Note that I've asked the maintainer for feedback. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=58460 

From: Mark Linimon <linimon@lonesome.com>
To: freebsd-gnats-submit@FreeBSD.org, gasp@ridcully.dnsalias.org
Cc:  
Subject: Re: ports/58460: Update port: print/foomatic-filters to 20031022
Date: Wed, 03 Dec 2003 18:25:00 -0600

 Now that I try to install this on 4.9-PRERELEASE, I get the following:
 
  >> Creating dist tarball in /usr/ports/distfiles
  >> "foomatic-filters-20031022.tar.bz2".
 mv: rename foomatic-filters-20031022/foomatic-filters to 
 foomatic-filters-20031022/./foomatic-filters-20031022/foomatic-filters: 
 Directory not empty
 
 I have no idea what it's trying to do here :-)
 
 By the way, the patch did not include a files/tarignore file; I
 had to create an (empty) one just to get this far.
 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Tue Feb 17 23:58:18 PST 2004 
State-Changed-Why:  
No feedback from submitter (2 months).  Please submit a new PR 
if this port is still relevant, sorry. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=58460 
>Unformatted:
