ports/138994: [patch] new port www/neon29

olli hauer ohauer at gmx.de
Sun Sep 20 16:10:04 UTC 2009


>Number:         138994
>Category:       ports
>Synopsis:       [patch] new port www/neon29
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 20 16:10:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     olli hauer <ohauer at gmx.de>
>Release:        FreeBSD 7.2-RELEASE i386
>Organization:
>Environment:


>Description:
New port neon29 from http://www.webdav.org/neon/
The ports build without issues on 7.2/i386 not tested at 6.x/8/9.

@lev
I hope it's OK to set lev at FreeBSD as Maintainer, since you are the Maintainer of neon26/28

Changes in release neon 0.29.0, 13 September 2009 (PGP signature)

    * Interface changes:
          o none, API and ABI backwards-compatible with 0.28.x and 0.27.x 
    * New interfaces and features:
          o added NTLM auth support for Unix builds (Kai Sommerfeld, Daniel Stenberg)
          o ne_auth.h: added NE_AUTH_GSSAPI and NE_AUTH_NTLM auth protocol codes
          o added ne_acl3744.h, updated WebDAV ACL support (Henrik Holst)
          o added built-in SOCKS v4/v4a/v5 support: ne_socket.h:ne_sock_proxy(), and ne_session.h:ne_session_socks_proxy()
          o added support for system-default proxies: ne_session_system_proxy(), implemented using libproxy where available
          o ne_session.h: added NE_SESSFLAG_EXPECT100 session flag, SSL verification failure bits extended by NE_SSL_BADCHAIN and NE_SSL_REVOKED, better handling of failures within the cert chain (thanks to Ludwig Nussel)
          o ne_socket.h: ne_sock_writev() (Julien Reichel), ne_sock_set_error(), ne_iaddr_raw(), ne_iaddr_parse()
          o ne_string.h: ne_buffer_qappend(), ne_strnqdup() 
    * Deprecated interfaces:
          o ne_acl.h is obsoleted by ne_acl3744.h (but is still present)
          o obsolete feature "NE_FEATURE_SOCKS" now never marked present 
    * Other changes:
          o fix handling of "stale" flag in RFC2069-style Digest auth challenge
          o ne_free() implemented as a function on Win32 (thanks to Helge Hess)
          o symbol versioning used for new symbols, where supported
          o ensure SSL connections are closed cleanly with OpenSSL
          o fix build with OpenSSL 1.0 beta
          o updated Polish (pl) translation (Arfrever Frehtes Taifersar Arahesis) 


//olli

