Skip to contentSkip to conversation

lsof: convert to gentargets and bump to 4.84

PATCH New Peter Korsgaard 1 participant 1 message Dec 14, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lsof: convert to gentargets and bump to 4.84

commit: http://git.buildroot.net/buildroot/commit/?id=8db52c6e78c040d035522ca747acc7752d474cf2
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

lsof is packaged as a tarball inside a .tar.bz2 package, so we have a post-extract hook to extract the source code tarball, so that for the next steps, lsof looks like a normal package.

---
 CHANGES                                            |    8 +-
 ...sof-makefile.patch => lsof-4.84-makefile.patch} |    4 +-
 ...f-noportmap.patch => lsof-4.84-noportmap.patch} |    4 +-
 ...flags.patch => lsof-4.84-override-cflags.patch} |    4 +-
 ...tch => lsof-4.84-remove-susvlegacy-funcs.patch} |    4 +-
 package/lsof/lsof-uclibc.patch                     |   12 ---
 package/lsof/lsof.mk                               |   96 ++++++++++----------
 7 files changed, 58 insertions(+), 74 deletions(-)
 rename package/lsof/{lsof-makefile.patch => lsof-4.84-makefile.patch} (62%)
 rename package/lsof/{lsof-noportmap.patch => lsof-4.84-noportmap.patch} (64%)
 rename package/lsof/{lsof-override-cflags.patch => lsof-4.84-override-cflags.patch} (66%)
 rename package/lsof/{lsof-remove-susvlegacy-funcs.patch => lsof-4.84-remove-susvlegacy-funcs.patch} (62%)
 delete mode 100644 package/lsof/lsof-uclibc.patch
CHANGES +4 -4
index 5dbc27c..a021437 100644
@@ -5,10 +5,10 @@
 
 	Updated/fixed packages: at, busybox, bzip2, dbus,
 	direcfb-examples, dmalloc, cloop, cups, ffmpeg, gdk-pixbuf,
-	hostapd, i2c-tools, input-tools, libconfig, ltp-testsuite, m4,
-	mii-diag, mrouted, openssh, openssl, openvpn, pango, qt,
-	rsync, sdl_gfx, sdl_sound, sysklogd, sysvinit, udev, usbutils,
-	xz, zlib
+	hostapd, i2c-tools, input-tools, libconfig, lsof,
+	ltp-testsuite, m4, mii-diag, mrouted, openssh, openssl,
+	openvpn, pango, qt, rsync, sdl_gfx, sdl_sound, sysklogd,
+	sysvinit, udev, usbutils, xz, zlib
 
 	New packages: dhrystone, fbgrab, lsuio, rsh-redone, whetstone
 
package/lsof/lsof-4.84-makefile.patch renamed from package/lsof/lsof-makefile.patch +2 -2
similarity index 62%
rename from package/lsof/lsof-makefile.patch
rename to package/lsof/lsof-4.84-makefile.patch
index 2d4e9d4..65b1b2e 100644
@@ -1,6 +1,6 @@
 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
+--- a/lib/Makefile.skel	2001-02-13 03:12:22.000000000 +0100
++++ b/lib/Makefile.skel	2006-11-29 13:51:44.000000000 +0100
 @@ -21,8 +21,8 @@
  all:	${LIB}
  
package/lsof/lsof-4.84-noportmap.patch renamed from package/lsof/lsof-noportmap.patch +2 -2
similarity index 64%
rename from package/lsof/lsof-noportmap.patch
rename to package/lsof/lsof-4.84-noportmap.patch
index 4a37db4..984e0d8 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
+--- a/print.c	2006-08-23 13:37:43.000000000 -0600
++++ b/print.c	2006-08-23 13:38:29.000000000 -0600
 @@ -148,6 +148,7 @@
  static void
  fill_portmap()
package/lsof/lsof-4.84-override-cflags.patch renamed from package/lsof/lsof-override-cflags.patch +2 -2
similarity index 66%
rename from package/lsof/lsof-override-cflags.patch
rename to package/lsof/lsof-4.84-override-cflags.patch
index fcb9292..135e599 100644
@@ -1,5 +1,5 @@
---- lsof_4.81/lsof_4.81_src/Configure	2008-10-21 18:21:45.000000000 +0200
-+++ lsof_4.81/lsof_4.81_src/Configure	2010-11-03 14:00:00.000000000 +0100
+--- lsof_4.84/Configure	2008-10-21 18:21:45.000000000 +0200
++++ lsof_4.84/Configure	2010-11-03 14:00:00.000000000 +0100
 @@ -5206,6 +5206,10 @@
    cp $LSOF_MKFC ${LSOF_LIB}/$LSOF_LIBMKF
  fi	# }
package/lsof/lsof-4.84-remove-susvlegacy-funcs.patch renamed from package/lsof/lsof-remove-susvlegacy-funcs.patch +2 -2
similarity index 62%
rename from package/lsof/lsof-remove-susvlegacy-funcs.patch
rename to package/lsof/lsof-4.84-remove-susvlegacy-funcs.patch
index d1d9371..fca66ae 100644
@@ -1,6 +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
+--- a/dialects/linux/machine.h	2007-04-24 18:20:58.000000000 +0200
++++ b/dialects/linux/machine.h	2007-05-15 12:17:03.000000000 +0200
 @@ -616,6 +616,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 +46 -50

114 lines not on this page · raw message

Signature · 1 line
1.7.2.2