Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 1999 13:21:29 -0500 (EST)
From:      jedgar@fxp.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/15191: Update port: net/elsa
Message-ID:  <19991130182129.627CA9B36@pawn.primelocation.net>

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

>Number:         15191
>Category:       ports
>Synopsis:       Update port: net/elsa
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 30 10:30:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Chris D. Faulhaber
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
BUGO - BSD Users Group of Orlando
>Environment:

FreeBSD 4.0-CURRENT i386

>Description:

Update port: net/elsa

* Update to 1.0b-017
* Make logging dir more configurable
* Add pid file support
* BROKEN for -current as it requires libc_r.so.3 which is not
  in compat3x.  This will be un-BROKEN when libc_r.so.3 is
  added to compat3x.

>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/elsa/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile	1999/11/10 23:53:56	1.1.1.1
+++ Makefile	1999/11/30 18:00:13
@@ -1,5 +1,5 @@
 # New ports collection makefile for:	elsa
-# Version required:			1.0
+# Version required:			1.0b-017
 # Date created:				06 October 1999
 # Whom:					Chris D. Faulhaber <jedgar@fxp.org>
 #
@@ -7,7 +7,7 @@
 #
 
 DISTNAME=	elsa-freebsd_x86
-PKGNAME=	elsa-1.0b
+PKGNAME=	elsa-1.0b-017
 CATEGORIES=	net
 MASTER_SITES=	""
 
@@ -16,23 +16,27 @@
 ONLY_FOR_ARCHS=	i386
 RESTRICTED=	"LIC: redistribution not allowed"
 
-WRKSRC=		${WRKDIR}/ELSA-1_0b-016-freebsd_x86
+WRKSRC=		${WRKDIR}/ELSA-1_0b-017-freebsd_x86
 NO_BUILD=	yes
+LOG_DIR?=	/var/log/elsa
 
 .include <bsd.port.pre.mk>
 
+.if ${OSVERSION} > 400000
+BROKEN=		"Requires libc_r.so.3 which is not in compat3x"
+.endif
+
 .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
 IGNORE='The source to this port may not be automatically fetched due to licensing restrictions.  You MUST fetch the source manually after registering at: http://streaming.entera.com/orderform.shtml  Once ${DISTFILES} has been downloaded, move it to ${DISTDIR} and then restart this build.'
 .endif
 
 do-configure:
-	@${MV} ${WRKSRC}/elsa.cfg ${WRKSRC}/elsa.cfg.orig
-	@${SED} -e 's|CHANGE_ME|${PREFIX}/share/elsa|' \
-		< ${WRKSRC}/elsa.cfg.orig > ${WRKSRC}/elsa.cfg
+	@${PERL} -pi.orig -e 's|__PREFIX__|${PREFIX}|' ${WRKSRC}/elsa.cfg
+	@${PERL} -pi.orig -e 's|__LOG_DIR__|${LOG_DIR}|' ${WRKSRC}/elsa.cfg
 
 do-install:
 	${MKDIR} ${PREFIX}/share/elsa/content
-	${MKDIR} /var/log/elsa
+	${MKDIR} ${LOG_DIR}
 	${INSTALL_SCRIPT} ${WRKSRC}/elsa ${PREFIX}/sbin
 	${INSTALL_DATA} ${WRKSRC}/elsa.cfg ${PREFIX}/etc
 	${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/elsa
Index: files/md5
===================================================================
RCS file: /home/ncvs/ports/net/elsa/files/md5,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 md5
--- md5	1999/11/10 23:53:56	1.1.1.1
+++ md5	1999/11/30 18:00:13
@@ -1 +1 @@
-MD5 (elsa-freebsd_x86.tar.gz) = cc53ab9100d23d81bfcfd27090524912
+MD5 (elsa-freebsd_x86.tar.gz) = 68bca29c7fc60cea46bde698933f12fa
Index: patches/patch-aa
===================================================================
RCS file: /home/ncvs/ports/net/elsa/patches/patch-aa,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-aa
--- patch-aa	1999/11/10 23:53:56	1.1.1.1
+++ patch-aa	1999/11/30 18:00:13
@@ -1,10 +1,11 @@
---- elsa.cfg.orig	Thu Sep 30 17:27:22 1999
-+++ elsa.cfg	Wed Oct  6 21:48:19 1999
-@@ -1,5 +1,5 @@
+--- elsa.cfg.orig	Mon Nov 29 21:42:06 1999
++++ elsa.cfg	Tue Nov 30 12:42:55 1999
+@@ -1,5 +1,6 @@
  [config]
 -CONTENT_DIR=content
 -LOGGING_DIR=.
-+CONTENT_DIR=CHANGE_ME/content
-+LOGGING_DIR=/var/log/elsa
++CONTENT_DIR=__PREFIX__/share/elsa/content
++LOGGING_DIR=__LOG_DIR__
  LOGGING=yes
  LOGGING_DEBUG=yes
++PID_FILE=/var/run/elsa.pid

>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?19991130182129.627CA9B36>