mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Added gnupg-1.4.10. All tests pass.
NOTE:Needs haikuporter >= r597 to download properly.
This commit is contained in:
19
app-crypt/gnupg/gnupg-1.4.10.bep
Normal file
19
app-crypt/gnupg/gnupg-1.4.10.bep
Normal file
@@ -0,0 +1,19 @@
|
||||
DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement."
|
||||
HOMEPAGE="http://www.gnupg.org/"
|
||||
SRC_URI="ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.10.tar.bz2"
|
||||
CHECKSUM_MD5="dcf7ed712997888d616e029637bfc303"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd gnupg-1.4.10
|
||||
libtoolize --force --copy --install
|
||||
autoconf
|
||||
./configure --prefix=/boot/common
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd gnupg-1.4.10
|
||||
make install
|
||||
}
|
||||
5
app-crypt/gnupg/gnupg.OptionalPackageDescription
Normal file
5
app-crypt/gnupg/gnupg.OptionalPackageDescription
Normal file
@@ -0,0 +1,5 @@
|
||||
Package: gnupg
|
||||
Version: 1.4.10
|
||||
Copyright: 1998-2009 Free Software Foundation, Inc.
|
||||
License: GNU GPL v3
|
||||
URL: http://www.gnupg.org/
|
||||
27
app-crypt/gnupg/patches/gnupg-1.4.10.patch
Normal file
27
app-crypt/gnupg/patches/gnupg-1.4.10.patch
Normal file
@@ -0,0 +1,27 @@
|
||||
diff -up gnupg-1.4.10/configure.ac.orig gnupg-1.4.10/configure.ac
|
||||
--- gnupg-1.4.10/configure.ac.orig 2010-02-17 15:06:58.390594560 -0700
|
||||
+++ gnupg-1.4.10/configure.ac 2010-02-17 15:07:20.451936256 -0700
|
||||
@@ -657,6 +657,8 @@ dnl be detected.
|
||||
|
||||
AC_CHECK_FUNC(gethostbyname, , AC_CHECK_LIB(nsl, gethostbyname,
|
||||
[NETLIBS="-lnsl $NETLIBS"]))
|
||||
+AC_CHECK_FUNC(gethostbyname, , AC_CHECK_LIB(network, gethostbyname,
|
||||
+ [NETLIBS="-lnetwork $NETLIBS"]))
|
||||
AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt,
|
||||
[NETLIBS="-lsocket $NETLIBS"]))
|
||||
|
||||
diff -up gnupg-1.4.10/util/dotlock.c.orig gnupg-1.4.10/util/dotlock.c
|
||||
--- gnupg-1.4.10/util/dotlock.c.orig 2010-02-17 15:07:04.697040896 -0700
|
||||
+++ gnupg-1.4.10/util/dotlock.c 2010-02-17 15:07:12.601620480 -0700
|
||||
@@ -432,7 +432,11 @@ make_dotlock( DOTLOCK h, long timeout )
|
||||
{
|
||||
#ifndef HAVE_DOSISH_SYSTEM
|
||||
# ifndef __riscos__
|
||||
+# ifdef __HAIKU__
|
||||
+ if( !symlink(h->tname, h->lockname) )
|
||||
+# else
|
||||
if( !link(h->tname, h->lockname) )
|
||||
+# endif
|
||||
{
|
||||
/* fixme: better use stat to check the link count */
|
||||
h->locked = 1;
|
||||
Reference in New Issue
Block a user