OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 16-Apr-2008 08:20:46
Branch: HEAD Handle: 2008041607204500
Modified files:
openpkg-src/lsof lsof.patch lsof.spec
Log:
upgrading package: lsof 4.78 -> 4.79
Summary:
Revision Changes Path
1.16 +21 -90 openpkg-src/lsof/lsof.patch
1.71 +2 -2 openpkg-src/lsof/lsof.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/lsof/lsof.patch
============================================================================
$ cvs diff -u -r1.15 -r1.16 lsof.patch
--- openpkg-src/lsof/lsof.patch 29 Oct 2007 14:01:29 -0000 1.15
+++ openpkg-src/lsof/lsof.patch 16 Apr 2008 06:20:45 -0000 1.16
@@ -1,7 +1,7 @@
Index: Configure
---- Configure.orig 2007-04-24 21:00:22 +0200
-+++ Configure 2007-07-12 09:01:14 +0200
-@@ -395,7 +395,7 @@
+--- Configure.orig 2008-04-15 15:24:36 +0200
++++ Configure 2008-04-16 08:19:20 +0200
+@@ -413,7 +413,7 @@
fi # }
fi # }
LSOF_TGT="aix"
@@ -10,7 +10,7 @@
if test $? -eq 0 # {
then
-@@ -549,7 +549,7 @@
+@@ -567,7 +567,7 @@
rm -f dialects/aix/aix5/j2/j2_snapshot.h
fi # }
@@ -19,7 +19,7 @@
if test $? -eq 0 # {
then
-@@ -587,7 +587,7 @@
+@@ -605,7 +605,7 @@
# This is AIX >= 5 on ia64.
LSOF_TSTK64=1
@@ -28,7 +28,7 @@
if test $? -eq 0 # {
then
-@@ -664,7 +664,7 @@
+@@ -682,7 +682,7 @@
fi # }
LSOF_TSTK64=1
LSOF_TMP1=1
@@ -37,7 +37,7 @@
if test $? -eq 0 # {
then
LSOF_CFGF="$LSOF_CFGF -maix64"
-@@ -711,7 +711,7 @@
+@@ -729,7 +729,7 @@
fi #}
LSOF_CFGF="$LSOF_CFGF -DAIXV=$LSOF_VERS"
LSOF_DIALECT_DIR=aix
@@ -46,38 +46,7 @@
if test $? -eq 0 # {
then
-@@ -1420,6 +1420,10 @@
- LSOF_TSTBIGF=" "
- LSOF_VERS=6010
- ;;
-+ 6.2*)
-+ LSOF_TSTBIGF=" "
-+ LSOF_VERS=6020
-+ ;;
- 6*)
- LSOF_VERS=6000
- echo "!!!WARNING!!! Unsupported FreeBSD version: $LSOF_VSTR"
-@@ -1434,6 +1438,10 @@
- echo "!!!WARNING!!! Unsupported FreeBSD version: $LSOF_VSTR"
- echo "!!!WARNING!!! Configuring for FreeBSD 7.0"
- ;;
-+ 8*)
-+ LSOF_TSTBIGF=" "
-+ LSOF_VERS=8000
-+ ;;
- *)
- echo Unknown FreeBSD release: `uname -r`
- echo Assuming FreeBSD 2.x
-@@ -1525,7 +1533,7 @@
- LSOF_CFGF="$LSOF_CFGF -DHASVMLOCKH"
- fi # }
- ;;
--
4000|4010|4020|4030|4040|4050|4060|4070|4080|4090|4100|4110|5000|5010|5020|5030|5040|5050|6000|6010|7000)
-+
4000|4010|4020|4030|4040|4050|4060|4070|4080|4090|4100|4110|5000|5010|5020|5030|5040|5050|6000|6010|6020|7000|8000)
- if test -r ${LSOF_INCLUDE}/sys/namei.h # {
- then
- grep -q "^struct[ ]*namecache[ ]*{" ${LSOF_INCLUDE}/sys/namei.h
-@@ -1881,7 +1881,7 @@
+@@ -1995,7 +1995,7 @@
fi # }
fi # }
fi # }
@@ -86,7 +55,7 @@
if test $? -eq 0 # {
then
LSOF_CCV=`$LSOF_CC -v 2>&1 | sed -n 's/.*version \(.*\)/\1/p'`
-@@ -1933,7 +1933,7 @@
+@@ -2047,7 +2047,7 @@
then
LSOF_CFGF="$LSOF_CFGF -Ae +DD32"
else
@@ -95,7 +64,7 @@
if test $? -ne 0 # {
then
LSOF_CFGF="$LSOF_CFGF +DD32"
-@@ -2005,7 +2005,7 @@
+@@ -2127,7 +2127,7 @@
echo "* NOTICE! Configuring for 64 bit HP-UX *"
echo "* *"
echo "*****************************************"
@@ -104,7 +73,7 @@
if test $? -eq 0 # {
then
-@@ -2074,7 +2074,7 @@
+@@ -2196,7 +2196,7 @@
else
LSOF_CFGF="$LSOF_CFGF -D_FILE_OFFSET_BITS=64"
LSOF_CINFO="${LSOF_CINFO}, 32 bit HP-UX"
@@ -113,7 +82,7 @@
if test $? -ne 0 # {
then
LSOF_CFGF="$LSOF_CFGF +DAportable"
-@@ -3268,7 +3268,7 @@
+@@ -3403,7 +3403,7 @@
LSOF_CCV=`$LSOF_CC -v 2>&1 | sed -n 's/.*version \(.*\)/\1/p'`
fi # }
fi # }
@@ -122,7 +91,7 @@
if test $? -eq 0 # {
then
LSOF_CFGL="-w"
-@@ -3905,6 +3905,9 @@
+@@ -4040,6 +4040,9 @@
LSOF_TSTBIGF=" "
LSOF_TSTLFLG="-lsocket -lnsl"
LSOF_VERS="100000"
@@ -132,7 +101,7 @@
;;
*)
echo Unknown Solaris version: $LSOF_VSTR
-@@ -3983,7 +3986,7 @@
+@@ -4118,7 +4121,7 @@
echo "main(){" >> ${LSOF_TMPC}.c
echo "enum prnodetype p=PR_GWINDOWS;}" >> ${LSOF_TMPC}.c
echo "Testing prdata.h for PR_GWINDOWS, using $LSOF_CC"
@@ -141,7 +110,7 @@
if test $? -eq 0 # {
then
$LSOF_CC ${LSOF_TMPC}.c -o ${LSOF_TMPC}.x > /dev/null 2>&1
-@@ -4008,7 +4011,7 @@
+@@ -4143,7 +4146,7 @@
echo "main(){" >> ${LSOF_TMPC}.c
echo "enum prnodetype p=PR_LDT;}" >> ${LSOF_TMPC}.c
echo "Testing prdata.h for PR_LDT, using $LSOF_CC"
@@ -150,7 +119,7 @@
if test $? -eq 0 # {
then
$LSOF_CC ${LSOF_TMPC}.c -o ${LSOF_TMPC}.x > /dev/null 2>&1
-@@ -4038,7 +4041,7 @@
+@@ -4173,7 +4176,7 @@
echo $SOLARIS_KERNBITS | grep 64 > /dev/null
if test $? -eq 0 # {
then
@@ -159,7 +128,7 @@
if test $? -eq 0 # {
then
-@@ -4242,7 +4245,7 @@
+@@ -4377,7 +4380,7 @@
# Check for Solaris 10 or higher ZFS.
@@ -168,7 +137,7 @@
then
LSOF_TMP1="dmu.h zfs_acl.h zfs_debug.h zfs_rlock.h zil.h spa.h
zfs_context.h zfs_dir.h zfs_vfsops.h zio.h txg.h zfs_ctldir.h zfs_ioctl.h
zfs_znode.h zio_impl.h"
LSOF_TMP2=""
-@@ -4325,7 +4328,7 @@
+@@ -4460,7 +4463,7 @@
echo "main(){" >> ${LSOF_TMPC}.c
echo "enum vtype p=VSOCK;}" >> ${LSOF_TMPC}.c
echo "Testing vnode.h for VSOCK, using $LSOF_CC"
@@ -177,7 +146,7 @@
if test $? -eq 0 # {
then
$LSOF_CC ${LSOF_TMPC}.c -o ${LSOF_TMPC}.x > /dev/null 2>&1
-@@ -4923,7 +4926,7 @@
+@@ -5139,7 +5142,7 @@
echo "$i" >> $LSOF_TSTCFLG
done # }
fi # }
@@ -188,7 +157,7 @@
echo "-DLT_GCC" >> $LSOF_TSTCFLG
Index: dialects/freebsd/machine.h
--- dialects/freebsd/machine.h.orig 2006-03-28 01:29:14 +0200
-+++ dialects/freebsd/machine.h 2007-07-12 09:00:54 +0200
++++ dialects/freebsd/machine.h 2008-04-16 08:17:46 +0200
@@ -436,6 +436,11 @@
*/
@@ -203,7 +172,7 @@
/*
Index: dialects/sun/machine.h
--- dialects/sun/machine.h.orig 2007-04-24 18:23:25 +0200
-+++ dialects/sun/machine.h 2007-07-12 09:00:54 +0200
++++ dialects/sun/machine.h 2008-04-16 08:17:46 +0200
@@ -75,6 +75,7 @@
#include <sys/poll.h>
@@ -212,41 +181,3 @@
#include <sys/wait.h>
#include <sys/types32.h>
#define _KERNEL 1
---- dialects/freebsd/dlsof.h 2006-03-28 01:29:11 +0200
-+++ dialects/freebsd/dlsof.h 2007-10-26 13:22:46 +0200
-@@ -43,15 +43,15 @@
- #include <nlist.h>
- #include <setjmp.h>
- #include <signal.h>
--#include <string.h>
- #include <unistd.h>
-
- # if FREEBSDV>=4000
- # if FREEBSDV>=5000
-+# if FREEBSDV<6020
- # if defined(__alpha__)
- /*
-- * For Alpha, #include <machine/pcpu.h> before #define'ing _KERNEL. Then
-- * #define PCPU_MD_FIELDS independently. This hack avoids a compiler
-+ * For Alpha below 6.2, #include <machine/pcpu.h> before #define'ing
_KERNEL.
-+ * Then #define PCPU_MD_FIELDS independently. This hack avoids a compiler
- * complaint about register use.
- */
-
-@@ -63,6 +63,7 @@
- u_int32_t pc_next_asn; /* next ASN to alloc */ \
- u_int32_t pc_current_asngen /* ASN rollover check */
- # endif /* defined(__alpha__) */
-+# endif /* FREEBSDV<6020 */
- #define _KERNEL 1
- # endif /* FREEBSDV>=5000 */
- #include <sys/conf.h>
-@@ -361,6 +362,8 @@
- # endif /* FREEBSDV<5000 */
- # endif /* FREEBSDV>=2020 */
-
-+#include <string.h>
-+
-
- #define COMP_P const void
- #define DEVINCR 1024 /* device table malloc() increment */
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/lsof/lsof.spec
============================================================================
$ cvs diff -u -r1.70 -r1.71 lsof.spec
--- openpkg-src/lsof/lsof.spec 1 Jan 2008 14:57:41 -0000 1.70
+++ openpkg-src/lsof/lsof.spec 16 Apr 2008 06:20:45 -0000 1.71
@@ -31,8 +31,8 @@
Class: BASE
Group: Debugging
License: BSD
-Version: 4.78
-Release: 20080101
+Version: 4.79
+Release: 20080416
# list of sources
Source0:
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_%{version}.tar.gz
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]