
|
and upload the Lire .deb.
$ cd ~/cvs-sourceforge/logreport/package/debian
$ vi changelog
:r !date --rfc
$ cd /usr/local/src/debian/lire/debian/20010219
Run something like 'DIB_V=20020214 DIB_P=lire DIB_TARDIR=../archive/
./debian-install-build'. This does:
$ cd /usr/local/src/debian/lire/debian/20010219
$ cp \
~/cvs-sourceforge/logreport/service/lire-20010219.tar.gz .
$ tar zxf lire-20010219.tar.gz
$ cd lire/20010418
$ mv lire-20010418 lire-20010418.orig
$ tar zxf lire-20010418.tar.gz
$ cd lire-20010418
$ mkdir debian
$ cp \
~/cvs-sourceforge/logreport/package/debian/[^C]* debian/
Export the shell environment variable EMAIL, it should hold
your email address, as it is to appear in the
maintainers field of the package. (One could use 'dh_make --copyright gpl
-s' on first time debianizing.) Build the .deb by running:
$ debuild 2>&1 | tee /tmp/build
Check the .deb:
$ debc | less
After having really tested it (dpkg -i,
purge, etc.), optionally install it on any local apt-able websites
you might have (Joost has one on http://mdcc.cx/debian/) and
upload it to hibou's apt-able archive:
$ scp lire_20010418-1_all.deb \
hibou.logreport.org:/var/www/logreport.org/pub/debian/dists/local/contrib/binary-all/admin/
$ scp lire_20010418*.gz \
hibou.logreport.org:/var/www/logreport.org/pub/debian/dists/local/contrib/source/admin/
$ scp lire_20010418*.*s* \
hibou.logreport.org:/var/www/logreport.org/pub/debian/dists/local/contrib/source/admin/
Move the old debian stuff on hibou to hibou:/pub/archive/debian/ .
Update the Packages file by running
$ cd /var/www/logreport.org/pub/debian
$ make
To upload it to the official debian mirrors:
vanbaal@gelfand:/usr...src/debian/lire/20010418% date; \
dupload lire_20010418-1_i386.changes
Thu Apr 19 14:27:38 CEST 2001
Uploading (ftp) to ftp.uk.debian.org:debian/UploadQueue/
[ job lire_20010418-1_i386 from lire_20010418-1_i386.changes New dpkg-dev, announcement will NOT be sent
lire_20010418.orig.tar.gz, md5sum ok
lire_20010418-1.diff.gz, md5sum ok
lire_20010418-1_all.deb, md5sum ok
lire_20010418-1.dsc, md5sum ok
lire_20010418-1_i386.changes ok ]
Uploading (ftp) to uk (ftp.uk.debian.org)
lire_20010418.orig.tar.gz 163.1 kB , ok (12 s, 13.59 kB/s)
lire_20010418-1.diff.gz 32.6 kB , ok (3 s, 10.88 kB/s)
lire_20010418-1_all.deb 222.4 kB , ok (16 s, 13.90 kB/s)
lire_20010418-1.dsc 0.6 kB , ok (0 s, 0.60 kB/s)
lire_20010418-1_i386.changes 1.2 kB , ok (1 s, 1.22 kB/s) ]
check ftp://ftp.uk.debian.org/debian/UploadQueue/
|