[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openpkg-cvs
Subject:    [CVS] OpenPKG: openpkg-src/lsof/ lsof.patch lsof.spec openpkg-web/ new...
From:       "Michael Schloh" <ms () openpkg ! org>
Date:       2003-10-31 10:50:22
[Download RAW message or body]

  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Michael Schloh
  Root:   /e/openpkg/cvs                   Email:  ms@openpkg.org
  Module: openpkg-src openpkg-web          Date:   31-Oct-2003 11:50:22
  Branch: HEAD                             Handle: 2003103110502001

  Added files:
    openpkg-src/lsof        lsof.patch
  Modified files:
    openpkg-src/lsof        lsof.spec
    openpkg-web             news.txt

  Log:
    More patch code just for new features in Solaris 10

  Summary:
    Revision    Changes     Path
    1.1         +37 -0      openpkg-src/lsof/lsof.patch
    1.35        +3  -4      openpkg-src/lsof/lsof.spec
    1.7245      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/lsof/lsof.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 lsof.patch
  --- /dev/null	2003-10-31 11:50:21.000000000 +0100
  +++ lsof.patch	2003-10-31 11:50:21.000000000 +0100
  @@ -0,0 +1,37 @@
  +diff -Naur lsof_4.69.orig/lsof_4.69_src/dialects/sun/dlsof.h \
lsof_4.69/lsof_4.69_src/dialects/sun/dlsof.h  +--- \
lsof_4.69.orig/lsof_4.69_src/dialects/sun/dlsof.h	Mon Oct 13 15:30:14 2003  ++++ \
lsof_4.69/lsof_4.69_src/dialects/sun/dlsof.h	Fri Oct 31 11:44:28 2003  +@@ -96,7 \
+96,7 @@  + #define	inet_pton	__inet_pton
  + #include <inet/ipclassifier.h>
  + #undef	inet_ntop
  +-#undef	inet_pto
  ++#undef	inet_pton
  + # endif	/* defined(HAS_IPCLASSIFIER_H) */
  + 
  + #include <inet/ip.h>
  +@@ -159,13 +159,21 @@
  + #include <sys/fs/autofs.h>
  + 
  + #  if	solaris>=100000
  ++#define	printf		lsof_printf
  ++#define	snprintf	lsof_snprintf
  ++#define	sprintf		lsof_sprintf
  + #define	swab		lsof_swab
  + #define	vprintf		lsof_vprintf
  ++#define	vsnprintf	lsof_vsnprintf
  + #define	vsprintf	lsof_vsprintf
  + #include <sys/fs/dv_node.h>
  +-#undef	lsof_swab
  +-#undef	lsof_vprintf
  +-#undef	lsof_vsprintf
  ++#undef	printf
  ++#undef	snprintf
  ++#undef	sprintf
  ++#undef	swab
  ++#undef	vprintf
  ++#undef	vsnprintf
  ++#undef	vsprintf
  + #  endif	/* solaris>=100000 */
  + 
  + #include <sys/door.h>
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/lsof/lsof.spec
  ============================================================================
  $ cvs diff -u -r1.34 -r1.35 lsof.spec
  --- openpkg-src/lsof/lsof.spec	30 Oct 2003 18:42:23 -0000	1.34
  +++ openpkg-src/lsof/lsof.spec	31 Oct 2003 10:50:21 -0000	1.35
  @@ -33,10 +33,11 @@
   Group:        Filesystem
   License:      BSD
   Version:      4.69
  -Release:      20031030
  +Release:      20031031
   
   #   list of sources
   Source0:      ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/lsof_%{version}.tar.gz
  +Patch0:       lsof.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -53,9 +54,7 @@
   %prep
       %setup -q -n lsof_%{version}
       %{l_tar} xf lsof_%{version}_src.tar
  -    %{l_shtool} subst \
  -        -e 's;^\(#.*\)inet_pto$;\1inet_pton;' \
  -        lsof_%{version}_src/dialects/sun/dlsof.h
  +    %patch -p1
   
   %build
       cd lsof_%{version}_src
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.7244 -r1.7245 news.txt
  --- openpkg-web/news.txt	31 Oct 2003 09:56:35 -0000	1.7244
  +++ openpkg-web/news.txt	31 Oct 2003 10:50:20 -0000	1.7245
  @@ -1,3 +1,4 @@
  +31-Oct-2003: Upgraded package: P<lsof-4.69-20031031>
   31-Oct-2003: Upgraded package: P<openpkg-20031031-20031031>
   31-Oct-2003: Upgraded package: P<integrit-3.02.00-20031031>
   31-Oct-2003: Upgraded package: P<crm114-20031023rc3-20031031>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic