[CVS] OpenPKG: openpkg-src/lsof/ lsof.patch lsof.spec

2008-04-15 Thread Ralf S. Engelschall
  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/lsoflsof.patch lsof.spec

  Log:
upgrading package: lsof 4.78 -> 4.79

  Summary:
RevisionChanges 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 -  1.15
  +++ openpkg-src/lsof/lsof.patch   16 Apr 2008 06:20:45 -  1.16
  @@ -1,7 +1,7 @@
   Index: Configure
   Configure.orig   2007-04-24 21:00:22 +0200
  -+++ Configure2007-07-12 09:01:14 +0200
  -@@ -395,7 +395,7 @@
  +--- Configure.orig   2008-04-15 15:24:36 +0200
   Configure2008-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="10"
  @@ -132,7 +101,7 @@
;;
  *)
echo Unknown

[CVS] OpenPKG: openpkg-src/lsof/ lsof.patch lsof.spec

2007-10-29 Thread Ralf S. Engelschall
  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:   29-Oct-2007 15:01:30
  Branch: HEAD Handle: 2007102914012900

  Modified files:
openpkg-src/lsoflsof.patch lsof.spec

  Log:
adjustments from upstream vendor to support FreeBSD 7/8

  Summary:
RevisionChanges Path
1.15+69 -0  openpkg-src/lsof/lsof.patch
1.69+1  -1  openpkg-src/lsof/lsof.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/lsof/lsof.patch
  
  $ cvs diff -u -r1.14 -r1.15 lsof.patch
  --- openpkg-src/lsof/lsof.patch   12 Jul 2007 07:03:18 -  1.14
  +++ openpkg-src/lsof/lsof.patch   29 Oct 2007 14:01:29 -  1.15
  @@ -46,6 +46,37 @@
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 @@
fi  # }
  fi# }
  @@ -181,3 +212,41 @@
#include 
#include 
#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 
  + #include 
  + #include 
  +-#include 
  + #include 
  + 
  + # ifFREEBSDV>=4000
  + #  if   FREEBSDV>=5000
  ++#   if  FREEBSDV<6020
  + #if defined(__alpha__)
  + /*
  +- * For Alpha, #include  before #define'ing _KERNEL.  Then
  +- * #define PCPU_MD_FIELDS independently.  This hack avoids a compiler
  ++ * For Alpha below 6.2, #include  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 
  +@@ -361,6 +362,8 @@
  + #   endif   /* FREEBSDV<5000 */
  + #  endif/* FREEBSDV>=2020 */
  + 
  ++#include 
  ++
  + 
  + #define COMP_P  const void
  + #define DEVINCR 1024/* device table malloc() increment */
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/lsof/lsof.spec
  
  $ cvs diff -u -r1.68 -r1.69 lsof.spec
  --- openpkg-src/lsof/lsof.spec12 Jul 2007 07:03:18 -  1.68
  +++ openpkg-src/lsof/lsof.spec29 Oct 2007 14:01:29 -  1.69
  @@ -33,7 +33,7 @@
   Group:Debugging
   License:  BSD
   Version:  4.78
  -Release:  20070712
  +Release:  20071029
   
   #   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 openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/lsof/ lsof.patch lsof.spec

2007-07-12 Thread Ralf S. Engelschall
  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:   12-Jul-2007 09:03:18
  Branch: HEAD Handle: 2007071208031800

  Modified files:
openpkg-src/lsoflsof.patch lsof.spec

  Log:
ZFS kernel structure header are part of OpenSolaris only, so don't run
into trouble under regular Solaris 10 GA

  Summary:
RevisionChanges Path
1.14+12 -3  openpkg-src/lsof/lsof.patch
1.68+1  -1  openpkg-src/lsof/lsof.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/lsof/lsof.patch
  
  $ cvs diff -u -r1.13 -r1.14 lsof.patch
  --- openpkg-src/lsof/lsof.patch   25 Apr 2007 06:36:07 -  1.13
  +++ openpkg-src/lsof/lsof.patch   12 Jul 2007 07:03:18 -  1.14
  @@ -1,6 +1,6 @@
   Index: Configure
   --- Configure.orig   2007-04-24 21:00:22 +0200
  -+++ Configure2007-04-25 08:33:40 +0200
   Configure2007-07-12 09:01:14 +0200
   @@ -395,7 +395,7 @@
  fi# }
fi  # }
  @@ -128,6 +128,15 @@
  if test $? -eq 0  # {
  then

  +@@ -4242,7 +4245,7 @@
  + 
  +   # Check for Solaris 10 or higher ZFS.
  + 
  +-  if test -r ${LSOF_INCLUDE}/sys/fs/zfs.h   # {
  ++  if false  # {
  +   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 @@
  echo "main(){" >> ${LSOF_TMPC}.c
  echo "enum vtype p=VSOCK;}" >> ${LSOF_TMPC}.c
  @@ -148,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-04-25 08:22:25 +0200
   dialects/freebsd/machine.h   2007-07-12 09:00:54 +0200
   @@ -436,6 +436,11 @@
 */

  @@ -163,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-04-25 08:22:25 +0200
   dialects/sun/machine.h   2007-07-12 09:00:54 +0200
   @@ -75,6 +75,7 @@
