#!/usr/bin/make -f
# debian/rules for amanda using debhelper. GNU copyright 2008 by Dan Locks,
# based on work by Bdale Garbee.
-# requires automake 1.2d (from experimental tree)
# Warning - do *not* use -j on an SMP machine, or the build gets
# confused... some sort of race condition in the makefiles?
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-AMVER=2.6.2alpha
+AMVER=3.2alpha
# These are variables that the user can override. They get used in various
# places during configure, build, and install.
MAKEFLAGS="-j1 " \
CFLAGS="-pipe " \
MAILER=/usr/bin/mail \
+ --enable-as-needed \
--quiet \
--host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
--with-amandahosts \
--with-smbclient=$(BINDIR)/smbclient \
--with-debugging=$(LOGDIR) \
- --with-tcpportrange=11000,11040 \
- --with-low-tcpportrange=700,710 \
- --with-udpportrange=700,740 \
--with-ssh-security \
--with-assertions \
--enable-s3-device \
$(server)/$(AMLIBEXECDIR)/calcsize \
$(server)/$(AMLIBEXECDIR)/dumper \
$(server)/$(AMLIBEXECDIR)/planner \
- $(server)/usr/sbin/amcheck
+ $(server)/usr/sbin/amcheck \
+ $(server)/usr/sbin/amservice
chmod u=srwx,g=rx,o=r \
$(client)/$(AMLIBEXECDIR)/application/amgtar \
$(client)/$(AMLIBEXECDIR)/application/amstar \
$(server)$(AMLIBEXECDIR)/calcsize \
$(server)$(AMLIBEXECDIR)/dumper \
$(server)$(AMLIBEXECDIR)/planner \
- $(server)/usr/sbin/amcheck
+ $(server)/usr/sbin/amcheck \
+ $(server)/usr/sbin/amservice
echo "Amanda version $(AMVER)" > $(server)/$(AMANDAHOMEDIR)/amanda-release
echo "Amanda version $(AMVER)" > $(client)/$(AMANDAHOMEDIR)/amanda-release
install -o root -g root -m 0644 debian/amanda-backup-client.lintian \