Package: dnsmasq
Version: 2.57-1

Hi! We'd love to get dhcp_release and dhcp_lease_time added to the
dnsmasq package so that we can use them in some supporting scripts
around OpenStack. I've attached a debdiff that does this. Is there
anything else you'd like to see to be ok with this?

Thanks!
Monty
diff -u dnsmasq-2.57/debian/changelog dnsmasq-2.57/debian/changelog
--- dnsmasq-2.57/debian/changelog
+++ dnsmasq-2.57/debian/changelog
@@ -1,3 +1,9 @@
+dnsmasq (2.57-2) unstable; urgency=low
+
+  * Added dhcp_release and dhcp_lease_time to the package.
+
+ -- Monty Taylor <mord...@inaugust.com>  Tue, 16 Aug 2011 20:06:02 -0400
+
 dnsmasq (2.57-1) unstable; urgency=low
 
    * New upstream.
diff -u dnsmasq-2.57/debian/rules dnsmasq-2.57/debian/rules
--- dnsmasq-2.57/debian/rules
+++ dnsmasq-2.57/debian/rules
@@ -56,6 +56,7 @@
        $(checkdir)
        rm -rf debian/daemon debian/base debian/*~ debian/files debian/substvars
        make clean
+       make -C contrib/wrt clean
 
 binary-indep:  checkroot
        $(checkdir)
@@ -88,6 +89,7 @@
        rm -rf debian/base
        install -m 755 \
                -d debian/base/DEBIAN \
+               -d debian/base/usr/bin \
                -d debian/base/usr/share/doc/$(package) \
                -d debian/base/usr/share/doc/$(package)/examples \
                -d debian/base/var/run \
@@ -116,6 +118,9 @@
                        gzip -9 $$f/man8/dnsmasq.8 ; \
                 fi \
        done
+       make -C contrib/wrt PREFIX=/usr DESTDIR=`pwd`/debian/base 
CFLAGS="$(CFLAGS)" COPTS="$(COPTS)" CC=gcc
+       install -m755 contrib/wrt/dhcp_release debian/base/usr/bin/dhcp_release
+       install -m755 contrib/wrt/dhcp_lease_time 
debian/base/usr/bin/dhcp_lease_time
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
        strip -R .note -R .comment debian/base/usr/sbin/dnsmasq
 endif

Reply via email to