#include 

  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/lsof/lsof.spec
  
  $ cvs diff -u -r1.67 -r1.68 lsof.spec
  --- openpkg-src/lsof/lsof.spec25 Apr 2007 06:36:07 -  1.67
  +++ openpkg-src/lsof/lsof.spec12 Jul 2007 07:03:18 -  1.68
  @@ -33,7 +33,7 @@
   Group:Debugging
   License:  BSD
   Version:  4.78
  -Release:  20070425
  +Release:  20070712
   
   #   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 openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/lsof/ lsof.patch lsof.spec

2007-04-24 Thread Ralf S. Engelschall
  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/lsoflsof.patch lsof.spec

  Log:
upgrading package: lsof 4.77 -> 4.78

  Summary:
RevisionChanges 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 -  1.12
  +++ openpkg-src/lsof/lsof.patch   25 Apr 2007 06:36:07 -  1.13
  @@ -1,6 +1,6 @@
   Index: Configure
   Configure.orig   2006-04-10 14:44:22.0 +0200
  -+++ Configure2006-10-14 13:09:51.728206602 +0200
  +--- Configure.orig   2007-04-24 21:00:22 +0200
   Configure2007-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="10"
  -+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
  

[CVS] OpenPKG: openpkg-src/lsof/ lsof.patch lsof.spec

2006-10-14 Thread Ralf S. Engelschall
  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:   14-Oct-2006 13:13:59
  Branch: HEAD Handle: 2006101412135900

  Modified files:
openpkg-src/lsoflsof.patch lsof.spec

  Log:
fix building under Solaris 10/amd64 with a cruel hack

  Summary:
RevisionChanges Path
1.12+18 -8  openpkg-src/lsof/lsof.patch
1.65+1  -1  openpkg-src/lsof/lsof.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/lsof/lsof.patch
  
  $ cvs diff -u -r1.11 -r1.12 lsof.patch
  --- openpkg-src/lsof/lsof.patch   12 Oct 2006 18:12:38 -  1.11
  +++ openpkg-src/lsof/lsof.patch   14 Oct 2006 11:13:59 -  1.12
  @@ -1,6 +1,6 @@
   Index: Configure
   --- Configure.orig   2006-04-10 14:44:22.0 +0200
  -+++ Configure2006-10-12 20:02:32.759096443 +0200
   Configure2006-10-14 13:09:51.728206602 +0200
   @@ -395,7 +395,7 @@
  fi# }
fi  # }
  @@ -82,7 +82,17 @@
if test $? -eq 0# {
then
  LSOF_CFGL="-w"
  -@@ -3959,7 +3959,7 @@
  +@@ -3881,6 +3881,9 @@
  + LSOF_TSTBIGF=" "
  + LSOF_TSTLFLG="-lsocket -lnsl"
  + LSOF_VERS="10"
  ++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 @@
echo "main(){" >> ${LSOF_TMPC}.c
echo "enum prnodetype p=PR_GWINDOWS;}" >> ${LSOF_TMPC}.c
echo "Testing prdata.h for PR_GWINDOWS, using $LSOF_CC"
  @@ -91,7 +101,7 @@
if test $? -eq 0# {
then
  $LSOF_CC ${LSOF_TMPC}.c -o ${LSOF_TMPC}.x  > /dev/null 2>&1
  -@@ -3984,7 +3984,7 @@
  +@@ -3984,7 +3987,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"
  @@ -100,7 +110,7 @@
if test $? -eq 0# {
then
  $LSOF_CC ${LSOF_TMPC}.c -o ${LSOF_TMPC}.x > /dev/null 2>&1
  -@@ -4014,7 +4014,7 @@
  +@@ -4014,7 +4017,7 @@
echo $SOLARIS_KERNBITS | grep 64 > /dev/null
if test $? -eq 0# {
then
  @@ -109,7 +119,7 @@
  if test $? -eq 0  # {
  then

  -@@ -4240,7 +4240,7 @@
  +@@ -4240,7 +4243,7 @@
  echo "main(){" >> ${LSOF_TMPC}.c
  echo "enum vtype p=VSOCK;}" >> ${LSOF_TMPC}.c
  echo "Testing vnode.h for VSOCK, using $LSOF_CC"
  @@ -118,7 +128,7 @@
  if test $? -eq 0  # {
  then
$LSOF_CC ${LSOF_TMPC}.c -o ${LSOF_TMPC}.x > /dev/null 2>&1
  -@@ -4838,7 +4838,7 @@
  +@@ -4838,7 +4841,7 @@
echo "$i" >> $LSOF_TSTCFLG
  done  # }
fi  # }
  @@ -129,7 +139,7 @@
  echo "-DLT_GCC" >> $LSOF_TSTCFLG
   Index: dialects/freebsd/machine.h
   --- dialects/freebsd/machine.h.orig  2006-03-28 01:29:14.0 +0200
  -+++ dialects/freebsd/machine.h   2006-10-12 19:57:28.990204140 +0200
   dialects/freebsd/machine.h   2006-10-14 13:09:30.370471813 +0200
   @@ -436,6 +436,11 @@
 */

  @@ -144,7 +154,7 @@