>How-To-Repeat:
>Fix:
--- neon29.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	www/neon29/
#	www/neon29/files
#	www/neon29/files/patch-Makefile.in
#	www/neon29/files/patch-ltmain.sh
#	www/neon29/pkg-descr
#	www/neon29/pkg-plist
#	www/neon29/Makefile
#	www/neon29/distinfo
#
echo c - www/neon29/
mkdir -p www/neon29/ > /dev/null 2>&1
echo c - www/neon29/files
mkdir -p www/neon29/files > /dev/null 2>&1
echo x - www/neon29/files/patch-Makefile.in
sed 's/^X//' >www/neon29/files/patch-Makefile.in << 'aedc2ca7dd80f5e339fb862ddd2b38d5'
X--- Makefile.in.orig	Wed Feb  7 15:53:29 2007
X+++ Makefile.in	Wed Feb  7 16:34:12 2007
X@@ -21,7 +21,7 @@
X man1dir = $(mandir)/man1
X man3dir = $(mandir)/man3
X datadir = @datadir@
X-docdir = $(datadir)/doc/neon- at NEON_VERSION@
X+docdir = $(datadir)/doc/neon
X includedir = @includedir@
X neonincludes = $(includedir)/neon
X pkgconfigdir = $(prefix)/libdata/pkgconfig
X@@ -147,7 +147,7 @@
X 	@echo "ERROR: purposes only; this copy of neon must not be installed."
X 	@false
X 
X-install-yes: install-lib install-headers install-config install-docs install-nls
X+install-yes: install-lib install-headers install-config install-nls
X 
X # libtool does all the necessary magic here
X install-lib: subdirs
aedc2ca7dd80f5e339fb862ddd2b38d5
echo x - www/neon29/files/patch-ltmain.sh
sed 's/^X//' >www/neon29/files/patch-ltmain.sh << '06cb6abba238c1359566ed6b37d35b47'
X--- ltmain.sh.orig	2009-02-25 17:14:36.000000000 +0300
X+++ ltmain.sh	2009-04-29 15:24:11.000000000 +0400
X@@ -2077,10 +2077,12 @@
X 	fi
X 
X 	# Install the pseudo-library for information purposes.
X+	if /bin/false ; then
X 	func_basename "$file"
X 	name="$func_basename_result"
X 	instname="$dir/$name"i
X 	func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
X+	fi
X 
X 	# Maybe install the static library, too.
X 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
06cb6abba238c1359566ed6b37d35b47
echo x - www/neon29/pkg-descr
sed 's/^X//' >www/neon29/pkg-descr << 'a17c48a2be1584859dd6b82690d88423'
XNeon is  an HTTP and  WebDAV client library for  Unix systems, with  a C
Xinterface. Featuring:
X
X	. High-level interface to HTTP and WebDAV methods
X	  (PUT, GET, HEAD etc) 
X	. Low-level interface to HTTP request handling, to allow
X	  implementing new methods easily. 
X	. HTTP/1.1 and HTTP/1.0 persistent connections 
X	. RFC2617 basic and digest authentication
X	  (including auth-int, md5-sess) 
X	. Proxy support (including basic/digest authentication) 
X	. Generic WebDAV 207 XML response handling mechanism 
X	. XML parsing using the expat or libxml parsers 
X	. Easy generation of error messages from 207 error responses 
X	. WebDAV resource manipulation: MOVE, COPY, DELETE, MKCOL
X	. WebDAV metadata support: set and remove properties, query
X	  any set of properties (PROPPATCH/PROPFIND).
X
XWWW: http://www.webdav.org/neon/
a17c48a2be1584859dd6b82690d88423
echo x - www/neon29/pkg-plist
sed 's/^X//' >www/neon29/pkg-plist << 'e7a874d15451a89f171580a162b3b0b6'
Xbin/neon-config
Xinclude/neon/ne_207.h
Xinclude/neon/ne_acl.h
Xinclude/neon/ne_acl3744.h
Xinclude/neon/ne_alloc.h
Xinclude/neon/ne_auth.h
Xinclude/neon/ne_basic.h
Xinclude/neon/ne_compress.h
Xinclude/neon/ne_dates.h
Xinclude/neon/ne_defs.h
Xinclude/neon/ne_i18n.h
Xinclude/neon/ne_locks.h
Xinclude/neon/ne_md5.h
Xinclude/neon/ne_props.h
Xinclude/neon/ne_redirect.h
Xinclude/neon/ne_request.h
Xinclude/neon/ne_session.h
Xinclude/neon/ne_socket.h
Xinclude/neon/ne_ssl.h
Xinclude/neon/ne_string.h
Xinclude/neon/ne_uri.h
Xinclude/neon/ne_utils.h
Xinclude/neon/ne_xml.h
Xinclude/neon/ne_xmlreq.h
Xinclude/neon/ne_pkcs11.h
Xlib/libneon.so.29
Xlib/libneon.so
Xlib/libneon.la
Xlib/libneon.a
Xlibdata/pkgconfig/neon.pc
X%%NLS%%share/locale/cs/LC_MESSAGES/neon.mo
X%%NLS%%share/locale/de/LC_MESSAGES/neon.mo
X%%NLS%%share/locale/fr/LC_MESSAGES/neon.mo
X%%NLS%%share/locale/ja/LC_MESSAGES/neon.mo
X%%NLS%%share/locale/nn/LC_MESSAGES/neon.mo
X%%NLS%%share/locale/pl/LC_MESSAGES/neon.mo
X%%NLS%%share/locale/ru/LC_MESSAGES/neon.mo
X%%NLS%%share/locale/tr/LC_MESSAGES/neon.mo
X%%NLS%%share/locale/zh_CN/LC_MESSAGES/neon.mo
X%%PORTDOCS%%%%DOCSDIR%%/html/api.html
X%%PORTDOCS%%%%DOCSDIR%%/html/biblio.html
X%%PORTDOCS%%%%DOCSDIR%%/html/compliance.html
X%%PORTDOCS%%%%DOCSDIR%%/html/features.html
X%%PORTDOCS%%%%DOCSDIR%%/html/index.html
X%%PORTDOCS%%%%DOCSDIR%%/html/intro.html
X%%PORTDOCS%%%%DOCSDIR%%/html/ref.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refalloc.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refauth.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refbuf.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refbufapp.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refbufcr.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refbufdest.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refbufutil.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refcert.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refclicert.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refconfig.html
X%%PORTDOCS%%%%DOCSDIR%%/html/referr.html
X%%PORTDOCS%%%%DOCSDIR%%/html/reffeat.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refgetst.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refi18n.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refiaddr.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refneon.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refopts.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refreq.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refreqbody.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refreqhdr.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refreqflags.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refsessflags.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refresolve.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refresphdr.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refsess.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refshave.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refsockinit.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refsslca.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refsslcert2.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refsslcertio.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refssldname.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refsslvfy.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refstatus.html
X%%PORTDOCS%%%%DOCSDIR%%/html/reftok.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refvers.html
X%%PORTDOCS%%%%DOCSDIR%%/html/refxml.html
X%%PORTDOCS%%%%DOCSDIR%%/html/security.html
X%%PORTDOCS%%%%DOCSDIR%%/html/using.html
X%%PORTDOCS%%%%DOCSDIR%%/html/xml.html
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X at dirrm include/neon
e7a874d15451a89f171580a162b3b0b6
echo x - www/neon29/Makefile
sed 's/^X//' >www/neon29/Makefile << '338f3e62c30c324b1568623c2425922f'
X# New ports collection makefile for: neon
X# Date created:		13 October 2000
X# Whom:			Mikhail Teterin <mi at aldan.algebra.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	neon29
XPORTVERSION=	0.29.0
XCATEGORIES=	www
XMASTER_SITES=	http://www.webdav.org/neon/
XDISTNAME=	neon-${PORTVERSION}
X
XMAINTAINER=	lev at FreeBSD.org
XCOMMENT=	An HTTP and WebDAV client library for Unix systems
X
XCONFLICTS=	neon2[6|8]-[0-9]*
X
XUSE_AUTOTOOLS=	libtool:22
XUSE_LDCONFIG=	yes
X
XUSE_GNOME=	gnomehack gnometarget
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS= --enable-shared \
X		--with-libs=${LOCALBASE}:${PREFIX}
X
X# expat is default unless WITH_XML is choosen
X.if !defined(WITHOUT_EXPAT) && !defined(WITH_XML)
XCONFIGURE_ARGS+= --with-expat
XLIB_DEPENDS+=	expat.6:${PORTSDIR}/textproc/expat2
X.endif
X
X.if defined(WITH_XML)
XCONFIGURE_ARGS+=--with-libxml2
XLIB_DEPENDS+=   xml2.5:${PORTSDIR}/textproc/libxml2
X.endif
X
X.ifndef WITHOUT_OPENSSL
XUSE_OPENSSL=	yes
XCONFIGURE_ARGS+=--with-ssl
X.endif
X
X.if defined(WITHOUT_NLS)
XCONFIGURE_ARGS+=--disable-nls
XPLIST_SUB+=	NLS="@comment "
X.else
XUSE_GETTEXT=	yes
XPLIST_SUB+=	NLS=""
X.endif
X
X.if defined(WITHOUT_GSSAPI)
XCONFIGURE_ARGS+=--without-gssapi
X.endif
X
XMAN1=	neon-config.1
XMAN3=	ne_add_request_header.3 ne_addr_resolve.3 ne_buffer.3 \
X	ne_buffer_append.3 ne_buffer_clear.3 ne_buffer_create.3 \
X	ne_buffer_destroy.3 ne_get_error.3 ne_get_response_header.3 \
X	ne_get_status.3 ne_i18n_init.3 ne_iaddr_make.3 ne_has_support.3 \
X	ne_malloc.3 ne_request_create.3 ne_session_create.3 \
X	ne_set_request_body_buffer.3 ne_get_request_flag.3 \
X	ne_get_session_flag.3 ne_set_request_flag.3 ne_set_session_flag.3 \
X	ne_set_server_auth.3 ne_set_useragent.3 ne_shave.3 ne_sock_init.3 \
X	ne_ssl_cert_cmp.3 ne_ssl_cert_identity.3 ne_ssl_cert_read.3 \
X	ne_ssl_clicert_read.3 ne_ssl_readable_dname.3 ne_ssl_set_verify.3 \
X	ne_ssl_trust_cert.3 ne_status.3 ne_token.3 ne_version_match.3 \
X	ne_xml_create.3 neon.3 ne_set_connect_timeout.3
XMLINKS=	ne_add_request_header.3 ne_print_request_header.3 \
X	ne_addr_resolve.3 ne_addr_destroy.3 \
X	ne_addr_resolve.3 ne_addr_error.3 \
X	ne_addr_resolve.3 ne_addr_first.3 \
X	ne_addr_resolve.3 ne_addr_next.3 \
X	ne_addr_resolve.3 ne_addr_result.3 \
X	ne_buffer_append.3 ne_buffer_concat.3 \
X	ne_buffer_append.3 ne_buffer_zappend.3 \
X	ne_buffer_clear.3 ne_buffer_altered.3 \
X	ne_buffer_clear.3 ne_buffer_grow.3 \
X	ne_buffer_create.3 ne_buffer_ncreate.3 \
X	ne_buffer_destroy.3 ne_buffer_finish.3 \
X	ne_get_error.3 ne_set_error.3 \
X	ne_get_response_header.3 ne_response_header_iterate.3 \
X	ne_iaddr_make.3 ne_iaddr_cmp.3 \
X	ne_iaddr_make.3 ne_iaddr_free.3 \
X	ne_iaddr_make.3 ne_iaddr_print.3 \
X	ne_iaddr_make.3 ne_iaddr_typeof.3 \
X	ne_malloc.3 ne_calloc.3 \
X	ne_malloc.3 ne_oom_callback.3 \
X	ne_malloc.3 ne_realloc.3 \
X	ne_malloc.3 ne_strdup.3 \
X	ne_malloc.3 ne_strndup.3 \
X	ne_request_create.3 ne_request_destroy.3 \
X	ne_request_create.3 ne_request_dispatch.3 \
X	ne_session_create.3 ne_close_connection.3 \
X	ne_session_create.3 ne_session_destroy.3 \
X	ne_session_create.3 ne_session_proxy.3 \
X	ne_set_request_body_buffer.3 ne_set_request_body_fd.3 \
X	ne_set_request_body_buffer.3 ne_set_request_body_fd64.3 \
X	ne_set_server_auth.3 ne_forget_auth.3 \
X	ne_set_server_auth.3 ne_set_proxy_auth.3 \
X	ne_set_useragent.3 ne_get_scheme.3 \
X	ne_set_useragent.3 ne_get_server_hostport.3 \
X	ne_set_useragent.3 ne_set_persist.3 \
X	ne_set_useragent.3 ne_set_read_timeout.3 \
X	ne_sock_init.3 ne_sock_exit.3 \
X	ne_ssl_cert_cmp.3 ne_ssl_cert_free.3 \
X	ne_ssl_cert_identity.3 ne_ssl_cert_issuer.3 \
X	ne_ssl_cert_identity.3 ne_ssl_cert_signedby.3 \
X	ne_ssl_cert_identity.3 ne_ssl_cert_subject.3 \
X	ne_ssl_cert_read.3 ne_ssl_cert_export.3 \
X	ne_ssl_cert_read.3 ne_ssl_cert_import.3 \
X	ne_ssl_cert_read.3 ne_ssl_cert_write.3 \
X	ne_ssl_clicert_read.3 ne_ssl_clicert_decrypt.3 \
X	ne_ssl_clicert_read.3 ne_ssl_clicert_encrypted.3 \
X	ne_ssl_clicert_read.3 ne_ssl_clicert_free.3 \
X	ne_ssl_clicert_read.3 ne_ssl_clicert_name.3 \
X	ne_ssl_clicert_read.3 ne_ssl_clicert_owner.3 \
X	ne_ssl_readable_dname.3 ne_ssl_dname_cmp.3 \
X	ne_ssl_trust_cert.3 ne_ssl_trust_default_ca.3 \
X	ne_token.3 ne_qtoken.3 \
X	ne_version_match.3 ne_version_string.3 \
X	ne_xml_create.3 ne_xml_destroy.3
X
XPLIST_SUB+=	PORTVERSION=${PORTVERSION}
XDOCSDIR=	${PREFIX}/share/doc/neon
X
X.include <bsd.port.pre.mk>
X
Xpre-everything::
X.if defined(WITH_EXPAT) && defined(WITH_XML)
X	@${ECHO_CMD} "please choose between expat and libxml2 not both"
X	@${FALSE}
X.endif
X
Xpost-install:
X	${INSTALL_MAN} ${WRKSRC}/doc/man/*.1 ${MANPREFIX}/man/man1
X	${INSTALL_MAN} ${WRKSRC}/doc/man/*.3 ${MANPREFIX}/man/man3
X.ifndef NOPORTDOCS
X	(cd ${WRKSRC} ; ${MAKE} install-html)
X.endif
X
X.include <bsd.port.post.mk>
338f3e62c30c324b1568623c2425922f
echo x - www/neon29/distinfo
sed 's/^X//' >www/neon29/distinfo << '0f49d8979d87419fc98c912831d7adfd'
XMD5 (neon-0.29.0.tar.gz) = 18a3764b70f9317f8b61509fd90d9e7a
XSHA256 (neon-0.29.0.tar.gz) = 22878e0c6ce3f0092da3d97243b4d0b5756ee3fd4442e7c3f66161ba70e0a5a4
XSIZE (neon-0.29.0.tar.gz) = 879186
0f49d8979d87419fc98c912831d7adfd
exit
--- neon29.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list