tag 424550 patch
tag 427683 patch
tag 437539 patch
thanks

The attached patch fixes 3 lsof bugs:

 . support nostrip
 . drop old kmem group which had no effect anyway
 . support multiple consecutive builds

--- /tmp/rules.org      2007-09-03 01:54:42.000000000 -0400
+++ debian/rules        2007-09-03 01:50:55.000000000 -0400
@@ -45,6 +45,9 @@
        dh_testroot
        rm -f build-stamp configure-stamp
 
+       # symlinks created at "configure" time
+       rm -f dfile.c dstore.c dlsof.h dnode.c machine.h dproto.h dmnt.c 
dsock.c dproc.c
+
        # Add here commands to clean up after the build process.
        -$(MAKE) clean
 
@@ -56,9 +59,6 @@
        dh_clean -k 
        dh_installdirs
 
-       # Add here commands to install the package into debian/lsof.
-       install -c -s -m 755 -g kmem lsof debian/lsof/usr/bin
-
 # Build architecture-independent files here.
 binary-indep: build install
 # We have nothing to do by default.
@@ -70,7 +70,7 @@
        dh_installchangelogs 
        dh_installdocs
        dh_installexamples
-       dh_install
+       dh_install lsof usr/bin
 #      dh_installmenu
 #      dh_installdebconf       
 #      dh_installlogrotate
--- /tmp/rules.org      2007-09-03 01:54:42.000000000 -0400
+++ debian/rules        2007-09-03 01:50:55.000000000 -0400
@@ -45,6 +45,9 @@
        dh_testroot
        rm -f build-stamp configure-stamp
 
+       # symlinks created at "configure" time
+       rm -f dfile.c dstore.c dlsof.h dnode.c machine.h dproto.h dmnt.c 
dsock.c dproc.c
+
        # Add here commands to clean up after the build process.
        -$(MAKE) clean
 
@@ -56,9 +59,6 @@
        dh_clean -k 
        dh_installdirs
 
-       # Add here commands to install the package into debian/lsof.
-       install -c -s -m 755 -g kmem lsof debian/lsof/usr/bin
-
 # Build architecture-independent files here.
 binary-indep: build install
 # We have nothing to do by default.
@@ -70,7 +70,7 @@
        dh_installchangelogs 
        dh_installdocs
        dh_installexamples
-       dh_install
+       dh_install lsof usr/bin
 #      dh_installmenu
 #      dh_installdebconf       
 #      dh_installlogrotate

Reply via email to