/*
   Index: dialects/sun/machine.h
   --- dialects/sun/machine.h.orig  2006-03-28 00:57:40.0 +0200
  -+++ dialects/sun/machine.h   2006-10-12 19:57:28.990497233 +0200
   dialects/sun/machine.h   2006-10-14 13:09:30.370780612 +0200
   @@ -75,6 +75,7 @@
#include 

  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/lsof/lsof.spec
  
  $ cvs diff -u -r1.64 -r1.65 lsof.spec
  --- openpkg-src/lsof/lsof.spec13 Oct 2006 17:29:44 -  1.64
  +++ openpkg-src/lsof/lsof.spec14 Oct 2006 11:13:59 -  1.65
  @@ -33,7 +33,7 @@
   Group:Debugging
   License:  BSD
   Version:  4.77
  -Release:  20061013
  +Release:  20061014
   
   #   list of sources
   Source0:  
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_%{version}.tar.gz
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/lsof/ lsof.patch lsof.spec

2006-10-12 Thread Ralf S. Engelschall
  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:   12-Oct-2006 20:12:39
  Branch: HEAD Handle: 2006101219123800

  Modified files:
openpkg-src/lsoflsof.patch lsof.spec

  Log:
first cut for Solaris 10/amd64 support

  Summary:
RevisionChanges Path
1.11+17 -6  openpkg-src/lsof/lsof.patch
1.63+2  -1  openpkg-src/lsof/lsof.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/lsof/lsof.patch
  
  $ cvs diff -u -r1.10 -r1.11 lsof.patch
  --- openpkg-src/lsof/lsof.patch   10 Apr 2006 17:58:02 -  1.10
  +++ openpkg-src/lsof/lsof.patch   12 Oct 2006 18:12:38 -  1.11
  @@ -1,6 +1,6 @@
  -Index: lsof_4.77_src/Configure
   lsof_4.77_src/Configure.orig 2006-04-10 14:44:22 +0200
  -+++ lsof_4.77_src/Configure  2006-04-10 19:51:46 +0200
  +Index: Configure
  +--- Configure.orig   2006-04-10 14:44:22.0 +0200
   Configure2006-10-12 20:02:32.759096443 +0200
   @@ -395,7 +395,7 @@
  fi# }
fi  # }
  @@ -127,9 +127,9 @@
if test $? -eq 0# {
then
  echo "-DLT_GCC" >> $LSOF_TSTCFLG
  -Index: lsof_4.77_src/dialects/freebsd/machine.h
   lsof_4.77_src/dialects/freebsd/machine.h.orig2006-03-28 01:29:14 
+0200
  -+++ lsof_4.77_src/dialects/freebsd/machine.h 2006-04-10 19:51:46 +0200
  +Index: dialects/freebsd/machine.h
  +--- dialects/freebsd/machine.h.orig  2006-03-28 01:29:14.0 +0200
   dialects/freebsd/machine.h   2006-10-12 19:57:28.990204140 +0200
   @@ -436,6 +436,11 @@
 */

  @@ -142,3 +142,14 @@


/*
  +Index: dialects/sun/machine.h
  +--- dialects/sun/machine.h.orig  2006-03-28 00:57:40.0 +0200
   dialects/sun/machine.h   2006-10-12 19:57:28.990497233 +0200
  +@@ -75,6 +75,7 @@
  + #include 
  + 
  + # ifsolaris>=8
  ++#include 
  + #include 
  + #define _KERNEL 1
  + #include 
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/lsof/lsof.spec
  
  $ cvs diff -u -r1.62 -r1.63 lsof.spec
  --- openpkg-src/lsof/lsof.spec3 Oct 2006 07:33:46 -   1.62
  +++ openpkg-src/lsof/lsof.spec12 Oct 2006 18:12:38 -  1.63
  @@ -33,7 +33,7 @@
   Group:Debugging
   License:  BSD
   Version:  4.77
  -Release:  20061003
  +Release:  20061012
   
   #   list of sources
   Source0:  
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_%{version}.tar.gz
  @@ -61,6 +61,7 @@
   %prep
   %setup -q -n lsof_%{version}
   %{l_tar} xf lsof_%{version}_src.tar
  +cd lsof_%{version}_src
   %patch -p0
   
   %build
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/lsof/ lsof.patch lsof.spec

2006-04-10 Thread Ralf S. Engelschall
  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:   10-Apr-2006 19:58:02
  Branch: HEAD Handle: 2006041018580200

  Modified files:
openpkg-src/lsoflsof.patch lsof.spec

  Log:
upgrading package: lsof 4.76 -> 4.77

  Summary:
RevisionChanges Path
1.10+32 -93 openpkg-src/lsof/lsof.patch
1.60+2  -2  openpkg-src/lsof/lsof.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/lsof/lsof.patch
  
  $ cvs diff -u -r1.9 -r1.10 lsof.patch
  --- openpkg-src/lsof/lsof.patch   22 Feb 2006 17:45:23 -  1.9
  +++ openpkg-src/lsof/lsof.patch   10 Apr 2006 17:58:02 -  1.10
  @@ -1,83 +1,7 @@
  -Index: lsof_4.76_src/dialects/freebsd/dlsof.h
   lsof_4.76_src/dialects/freebsd/dlsof.h.orig  2005-08-08 21:49:26 
+0200
  -+++ lsof_4.76_src/dialects/freebsd/dlsof.h   2006-02-10 19:24:29 +0100
  -@@ -297,6 +297,10 @@
  - #define MALLOC_DECLARE(type)extern struct malloc_type type[1]
  - /* to pacify  */
  - #define _KERNEL
  -+#ifFREEBSDV>=6000
  -+#include 
  -+#include 
  -+#endif /* FREEBSDV>=6000 */
  - #include 
  - #undef  _KERNEL
  - #  endif/* FREEBSDV>=5000 */
  -Index: lsof_4.76_src/dialects/freebsd/dmnt.c
   lsof_4.76_src/dialects/freebsd/dmnt.c.orig   2005-08-08 21:49:27 
