Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2007 10:41:45 +0200 (CEST)
From:      Manfred Lotz <manfred.lotz@yahoo.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/113792: Update port: www/ocaml-net New version 2.2.7	
Message-ID:  <20070617084825.84B2F161168@hermes.sanskrit.local.net>
Resent-Message-ID: <200706170920.l5H9K3N6073563@freefall.freebsd.org>

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

>Number:         113792
>Category:       ports
>Synopsis:       Update port: www/ocaml-net New version 2.2.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 17 09:20:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Manfred Lotz
>Release:        FreeBSD 6.2-RELEASE-p5 i386
>Organization:
>Environment:
FreeBSD 6.2-RELEASE-p5 i386 
>Description:
Update of www/ocaml-net to version 2.2.7
Stephane Legrand asked me to take over the www/ocaml-net port because he is no 
longer interested in maintaining it. Please note, that I am a first time
comitter.

No new files. However, I removed the following files:
- pkg-deinstall
- pkg-install
It seems they are no longer required.
 
Manfred Lotz 
>How-To-Repeat:
>Fix:
diff -ruN /usr/ports/www/ocaml-net/Makefile ocaml-net.new/Makefile
--- /usr/ports/www/ocaml-net/Makefile	Fri May 25 02:39:40 2007
+++ ocaml-net.new/Makefile	Sun Jun 17 10:34:44 2007
@@ -1,20 +1,19 @@
 # New ports collection makefile for:   ocaml-net
-# Date created:        01 March 2003
-# Whom:                Stephane Legrand <stephane@freebsd.org>
+# Date created:        17 June 2007
+# Whom:                Manfred Lotz <manfred.lotz@yahoo.de>
 #
-# $FreeBSD: ports/www/ocaml-net/Makefile,v 1.10 2007/05/25 00:39:40 clsung Exp $
+## $FreeBSD: ports/www/ocaml-net/Makefile,v 1.10 2007/05/25 00:39:40 clsung Exp $
 #
 
 PORTNAME=	net
