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

  Server: cvs.openpkg.org                  Name:   Torsten Homeyer
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   02-Jun-2004 15:48:47
  Branch: HEAD                             Handle: 2004060214484700

  Modified files:
    openpkg-src/pgp         pgp.patch pgp.spec

  Log:
    added some stuff for netbsd support

  Summary:
    Revision    Changes     Path
    1.6         +11 -3      openpkg-src/pgp/pgp.patch
    1.41        +1  -1      openpkg-src/pgp/pgp.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/pgp/pgp.patch
  ============================================================================
  $ cvs diff -u -r1.5 -r1.6 pgp.patch
  --- openpkg-src/pgp/pgp.patch 9 Feb 2004 08:26:21 -0000       1.5
  +++ openpkg-src/pgp/pgp.patch 2 Jun 2004 13:48:47 -0000       1.6
  @@ -56,7 +56,7 @@
     # include <netdb.h>
     #endif
     
  -+ #ifdef __FreeBSD__
  ++ #if defined( __FreeBSD__ ) || defined ( __NetBSD__ )
   + # include <sys/ioctl.h>            /* Need FIONREAD */
   + #endif
   + 
  @@ -428,7 +428,7 @@
     #include <stdio.h>
     #include <ctype.h>
     
  -+ #ifdef __FreeBSD__
  ++ #if defined( __FreeBSD__ ) || defined ( __NetBSD__ )
   + #include <sys/time.h>
   + #endif
   + 
  @@ -583,9 +583,17 @@
    #if PGP_UNIX_LINUX || PGP_UNIX_HPUX || PGP_UNIX_AIX
    int gethostname (char * name, size_t namelen);
    #else
  -+#if !defined(__FreeBSD__)
  ++#if !defined(__FreeBSD__)  && !defined ( __NetBSD__ )
    int gethostname (char * name, int namelen);
   +#endif
    #endif /* PGP_UNIX_LINUX */
    #endif
    
  +--- libs/network/ldaplib/build/platforms/netbsd-gcc/Make-platform.orig       
2004-06-02 15:16:24.000000000 +0200
  ++++ libs/network/ldaplib/build/platforms/netbsd-gcc/Make-platform    2004-06-02 
15:16:32.000000000 +0200
  +@@ -13,4 +13,4 @@
  + # -------------------------------------------------------------------------
  + CC  = gcc
  + 
  +-PLATFORMCFLAGS=     -Dnetbsd
  ++PLATFORMCFLAGS=     -Dnetbsd -DPGP_UNIX=1
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/pgp/pgp.spec
  ============================================================================
  $ cvs diff -u -r1.40 -r1.41 pgp.spec
  --- openpkg-src/pgp/pgp.spec  9 Feb 2004 08:26:21 -0000       1.40
  +++ openpkg-src/pgp/pgp.spec  2 Jun 2004 13:48:47 -0000       1.41
  @@ -39,7 +39,7 @@
   Group:        Cryptography
   License:      GPL
   Version:      %{V_long}
  -Release:      20040209
  +Release:      20040602
   
   #   list of sources
   Source0:      
ftp://ftp.pgpi.org/pub/pgp/%{V_short}/%{V_long}/pgpsrc%{V_strip}unix.tar.gz
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to