+sudo (1.8.3p2-1) unstable; urgency=high
+
+ * new upstream version, closes: #657985 (CVE-2012-0809)
+ * patch from Pino Toscano to only use selinux on Linux, closes: #655894
+
+ -- Bdale Garbee <bdale@gag.com> Mon, 30 Jan 2012 16:11:54 -0700
+
sudo (1.8.3p1-3) unstable; urgency=low
* patch from Moritz Muehlenhoff enables hardened build flags, closes: #655417
Section: admin
Priority: optional
Maintainer: Bdale Garbee <bdale@gag.com>
-Build-Depends: debhelper (>= 7), libpam0g-dev, libldap2-dev, libsasl2-dev, libselinux1-dev, autotools-dev, bison, flex
+Build-Depends: debhelper (>= 7), libpam0g-dev, libldap2-dev, libsasl2-dev, libselinux1-dev [linux-any], autotools-dev, bison, flex
Standards-Version: 3.9.2
Vcs-Git: git://git.gag.com/debian/sudo
Vcs-Browser: http://git.gag.com/?p=debian/sudo
LDFLAGS = `dpkg-buildflags --get LDFLAGS`
CPPFLAGS = `dpkg-buildflags --get CPPFLAGS`
+DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+ifeq ($(DEB_HOST_ARCH_OS),linux)
+ configure_args += --with-selinux
+endif
+
configure: configure-stamp
configure-stamp:
dh_testdir
CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" $(CURDIR)/configure \
--prefix=/usr -v \
--with-all-insults \
- --with-selinux \
--with-pam \
--with-fqdn \
--with-logging=syslog \
--with-sendmail=/usr/sbin/sendmail \
--with-timedir=/var/lib/sudo \
--mandir=/usr/share/man \
- --libexecdir=/usr/lib/sudo
+ --libexecdir=/usr/lib/sudo \
+ $(configure_args)
# LDAP version
mkdir -p build-ldap