[pkg-dhcp-commits] [SCM] ISC DHCP packaging for Debian branch, master, updated. debian/4.2.4-2-2-g4375c58

Michael Gilbert mgilbert at debian.org
Mon Oct 15 19:22:32 UTC 2012


The following commit has been merged in the master branch:
commit 9788f11a171270953715b11dfe735219f03b5381
Author: Michael Gilbert <mgilbert at debian.org>
Date:   Mon Oct 15 15:21:19 2012 -0400

    Fix cve-2012-2248

diff --git a/debian/rules b/debian/rules
index a57e5ff..cd96512 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,8 +39,8 @@ build-ldap-stamp:
 	dh_testdir
 
 	./configure \
-		--prefix=$(DESTDIR)/usr \
-		--sysconfdir=$(DESTDIR)/etc/dhcp \
+		--prefix=/usr \
+		--sysconfdir=/etc/dhcp \
 		--with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \
 		--with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases \
 		--with-cli-lease-file=/var/lib/dhcp/dhclient.leases \
@@ -67,8 +67,8 @@ build-non-ldap-stamp:
 	dh_testdir
 
 	./configure \
-		--prefix=$(DESTDIR)/usr \
-		--sysconfdir=$(DESTDIR)/etc/dhcp \
+		--prefix=/usr \
+		--sysconfdir=/etc/dhcp \
 		--with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \
 		--with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases \
 		--with-cli-lease-file=/var/lib/dhcp/dhclient.leases \
@@ -98,7 +98,7 @@ install-stamp: build-ldap-stamp build-non-ldap-stamp
 	dh_installdirs -A
 
 	# Add here commands to install the package into debian/tmp.
-	$(MAKE) install
+	$(MAKE) install DESTDIR=$(DESTDIR)
 
 	mkdir -p $(DESTDIR)/etc/dhcp
 

-- 
ISC DHCP packaging for Debian



More information about the pkg-dhcp-commits mailing list