wok-4.x rev 4286

neon: back to openssl, disable SOCK_CLOEXEC
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 26 13:29:54 2009 +0200 (2009-09-26)
parents 18292a22a63a
children c6c606632d4f
files neon/receipt
line diff
     1.1 --- a/neon/receipt	Sat Sep 26 11:48:00 2009 +0200
     1.2 +++ b/neon/receipt	Sat Sep 26 13:29:54 2009 +0200
     1.3 @@ -5,8 +5,8 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="Neon HTTP and WebDAV client library"
     1.6  MAINTAINER="lehswe@gmail.com"
     1.7 -DEPENDS="gnutls"
     1.8 -BUILD_DEPENDS="zlib-dev libxml2-dev expat-dev gnutls-dev"
     1.9 +DEPENDS="openssl"
    1.10 +BUILD_DEPENDS="zlib-dev libxml2-dev expat-dev openssl-dev"
    1.11  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12  WEB_SITE="http://www.webdav.org/neon"
    1.13  WGET_URL="http://www.webdav.org/neon/$TARBALL"
    1.14 @@ -15,8 +15,10 @@
    1.15  compile_rules()
    1.16  {
    1.17  	cd $src
    1.18 +	# SOCK_CLOEXEC needs linux 2.6.27+
    1.19 +	sed -i 's/| SOCK_CLOEXEC//' src/ne_socket.c
    1.20  	./configure --prefix=/usr --infodir=/usr/share/info \
    1.21 -	--with-ssl=gnutls --mandir=/usr/share/man \
    1.22 +	--with-ssl=openssl --mandir=/usr/share/man \
    1.23  	--enable-shared --disable-static \
    1.24  	$CONFIGURE_ARGS &&
    1.25  	make &&