+0200
  -+++ lsof_4.76_src/dialects/freebsd/dmnt.c2006-02-10 19:25:57 +0100
  -@@ -78,8 +78,24 @@
  - struct stat sb;
  - static ss = 0;
  - 
  --if (ss)
  --return(c->si_inode ^ s);
  -+# ifdefined(HAS_SI_PRIV)
  -+/*
  -+ * If the cdev structure has a private sub-structure, read it.
  -+ */
  -+struct cdev_priv sp;
  -+
  -+if (!c->si_priv || kread((KA_T)c->si_priv, (char *)&sp, sizeof(sp)))
  -+return(0);
  -+#endif  /* defined(HAS_SI_PRIV) */
  -+
  -+if (ss) {
  -+# ifdefined(HAS_SI_PRIV)
  -+return(sp.cdp_inode ^ s);
  -+# else  /* !defined(HAS_SI_PRIV) */
  -+return(c->si_inode ^ s);
  -+#endif  /* defined(HAS_SI_PRIV) */
  -+}
  -+
  - /*
  -  * Determine the random udev seed from stat(2) operations on "/" and
  -  * its device.
  -@@ -160,8 +176,14 @@
  -  * If the device seed is known, return its application to the cdev 
structure's
  -  * inode.
  -  */
  --if (ss)
  --return(c->si_inode ^ s);
  -+if (ss) {
  -+# ifdefined(HAS_SI_PRIV)
  -+return(sp.cdp_inode ^ s);
  -+# else  /* !defined(HAS_SI_PRIV) */
  -+return(c->si_inode ^ s);
  -+#endif  /* defined(HAS_SI_PRIV) */
  -+}
  -+
  - (void) fprintf(stderr, "%s: can't determine user device random 
seed.\n",Pn);
  - Exit(1);
  - }
  -Index: lsof_4.76_src/dialects/freebsd/machine.h
   lsof_4.76_src/dialects/freebsd/machine.h.orig2005-08-29 12:21:48 
