------------------------------------------------------------------------ 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-support-scripts/debian/pct-support-scripts-0.1.5 # step 2: mkdir --verbose ~/packages-checkout/source/pct-support-scripts/debian/pct-support-scripts-0.1.5 # step 3: cd ~/packages-checkout/source/pct-support-scripts/ tar --create --verbose --gzip --exclude=".svn" --file ~/packages-checkout/source/pct-support-scripts/pct-support-scripts-0.1.5.tar.gz pct-support-scripts-0.1.5/ tar --list --file pct-support-scripts-0.1.5.tar.gz # step 4: cd ~/packages-checkout/source/pct-support-scripts/debian/pct-support-scripts-0.1.5 dh_make --copyright gpl --email jelledejong@powercraft.nl --file ../../pct-support-scripts-0.1.5.tar.gz # step 5: cd ~/packages-checkout/source/pct-support-scripts/debian/pct-support-scripts-0.1.5/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-support-scripts.default.ex pct-support-scripts.doc-base.EX # step 6: # remove all comments # comment # $(MAKE) # uncomment # dh_install # set manpage # set changelog vim ~/packages-checkout/source/pct-support-scripts/debian/pct-support-scripts-0.1.5/debian/rules # step 7: 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 8: cd ~/packages-checkout/source/pct-support-scripts/debian/ tar --extract --verbose --gunzip --file ~/packages-checkout/source/pct-support-scripts/pct-support-scripts-0.1.5.tar.gz # step 9: cd ~/packages-checkout/source/pct-support-scripts/debian/pct-support-scripts-0.1.5/debian/ debuild clean debuild debuild clean # step 10: cd ~ lintian -i ~/packages-checkout/source/pct-support-scripts/debian/pct-support-scripts_0.1.5-1_all.deb lintian -i ~/packages-checkout/source/pct-support-scripts/debian/pct-support-scripts_0.1.5-1_i386.changes # step 14: dupload ~/packages-checkout/source/pct-support-scripts/debian/pct-support-scripts_0.1.5-1_i386.changes dupload --to mentors ~/packages-checkout/source/pct-support-scripts/debian/pct-support-scripts_0.1.5-1_i386.changes # dput mentors ~/packages-checkout/source/pct-support-scripts/debian/pct-support-scripts_0.1.5-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-support-scripts_0.1.5-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-support-scripts ------------------------------------------------------------------------ # step 17: cd ~/packages-checkout/source/pct-support-scripts/ svn add pct-support-scripts-0.1.5.tar.gz svn add debian/pct-support-scripts*0.1.5* svn add pct-support-scripts-0.1.5.tar.gz svn add debian/pct-support-scripts*0.1.5-3* # svn del debian/pct-support-scripts*0.0.3* # svn del debian/pct-support-scripts*0.1.5-2* ------------------------------------------------------------------------ root@ashley:~# reprepro --verbose --ask-passphrase --basedir /var/www/powercraft.nl/packages/debian include sid /var/www/powercraft.nl/packages/debian/incoming/pct-support-scripts_0.0.2-1_i386.changes gpgme returned an general error verifing signature with 'D56725056F63E479' in '/var/www/powercraft.nl/packages/debian/incoming/pct-support-scripts_0.0.2-1_i386.changes'! Try running gpg --verify '/var/www/powercraft.nl/packages/debian/incoming/pct-support-scripts_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-support-scripts/pct-support-scripts_0.0.2-1.dsc'! Try running gpg --verify '/var/www/powercraft.nl/packages/debian/pool/main/p/pct-support-scripts/pct-support-scripts_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-support-scripts/pct-support-scripts_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 ------------------------------------------------------------------------