From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 4 15:28:14 2005 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7DFD16A4CE for ; Fri, 4 Mar 2005 15:28:14 +0000 (GMT) Received: from relay.rdsnet.ro (gimli.rdsnet.ro [193.231.236.70]) by mx1.FreeBSD.org (Postfix) with SMTP id C856943D49 for ; Fri, 4 Mar 2005 15:28:13 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 6618 invoked from network); 4 Mar 2005 15:22:53 -0000 Received: from unknown (HELO smtp.rdsnet.ro) (62.231.74.130) by smtp1-133.rdsnet.ro with SMTP; 4 Mar 2005 15:22:53 -0000 Received: (qmail 28558 invoked by uid 89); 4 Mar 2005 15:33:59 -0000 Received: from unknown (HELO it.buh.tecnik93.com) (81.196.204.98) by 0 with SMTP; 4 Mar 2005 15:33:59 -0000 Received: from it.buh.tecnik93.com (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id 141E1114D4; Fri, 4 Mar 2005 17:28:11 +0200 (EET) Date: Fri, 4 Mar 2005 17:28:10 +0200 From: Ion-Mihai Tetcu To: Pawel Wieleba Message-ID: <20050304172810.097676a1@it.buh.tecnik93.com> In-Reply-To: <20050304150431.GA58539@volt.iem.pw.edu.pl> References: <20050304150431.GA58539@volt.iem.pw.edu.pl> X-Mailer: Sylpheed-Claws 1.0.1 (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-ports-bugs@freebsd.org cc: freebsd-ports@freebsd.org Subject: Re: [port update] print/foomatic-db; how to name the package with the current date X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2005 15:28:15 -0000 On Fri, 4 Mar 2005 16:04:32 +0100 Pawel Wieleba wrote: > Hi! > I've posted a PR: > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/78397 > > Therefore I've got a question. > As stated on http://www.linuxprinting.org/foomatic.html > devel/foomatic-db is updated daily, therefore I would like to have an > up-to-date database during port installation (fetching) on my machine, not > just the date stated in devel/foomatic-db/Makefile. > I would like to do this automaticaly and I would like that this > information (meaning date) will be added to the created package name. > > Do you have an idea how to accomplish this? > It is very simple to download the current foomatic-db but I have no idea > how to include the date in the package name. PKGNAMESUFFIX ? > It would be nice if > portupgrade could inform me if there is a newer database 'version' > available. portupgrade can't do it for you, since it has uses the information from Ports Collection Makefiles. You could do a helper script that would download the db. You could put somewhere on you website a distinfo file and update it daily and make the port fetch it and add it to the distinfo. -- IOnut Unregistered ;) FreeBSD "user"