+0200
  -+++ lsof_4.76_src/dialects/freebsd/machine.h 2006-02-10 19:24:29 +0100
  -@@ -427,6 +427,11 @@
  -  */
  - 
  - /* #define  HASSECURITY 1 */
  -+#ifFREEBSDV>=6000
  -+#defineHASSECURITY 1
  -+#defineHAS_SI_PRIV 1
  -+#endif /* FREEBSDV>=6000 */
  -+
  - 
  - 
  - /*
  -Index: lsof_4.76_src/Configure
   lsof_4.76_src/Configure.orig 2005-08-29 12:17:38.0 +0200
  -+++ lsof_4.76_src/Configure  2005-12-30 18:38:58.0 +0100
  -@@ -396,7 +396,7 @@
  +Index: lsof_4.77_src/Configure
  +--- lsof_4.77_src/Configure.orig 2006-04-10 14:44:22 +0200
   lsof_4.77_src/Configure  2006-04-10 19:51:46 +0200
  +@@ -395,7 +395,7 @@
  fi# }
fi  # }
LSOF_TGT="aix"
  @@ -86,7 +10,7 @@
if test $? -eq 0# {
then

  -@@ -540,7 +540,7 @@
  +@@ -539,7 +539,7 @@
LSOF_CFGF="$LSOF_CFGF -I`pwd`/dialects/aix/aix5"
if test $LSOF_VERS -ge 5200 # {
then
  @@ -95,7 +19,7 @@
  if test $? -eq 0  # {
  then

  -@@ -578,7 +578,7 @@
  +@@ -577,7 +577,7 @@
  # This is AIX >= 5 on ia64.

LSOF_TSTK64=1
  @@ -104,7 +28,7 @@
if test $? -eq 0# {
then

  -@@ -655,7 +655,7 @@
  +@@ -654,7 +654,7 @@
  fi# }
  LSOF_TSTK64=1
  LSOF_TMP1=1
  @@ -113,7 +37,7 @@
  if test $? -eq 0  # {
  then
LSOF_CFGF="$LSOF_CFGF -maix64"
  -@@ -702,7 +702,7 @@
  +@@ -701,7 +701,7 @@
fi  #}
LSOF_CFGF="$LSOF_CFGF -DAIXV=$LSOF_VERS"
LSOF_DIALECT_DIR=aix
  @@ -122,7 +46,7 @@
if test $? -eq 0# {
then

  -@@ 

[CVS] OpenPKG: openpkg-src/lsof/ lsof.patch lsof.spec

2006-02-22 Thread Ralf S. Engelschall
  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:   22-Feb-2006 18:45:23
  Branch: HEAD Handle: 2006022217452300

  Modified files:
openpkg-src/lsoflsof.patch lsof.spec

  Log:
improve GCC detection. Submitted by: speedy at fozzie.ziew.org

  Summary:
RevisionChanges Path
1.9 +129 -0 openpkg-src/lsof/lsof.patch
1.59+1  -1  openpkg-src/lsof/lsof.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/lsof/lsof.patch
  
  $ cvs diff -u -r1.8 -r1.9 lsof.patch
  --- openpkg-src/lsof/lsof.patch   10 Feb 2006 18:29:38 -  1.8
  +++ openpkg-src/lsof/lsof.patch   22 Feb 2006 17:45:23 -  1.9
  @@ -74,3 +74,132 @@


/*
  +Index: lsof_4.76_src/Configure
  +--- lsof_4.76_src/Configure.orig 2005-08-29 12:17:38.0 +0200
   lsof_4.76_src/Configure  2005-12-30 18:38:58.0 +0100
  +@@ -396,7 +396,7 @@
  +   fi# }
  + fi  # }
  + LSOF_TGT="aix"
  +-echo $LSOF_CC | grep gcc > /dev/null
  ++$LSOF_CC --version | grep GCC > /dev/null
  + if test $? -eq 0# {
  + then
  + 
  +@@ -540,7 +540,7 @@
  + LSOF_CFGF="$LSOF_CFGF -I`pwd`/dialects/aix/aix5"
  + if test $LSOF_VERS -ge 5200 # {
  + then
  +-  echo $LSOF_CC | grep gcc > /dev/null
  ++  $LSOF_CC --version | grep GCC > /dev/null
  +   if test $? -eq 0  # {
  +   then
  + 
  +@@ -578,7 +578,7 @@
  +   # This is AIX >= 5 on ia64.
  + 
  + LSOF_TSTK64=1
  +-echo $LSOF_CC | grep gcc > /dev/null
  ++$LSOF_CC --version | grep GCC > /dev/null
  + if test $? -eq 0# {
  + then
  + 
  +@@ -655,7 +655,7 @@
  +   fi# }
  +   LSOF_TSTK64=1
  +   LSOF_TMP1=1
  +-  echo $LSOF_CC | grep gcc > /dev/null
  ++  $LSOF_CC --version | grep GCC > /dev/null
  +   if test $? -eq 0  # {
  +   then
  + LSOF_CFGF="$LSOF_CFGF -maix64"
  +@@ -702,7 +702,7 @@
  + fi  #}
  + LSOF_CFGF="$LSOF_CFGF -DAIXV=$LSOF_VERS"
  + LSOF_DIALECT_DIR=aix
  +-echo $LSOF_CC | grep gcc > /dev/null
  ++$LSOF_CC --version | grep GCC > /dev/null
  + if test $? -eq 0# {
  + then
  + 
  +@@ -1921,7 +1921,7 @@
  + fi  # }
  +   fi# }
  + fi  # }
  +-echo $LSOF_CC | grep gcc > /dev/null
  ++$LSOF_CC --version | grep GCC > /dev/null
  + if test $? -eq 0# {
  + then
  +   LSOF_CCV=`$LSOF_CC -v 2>&1 | sed -n 's/.*version \(.*\)/\1/p'`
  +@@ -2045,7 +2045,7 @@
  + echo "* NOTICE!  Configuring for 64 bit HP-UX *"
  + echo "*   *"
  + echo "*"
  +-echo $LSOF_CC | grep gcc > /dev/null
  ++$LSOF_CC --version | grep GCC > /dev/null
  + if test $? -eq 0# {
  + then
  + 
  +@@ -2114,7 +2114,7 @@
  +   else
  + LSOF_CFGF="$LSOF_CFGF -D_FILE_OFFSET_BITS=64"
  + LSOF_CINFO="${LSOF_CINFO}, 32 bit HP-UX"
  +-echo $LSOF_CC | grep gcc > /dev/null
  ++$LSOF_CC --version | grep GCC > /dev/null
  + if test $? -ne 0# {
  + then
  +   LSOF_CFGF="$LSOF_CFGF +DAportable"
  +@@ -3293,7 +3293,7 @@
  + LSOF_CCV=`$LSOF_CC -v 2>&1 | sed -n 's/.*version \(.*\)/\1/p'`
  +   fi# }
  + fi  # }
  +-echo $LSOF_CC | grep gcc > /dev/null
  ++$LSOF_CC --version | grep GCC > /dev/null
  + if test $? -eq 0# {
  + then
  +   LSOF_CFGL="-w"
  +@@ -3975,7 +3975,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"
  +-echo $LSOF_CC | grep gcc > /dev/null
  ++$LSOF_CC --version | grep GCC > /dev/null
  + if test $? -eq 0# {
  + then
  +   $LSOF_CC ${LSOF_TMPC}.c -o ${LSOF_TMPC}.x  > /dev/null 2>&1
  +@@ -4000,7 +4000,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"
  +-echo $LSOF_CC | grep gcc > /dev/null
  ++$LSOF_CC --version | grep GCC > /dev/null
  + if test $? -eq 0# {
  + then
  +   $LSOF_CC ${LSOF_TMPC}.c -o ${LSOF_TMPC}.x > /dev/null 2>&1
  +@@ -4030,7 +4030,7 @@
  + echo $SOLARIS_KERNBITS | grep 64 > /dev/null
  + if test $? -eq 0# {
  + then
  +-  echo $LSOF_CC | grep gcc > /dev/null
  ++  $LSOF_CC --version | grep 

[CVS] OpenPKG: openpkg-src/lsof/ lsof.patch lsof.spec

2006-02-10 Thread Torsten Homeyer
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Torsten Homeyer
  Root:   /v/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   10-Feb-2006 19:29:39
  Branch: HEAD Handle: 2006021018293800

  Added files:
openpkg-src/lsoflsof.patch
  Modified files:
openpkg-src/lsoflsof.spec

  Log:
modifying package: lsof-4.76 20051010 -> 20060210

  Summary:
RevisionChanges Path
1.8 +76 -0  openpkg-src/lsof/lsof.patch
1.58+3  -1  openpkg-src/lsof/lsof.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/lsof/lsof.patch
  
  $ cvs diff -u -r0 -r1.8 lsof.patch
  --- /dev/null 2006-02-10 19:29:29 +0100
  +++ lsof.patch2006-02-10 19:29:38 +0100
  @@ -0,0 +1,76 @@
  +Index: lsof_4.76_src/dialects/freebsd/dlsof.h
  +--- lsof_4.76_src/dialects/freebsd/dlsof.h.orig  2005-08-08 21:49:26 
+0200
   lsof_4.76_src/dialects/freebsd/dlsof.h   2006-02-10 19:24:29 +0100
  +@@ -297,6 +297,10 @@
  + #define MALLOC_DECLARE(type)extern struct malloc_type type[1]
  + /* to pacify  */
  + #define _KERNEL
  ++#ifFREEBSDV>=6000
  ++#include 
  ++#include 
  ++#endif /* FREEBSDV>=6000 */
  + #include 
  + #undef  _KERNEL
  + #  endif/* FREEBSDV>=5000 */
  +Index: lsof_4.76_src/dialects/freebsd/dmnt.c
  +--- lsof_4.76_src/dialects/freebsd/dmnt.c.orig   2005-08-08 21:49:27 
