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: 25-Apr-2007 08:36:08
Branch: HEAD Handle: 2007042507360700
Modified files:
openpkg-src/lsof lsof.patch lsof.spec
Log:
upgrading package: lsof 4.77 -> 4.78
Summary:
Revision Changes Path
1.13 +36 -27 openpkg-src/lsof/lsof.patch
1.67 +2 -2 openpkg-src/lsof/lsof.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/lsof/lsof.patch
============================================================================
$ cvs diff -u -r1.12 -r1.13 lsof.patch
--- openpkg-src/lsof/lsof.patch 14 Oct 2006 11:13:59 -0000 1.12
+++ openpkg-src/lsof/lsof.patch 25 Apr 2007 06:36:07 -0000 1.13
@@ -1,6 +1,6 @@
Index: Configure
---- Configure.orig 2006-04-10 14:44:22.000000000 +0200
-+++ Configure 2006-10-14 13:09:51.728206602 +0200
+--- Configure.orig 2007-04-24 21:00:22 +0200
++++ Configure 2007-04-25 08:33:40 +0200
@@ -395,7 +395,7 @@
fi # }
fi # }
@@ -10,16 +10,16 @@
if test $? -eq 0 # {
then
-@@ -539,7 +539,7 @@
- LSOF_CFGF="$LSOF_CFGF -I`pwd`/dialects/aix/aix5"
- if test $LSOF_VERS -ge 5200 # {
- then
+@@ -549,7 +549,7 @@
+
+ rm -f dialects/aix/aix5/j2/j2_snapshot.h
+ fi # }
- echo $LSOF_CC | grep gcc > /dev/null
+ $LSOF_CC --version | grep GCC > /dev/null
if test $? -eq 0 # {
then
-@@ -577,7 +577,7 @@
+@@ -587,7 +587,7 @@
# This is AIX >= 5 on ia64.
LSOF_TSTK64=1
@@ -28,7 +28,7 @@
if test $? -eq 0 # {
then
-@@ -654,7 +654,7 @@
+@@ -664,7 +664,7 @@
fi # }
LSOF_TSTK64=1
LSOF_TMP1=1
@@ -37,7 +37,7 @@
if test $? -eq 0 # {
then
LSOF_CFGF="$LSOF_CFGF -maix64"
-@@ -701,7 +701,7 @@
+@@ -711,7 +711,7 @@
fi #}
LSOF_CFGF="$LSOF_CFGF -DAIXV=$LSOF_VERS"
LSOF_DIALECT_DIR=aix
@@ -46,7 +46,7 @@
if test $? -eq 0 # {
then
-@@ -1865,7 +1865,7 @@
+@@ -1881,7 +1881,7 @@
fi # }
fi # }
fi # }
@@ -55,7 +55,16 @@
if test $? -eq 0 # {
then
LSOF_CCV=`$LSOF_CC -v 2>&1 | sed -n 's/.*version \(.*\)/\1/p'`
-@@ -1989,7 +1989,7 @@
+@@ -1933,7 +1933,7 @@
+ then
+ LSOF_CFGF="$LSOF_CFGF -Ae +DD32"
+ else
+- echo $LSOF_CC | grep -q gcc
++ $LSOF_CC --version | grep -q GCC
+ if test $? -ne 0 # {
+ then
+ LSOF_CFGF="$LSOF_CFGF +DD32"
+@@ -2005,7 +2005,7 @@
echo "* NOTICE! Configuring for 64 bit HP-UX *"
echo "* *"
echo "*****************************************"
@@ -64,7 +73,7 @@
if test $? -eq 0 # {
then
-@@ -2058,7 +2058,7 @@
+@@ -2074,7 +2074,7 @@
else
LSOF_CFGF="$LSOF_CFGF -D_FILE_OFFSET_BITS=64"
LSOF_CINFO="${LSOF_CINFO}, 32 bit HP-UX"
@@ -73,7 +82,7 @@
if test $? -ne 0 # {
then
LSOF_CFGF="$LSOF_CFGF +DAportable"
-@@ -3244,7 +3244,7 @@
+@@ -3268,7 +3268,7 @@
LSOF_CCV=`$LSOF_CC -v 2>&1 | sed -n 's/.*version \(.*\)/\1/p'`
fi # }
fi # }
@@ -82,17 +91,17 @@
if test $? -eq 0 # {
then
LSOF_CFGL="-w"
-@@ -3881,6 +3881,9 @@
+@@ -3905,6 +3905,9 @@
LSOF_TSTBIGF=" "
LSOF_TSTLFLG="-lsocket -lnsl"
LSOF_VERS="100000"
-+ if [ ".`isainfo -k`" = .amd64 ]; then
-+ LSOF_CFGL="$LSOF_CFGL -lmp -lmd5 -lscf -ldoor -luutil"
-+ fi
++ if [ ".`isainfo -k`" = .amd64 ]; then
++ LSOF_CFGL="$LSOF_CFGL -lmp -lmd5 -lscf -ldoor -luutil"
++ fi
;;
*)
echo Unknown Solaris version: $LSOF_VSTR
-@@ -3959,7 +3962,7 @@
+@@ -3983,7 +3986,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"
@@ -101,7 +110,7 @@
if test $? -eq 0 # {
then
$LSOF_CC ${LSOF_TMPC}.c -o ${LSOF_TMPC}.x > /dev/null 2>&1
-@@ -3984,7 +3987,7 @@
+@@ -4008,7 +4011,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"
@@ -110,7 +119,7 @@
if test $? -eq 0 # {
then
$LSOF_CC ${LSOF_TMPC}.c -o ${LSOF_TMPC}.x > /dev/null 2>&1
-@@ -4014,7 +4017,7 @@
+@@ -4038,7 +4041,7 @@
echo $SOLARIS_KERNBITS | grep 64 > /dev/null
if test $? -eq 0 # {
then
@@ -119,7 +128,7 @@
if test $? -eq 0 # {
then
-@@ -4240,7 +4243,7 @@
+@@ -4325,7 +4328,7 @@
echo "main(){" >> ${LSOF_TMPC}.c
echo "enum vtype p=VSOCK;}" >> ${LSOF_TMPC}.c
echo "Testing vnode.h for VSOCK, using $LSOF_CC"
@@ -128,7 +137,7 @@
if test $? -eq 0 # {
then
$LSOF_CC ${LSOF_TMPC}.c -o ${LSOF_TMPC}.x > /dev/null 2>&1
-@@ -4838,7 +4841,7 @@
+@@ -4923,7 +4926,7 @@
echo "$i" >> $LSOF_TSTCFLG
done # }
fi # }
@@ -138,8 +147,8 @@
then
echo "-DLT_GCC" >> $LSOF_TSTCFLG
Index: dialects/freebsd/machine.h
---- dialects/freebsd/machine.h.orig 2006-03-28 01:29:14.000000000 +0200
-+++ dialects/freebsd/machine.h 2006-10-14 13:09:30.370471813 +0200
+--- dialects/freebsd/machine.h.orig 2006-03-28 01:29:14 +0200
++++ dialects/freebsd/machine.h 2007-04-25 08:22:25 +0200
@@ -436,6 +436,11 @@
*/
@@ -153,13 +162,13 @@
/*
Index: dialects/sun/machine.h
---- dialects/sun/machine.h.orig 2006-03-28 00:57:40.000000000 +0200
-+++ dialects/sun/machine.h 2006-10-14 13:09:30.370780612 +0200
+--- dialects/sun/machine.h.orig 2007-04-24 18:23:25 +0200
++++ dialects/sun/machine.h 2007-04-25 08:22:25 +0200
@@ -75,6 +75,7 @@
#include <sys/poll.h>
# if solaris>=80000
+#include <sys/types32.h>
#include <sys/wait.h>
+ #include <sys/types32.h>
#define _KERNEL 1
- #include <netinet/in.h>
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/lsof/lsof.spec
============================================================================
$ cvs diff -u -r1.66 -r1.67 lsof.spec
--- openpkg-src/lsof/lsof.spec 1 Jan 2007 17:39:30 -0000 1.66
+++ openpkg-src/lsof/lsof.spec 25 Apr 2007 06:36:07 -0000 1.67
@@ -32,8 +32,8 @@
Class: BASE
Group: Debugging
License: BSD
-Version: 4.77
-Release: 20061014
+Version: 4.78
+Release: 20070425
# 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]