Update of /cvsroot/fink/dists/10.2/unstable/main/finkinfo/net
In directory usw-pr-cvs1:/tmp/cvs-serv10809
Added Files:
gift-0.10.0-20020827-2.info gift-0.10.0-20020827-2.patch
Log Message:
fix for gift to use the system zlib
--- NEW FILE: gift-0.10.0-20020827-2.info ---
Package: gift
Version: 0.10.0-20020827
Revision: 1
Source: http://homepage.mac.com/beren/%n-%v.tar.gz
Source-MD5: 249ed937b1bc3df1daf05396f70ad7f6
Depends: dlcompat
BuildDepends: dlcompat, automake, autoconf25, libtool14
Recommends: giftcurs
Patch: %f.patch
NoSetLDFLAGS: true
SetLIBS: -L%p/lib
SetCPPFLAGS: -Ddlsym=dlsym_prepend_underscore
ConfigureParams: --disable-perl --mandir='${prefix}/share/man' --with-zlib=/usr
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: <<
Uses different .m4 so it does not need gtk headers
Fixes an rmdir call because of kernel bug in 10.1
There is no 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-20020827-2.patch ---
diff -ruN gift-0.10.0-20020827.orig/OpenFT/openft.c
gift-0.10.0-20020827/OpenFT/openft.c
--- gift-0.10.0-20020827.orig/OpenFT/openft.c 2002-07-10 14:26:47.000000000 -0600
+++ gift-0.10.0-20020827/OpenFT/openft.c 2002-09-11 20:56:06.000000000 -0600
@@ -216,7 +216,7 @@
share_comp_write ();
/* delete any host shares left over from previous search node sessions */
- file_rmdir (gift_conf_path ("OpenFT/db/"));
+ file_rmdir (gift_conf_path ("OpenFT/db"));
/* OpenFT, here we come :) */
node_maintain_links (NULL);
diff -ruN gift-0.10.0-20020827.orig/autogen.macosx.sh
gift-0.10.0-20020827/autogen.macosx.sh
--- gift-0.10.0-20020827.orig/autogen.macosx.sh 2002-08-10 15:07:33.000000000 -0600
+++ gift-0.10.0-20020827/autogen.macosx.sh 2002-09-11 20:56:06.000000000 -0600
@@ -3,7 +3,6 @@
srcdir=`dirname $0`
PKG_NAME="giFT"
-export LDFLAGS="-ldl -L/sw/lib -lltdl -L../OpenFT/.libs"
DIE=0
@@ -50,25 +49,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-20020827.orig/configure.ac gift-0.10.0-20020827/configure.ac
--- gift-0.10.0-20020827.orig/configure.ac 2002-08-27 09:34:29.000000000 -0600
+++ gift-0.10.0-20020827/configure.ac 2002-09-11 20:56:23.000000000 -0600
@@ -204,7 +204,7 @@
fi
dnl Check for the presence of ZLIB libraries and headers
-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-20020827.orig/ltmain.patch gift-0.10.0-20020827/ltmain.patch
--- gift-0.10.0-20020827.orig/ltmain.patch 1969-12-31 17:00:00.000000000 -0700
+++ gift-0.10.0-20020827/ltmain.patch 2002-09-11 20:56:06.000000000 -0600
@@ -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
-------------------------------------------------------
In remembrance
www.osdn.com/911/
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits