Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Mar 2005 18:51:55 +0100
From:      Pawel Wieleba <P.Wieleba@iem.pw.edu.pl>
To:        freebsd-ports@freebsd.org
Cc:        Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
Subject:   Re: [port update] print/foomatic-db; how to name the package with the current date
Message-ID:  <20050304175155.GA73021@volt.iem.pw.edu.pl>
In-Reply-To: <20050304172810.097676a1@it.buh.tecnik93.com>
References:  <20050304150431.GA58539@volt.iem.pw.edu.pl> <20050304172810.097676a1@it.buh.tecnik93.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 04, 2005 at 05:28:10PM +0200, Ion-Mihai Tetcu wrote:
> On Fri, 4 Mar 2005 16:04:32 +0100
> Pawel Wieleba <P.Wieleba@iem.pw.edu.pl> 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 ?

I've alread checked it and I cannot use it like this:
PKGNAMESUFFIX=  -`date "+%Y%m%d"`
Simply - error;-)

> 
> > 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.

Of course, therefore I ask what mechanism I should use to enclose the date 
to a Makefile.

> 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.

Yes, but it's a lot of administrative duties, and probably useless.
The whole database is imported direrctly from CVS.

> -- 
> IOnut
> Unregistered ;) FreeBSD "user"

Thx for a comment.

Pawel Wieleba



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