------------------------------------------------------------------------ http://mentors.debian.net/ http://debtags.alioth.debian.org/ http://debtags.alioth.debian.org/cloud/ http://debtags.alioth.debian.org/faq.html#when-are-the-tags-going-to-move-in-the-control-file http://www.debian.org/devel/constitution http://www.debian.org/doc/packaging-manuals/developers-reference/ http://www.debian.org/doc/packaging-manuals/developers-reference/best-pkging-practices.html#bpp-config-mgmt debconf-devel(7) reportbug wnpp #Intent To Package sudo apt-get install dh-make build-essential devscripts lintian dupload dput # step 1: rm --verbose --recursive ~/packages-checkout/source/pct-sshfs-storage/debian/pct-sshfs-storage-0.1.0 # step 2: mkdir --verbose ~/packages-checkout/source/pct-sshfs-storage/debian/pct-sshfs-storage-0.1.0 # step 3: cd ~/packages-checkout/source/pct-sshfs-storage/ tar --create --verbose --gzip --exclude=".svn" --file ~/packages-checkout/source/pct-sshfs-storage/pct-sshfs-storage-0.1.0.tar.gz pct-sshfs-storage-0.1.0/ tar --list --file pct-sshfs-storage-0.1.0.tar.gz # step 4: cd ~/packages-checkout/source/pct-sshfs-storage/debian/pct-sshfs-storage-0.1.0 dh_make --copyright gpl --email jelledejong@powercraft.nl --file ../../pct-sshfs-storage-0.1.0.tar.gz # step 6: echo '/etc/default/' | tee ~/packages-checkout/source/pct-sshfs-storage/debian/pct-sshfs-storage-0.1.0/debian/dirs echo '/etc/network/if-up.d/' | tee --append ~/packages-checkout/source/pct-sshfs-storage/debian/pct-sshfs-storage-0.1.0/debian/dirs echo '/etc/network/if-down.d/' | tee --append ~/packages-checkout/source/pct-sshfs-storage/debian/pct-sshfs-storage-0.1.0/debian/dirs # step 7: echo 'sshfs-storage-config etc/default' | tee ~/packages-checkout/source/pct-sshfs-storage/debian/pct-sshfs-storage-0.1.0/debian/install echo 'sshfs-storage-mount etc/network/if-up.d' | tee --append ~/packages-checkout/source/pct-sshfs-storage/debian/pct-sshfs-storage-0.1.0/debian/install echo 'sshfs-storage-umount etc/network/if-down.d' | tee --append ~/packages-checkout/source/pct-sshfs-storage/debian/pct-sshfs-storage-0.1.0/debian/install # step 8: cd ~/packages-checkout/source/pct-sshfs-storage/debian/pct-sshfs-storage-0.1.0/debian rm --verbose docs cron.d.ex emacsen-install.ex emacsen-remove.ex emacsen-startup.ex init.d.ex init.d.lsb.ex manpage.1.ex manpage.sgml.ex manpage.xml.ex menu.ex postinst.ex postrm.ex preinst.ex prerm.ex README.Debian rm --verbose pct-sshfs-storage.default.ex pct-sshfs-storage.doc-base.EX # step 9: # remove all comments # comment # $(MAKE) # uncomment # dh_install # set manpage # set changelog vim ~/packages-checkout/source/pct-sshfs-storage/debian/pct-sshfs-storage-0.1.0/debian/rules # step 10: echo 'DEBSIGN_KEYID="78830E32"' | tee ~/.devscripts echo 'DEBUILD_DPKG_BUILDPACKAGE_OPTS="-i -ICVS -I.svn"' | tee --append ~/.devscripts DEBEMAIL=jelledejong@powercraft.nl EDITOR=geany DEBFULLNAME="Jelle de Jong" export DEBEMAIL DEBFULLNAME EDITOR # see /usr/share/doc/devscripts # step 11: cd ~/packages-checkout/source/pct-sshfs-storage/debian/ tar --extract --verbose --gunzip --file ~/packages-checkout/source/pct-sshfs-storage/pct-sshfs-storage-0.1.0.tar.gz # step 12: cd ~/packages-checkout/source/pct-sshfs-storage/debian/pct-sshfs-storage-0.1.0/debian/ debuild clean debuild debuild clean # step 13: cd ~ lintian -i ~/packages-checkout/source/pct-sshfs-storage/debian/pct-sshfs-storage_0.1.0-1_all.deb lintian -i ~/packages-checkout/source/pct-sshfs-storage/debian/pct-sshfs-storage_0.1.0-1_i386.changes # step 14: dupload ~/packages-checkout/source/pct-sshfs-storage/debian/pct-sshfs-storage_0.1.0-1_i386.changes dupload --to mentors ~/packages-checkout/source/pct-sshfs-storage/debian/pct-sshfs-storage_0.1.0-1_i386.changes # dput mentors ~/packages-checkout/source/pct-sshfs-storage/debian/pct-sshfs-storage_0.1.0-2_i386.changes # step 15: ssh jelle@powercraft.nl su - # step 16: mv --verbose /home/jelle/packages/debian/incoming/* /var/www/powercraft.nl/packages/debian/incoming/ # step 17: reprepro --verbose --ask-passphrase --basedir /var/www/powercraft.nl/packages/debian remove sid pct-sshfs-server-scripts reprepro --verbose --ask-passphrase --basedir /var/www/powercraft.nl/packages/debian include sid /var/www/powercraft.nl/packages/debian/incoming/pct-sshfs-storage_0.1.0-1_i386.changes # step 18: find /var/www/powercraft.nl/packages/ -type d -exec chmod 750 {} \; find /var/www/powercraft.nl/packages/ -type f -exec chmod 640 {} \; find /var/www/powercraft.nl/packages/ -exec chgrp www-data {} \; # step 19: rm --verbose /var/www/powercraft.nl/packages/debian/incoming/* logout logout # step 16: sudo apt-get update sudo apt-get install pct-sshfs-storage ------------------------------------------------------------------------ # step 17: cd ~/packages-checkout/source/pct-sshfs-storage/ svn add pct-sshfs-storage-0.1.0.tar.gz svn add debian/pct-sshfs-storage*0.1.0* svn add pct-sshfs-storage-0.1.0.tar.gz svn add debian/pct-sshfs-storage*0.1.0-3* # svn del debian/pct-sshfs-storage*0.0.3* # svn del debian/pct-sshfs-storage*0.1.0-2* ------------------------------------------------------------------------ root@ashley:~# reprepro --verbose --ask-passphrase --basedir /var/www/powercraft.nl/packages/debian include sid /var/www/powercraft.nl/packages/debian/incoming/pct-sshfs-storage_0.0.2-1_i386.changes gpgme returned an general error verifing signature with 'D56725056F63E479' in '/var/www/powercraft.nl/packages/debian/incoming/pct-sshfs-storage_0.0.2-1_i386.changes'! Try running gpg --verify '/var/www/powercraft.nl/packages/debian/incoming/pct-sshfs-storage_0.0.2-1_i386.changes' manually for hints what is happening. If this does not print any errors, retry the command causing this message. gpgme returned an general error verifing signature with 'D56725056F63E479' in '/var/www/powercraft.nl/packages/debian/pool/main/p/pct-sshfs-storage/pct-sshfs-storage_0.0.2-1.dsc'! Try running gpg --verify '/var/www/powercraft.nl/packages/debian/pool/main/p/pct-sshfs-storage/pct-sshfs-storage_0.0.2-1.dsc' manually for hints what is happening. If this does not print any errors, retry the command causing this message. Exporting indices... generating Contents-i386... key needs a passphrase Please enter passphrase: ------------------------------------------------------------------------ root@ashley:~# gpg --verify '/var/www/powercraft.nl/packages/debian/pool/main/p/pct-sshfs-storage/pct-sshfs-storage_0.0.2-1.dsc' gpg: armor header: Hash: SHA1 gpg: armor header: Version: GnuPG v1.4.9 (GNU/Linux) gpg: original file name='' gpg: Signature made Wed 21 Jan 2009 03:20:56 PM CET using RSA key ID 6F63E479 gpg: using subkey 6F63E479 instead of primary key 78830E32 gpg: WARNING: signing subkey 6F63E479 is not cross-certified gpg: please see http://www.gnupg.org/faq/subkey-cross-certify.html for more information gpg: Can't check signature: general error ------------------------------------------------------------------------