Update of /cvsroot/fink/experimental/beren12/finkinfo/net
In directory usw-pr-cvs1:/tmp/cvs-serv19359

Modified Files:
        gift-0.10.0-20020916-1.info 
Added Files:
        gift-0.10.0-20020918-1.info gift-0.10.0-20020918-1.patch 
Log Message:
todays build

--- NEW FILE: gift-0.10.0-20020918-1.info ---
Package: gift
Version: 0.10.0-20020918
Revision: 1
Source: http://homepage.mac.com/beren/%n-%v.tar.gz
Source-MD5: f7566a3c6e763539a1062de0fb7ec381
Depends: dlcompat, db4, db4-shlibs, libvorbis0-shlibs
BuildDepends: dlcompat, automake, autoconf25, libtool14, libvorbis0
Recommends: giftcurs
Patch: %f.patch
NoSetLDFLAGS: true
SetLIBS: -L%p/lib -ldl
ConfigureParams: --mandir='${prefix}/share/man' --with-zlib=/usr --with-pic 
--enable-libdb --enable-shared --enable-static --disable-libdl 
CompileScript: <<
find . -name CVS -type d -print0 | xargs -0 rm -r --
./autogen.macosx.sh %c
patch < ltmain.patch
./configure %c
make
<<
InstallScript: <<
  make install DESTDIR=%d
  mkdir -p %i/etc
  cp -r etc %i/etc/giFT
  mkdir -p %i/share/man/man1
  cp giFT.1 %i/share/man/man1
  mkdir -p %i/share/man/man5
  cp gift.conf.5 %i/share/man/man5
  cp OpenFT.conf.5 %i/share/man/man5
