------------------------------------------------------------------------ pct-hsdpa-3g-huawei-e220-vodafone-0.0.20081212 # step 0: rm --verbose --recursive ~/deb/pct-hsdpa-3g-huawei-e220-vodafone-0.0.20081212 # step 1: mkdir --verbose --parents ~/deb/pct-hsdpa-3g-huawei-e220-vodafone-0.0.20081212/ # step 2: echo 'DEBSIGN_KEYID="78830E32"' | tee ~/deb/.devscripts echo 'DEBUILD_DPKG_BUILDPACKAGE_OPTS="-i -ICVS -I.svn"' | tee --append ~/deb/.devscripts DEBEMAIL=jelledejong@powercraft.nl EDITOR=geany DEBFULLNAME="Jelle de Jong" export DEBEMAIL DEBFULLNAME EDITOR # step 3: cd ~/deb/ tar --create --verbose --gzip --file ~/deb/pct-hsdpa-3g-huawei-e220-vodafone-0.0.20081212.tar.gz pct-hsdpa-3g-huawei-e220-vodafone-0.0.20081212/ # step 4: cd ~/deb/pct-hsdpa-3g-huawei-e220-vodafone-0.0.20081212/ dh_make --copyright gpl --email jelledejong@powercraft.nl --file ../pct-hsdpa-3g-huawei-e220-vodafone-0.0.20081212.tar.gz # step 5: echo 'usr/bin' | tee ~/deb/pct-hsdpa-3g-huawei-e220-vodafone-0.0.20081212/debian/dirs echo 'usr/share/pct-hsdpa-3g-huawei-e220-vodafone' | tee --append ~/deb/pct-hsdpa-3g-huawei-e220-vodafone-0.0.20081212/debian/dirs # step 7: cd ~/deb/pct-hsdpa-3g-huawei-e220-vodafone-0.0.20081212/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 pct-hsdpa-3g-huawei-e220-vodafone.default.ex pct-hsdpa-3g-huawei-e220-vodafone.doc-base.EX postinst.ex postrm.ex preinst.ex prerm.ex README.Debian watch.ex # step 8: vim ~/deb/pct-hsdpa-3g-huawei-e220-vodafone-0.0.20081212/debian/rules vim ~/deb/pct-hsdpa-3g-huawei-e220-vodafone-0.0.20081212/debian/copyright vim ~/deb/pct-hsdpa-3g-huawei-e220-vodafone-0.0.20081212/debian/changelog vim ~/deb/pct-hsdpa-3g-huawei-e220-vodafone-0.0.20081212/debian/control # step 9: cd ~/deb/pct-hsdpa-3g-huawei-e220-vodafone-0.0.20081212/debian/ debuild clean debuild debuild clean # step 10: cd ~ lintian -i ~/deb/pct-hsdpa-3g-huawei-e220-vodafone_0.0.20081212-1_i386.deb lintian -i ~/deb/pct-hsdpa-3g-huawei-e220-vodafone_0.0.20081212-1_i386.changes # step 11: dupload ~/deb/pct-hsdpa-3g-huawei-e220-vodafone_0.0.20081212-1_i386.changes # step 12: ssh jelle@powercraft.nl su - # reprepro --verbose --ask-passphrase --basedir /var/www/powercraft.nl/packages/debian remove sid pct-hsdpa-3g-huawei-e220-vodafone reprepro --verbose --ask-passphrase --basedir /var/www/powercraft.nl/packages/debian include sid /var/www/powercraft.nl/packages/debian/incoming/pct-hsdpa-3g-huawei-e220-vodafone_0.0.20081212-1_i386.changes 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 {} \; rm --verbose /var/www/powercraft.nl/packages/debian/incoming/* logout logout # step 13: sudo apt-get update sudo apt-get install pct-hsdpa-3g-huawei-e220-vodafone ------------------------------------------------------------------------