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

  Server: cvs.openpkg.org                  Name:   Michael Schloh
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web          Date:   27-Jan-2004 18:11:55
  Branch: HEAD                             Handle: 2004012717115203

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

  Log:
    more autoconf patching to detect presence of sig_t type, and get this
    building again on all platforms regardless of having it or not

  Summary:
    Revision    Changes     Path
    1.7         +104 -0     openpkg-src/kerberos/kerberos.patch
    1.41        +1  -1      openpkg-src/kerberos/kerberos.spec
    1.8330      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/kerberos/kerberos.patch
  ============================================================================
  $ cvs diff -u -r1.6 -r1.7 kerberos.patch
  --- openpkg-src/kerberos/kerberos.patch       30 Oct 2003 15:50:06 -0000      1.6
  +++ openpkg-src/kerberos/kerberos.patch       27 Jan 2004 17:11:55 -0000      1.7
  @@ -100,3 +100,107 @@
    #endif
    
    /*
  +diff -Naur krb5-1.3.1.orig/src/appl/gssftp/configure 
krb5-1.3.1/src/appl/gssftp/configure
  +--- krb5-1.3.1.orig/src/appl/gssftp/configure        2004-01-27 14:52:16.496284102 
+0100
  ++++ krb5-1.3.1/src/appl/gssftp/configure     2004-01-27 16:56:28.499089951 +0100
  +@@ -4966,7 +4966,71 @@
  +   LIBS="-lutil $LIBS"
  + 
  + fi
  +- echo "$as_me:$LINENO: checking setenv" >&5
  ++ echo "$as_me:$LINENO: checking for sig_t" >&5
  ++echo $ECHO_N "checking for sig_t... $ECHO_C" >&6
  ++if test "${ac_cv_type_sig_t+set}" = set; then
  ++  echo $ECHO_N "(cached) $ECHO_C" >&6
  ++else
  ++  cat >conftest.$ac_ext <<_ACEOF
  ++/* confdefs.h.  */
  ++_ACEOF
  ++cat confdefs.h >>conftest.$ac_ext
  ++cat >>conftest.$ac_ext <<_ACEOF
  ++/* end confdefs.h.  */
  ++#include <signal.h>
  ++
  ++int
  ++main ()
  ++{
  ++if ((sig_t *) 0)
  ++  return 0;
  ++if (sizeof (sig_t))
  ++  return 0;
  ++  ;
  ++  return 0;
  ++}
  ++_ACEOF
  ++rm -f conftest.$ac_objext
  ++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  ++  (eval $ac_compile) 2>conftest.er1
  ++  ac_status=$?
  ++  grep -v '^ *+' conftest.er1 >conftest.err
  ++  rm -f conftest.er1
  ++  cat conftest.err >&5
  ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  ++  (exit $ac_status); } &&
  ++     { ac_try='test -z "$ac_c_werror_flag"
  ++                     || test ! -s conftest.err'
  ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  ++  (eval $ac_try) 2>&5
  ++  ac_status=$?
  ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  ++  (exit $ac_status); }; } &&
  ++     { ac_try='test -s conftest.$ac_objext'
  ++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  ++  (eval $ac_try) 2>&5
  ++  ac_status=$?
  ++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  ++  (exit $ac_status); }; }; then
  ++  ac_cv_type_sig_t=yes
  ++else
  ++  echo "$as_me: failed program was:" >&5
  ++sed 's/^/| /' conftest.$ac_ext >&5
  ++
  ++ac_cv_type_sig_t=no
  ++fi
  ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  ++fi
  ++echo "$as_me:$LINENO: result: $ac_cv_type_sig_t" >&5
  ++echo "${ECHO_T}$ac_cv_type_sig_t" >&6
  ++if test $ac_cv_type_sig_t = yes; then
  ++  cat >>confdefs.h <<\_ACEOF
  ++#define HAVE_SIG_T 1
  ++_ACEOF
  ++
  ++fi
  ++
  ++echo "$as_me:$LINENO: checking setenv" >&5
  + echo $ECHO_N "checking setenv... $ECHO_C" >&6
  + if test "${krb5_cv_setenv+set}" = set; then
  +   echo $ECHO_N "(cached) $ECHO_C" >&6
  +diff -Naur krb5-1.3.1.orig/src/appl/gssftp/ftp/cmds.c 
krb5-1.3.1/src/appl/gssftp/ftp/cmds.c
  +--- krb5-1.3.1.orig/src/appl/gssftp/ftp/cmds.c       2004-01-27 17:29:25.019970000 
+0100
  ++++ krb5-1.3.1/src/appl/gssftp/ftp/cmds.c    2004-01-27 17:38:12.186768053 +0100
  +@@ -67,6 +67,10 @@
  + #include <time.h>
  + #include <limits.h>
  + 
  ++#ifndef HAVE_SIG_T
  ++typedef void (*sig_t) (int);
  ++#endif
  ++
  + #ifdef HAVE_GETCWD
  + #define getwd(x) getcwd(x,MAXPATHLEN)
  + #endif
  +diff -Naur krb5-1.3.1.orig/src/appl/gssftp/ftp/ftp.c 
krb5-1.3.1/src/appl/gssftp/ftp/ftp.c
  +--- krb5-1.3.1.orig/src/appl/gssftp/ftp/ftp.c        2003-06-17 00:37:40.000000000 
+0200
  ++++ krb5-1.3.1/src/appl/gssftp/ftp/ftp.c     2004-01-27 17:40:18.235260482 +0100
  +@@ -99,6 +99,10 @@
  + #include <sys/select.h>
  + #endif
  + 
  ++#ifndef HAVE_SIG_T
  ++typedef void (*sig_t) (int);
  ++#endif
  ++
  + #include <netinet/in.h>
  + #include <netinet/in_systm.h>
  + #include <netinet/ip.h>
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/kerberos/kerberos.spec
  ============================================================================
  $ cvs diff -u -r1.40 -r1.41 kerberos.spec
  --- openpkg-src/kerberos/kerberos.spec        23 Jan 2004 13:10:09 -0000      1.40
  +++ openpkg-src/kerberos/kerberos.spec        27 Jan 2004 17:11:55 -0000      1.41
  @@ -33,7 +33,7 @@
   Group:        Cryptography
   License:      MIT
   Version:      1.3.1
  -Release:      20031202
  +Release:      20040127
   
   #   package options
   %option       with_fsl  yes
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.8329 -r1.8330 news.txt
  --- openpkg-web/news.txt      27 Jan 2004 13:43:45 -0000      1.8329
  +++ openpkg-web/news.txt      27 Jan 2004 17:11:52 -0000      1.8330
  @@ -1,3 +1,4 @@
  +27-Jan-2004: Upgraded package: P<kerberos-1.3.1-20040127>
   27-Jan-2004: Upgraded package: P<xrender-0.8.3-20040127>
   27-Jan-2004: Upgraded package: P<perl-openpkg-20040127-20040127>
   27-Jan-2004: Upgraded package: P<sav-2.18+3.78-20040127>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to