Skip to contentSkip to conversation

lsof: bump to 4.83

PATCH New Michael Roth 1 participant 1 message Apr 20, 2010

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 lsof: bump to 4.83

Bumped lsof to version 4.83 and converted this package to the generic package infrastructure.

---
 package/lsof/README                             |   18 +++++
 package/lsof/lsof-makefile.patch                |    5 +-
 package/lsof/lsof-noportmap.patch               |    4 +-
 package/lsof/lsof-norpc.patch                   |   13 +++
 package/lsof/lsof-remove-susvlegacy-funcs.patch |    7 +-
 package/lsof/lsof-uclibc.patch                  |   12 ---
 package/lsof/lsof.mk                            |   93 ++++++++++------------
 7 files changed, 80 insertions(+), 72 deletions(-)
 create mode 100644 package/lsof/README
 create mode 100644 package/lsof/lsof-norpc.patch
 delete mode 100644 package/lsof/lsof-uclibc.patch
package/lsof/README new file +18 -0
new file mode 100644
index 0000000..e5fd970
@@ -0,0 +1,18 @@
+Notes for future version dumps
+==============================
+
+lsof has an unconventional directory structure. Because of that you
+have to fiddle with the paths in the header of the patch files on
+version dumps.
+
+For example, a patch file header may look like this:
+
+	--- lsof_4.83.orig/lsof_4.83_src/lib/Makefile.skel      2001-02-13 03:12:22.000000000 +0100
+	+++ lsof_4.83/lsof_4.83_src/lib/Makefile.skel   2006-11-29 13:51:44.000000000 +0100
+
+To change to version 9.99 four occurrences of the old version number
+should be changed to the new one irrespective of the fact that
+strictly speaking only the lsof_X.XX_src parts have to be changed:
+
+	--- lsof_9.99.orig/lsof_9.99_src/lib/Makefile.skel      2001-02-13 03:12:22.000000000 +0100
+	+++ lsof_9.99/lsof_9.99_src/lib/Makefile.skel   2006-11-29 13:51:44.000000000 +0100
package/lsof/lsof-makefile.patch +2 -3
index 2d4e9d4..091f0b7 100644
@@ -1,6 +1,5 @@
-diff -ru lsof_4.81.orig/lsof_4.81_src/lib/Makefile.skel lsof_4.81/lsof_4.81_src/lib/Makefile.skel
---- lsof_4.81.orig/lsof_4.81_src/lib/Makefile.skel	2001-02-13 03:12:22.000000000 +0100
-+++ lsof_4.81/lsof_4.81_src/lib/Makefile.skel	2006-11-29 13:51:44.000000000 +0100
+--- lsof_4.83.orig/lsof_4.83_src/lib/Makefile.skel	2001-02-13 03:12:22.000000000 +0100
++++ lsof_4.83/lsof_4.83_src/lib/Makefile.skel	2006-11-29 13:51:44.000000000 +0100
 @@ -21,8 +21,8 @@
  all:	${LIB}
  
package/lsof/lsof-noportmap.patch +2 -2
index 4a37db4..9194d7b 100644
@@ -1,5 +1,5 @@
---- lsof_4.81/lsof_4.81_src/print.orig.c	2006-08-23 13:37:43.000000000 -0600
-+++ lsof_4.81/lsof_4.81_src/print.c	2006-08-23 13:38:29.000000000 -0600
+--- lsof_4.83.orig/lsof_4.83_src/print.c	2006-08-23 13:37:43.000000000 -0600
++++ lsof_4.83/lsof_4.83_src/print.c	2006-08-23 13:38:29.000000000 -0600
 @@ -148,6 +148,7 @@
  static void
  fill_portmap()
package/lsof/lsof-norpc.patch new file +13 -0
new file mode 100644
index 0000000..f63e367
@@ -0,0 +1,13 @@
+--- lsof_4.83.orig/lsof_4.83_src/dialects/linux/dlsof.h	2010-04-19 13:31:48.247395489 +0200
++++ lsof_4.83/lsof_4.83_src/dialects/linux/dlsof.h	2010-04-19 13:32:07.512099998 +0200
+@@ -56,8 +56,10 @@
+ #include <linux/tcp.h>
+ # endif	/* defined(GLIBCV) || defined(__UCLIBC__) */
+ 
++#if !defined __UCLIBC__ || (defined __UCLIBC__ && defined __UCLIBC_HAS_RPC__)
+ #include <rpc/rpc.h>
+ #include <rpc/pmap_prot.h>
++#endif
+  
+ #if	defined(HASSELINUX)
+ #include <selinux/selinux.h>
package/lsof/lsof-remove-susvlegacy-funcs.patch +3 -4
index d1d9371..cf8730f 100644
@@ -1,7 +1,6 @@
-diff -rdup lsof_4.81.orig/lsof_4.81_src/dialects/linux/machine.h lsof_4.81/lsof_4.81_src/dialects/linux/machine.h
---- lsof_4.81.orig/lsof_4.81_src/dialects/linux/machine.h	2007-04-24 18:20:58.000000000 +0200
-+++ lsof_4.81/lsof_4.81_src/dialects/linux/machine.h	2007-05-15 12:17:03.000000000 +0200
-@@ -616,6 +616,6 @@
+--- lsof_4.83.orig/lsof_4.83_src/dialects/linux/machine.h	2007-04-24 18:20:58.000000000 +0200
++++ lsof_4.83/lsof_4.83_src/dialects/linux/machine.h	2007-05-15 12:17:03.000000000 +0200
+@@ -625,6 +625,6 @@
   * zeromem is a macro that uses bzero or memset.
   */
  
package/lsof/lsof-uclibc.patch deleted +0 -12
deleted file mode 100644
index 797a0ce..0000000
@@ -1,12 +0,0 @@
-diff -ru lsof_4.81.orig/lsof_4.81_src/dialects/linux/dlsof.h lsof_4.81/lsof_4.81_src/dialects/linux/dlsof.h
---- lsof_4.81.orig/lsof_4.81_src/dialects/linux/dlsof.h	2006-03-28 00:57:14.000000000 +0200
-+++ lsof_4.81/lsof_4.81_src/dialects/linux/dlsof.h	2006-11-29 14:03:07.000000000 +0100
-@@ -49,7 +49,7 @@
- #include <unistd.h>
- #include <netinet/in.h>
- 
--# if	defined(GLIBCV)
-+# if	defined(GLIBCV) || defined __UCLIBC__
- #include <netinet/tcp.h>
- # else	/* !defined(GLIBCV) */
- #include <linux/tcp.h>
package/lsof/lsof.mk +42 -51

110 lines not on this page · raw message

Signature · 1 line
1.6.4.4