--bindir=/usr/sbin \
--libexecdir=/usr/lib/amanda \
--without-amlibexecdir \
- --with-amperldir=/usr/share/perl \
+ --without-amperldir \
--sysconfdir=/etc \
--sharedstatedir=/var/lib \
--localstatedir=/var/lib \
dh_strip -a
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
chmod -R u=rwX,g=rwX,o-rwx $(c)/var/lib/amanda/gnutar-lists
# .. setuid
chown root:backup \
+ $(c)/usr/lib/amanda/calcsize \
$(c)/usr/lib/amanda/killpgrp \
$(c)/usr/lib/amanda/rundump \
$(c)/usr/lib/amanda/runtar \
$(s)/usr/lib/amanda/planner \
$(s)/usr/sbin/amcheck
chmod u=srwx,g=rx,o=r \
+ $(c)/usr/lib/amanda/calcsize \
$(c)/usr/lib/amanda/killpgrp \
$(c)/usr/lib/amanda/rundump \
$(c)/usr/lib/amanda/runtar \
$(s)/usr/sbin/amcheck
install -o root -g root -m 0644 debian/amanda-client.lintian \
$(c)/usr/share/lintian/overrides/amanda-client
- install -o root -g root -m 0644 debian/amanda-common.lintian \
- $(r)/usr/share/lintian/overrides/amanda-common
+# install -o root -g root -m 0644 debian/amanda-common.lintian \
+# $(r)/usr/share/lintian/overrides/amanda-common
install -o root -g root -m 0644 debian/amanda-server.lintian \
$(s)/usr/share/lintian/overrides/amanda-server
- dh_makeshlibs -a
+ dh_makeshlibs -pamanda-common --noscripts
dh_installdeb -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