+0200
   lsof_4.76_src/dialects/freebsd/dmnt.c2006-02-10 19:25:57 +0100
  +@@ -78,8 +78,24 @@
  + struct stat sb;
  + static ss = 0;
  + 
  +-if (ss)
  +-return(c->si_inode ^ s);
  ++# ifdefined(HAS_SI_PRIV)
  ++/*
  ++ * If the cdev structure has a private sub-structure, read it.
  ++ */
  ++struct cdev_priv sp;
  ++
  ++if (!c->si_priv || kread((KA_T)c->si_priv, (char *)&sp, sizeof(sp)))
  ++return(0);
  ++#endif  /* defined(HAS_SI_PRIV) */
  ++
  ++if (ss) {
  ++# ifdefined(HAS_SI_PRIV)
  ++return(sp.cdp_inode ^ s);
  ++# else  /* !defined(HAS_SI_PRIV) */
  ++return(c->si_inode ^ s);
  ++#endif  /* defined(HAS_SI_PRIV) */
  ++}
  ++
  + /*
  +  * Determine the random udev seed from stat(2) operations on "/" and
  +  * its device.
  +@@ -160,8 +176,14 @@
  +  * If the device seed is known, return its application to the cdev 
structure's
  +  * inode.
  +  */
  +-if (ss)
  +-return(c->si_inode ^ s);
  ++if (ss) {
  ++# ifdefined(HAS_SI_PRIV)
  ++return(sp.cdp_inode ^ s);
  ++# else  /* !defined(HAS_SI_PRIV) */
  ++return(c->si_inode ^ s);
  ++#endif  /* defined(HAS_SI_PRIV) */
  ++}
  ++
  + (void) fprintf(stderr, "%s: can't determine user device random 
seed.\n",Pn);
  + Exit(1);
  + }
  +Index: lsof_4.76_src/dialects/freebsd/machine.h
  +--- lsof_4.76_src/dialects/freebsd/machine.h.orig2005-08-29 12:21:48 
