mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Add gnutls with bep contributed by michaelvoliveira(with changes by me) and patch from kaliber.
It's completely untested because one of the dependencies fails to build(libgpg-error).
This commit is contained in:
31
net-libs/gnutls/gnutls-2.8.6.bep
Normal file
31
net-libs/gnutls/gnutls-2.8.6.bep
Normal file
@@ -0,0 +1,31 @@
|
||||
DESCRIPTION="A TLS 1.0 and SSL 3.0 implementation for the GNU project"
|
||||
HOMEPAGE="http://www.gnu.org/software/gnutls/"
|
||||
SRC_URI="ftp://ftp.gnu.org/pub/gnu/gnutls/gnutls-2.8.6.tar.bz2"
|
||||
CHECKSUM_MD5="eb0a6d7d3cb9ac684d971c14f9f6d3ba"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="untested"
|
||||
DEPEND="dev-libs/libgcrypt >= 1.4.5
|
||||
dev-libs/libgpg-error >= 1.7"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
COPYRIGHT="2009-2010 Free Software Fundation Inc.
|
||||
2004-2008 Simon Josefsson
|
||||
2000-2004 Nikos Mavrogiannopoulos"
|
||||
BUILD {
|
||||
cd gnutls-2.8.6
|
||||
libtoolize --force --copy --install
|
||||
autoreconf
|
||||
cd lib
|
||||
libtoolize --force --copy --install
|
||||
autoreconf
|
||||
cd ..
|
||||
cd libextra
|
||||
libtoolize --force --copy --install
|
||||
autoreconf
|
||||
cd ..
|
||||
./configure --prefix=/boot/common
|
||||
make
|
||||
}
|
||||
INSTALL {
|
||||
cd gnutls-2.8.6
|
||||
make install
|
||||
}
|
||||
21
net-libs/gnutls/patches/gnutls-2.8.6.patch
Normal file
21
net-libs/gnutls/patches/gnutls-2.8.6.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
diff -Naur gnutls-2.8.6/doc/scripts/sort2.pl gnutls-2.8.6-haiku/doc/scripts/sort2.pl
|
||||
--- gnutls-2.8.6/doc/scripts/sort2.pl 2009-06-02 15:59:32.012058624 -0300
|
||||
+++ gnutls-2.8.6-haiku/doc/scripts/sort2.pl 2010-05-14 23:31:26.698875904 -0300
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/perl
|
||||
+#!/bin/env perl
|
||||
|
||||
sub key_of_record {
|
||||
local($record) = @_;
|
||||
diff -Naur gnutls-2.8.6/gl/string.in.h gnutls-2.8.6-haiku/gl/string.in.h
|
||||
--- gnutls-2.8.6/gl/string.in.h 2009-06-02 15:59:32.064749568 -0300
|
||||
+++ gnutls-2.8.6-haiku/gl/string.in.h 2010-05-14 23:33:36.399245312 -0300
|
||||
@@ -36,7 +36,7 @@
|
||||
# endif
|
||||
/* The attribute __pure__ was added in gcc 2.96. */
|
||||
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 96)
|
||||
-# define __pure__ /* empty */
|
||||
+# define __pure__ none /* empty */
|
||||
# endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user