------------------------------------------------------------------------ # step 0: rm --verbose --recursive ~/deb/pct-sudoers-config-0.0.20081210 # step 1: mkdir --verbose --parents ~/deb/pct-sudoers-config-0.0.20081210/ # 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-sudoers-config-0.0.20081210.tar.gz pct-sudoers-config-0.0.20081210/ # step 4: cd ~/deb/pct-sudoers-config-0.0.20081210/ dh_make --copyright gpl --email jelledejong@powercraft.nl --file ../pct-sudoers-config-0.0.20081210.tar.gz # step 5: echo 'etc' | tee ~/deb/pct-sudoers-config-0.0.20081210/debian/dirs # step 6: echo 'sudoers etc/' | tee ~/deb/pct-sudoers-config-0.0.20081210/debian/install # step 7: cd ~/deb/pct-sudoers-config-0.0.20081210/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-sudoers-config.default.ex pct-sudoers-config.doc-base.EX postinst.ex postrm.ex preinst.ex prerm.ex README.Debian watch.ex # step 8: vim ~/deb/pct-sudoers-config-0.0.20081210/debian/rules vim ~/deb/pct-sudoers-config-0.0.20081210/debian/copyright vim ~/deb/pct-sudoers-config-0.0.20081210/debian/changelog vim ~/deb/pct-sudoers-config-0.0.20081210/debian/control # step 9: cd ~/deb/pct-sudoers-config-0.0.20081210/debian/ debuild clean debuild debuild clean # step 10: cd ~ lintian -i ~/deb/pct-sudoers-config_0.0.20081210-1_i386.deb lintian -i ~/deb/pct-sudoers-config_0.0.20081210-1_i386.changes # step 11: dupload ~/deb/pct-sudoers-config_0.0.20081210-1_i386.changes # step 12: ssh jelle@powercraft.nl su - reprepro --verbose --ask-passphrase --basedir /var/www/powercraft.nl/packages/debian include sid /var/www/powercraft.nl/packages/debian/incoming/pct-sudoers-config_0.0.20081210-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-sudoers-config ------------------------------------------------------------------------ Setting up pct-sudoers-config (0.0.20081210-1) ... /var/lib/dpkg/info/pct-sudoers-config.postinst: 34: DESTDIR: not found /var/lib/dpkg/info/pct-sudoers-config.postinst: 34: DESTDIR: not found 13:10 < pusling> tuxcrafter: chmod it in the package and make dh_fixpermsn to not fix its permissions 13:13 < tuxcrafter> blockowitsch: i want to distribute an sudoers configuration to all my preconfigured clients 13:13 < tuxcrafter> pusling: thanks! 13:14 < tuxcrafter> so chmod in the rules file 13:14 < tuxcrafter> or postinst 13:14 < pusling> rules