+0200
   lsof_4.76_src/dialects/freebsd/machine.h 2006-02-10 19:24:29 +0100
  +@@ -427,6 +427,11 @@
  +  */
  + 
  + /* #define  HASSECURITY 1 */
  ++#ifFREEBSDV>=6000
  ++#defineHASSECURITY 1
  ++#defineHAS_SI_PRIV 1
  ++#endif /* FREEBSDV>=6000 */
  ++
  + 
  + 
  + /*
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/lsof/lsof.spec
  
  $ cvs diff -u -r1.57 -r1.58 lsof.spec
  --- openpkg-src/lsof/lsof.spec1 Jan 2006 13:16:17 -   1.57
  +++ openpkg-src/lsof/lsof.spec10 Feb 2006 18:29:38 -  1.58
  @@ -33,10 +33,11 @@
   Group:Filesystem
   License:  BSD
   Version:  4.76
  -Release:  20051010
  +Release:  20060210
   
   #   list of sources
   Source0:  
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_%{version}.tar.gz
  +Patch0:   lsof.patch
   
   #   build information
   Prefix:   %{l_prefix}
  @@ -60,6 +61,7 @@
   %prep
   %setup -q -n lsof_%{version}
   %{l_tar} xf lsof_%{version}_src.tar
  +%patch -p0
   
   %build
   cd lsof_%{version}_src
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/lsof/ lsof.patch lsof.spec

2004-10-23 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   23-Oct-2004 09:02:26
  Branch: HEAD Handle: 2004102308022600

  Modified files:
openpkg-src/lsoflsof.spec
  Removed files:
openpkg-src/lsoflsof.patch

  Log:
upgrading package: lsof 4.72 -> 4.73

  Summary:
RevisionChanges Path
1.7 +0  -56 openpkg-src/lsof/lsof.patch
1.48+2  -4  openpkg-src/lsof/lsof.spec
  

  rm -f openpkg-src/lsof/lsof.patch <<'@@ .'
  Index: openpkg-src/lsof/lsof.patch
  
  [NO CHANGE SUMMARY BECAUSE FILE AS A WHOLE IS JUST REMOVED]
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/lsof/lsof.spec
  
  $ cvs diff -u -r1.47 -r1.48 lsof.spec
  --- openpkg-src/lsof/lsof.spec2 Oct 2004 17:05:04 -   1.47
  +++ openpkg-src/lsof/lsof.spec23 Oct 2004 07:02:26 -  1.48
  @@ -33,12 +33,11 @@
   Class:BASE
   Group:Filesystem
   License:  BSD
  -Version:  4.72
  -Release:  20041002
  +Version:  4.73
  +Release:  20041023
   
   #   list of sources
   Source0:  ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_%{version}.tar.gz
  -Patch0:   lsof.patch
   
   #   build information
   Prefix:   %{l_prefix}
  @@ -62,7 +61,6 @@
   %prep
   %setup -q -n lsof_%{version}
   %{l_tar} xf lsof_%{version}_src.tar
  -%patch -d lsof_%{version}_src -p0
   
   %build
   cd lsof_%{version}_src
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]


[CVS] OpenPKG: openpkg-src/lsof/ lsof.patch lsof.spec

2004-10-02 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   02-Oct-2004 19:05:05
  Branch: HEAD Handle: 2004100218050400

  Added files:
openpkg-src/lsoflsof.patch
  Modified files:
openpkg-src/lsoflsof.spec

  Log:
port to FreeBSD 5.3 by backporting forthcoming vendor changes from
4.73

  Summary:
RevisionChanges Path
1.6 +56 -0  openpkg-src/lsof/lsof.patch
1.47+3  -1  openpkg-src/lsof/lsof.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/lsof/lsof.patch
  
  $ cvs diff -u -r0 -r1.6 lsof.patch
  --- /dev/null 2004-10-02 19:05:05 +0200
  +++ lsof.patch2004-10-02 19:05:05 +0200
  @@ -0,0 +1,56 @@
  +Index: dialects/freebsd/dlsof.h
  +--- dialects/freebsd/dlsof.h 2004-07-06 21:19:00 +0200
   dialects/freebsd/dlsof.h 2004-08-21 18:37:11 +0200
  +@@ -261,7 +261,13 @@
  + 
  + # ifdefined(DTYPE_KQUEUE)
  + #define HASKQUEUE   /* has the kqueue file type */
  ++#   if  FREEBSDV>=4090
  ++#define _KERNEL
  ++#   endif   /* FREEBSDV>=4090 */
  + #include 
  ++#   if  FREEBSDV>=4090
  ++#undef  _KERNEL
  ++#   endif   /* FREEBSDV>=4090 */
  + # endif /* defined(DTYPE_KQUEUE) */
  + 
  + # ifFREEBSDV<2000
  +@@ -282,7 +288,13 @@
  + #include 
  + 
  + #  if   FREEBSDV>=2020
  ++#   if  FREEBSDV>=4090
  ++#define _KERNEL
  ++#   endif   /* FREEBSDV>=4090 */
  + #include 
  ++#   if  FREEBSDV>=4090
  ++#undef  _KERNEL
  ++#   endif   /* FREEBSDV>=4090 */
  + #   if  defined(HASVMLOCKH)
  + #include 
  + #   endif   /* defined(HASVMLOCKH) */
  +Index: dialects/freebsd/machine.h
  +--- dialects/freebsd/machine.h   2004-07-06 21:19:09 +0200
   dialects/freebsd/machine.h   2004-08-21 18:37:11 +0200
  +@@ -423,10 +423,21 @@
  + /*
  +  * HASSETLOCALE is defined for those dialects that have  and
  +  * setlocale().
  ++ *
  ++ * If the dialect also has wide character support for language locales,
  ++ * HASWIDECHAR activates lsof's wide character support and WIDECHARINCL
  ++ * defines the header file (if any) that must be #include'd to use the
  ++ * mblen() and mbtowc() functions.
  +  */
  + 
  + #define HASSETLOCALE1
  + 
  ++# ifFREEBSDV>=5200
  ++#define HASWIDECHAR 1
  ++# endif /* FREEBSDV>=5020 */
  ++
  ++/* #define  WIDECHARINCL   */
  ++
  + 
  + /*
  +  * HASSNODE is defined for those dialects that have snodes.
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/lsof/lsof.spec
  
  $ cvs diff -u -r1.46 -r1.47 lsof.spec
  --- openpkg-src/lsof/lsof.spec13 Jul 2004 17:24:05 -  1.46
  +++ openpkg-src/lsof/lsof.spec2 Oct 2004 17:05:04 -   1.47
  @@ -34,10 +34,11 @@
   Group:Filesystem
   License:  BSD
   Version:  4.72
  -Release:  20040713
  +Release:  20041002
   
   #   list of sources
   Source0:  ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_%{version}.tar.gz
  +Patch0:   lsof.patch
   
   #   build information
   Prefix:   %{l_prefix}
  @@ -61,6 +62,7 @@
   %prep
   %setup -q -n lsof_%{version}
   %{l_tar} xf lsof_%{version}_src.tar
  +%patch -d lsof_%{version}_src -p0
   
   %build
   cd lsof_%{version}_src
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]


[CVS] OpenPKG: openpkg-src/lsof/ lsof.patch lsof.spec

2004-07-13 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   13-Jul-2004 19:24:06
  Branch: HEAD Handle: 2004071318240500

  Modified files:
openpkg-src/lsoflsof.spec
  Removed files:
openpkg-src/lsoflsof.patch

  Log:
upgrading package: lsof 4.71 -> 4.72

  Summary:
RevisionChanges Path
1.5 +0  -14 openpkg-src/lsof/lsof.patch
1.46+2  -4  openpkg-src/lsof/lsof.spec
  

  rm -f openpkg-src/lsof/lsof.patch <<'@@ .'
  Index: openpkg-src/lsof/lsof.patch
  
  [NO CHANGE SUMMARY BECAUSE FILE AS A WHOLE IS JUST REMOVED]
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/lsof/lsof.spec
  
  $ cvs diff -u -r1.45 -r1.46 lsof.spec
  --- openpkg-src/lsof/lsof.spec4 Jun 2004 18:26:31 -   1.45
  +++ openpkg-src/lsof/lsof.spec13 Jul 2004 17:24:05 -  1.46
  @@ -33,12 +33,11 @@
   Class:BASE
   Group:Filesystem
   License:  BSD
  -Version:  4.71
  -Release:  20040604
  +Version:  4.72
  +Release:  20040713
   
   #   list of sources
   Source0:  ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_%{version}.tar.gz
  -Patch0:   lsof.patch
   
   #   build information
   Prefix:   %{l_prefix}
  @@ -62,7 +61,6 @@
   %prep
   %setup -q -n lsof_%{version}
   %{l_tar} xf lsof_%{version}_src.tar
  -%patch -p0 -d lsof_%{version}_src
   
   %build
   cd lsof_%{version}_src
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]


[CVS] OpenPKG: openpkg-src/lsof/ lsof.patch lsof.spec

2004-06-04 Thread Thomas Lotterer
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Thomas Lotterer
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   04-Jun-2004 13:34:58
  Branch: HEAD Handle: 2004060412345700

  Added files:
openpkg-src/lsoflsof.patch
  Modified files:
openpkg-src/lsoflsof.spec

  Log:
fix build on FreeBSD 5.2 by appending missing typedef

  Summary:
RevisionChanges Path
1.4 +14 -0  openpkg-src/lsof/lsof.patch
1.44+3  -1  openpkg-src/lsof/lsof.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/lsof/lsof.patch
  
  $ cvs diff -u -r0 -r1.4 lsof.patch
  --- /dev/null 2004-06-04 13:34:57.0 +0200
  +++ lsof.patch2004-06-04 13:34:58.0 +0200
  @@ -0,0 +1,14 @@
  +Index: dialects/freebsd/dlsof.h
  +--- dialects/freebsd/dlsof.h.orig2004-06-04 13:19:33.0 +0200
   dialects/freebsd/dlsof.h 2004-06-04 13:21:23.0 +0200
  +@@ -64,6 +64,10 @@
  + u_int32_t   pc_current_asngen   /* ASN rollover check */
  + #endif  /* defined(__alpha__) */
  + #define _KERNEL 1
  ++/* fix build on FreeBSD 5.2 by appending missing typedef from
  ++   sys/types.h which was omitted by a previous include with
  ++   _KERNEL undefined */
  ++typedef __cpumask_t cpumask_t;
  + #  endif/* FREEBSDV>=500 */
  + #include 
  + #  if   FREEBSDV>=500
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/lsof/lsof.spec
  
  $ cvs diff -u -r1.43 -r1.44 lsof.spec
  --- openpkg-src/lsof/lsof.spec24 May 2004 14:38:01 -  1.43
  +++ openpkg-src/lsof/lsof.spec4 Jun 2004 11:34:57 -   1.44
  @@ -34,10 +34,11 @@
   Group:Filesystem
   License:  BSD
   Version:  4.71
  -Release:  20040524
  +Release:  20040604
   
   #   list of sources
   Source0:  ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_%{version}.tar.gz
  +Patch0:   lsof.patch
   
   #   build information
   Prefix:   %{l_prefix}
  @@ -61,6 +62,7 @@
   %prep
   %setup -q -n lsof_%{version}
   %{l_tar} xf lsof_%{version}_src.tar
  +%patch -p0 -d lsof_%{version}_src
   
   %build
   cd lsof_%{version}_src
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]