-PORTVERSION=	1.1.1
-PORTREVISION=	1
+PORTVERSION=	2.2.7
 CATEGORIES=	www
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	ocamlnet
 PKGNAMEPREFIX=	ocaml-
 DISTNAME=	ocaml${PORTNAME}-${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	manfred.lotz@yahoo.de
 COMMENT=	OCaml modules for Internet applications
 
 BUILD_DEPENDS=	ocamlc:${PORTSDIR}/lang/ocaml \
@@ -23,18 +22,11 @@
 RUN_DEPENDS=	ocamlc:${PORTSDIR}/lang/ocaml \
 		${LOCALBASE}/lib/ocaml/site-lib/pcre/pcre.a:${PORTSDIR}/devel/ocaml-pcre
 
-.if !defined(WITHOUT_NETHTTPD)
-BUILD_DEPENDS+=	${LOCALBASE}/lib/ocaml/site-lib/equeue/equeue.a:${PORTSDIR}/devel/ocaml-equeue
-RUN_DEPENDS+=	${LOCALBASE}/lib/ocaml/site-lib/equeue/equeue.a:${PORTSDIR}/devel/ocaml-equeue
-.endif
-
-WRKSRC=		${WRKDIR}/${DISTNAME}/src
+CONFLICTS= ocaml-equeue-2*
 
 USE_GMAKE=	yes
 
 HAS_CONFIGURE=	yes
-# seems required to build www/ocaml-wdialog:
-CONFIGURE_ARGS+=	-enable-compatcgi
 
 ALL_TARGET=	all opt
 
@@ -45,35 +37,21 @@
 PORTDOCS=	*
 .endif
 
+PACKAGES= netsys netshm equeue shell netstring rpc-generator rpc pop smtp netclient netcgi1 netcgi2 cgi netplex netcgi2-plex
+
 post-install:
-	@${FIND} ${PREFIX}/lib/ocaml/site-lib/cgi -type f | \
-		${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
-	@${ECHO_CMD} "@dirrm lib/ocaml/site-lib/cgi" >> ${TMPPLIST}
-	@${ECHO_CMD} "@unexec ocamlfind remove cgi 2>/dev/null || true" >> ${TMPPLIST}
-	@${FIND} ${PREFIX}/lib/ocaml/site-lib/netstring -type f | \
+.for pkg in ${PACKAGES}
+	@${FIND} ${PREFIX}/lib/ocaml/site-lib/${pkg} -type f | \
 		${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
-	@${ECHO_CMD} "@dirrm lib/ocaml/site-lib/netstring" >> ${TMPPLIST}
-	@${ECHO_CMD} "@unexec ocamlfind remove netstring 2>/dev/null || true" >> ${TMPPLIST}
-	@${FIND} ${PREFIX}/lib/ocaml/site-lib/pop -type f | \
-		${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
-	@${ECHO_CMD} "@dirrm lib/ocaml/site-lib/pop" >> ${TMPPLIST}
-	@${ECHO_CMD} "@unexec ocamlfind remove pop 2>/dev/null || true" >> ${TMPPLIST}
-	@${FIND} ${PREFIX}/lib/ocaml/site-lib/smtp -type f | \
-		${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
-	@${ECHO_CMD} "@dirrm lib/ocaml/site-lib/smtp" >> ${TMPPLIST}
-	@${ECHO_CMD} "@unexec ocamlfind remove smtp 2>/dev/null || true" >> ${TMPPLIST}
-.if !defined(WITHOUT_NETHTTPD)
-	@${FIND} ${PREFIX}/lib/ocaml/site-lib/nethttpd -type f | \
-		${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
-	@${ECHO_CMD} "@dirrm lib/ocaml/site-lib/nethttpd" >> ${TMPPLIST}
-	@${ECHO_CMD} "@unexec ocamlfind remove nethttpd 2>/dev/null || true" >> ${TMPPLIST}
-.endif
+	@${ECHO_CMD} "@dirrm lib/ocaml/site-lib/${pkg}" >> ${TMPPLIST}
+	@${ECHO_CMD} "@unexec ocamlfind remove ${pkg} 2>/dev/null || true" >> ${TMPPLIST}
+.endfor
 
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-	${CP} -R ${WRKSRC}/../doc/ ${DOCSDIR}
+	${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
 	@${MKDIR} ${EXAMPLESDIR}
-	${CP} -R ${WRKSRC}/../examples/ ${EXAMPLESDIR}
+	${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR}
 	@${CHMOD} -R +r ${EXAMPLESDIR}
 	@${FIND} ${EXAMPLESDIR} -type f | \
 		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
diff -ruN /usr/ports/www/ocaml-net/distinfo ocaml-net.new/distinfo
--- /usr/ports/www/ocaml-net/distinfo	Sat Jan  7 08:45:07 2006
+++ ocaml-net.new/distinfo	Thu May 10 19:13:00 2007
@@ -1,3 +1,3 @@
-MD5 (ocamlnet-1.1.1.tar.gz) = 4347d04ae16e69b61940f8679eeeef07
-SHA256 (ocamlnet-1.1.1.tar.gz) = ce9a88a2597e0ea5a3b164979e56bd3f8a02d3277fb8830e16be4b9d3b474be1
-SIZE (ocamlnet-1.1.1.tar.gz) = 793905
+MD5 (ocamlnet-2.2.7.tar.gz) = ff42de69d6f3803fa4ae2cdd52cb3c78
+SHA256 (ocamlnet-2.2.7.tar.gz) = 88401fad6f5e656f31cccd8ed1d5576d3f0a29c2645a84a88ba17de4d9ce6d44
+SIZE (ocamlnet-2.2.7.tar.gz) = 1844956
diff -ruN /usr/ports/www/ocaml-net/pkg-deinstall ocaml-net.new/pkg-deinstall
--- /usr/ports/www/ocaml-net/pkg-deinstall	Thu Oct 28 00:45:28 2004
+++ ocaml-net.new/pkg-deinstall	Thu Jan  1 01:00:00 1970
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-mv ${PKG_PREFIX}/lib/ocaml/ld.conf ${PKG_PREFIX}/lib/ocaml/ld.conf.tmp
-grep -v netstring ${PKG_PREFIX}/lib/ocaml/ld.conf.tmp > ${PKG_PREFIX}/lib/ocaml/ld.conf
-rm -f ${PKG_PREFIX}/lib/ocaml/ld.conf.tmp
diff -ruN /usr/ports/www/ocaml-net/pkg-descr ocaml-net.new/pkg-descr
--- /usr/ports/www/ocaml-net/pkg-descr	Thu Apr  3 17:16:47 2003
+++ ocaml-net.new/pkg-descr	Sun Jun 17 09:04:04 2007
@@ -1,18 +1,21 @@
 A collection of modules for the Objective Caml language which focus
 on application-level Internet protocols and conventions.
 
-The current distribution contains:
+Ocamlnet consists of a number of libraries:
 
-- a mature implementation of the CGI protocol
-
-- an implementation of the JSERV protocol (AJP-1.2)
-
-- an experimental POP3 client
-
-- a library of string processing functions related to Internet
-  protocols
+    * netstring is about processing strings that occur in network context
+    * netcgi1 and netcgi2 focus on portable web applications
+    * nethttpd is a web server component (HTTP server implementation)
+    * netplex is a generic server framework
+    * rpc implements OncRPC
+    * netclient implements clients for HTTP, FTP, and Telnet
+    * equeue is an event queue used for many protocol implementations
+    * shell is about calling external commands
+    * netshm provides shared memory for IPC purposes
+    * netsys contains bindings for system functions
+    * smtp and pop are two further client implementations
 
 WWW: http://sourceforge.net/projects/ocamlnet
 
-- Stephane Legrand
-  <stephane@freebsd.org>
+- Manfred  Lotz
+  <manfred.lotz@yahoo.de>
diff -ruN /usr/ports/www/ocaml-net/pkg-install ocaml-net.new/pkg-install
--- /usr/ports/www/ocaml-net/pkg-install	Thu Oct 28 00:45:28 2004
+++ ocaml-net.new/pkg-install	Thu Jan  1 01:00:00 1970
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-if ! grep "${PKG_PREFIX}/lib/ocaml/site-lib/netstring" ${PKG_PREFIX}/lib/ocaml/ld.conf >/dev/null 2>&1; then
-  echo "${PKG_PREFIX}/lib/ocaml/site-lib/netstring" >> ${PKG_PREFIX}/lib/ocaml/ld.conf
-fi

>Release-Note:
>Audit-Trail:
>Unformatted:
 >how-To-Repeat:



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