[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Creating a Packages and Sources file.



On Thu, May 24, 2001 at 10:49:03AM +0530, Viral wrote:
> If I have uploaded experimental pacakages to my homepage, how do I make the
> required Packages and Sources files so that the packages can be used with
> apt-get ?

Use dpkg-scan{packages,sources} from dpkg-dev.

For example, I have my Packages in subdirectories unter /var/ww/debian:


-----8<-------
#!/bin/sh

cd /var/www/

BASE="debian"

dpkg-scanpackages $BASE /dev/null / > $BASE/Packages
dpkg-scansources $BASE /dev/null / > $BASE/Sources


cd $BASE
gzip < Packages > Packages.gz
gzip < Sources > Sources.gz

-----8<------


HTH, David

-- 
Signaturen sind wie Frauen. Man findet selten eine Vernuenftige
	-- gesehen in at.linux



Reply to: