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

Stefano Stabellini stefano at stabellini.net
Thu Sep 15 14:23:08 EDT 2005


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




More information about the Slapt-get-devel mailing list