]> git.donarmstrong.com Git - unscd.git/commitdiff
* Fix typo in nscd.conf (Closes: #656615)
authordon <don@8f7917da-ec0b-0410-a553-b9b0e350d17e>
Sat, 21 Jan 2012 22:30:57 +0000 (22:30 +0000)
committerdon <don@8f7917da-ec0b-0410-a553-b9b0e350d17e>
Sat, 21 Jan 2012 22:30:57 +0000 (22:30 +0000)
* Add newline to nscd.conf (Closes: #656603)
* Switch to dh7 style rules file
* Update standards version; no changes

debian/changelog
debian/control
debian/nscd.conf
debian/rules

index b532baf4c1c2d39aacbe4c6fc689c68736397ed9..26ca0d14fe0205a52854de53195f11813339f506 100644 (file)
@@ -1,6 +1,10 @@
 unscd (0.48-1) UNRELEASED; urgency=low
 
   * New upstream release
+  * Fix typo in nscd.conf (Closes: #656615)
+  * Add newline to nscd.conf (Closes: #656603)
+  * Switch to dh7 style rules file
+  * Update standards version; no changes
 
  -- Don Armstrong <don@debian.org>  Sat, 21 Jan 2012 13:36:59 -0800
 
index 055cce3b26190dfff150b20c491357294d3e61f9..138c2ec920c4878c4e2e4712fe07e959a50ba037 100644 (file)
@@ -1,8 +1,8 @@
 Source: unscd
 Section: admin
 Priority: extra
-Standards-Version: 3.9.1
-Build-Depends: debhelper (>= 5), groff-base
+Standards-Version: 3.9.2
+Build-Depends: debhelper (>= 7), groff-base
 Maintainer: Don Armstrong <don@debian.org>
 VCS-Browser: http://websvn.donarmstrong.com/listing.php?repname=deb_pkgs&path=%2Funscd%2Ftrunk%2F
 VCS-Svn: http://svn.donarmstrong.com/deb_pkgs/unscd/trunk/
index 3d27419b7c6b7a989b62ffe7f04ffc08c9152229..aa35af9fe9d7ab4a7a6561ab294b5709f6e823f9 100644 (file)
@@ -16,7 +16,7 @@
 #       stat-user               (ignored; any user can stat)
 #      reload-count            (ignored; unscd should never crash)
 #      paranoia                (ignored)
-#      restart-interval        (ignored; unscd should never crash)x
+#      restart-interval        (ignored; unscd should never crash)
 #
 #       enable-cache           <service> <yes|no>
 #      positive-time-to-live   <service> <time in seconds>
@@ -69,4 +69,4 @@
        persistent              hosts           yes
        shared                  hosts           yes
 
-# unscd does not support services caching
\ No newline at end of file
+# unscd does not support services caching
index 3bfb014bbf7063573f16d1ca3c324391e7d5b6a2..59e1de4d90f8570931befd9d1da6119fcd765cb7 100755 (executable)
@@ -1,67 +1,13 @@
 #!/usr/bin/make -f
 
-#DH_VERBOSE = 1
+%: 
+       dh $@
 
+override_dh_auto_build:
+       gcc $(CFLAGS) $(LDFLAGS) -o nscd nscd.c
 
-PREFIX=$(shell pwd)/debian/unscd/
-
-CFLAGS = -Wall -g
-
-INSTALL=install
-
-ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
-    CFLAGS += -O0
-else
-    CFLAGS += -O2
-endif
-
-
-build: build-stamp
-build-stamp:
-       dh_testdir
-
-       gcc $(CFLAGS) -o nscd nscd.c
-
-       touch $@
-
-clean:
-       dh_testdir
-       dh_testroot
-
-       rm -f build-stamp
-
-       rm -f nscd
-
-       dh_clean
-
-install: build
-       dh_testdir
-       dh_testroot
-       dh_clean -k
-       dh_installdirs
-       $(INSTALL) -d $(PREFIX)/usr/sbin/
-       $(INSTALL) -t $(PREFIX)/usr/sbin/ nscd
-       $(INSTALL) -d $(PREFIX)/etc/
-       $(INSTALL) -m644 -t $(PREFIX)/etc/ debian/nscd.conf
-
-binary-indep:
-
-binary-arch: build install
-       dh_testdir
-       dh_testroot
-       dh_installchangelogs 
-       dh_installdocs
-       dh_installman debian/nscd.8
-       dh_installinit
-       dh_link
-       dh_strip
-       dh_compress
-       dh_fixperms
-       dh_installdeb
-       dh_shlibdeps
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
-
-binary: binary-arch
-.PHONY: build clean binary-arch binary-indep binary install
+override_dh_auto_install:
+       $(INSTALL) -d debian/unscd/usr/sbin/
+       $(INSTALL) -t debian/unscd/usr/sbin/ nscd
+       $(INSTALL) -d debian/unscd/etc/
+       $(INSTALL) -m644 -t debian/unscd/etc/ debian/nscd.conf