-smartmontools (6.3+svn4002-2.1) UNRELEASED; urgency=medium
-
- [ Helmut Grohne ]
- * Non-maintainer upload.
- * Fix FTCBFS. (Closes: #794035)
- + Pass --build and --host to configure
-
- [ Tobias Frost ]
- * Import patch from Helmut (see above)
- * Remove '/var/lib/smartmontools' on purge (Closes: #766145)
- * Fixed postinst script: Version is only valid when configuring.
- (Closes: #766146)
-
- -- Helmut Grohne <helmut@subdivi.de> Thu, 30 Jul 2015 01:18:49 +0200
-
-smartmontools (6.3+svn4002-2) unstable; urgency=low
-
- * [12d5f9d] Correct maintscript syntax (Closes: #766178)
-
- -- Giuseppe Iuculano <iuculano@debian.org> Tue, 21 Oct 2014 13:30:40 +0200
-
smartmontools (6.3+svn4002-1) unstable; urgency=low
* [03a62f0] Set EnvironmentFile=-/etc/default/smartmontools in smartd.service
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_ARCH_OS ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
+DEB_BUILD_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU)
ifeq ($(DEB_HOST_ARCH_OS),linux)
CONFIGURE_ARGS += --with-selinux
dh_testdir
./autogen.sh
CFLAGS="${CFLAGS}" CXXFLAGS="${CFLAGS}" ./configure --prefix=/usr \
- --build=$(DEB_BUILD_GNU_TYPE) \
- --host=$(DEB_HOST_GNU_TYPE) \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--with-initscriptdir=no \
set -e
# Remove shutdown and reboot links; this init script does not need them.
-case "$1" in
- configure)
- if dpkg --compare-versions "$2" lt "5.38+svn2879-1"; then
- if [ -e /etc/rc0.d/K20smartmontools ]; then
- rm -f /etc/rc0.d/K20smartmontools
- fi
- if [ -e /etc/rc6.d/K20smartmontools ]; then
- rm -f /etc/rc6.d/K20smartmontools
- fi
+if dpkg --compare-versions "$2" lt "5.38+svn2879-1"; then
+ if [ -e /etc/rc0.d/K20smartmontools ]; then
+ rm -f /etc/rc0.d/K20smartmontools
fi
- ;;
-esac
+ if [ -e /etc/rc6.d/K20smartmontools ]; then
+ rm -f /etc/rc6.d/K20smartmontools
+ fi
+fi
dpkg-maintscript-helper rm_conffile \
- /etc/init.d/smartd 6.1+svn3812-1~ smartmontools -- "$@"
+ /etc/init.d/smartd 6.1+svn3812-1~ smartmontools -- "$@"
#DEBHELPER#
+++ /dev/null
-#!/bin/sh
-
-case "$1" in
- purge)
- if [ -d /var/lib/smartmontools ] ; then
- rm -rf /var/lib/smartmontools
- fi
- ;;
-
-esac
-
-#DEBHELPER#
-
-exit 0