[Slapt-get-devel] slack-required in Official Slackware Packages

A.J. Venter aj at getopenlab.com
Fri Sep 16 15:21:33 EDT 2005


I wrote a similiar tool as part of mkpkg, perhaps we could share some code to 
mutual bennifit ?

Ciao
A.J.
On Thu 15 Sep 05 20:23, Stefano Stabellini wrote:
> Jason Woodward wrote:
> >>That said, I was thinking if using a tool like that I could write
> >>(almost) all the dependencies of all the official slackware packages,
> >>simply executing a full slackware installation and then tracking the
> >>dependencies of every file of every package installed, looking at
> >>/var/log/packages.
> >>So I have written a little bash script that takes the PACKAGES.TXT from
> >>the official slackware and then adds the PACKAGE REQUIRED line in the
> >>way I explained before.
> >>The script is still in alpha stage: it isn't even online :P
> >>
> >>But I can use it to write a new PACKAGES.TXT file with slapt-get support
> >>and then use it to upgrade my system automatically with dependency
> >>support (I'll try this for the first time with slack 10.2, after I
> >>complete the downloads).
> >>
> >>Now I have some questions:
> >>are you interested in this subject?
> >>What do you think about?
> >>If I put online a slackware 10.2 version with the PACKAGES.TXT changed
> >>but every .tgz untouched, does slapt-get work (with dependencies)?
> >>I really don't want to fork the distro or to cause any problems so I
> >>don't want to do that sort of things, I was just thinking...
> >
> > Absolutely.  On top of filling that information in, you can provide a
> > PACKAGE MIRROR entry for the package's entry in PACKAGES.TXT to point
> > slapt-get to another location.  Your http://myurl/PACKAGES.TXT might have
> > entries like look like the following:
> >
> > PACKAGE NAME:  a2ps-4.13b-i386-2.tgz
> > PACKAGE MIRROR:  http://www.slackware.at/data/slackware-10.2/
> > PACKAGE LOCATION:  ./slackware/ap
> > PACKAGE SIZE (compressed):  859 K
> > PACKAGE SIZE (uncompressed):  3140 K
> > PACKAGE REQUIRED:
> > PACKAGE CONFLICTS:
> > PACKAGE SUGGESTS:
> > PACKAGE MD5 SUM:  fb1b24d0e7e18763777d490cce37b9f7
> > PACKAGE DESCRIPTION:
> > a2ps: a2ps (any to PostScript filter)
> > a2ps:
> > a2ps: GNU a2ps is an Any to PostScript filter.  Of course it processes
> > a2ps: plain text files, but also pretty prints quite a few popular
> > a2ps: programming languages.  Also contained in this package is psutils,
> > a a2ps: collection of programs for manipulating PostScript files.
> > a2ps:
> > a2ps: a2ps is used by Apsfilter, so be sure to install this package if
> > you a2ps: plan to do any printing.
> > a2ps:
> >
> > When you use that as a slapt-get source, slapt-get will use your location
> > for the package information, but will retrieve the packages from the
> > MIRROR location in your PACKAGES.TXT.
> >
> > Does that solve most of the problems for you?
>
> yes, definitely!! Thank you very much!
> To be sure that I have understood correctly, my repository would contain
> PACKAGES.TXT only?
> I'll work on this little project in the next days, when it is ready I'll
> let you know.
> Thanks again,
>
> Stefano
>
>
> _______________________________________________
> Slapt-get-devel mailing list
> Slapt-get-devel at software.jaos.org
> http://software.jaos.org/cgi-bin/mailman/listinfo/slapt-get-devel

-- 
"80% Of a hardware engineer's job is application of the uncertainty principle.
80% of a software engineer's job is pretending this isn't so."
A.J. Venter
Chief Software Architect
OpenLab International
http://www.getopenlab.com
http://www.silentcoder.co.za


More information about the Slapt-get-devel mailing list