From manfred.lotz@yahoo.de  Sun Jun 17 09:16:57 2007
Return-Path: <manfred.lotz@yahoo.de>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id E4E0C16A469
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 17 Jun 2007 09:16:56 +0000 (UTC)
	(envelope-from manfred.lotz@yahoo.de)
Received: from smtp001.mail.ukl.yahoo.com (smtp001.mail.ukl.yahoo.com [217.12.11.32])
	by mx1.freebsd.org (Postfix) with SMTP id 5EA8413C468
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 17 Jun 2007 09:16:56 +0000 (UTC)
	(envelope-from manfred.lotz@yahoo.de)
Received: (qmail 33096 invoked from network); 17 Jun 2007 08:50:15 -0000
Received: from unknown (HELO hermes.sanskrit.local.net) (manfred.lotz@84.58.19.135 with login)
  by smtp001.mail.ukl.yahoo.com with SMTP; 17 Jun 2007 08:50:14 -0000
Received: by hermes.sanskrit.local.net (Postfix, from userid 1001)
	id 84B2F161168; Sun, 17 Jun 2007 10:48:25 +0200 (CEST)
Message-Id: <20070617084825.84B2F161168@hermes.sanskrit.local.net>
Date: Sun, 17 Jun 2007 10:41:45 +0200 (CEST)
From: Manfred Lotz <manfred.lotz@yahoo.de>
Reply-To: Manfred Lotz <manfred.lotz@yahoo.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Update port: www/ocaml-net New version 2.2.7	

>Number:         113792
>Category:       ports
>Synopsis:       Update port: www/ocaml-net New version 2.2.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    stas
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 17 09:20:03 GMT 2007
>Closed-Date:    Sun Dec 23 21:42:54 UTC 2007
>Last-Modified:  Sun Dec 23 21:42:54 UTC 2007
>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:
State-Changed-From-To: open->feedback 
State-Changed-By: miwi 
State-Changed-When: Tue Jul 10 06:57:34 UTC 2007 
State-Changed-Why:  
Hi, The port does not build. Can you take a look in it? 

http://head.miwibox.org/tb/index.php?action=describe_port&id=438 
http://amd64.miwibox.org/index.php?action=describe_port&id=931 

could you please fix it and send a followup? 



http://www.freebsd.org/cgi/query-pr.cgi?pr=113792 
Responsible-Changed-From-To: freebsd-ports-bugs->stas 
Responsible-Changed-By: stas 
Responsible-Changed-When: Tue Jul 10 15:26:54 UTC 2007 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113792 

From: Thierry Thomas <thierry@FreeBSD.org>
To: Stanislav Sedov <stas@FreeBSD.org>
Cc: FreeBSD-gnats-submit@FreeBSD.org,
	Manfred Lotz <manfred.lotz@yahoo.de>
Subject: Re: ports/113792: Update port: www/ocaml-net New version 2.2.7
Date: Sun, 23 Dec 2007 22:27:28 +0100

 Hello,
 
 This PR should be closed: it has been superseded by PR ports/118888.
 
 Best regards,
 -- 
 Th. Thomas.
State-Changed-From-To: feedback->closed 
State-Changed-By: stas 
State-Changed-When: Sun Dec 23 21:42:52 UTC 2007 
State-Changed-Why:  
Close by submitter request. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113792 
>Unformatted:
