1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
#!/usr/bin/make -f
%:
dh $@
override_dh_installchangelogs:
dh_installchangelogs docs/simplesamlphp-changelog.md
rm debian/simplesamlphp/usr/share/doc/simplesamlphp/simplesamlphp-changelog.md
override_dh_install:
dh_install
find debian/simplesamlphp -name .gitignore -delete
rm debian/simplesamlphp/usr/share/simplesamlphp/modules/oauth/libextinc/LICENSE.txt \
debian/simplesamlphp/usr/share/simplesamlphp/vendor/composer/LICENSE \
debian/simplesamlphp/usr/share/simplesamlphp/vendor/psr/log/LICENSE \
debian/simplesamlphp/usr/share/simplesamlphp/vendor/robrichards/xmlseclibs/LICENSE \
debian/simplesamlphp/usr/share/simplesamlphp/vendor/simplesamlphp/saml2/LICENSE \
debian/simplesamlphp/usr/share/simplesamlphp/vendor/whitehat101/apr1-md5/LICENSE \
debian/simplesamlphp/usr/share/simplesamlphp/vendor/gettext/gettext/LICENSE \
debian/simplesamlphp/usr/share/simplesamlphp/vendor/gettext/languages/LICENSE \
debian/simplesamlphp/usr/share/simplesamlphp/vendor/twig/extensions/LICENSE \
debian/simplesamlphp/usr/share/simplesamlphp/vendor/twig/twig/LICENSE
override_dh_fixperms:
dh_fixperms
chgrp www-data debian/simplesamlphp/var/lib/simplesamlphp/data \
debian/simplesamlphp/var/log/simplesamlphp
chmod u=rwx,g=wx,o= debian/simplesamlphp/var/lib/simplesamlphp/data \
debian/simplesamlphp/var/log/simplesamlphp
|