Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Oct 2000 11:17:24 -0400 (EDT)
From:      root@aldan.algebra.com
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        tarkhil@over.ru
Subject:   ports/21958: NEW PORT www/neon -- an HTTP and WebDAV client library
Message-ID:  <200010131517.e9DFHOl44007@aldan.algebra.com>

next in thread | raw e-mail | index | archive | help

>Number:         21958
>Category:       ports
>Synopsis:       NEW PORT www/neon -- an HTTP and WebDAV client library
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 13 08:20:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Mikhail Teterin
>Release:        FreeBSD 4.1.1-STABLE i386
>Organization:
Virtual Estates, Inc.
>Environment:

>Description:

	This is an HTTP and WebDAV client library for Unix systems,
	with a C interface. Note, that the newer versions of the
	www/cadaver need neon library.

	My major interest in it is that it offers access to https
	DAV resources...

>How-To-Repeat:

>Fix:

# 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:
#
#	neon
#	neon/pkg-plist
#	neon/pkg-descr
#	neon/pkg-comment
#	neon/distinfo
#	neon/Makefile
#	neon/files
#	neon/files/patch-aa
#
echo c - neon
mkdir -p neon > /dev/null 2>&1
echo x - neon/pkg-plist
sed 's/^X//' >neon/pkg-plist << 'END-of-neon/pkg-plist'
Xbin/neon-config
Xbin/nget
Xbin/nserver
X%%GUI%%bin/nbrowse
Xlib/libneon.so.7
Xlib/libneon.so
Xlib/libneon.a
Xinclude/neon/http_request.h
Xinclude/neon/http_utils.h
Xinclude/neon/uri.h
Xinclude/neon/nsocket.h
Xinclude/neon/http_basic.h
Xinclude/neon/dav_basic.h
Xinclude/neon/dav_207.h
Xinclude/neon/dav_props.h
Xinclude/neon/hip_xml.h
Xinclude/neon/dates.h
Xinclude/neon/string_utils.h
Xinclude/neon/http_cookies.h
Xinclude/neon/neon_defs.h
Xinclude/neon/neon_config.h
Xinclude/neon/dav_locks.h
Xinclude/neon/ne_alloc.h
Xinclude/neon/neon_md5.h
Xinclude/neon/neon_i18n.h
X%%DOCS%%share/doc/neon/using-neon.txt
X%%DOCS%%@dirrm share/doc/neon
X@dirrm include/neon
END-of-neon/pkg-plist
echo x - neon/pkg-descr
sed 's/^X//' >neon/pkg-descr << 'END-of-neon/pkg-descr'
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/
END-of-neon/pkg-descr
echo x - neon/pkg-comment
sed 's/^X//' >neon/pkg-comment << 'END-of-neon/pkg-comment'
Xan HTTP and WebDAV client library for Unix systems, with a C interface
END-of-neon/pkg-comment
echo x - neon/distinfo
sed 's/^X//' >neon/distinfo << 'END-of-neon/distinfo'
XMD5 (neon-0.7.5.tar.gz) = e4a6e97403fee476f2416cb7aeb0be26
END-of-neon/distinfo
echo x - neon/Makefile
sed 's/^X//' >neon/Makefile << 'END-of-neon/Makefile'
X# New ports collection makefile for: neon
X# Date created:		13 October 2000
X# Whom:			Mikhail Teterin <mi@aldan.algebra.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	neon
XPORTVERSION= 	0.7.5
XCATEGORIES=	www
XMASTER_SITES=	http://www.webdav.org/neon/
X
XMAINTAINER=	mi@aldan.algebra.com
X
XLIB_DEPENDS=	expat:${PORTSDIR}/textproc/expat \
X		xml:${PORTSDIR}/textproc/libxml
X
X.ifndef NO_OPENSSL
XUSE_OPENSSL=	yes
X.endif
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS=	--with-ssl=${OPENSSLBASE} --with-expat=${PREFIX}/include/xml \
X		--with-extra-libs=${PREFIX}/lib
X
XALL_TARGET=	all examples
XINSTALL_TARGET=	install install-examples
X
X.ifdef WITH_NBROWSE
XLIB_DEPENDS+=	glade:${PORTSDIR}/devel/libglade
XCONFIGURE_ARGS+=--with-libglade-config=${PREFIX}/bin/libglade-config \
X		--with-gnome=${X11BASE} \
X		--enable-gnome-examples
XCONFIGURE_ENV+=	GTK_CONFIG="${X11BASE}/bin/gtk12-config"
XALL_TARGET+=	nbrowse
XPLIST_SUB+=	GUI=''
X.else
XPLIST_SUB+=	GUI='@comment '
X
Xpost-extract:
X	# You can also build a GUI-sample application by doing:
X	#	make -DWITH_NBROWSE
X	# It is disabled by default, because the author thinks
X	# it is BUGGY and because it requires libglade and GNOME.
X.endif
X
X.ifndef NOPORTDOCS
Xpost-install:
X	${MKDIR} ${PREFIX}/share/doc/neon
X	${INSTALL_DATA} ${WRKSRC}/doc/using-neon.txt ${PREFIX}/share/doc/neon
XPLIST_SUB+=	DOCS=''
X.else
XPLIST_SUB+=	DOCS='@comment '
X.endif
X
X.include <bsd.port.mk>
END-of-neon/Makefile
echo c - neon/files
mkdir -p neon/files > /dev/null 2>&1
echo x - neon/files/patch-aa
sed 's/^X//' >neon/files/patch-aa << 'END-of-neon/files/patch-aa'
X--- example/nbrowse/main.c	Sun Jul 16 15:58:00 2000
X+++ example/nbrowse/main.c	Fri Oct 13 10:32:01 2000
X@@ -50,3 +50,4 @@
X #include <uri.h>
X-#include <xalloc.h>
X+#define xmalloc malloc
X+#define xstrdup strdup
X 
END-of-neon/files/patch-aa
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010131517.e9DFHOl44007>