X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=debian%2Frules;h=74c21710c3acce84cb99eeb2395527b7cfa14877;hb=410e1914f1e53a812bcbb4601c90b9506f98ace1;hp=f4175e6d25e9f7014c78c4468e749da382bd0772;hpb=52df3cb57c7f6b6e8610cd3d5cb6921f855df457;p=debian%2Famanda diff --git a/debian/rules b/debian/rules index f4175e6..74c2171 100755 --- a/debian/rules +++ b/debian/rules @@ -50,7 +50,7 @@ configure-stamp: build: build-stamp build-stamp: configure-stamp dh_testdir - MAILER=/usr/bin/mail make CFLAGS="-O2 -g -Wall \ + MAILER=/usr/bin/mail $(MAKE) CFLAGS="-O2 -g -Wall \ -DAMANDATES_FILE='\"/var/lib/amanda/amandates\"' \ -DIGNORE_TAR_ERRORS " touch build-stamp @@ -92,7 +92,6 @@ binary-arch: build dh_compress -a dh_movefiles -a --sourcedir=debian/amanda-common rm -r $(r)/usr/share/amanda - rm $(s)/usr/lib/amanda/chg-mtx dh_fixperms -av # fix perms manually chown -R backup:backup debian/*/var/lib/* @@ -105,6 +104,9 @@ binary-arch: build chmod -R u=rwX,g=rwX,o-rwx $(c)/var/lib/amanda/gnutar-lists # .. setuid chown root:backup \ + $(c)/usr/lib/amanda/application/amgtar \ + $(c)/usr/lib/amanda/application/amstar \ + $(c)/usr/lib/amanda/calcsize \ $(c)/usr/lib/amanda/killpgrp \ $(c)/usr/lib/amanda/rundump \ $(c)/usr/lib/amanda/runtar \ @@ -112,6 +114,9 @@ binary-arch: build $(s)/usr/lib/amanda/planner \ $(s)/usr/sbin/amcheck chmod u=srwx,g=rx,o=r \ + $(c)/usr/lib/amanda/application/amgtar \ + $(c)/usr/lib/amanda/application/amstar \ + $(c)/usr/lib/amanda/calcsize \ $(c)/usr/lib/amanda/killpgrp \ $(c)/usr/lib/amanda/rundump \ $(c)/usr/lib/amanda/runtar \ @@ -126,6 +131,7 @@ binary-arch: build $(s)/usr/share/lintian/overrides/amanda-server dh_makeshlibs -pamanda-common --noscripts dh_installdeb -a + dh_perl -a dh_shlibdeps -a -l"debian/amanda-common/usr/lib:debian/amanda-client/usr/lib:debian/amanda-server/usr/lib" # strip out the non-versioned amanda-common references, we need # the versioned ones in the control file and dupes are ugly...