<<
DocFiles: doc/* AUTHORS COPYING ChangeLog  NEWS README README.dev TODO
Description: GNU Internet File Transfer project
DescDetail: <<
giFT is a `recursive' acronym for `giFT: Internet File Transfer'. The
giFT project is actually a collection of several components together:
the giFT daemon (which acts as bridge to the actual file sharing
protocols), OpenFT (a p2p network designed to exploit all the
functionality giFT supports), and a user interface front-end.

Note that giFT is alpha software (but it works!), and is still very much
under development!  You should update *often*.
<<
DescUsage: <<
Make sure you run giFT-setup before using giFT.
I usually open a termnial window and run giFT, and then in another
window run giFT-shell or giFTcurs.

man giFT, OpenFT.conf  and gift.conf. They are your friends
sample config files are in %p/etc/giFT this entire dir can be copied to
~/.giFT

please do not beg for help on #gift. They *will* flame you if the
information you seek is in the docs. You have been warned.

You can ask me for help in #fink, my nick is cirdan. Just private msg
me.

giFT -d detaches giFT from the term.

Share! (there is no meta-info or resource forks. Files with resource
forks must be encoded somehow: .bin .sit .dmg, etc.)

:-)
<<
DescPort: <<
Fixes an rmdir call because of kernel bug in 10.1

There is limited meta information support in this version, and it does not
handle resource forks.
<<
License: GPL
Maintainer: Chris Zubrzycki <[EMAIL PROTECTED]>
Homepage: http://gift.sourceforge.net/

--- NEW FILE: gift-0.10.0-20020918-1.patch ---
diff -ruN gift-0.10.0-20020918/OpenFT/share_host.c 
gift-0.10.0-20020918.new/OpenFT/share_host.c
--- gift-0.10.0-20020918/OpenFT/share_host.c    Wed Sep 18 21:36:51 2002
+++ gift-0.10.0-20020918.new/OpenFT/share_host.c        Wed Sep 18 21:38:29 2002
@@ -224,7 +224,7 @@
        if ((ret = dbp->set_cachesize (dbp, 0, ((nrec / 40) + 20) * 1024, 0)))
                TRACE (("DB->set_cachesize failed: %s", db_strerror (ret)));
 
-       if ((ret = dbp->open (dbp, path, NULL, type, DB_CREATE, 0664)))
+       if ((ret = dbp->open (dbp, path, NULL, NULL, type, DB_CREATE, 0664)))
        {
                TRACE (("DB->open failed: %s", db_strerror (ret)));
 
diff -ruN gift-0.10.0-20020918/autogen.macosx.sh 
gift-0.10.0-20020918.new/autogen.macosx.sh
--- gift-0.10.0-20020918/autogen.macosx.sh      Sat Aug 10 17:07:33 2002
+++ gift-0.10.0-20020918.new/autogen.macosx.sh  Wed Sep 18 21:38:29 2002
@@ -3,8 +3,6 @@
 
 srcdir=`dirname $0`
 PKG_NAME="giFT"
-export LDFLAGS="-ldl -L/sw/lib -lltdl -L../OpenFT/.libs"
-
 DIE=0
 
 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
@@ -50,25 +48,6 @@
   exit 1
 fi
 
-if test -z "$*"; then
-  echo "I am going to run \`configure' with the default arguments."
-  echo "If you wish to pass any other to it, please specify them on the"
-  echo \`$0\'" command line."
-  echo
-  1="ppc"
-  2="--disable-libdl"
-  3="--with-zlib=/sw"
-  echo "Default is:"
-  echo "./configure $*"
-  echo
-else
-  echo "**Warning**: To compile giFT on Mac OS X you must specify"
-  echo "\"ppc\" as the host and "--disable-libdl" as parameters"
-  echo "for configure. Otherwise giFT will not compile."
-  echo
-  echo "Parameters are:"
-  echo "./configure $*"
-fi
 
 case $CC in
 xlc )
diff -ruN gift-0.10.0-20020918/configure.ac gift-0.10.0-20020918.new/configure.ac
--- gift-0.10.0-20020918/configure.ac   Wed Sep 18 21:36:51 2002
+++ gift-0.10.0-20020918.new/configure.ac       Wed Sep 18 21:38:29 2002
@@ -291,8 +291,8 @@
 if test x$use_libdb = xyes
 then
   for dbname in db-4 db4 db-4.0 db; do
-    AC_CHECK_LIB($dbname, db_create_4000,
-                  [ LIBDB_CFLAGS=
+    AC_CHECK_LIB($dbname, db_create,
+                  [ LIBDB_CFLAGS="-I$prefix/include/db4"
                        LIBDB_LIBS="-l$dbname"
                        AC_SUBST(LIBDB_CFLAGS)
                        AC_SUBST(LIBDB_LIBS)
@@ -309,7 +309,7 @@
 dnl Check for the presence of ZLIB libraries and headers
 dnl ###########################################################################
 
-ZLIB_VER=1.1.4
+ZLIB_VER=1.1.3
 
 dnl Default to compiler & linker defaults for files & libraries.
 OPT_ZLIB=
diff -ruN gift-0.10.0-20020918/etc/gift.conf gift-0.10.0-20020918.new/etc/gift.conf
--- gift-0.10.0-20020918/etc/gift.conf  Wed Jul 17 01:51:36 2002
+++ gift-0.10.0-20020918.new/etc/gift.conf      Wed Sep 18 21:38:29 2002
@@ -39,11 +39,12 @@
 # Windows.
 #
 # *nix users: use the extension '.so', or whatever is appropriate for your OS.
+# OSX and Darwin Users: use the extension '.dylib'.
 # Windows users: use the extension '.dll'.
 #
 # Default: none
 #
-plugins = libOpenFT.so
+plugins = libOpenFT.dylib
 
 ###############################################################################
 # DOWNLOAD CONTROLS
diff -ruN gift-0.10.0-20020918/ltmain.patch gift-0.10.0-20020918.new/ltmain.patch
--- gift-0.10.0-20020918/ltmain.patch   Wed Dec 31 19:00:00 1969
+++ gift-0.10.0-20020918.new/ltmain.patch       Wed Sep 18 21:38:29 2002
@@ -0,0 +1,62 @@
+--- ltmain.sh.orig     2002-06-22 21:27:18.000000000 -0400
++++ ltmain.sh  2002-06-22 21:27:52.000000000 -0400
+@@ -1739,7 +1739,7 @@
+ 
+         if test "$installed" = no; then
+           notinst_deplibs="$notinst_deplibs $lib"
+-          need_relink=yes
++          need_relink=no
+         fi
+ 
+         if test -n "$old_archive_from_expsyms_cmds"; then
+@@ -1884,7 +1884,11 @@
+             add="-l$name"
+           else
+             # We cannot seem to hardcode it, guess we'll fake it.
+-            add_dir="-L$libdir"
++            if test "X$installed" = Xyes; then
++              add_dir="-L$libdir"
++            else
++              add_dir="-L$DESTDIR$libdir"
++            fi
+             add="-l$name"
+           fi
+ 
+@@ -4146,12 +4150,21 @@
+       esac
+ 
+       # Add the libdir to current_libdirs if it is the destination.
++      DESTDIR=
+       if test "X$destdir" = "X$libdir"; then
+         case "$current_libdirs " in
+         *" $libdir "*) ;;
+         *) current_libdirs="$current_libdirs $libdir" ;;
+         esac
+       else
++        case "$destdir" in
++          *"$libdir")
++            DESTDIR=`$echo "$destdir" | sed -e 's!'"$libdir"'$!!'`
++            if test "X$destdir" != "X$DESTDIR$libdir"; then
++              DESTDIR=
++            fi
++            ;;
++        esac
+         # Note the libdir as a future libdir.
+         case "$future_libdirs " in
+         *" $libdir "*) ;;
+@@ -4165,6 +4178,7 @@
+ 
+       if test -n "$relink_command"; then
+         $echo "$modename: warning: relinking \`$file'" 1>&2
++        export DESTDIR
+         $show "$relink_command"
+         if $run eval "$relink_command"; then :
+         else
+@@ -4172,6 +4186,7 @@
+           continue
+         fi
+       fi
++      unset DESTDIR
+ 
+       # See the names of the shared library.
+       set dummy $library_names

Index: gift-0.10.0-20020916-1.info
===================================================================
RCS file: /cvsroot/fink/experimental/beren12/finkinfo/net/gift-0.10.0-20020916-1.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- gift-0.10.0-20020916-1.info 18 Sep 2002 22:43:37 -0000      1.2
+++ gift-0.10.0-20020916-1.info 19 Sep 2002 01:51:52 -0000      1.3
@@ -9,7 +9,8 @@
 Patch: %f.patch
 NoSetLDFLAGS: true
 SetLIBS: -L%p/lib -ldl
-ConfigureParams: --mandir='${prefix}/share/man' --with-zlib=/usr --with-pic 
--enable-libdb --enable-shared --enable-static --disable-libdl
+SetCPPFLAGS: -Ddlsym=dlsym_prepend_underscore
+ConfigureParams: --mandir='${prefix}/share/man' --with-zlib=/usr --with-pic 
+--enable-libdb --enable-shared --enable-static --disable-libdl 
 CompileScript: <<
 find . -name CVS -type d -print0 | xargs -0 rm -r --
 ./autogen.macosx.sh %c



-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to