Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 1998 14:34:10 +0900 (JST)
From:      issei@jp.FreeBSD.ORG
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7739: Update ports: security/bjorb
Message-ID:  <199808250534.OAA07165@urd.mikage.t-cnet.or.jp>

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

>Number:         7739
>Category:       ports
>Synopsis:       Update ports: security/bjorb
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 24 22:40:00 PDT 1998
>Last-Modified:
>Originator:     Issei Suzuki
>Organization:
A Site under T-CNET
>Release:        FreeBSD 2.2.7-STABLE i386
>Environment:

	

>Description:

Update security/bjorb port.

1. bjorb in ports-current needs security/rsaref ports. It makes troubles outside US. 
   So I check USA_RESIDENT macro and determines I should use security/rsaref or not.
2. Update base bjorb version from 0.5.3p1 to 0.5.4p4
3. Change the maintainer's mail address to issei@jp.FreeBSD.ORG. The mail address has
   been changed but the maintainer is still the same person.


>How-To-Repeat:

	

>Fix:

Apply this patch to bjorb in ports-current.
	
diff -urN bjorb.old/Makefile bjorb/Makefile
--- bjorb.old/Makefile	Mon Jul 20 11:39:04 1998
+++ bjorb/Makefile	Tue Aug 25 14:15:21 1998
@@ -1,17 +1,28 @@
 # New ports collection makefile for:	bjorb
-# Version required:	0.5.3p1
+# Version required:	0.5.4p4
 # Date created:		May 16, 1998
-# Whom:			issei@t-cnet.or.jp
+# Whom:			issei@jp.FreeBSD.ORG
 #
-# $Id: Makefile,v 1.1.1.1 1998/07/20 02:39:04 steve Exp $
+# $Id$
 
-DISTNAME=	bjorb-0.5.3p1
-PKGNAME=	bjorb-0.5.3.1
+DISTNAME=	bjorb-0.5.4p4
 CATEGORIES=	net security
 MASTER_SITES=	ftp://ftp.hitachi-ms.co.jp/pub/bjorb/
 
-MAINTAINER=	issei@t-cnet.or.jp
+MAINTAINER=	issei@jp.FreeBSD.ORG
 
+.if defined(USA_RESIDENT) && ${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO
+pre-fetch:
+	@${ECHO}
+	@${ECHO} You must set variable USA_RESIDENT to YES, if you are USA resident
+	@${ECHO} or to NO, if you aren\'t USA resident to build this package.
+	@${ECHO} You must also have installed RSAREF if you are USA resident.
+	@${FALSE}
+.elif defined(USA_RESIDENT)
+.if ${USA_RESIDENT} == YES
+LIB_DEPENDS=		rsaref\\.2\\.:${PORTSDIR}/security/rsaref
+.endif
+.endif
 BUILD_DEPENDS=	ssleay:${PORTSDIR}/security/SSLeay
 RUN_DEPENDS=	ssleay:${PORTSDIR}/security/SSLeay
 
@@ -22,19 +33,20 @@
 .endif
 
 HAS_CONFIGURE=	yes
+CONFIGURE_ARGS=	--with-ssltop=${PREFIX}
 WRKSRC=		${WRKDIR}/${DISTNAME}/src
 DOCSRC=		${WRKDIR}/${DISTNAME}
-DOCS=		COPYRIGHT \
+DOCS=		ChangeLog \
+		COPYRIGHT \
+		INSTALL \
 		README \
+		ChangeLog.jp \
 		COPYRIGHT.jp \
 		INSTALL.jp \
 		README.jp \
 		doc/bjorb.conf.5.jp.txt \
 		doc/features.jp
-EXAMPLES=	doc/sample/mail-server.conf \
-		doc/sample/mail-client.conf \
-		doc/sample/telnet-server.conf \
-		doc/sample/telnet-client.conf
+EXAMPLES=	doc/sample/bjorb.conf.doc
 
 post-install:
 	@${INSTALL_SCRIPT} ${DOCSRC}/doc/sample/bjorb.sh ${PREFIX}/etc/rc.d/bjorb.sh.sample
diff -urN bjorb.old/files/md5 bjorb/files/md5
--- bjorb.old/files/md5	Mon Jul 20 11:39:04 1998
+++ bjorb/files/md5	Tue Aug 25 14:14:42 1998
@@ -1 +1 @@
-MD5 (bjorb-0.5.3p1.tar.gz) = 3b6a03837d616981633a3f7ad8539163
+MD5 (bjorb-0.5.4p4.tar.gz) = 478abe1aff88cd68ccee194ae9d0548f
diff -urN bjorb.old/patches/patch-aa bjorb/patches/patch-aa
--- bjorb.old/patches/patch-aa	Mon Jul 20 11:39:04 1998
+++ bjorb/patches/patch-aa	Tue Aug 25 14:19:34 1998
@@ -1,6 +1,6 @@
---- ../../bjorb-0.5.3p1/src/Makefile.in	Tue May 26 19:35:33 1998
-+++ src/Makefile.in	Sun Jul 19 19:32:48 1998
-@@ -27,7 +27,7 @@
+--- Makefile.in.orig	Fri Jul 24 10:53:37 1998
++++ Makefile.in	Tue Aug 25 14:17:09 1998
+@@ -29,7 +29,7 @@
  LDFLAGS =
  LIBS = @LIBS@
  
@@ -9,20 +9,7 @@
  exec_prefix = $(PREFIX)
  sbindir = $(exec_prefix)/sbin
  etcdir = $(exec_prefix)/etc
-@@ -43,10 +43,10 @@
- 
- ### SSL Configuration
- 
--SSLTOP      = /usr/local/ssl
-+SSLTOP      = $(PREFIX)
- SSL_CFLAGS  = -I$(SSLTOP)/include
- SSL_LDFLAGS = -L$(SSLTOP)/lib
--SSL_LIBS    = -lssl -lcrypto
-+SSL_LIBS    = -lssl -lcrypto -lRSAglue -lrsaref
- 
- ###
- # %EXPORT%
-@@ -132,9 +132,13 @@
+@@ -135,9 +135,13 @@
  	autoconf
  
  certificate::
@@ -37,5 +24,5 @@
 +	chmod 644 $(PREFIX)/certs/bjorb.pem; \
 +	)
  
- install-freebsd::
- 	cp ../doc/sample/bjorb.sh /usr/local/etc/rc.d/bjorb.sh
+ install-bsd::
+ 	@if test -f /etc/rc.bjorb ; then chmod +w /etc/rc.bjorb; fi
diff -urN bjorb.old/patches/patch-ab bjorb/patches/patch-ab
--- bjorb.old/patches/patch-ab	Mon Jul 20 11:39:04 1998
+++ bjorb/patches/patch-ab	Tue Aug 25 14:20:23 1998
@@ -1,14 +1,13 @@
---- ../../bjorb-0.5.3p1/doc/sample/bjorb.conf.sample	Thu May 21 10:16:37 1998
-+++ doc/sample/bjorb.conf.sample	Wed Jun  3 02:29:29 1998
-@@ -55,8 +55,9 @@
- spare_servers   2
+--- ../doc/sample/bjorb.conf.sample.orig	Tue Jul  7 22:39:16 1998
++++ ../doc/sample/bjorb.conf.sample	Tue Aug 25 14:17:58 1998
+@@ -5,8 +5,8 @@
+ error_log	/var/log/bjorb-err.log
  do_fork	        true
  deny_wait       0
 -CA_cert_file    /usr/local/etc/bjorb.pem
 -CA_cert_path    /usr/local/etc/CA
-+#CA_cert_file    /usr/local/certs/bjorb.pem
-+#CA_cert_path    /usr/local/etc/CA
-+CA_make		"FreeBSD Bjorb", 365, 1024
++CA_cert_file    /usr/local/certs/bjorb.pem
++CA_cert_path    /usr/local/certs/CA
+ max_connection  100
+ spare_servers   1
  
- # TAG: accept [<interface>:]<port> [with <options>]
- #      options := SSL, VERIFY
diff -urN bjorb.old/patches/patch-ac bjorb/patches/patch-ac
--- bjorb.old/patches/patch-ac	Mon Jul 20 11:39:04 1998
+++ bjorb/patches/patch-ac	Thu Jan  1 09:00:00 1970
@@ -1,7 +0,0 @@
---- ../../bjorb-0.5.3p1/src/acl.cc	Sun Jul 19 19:14:23 1998
-+++ src/acl.cc	Sun Jul 19 19:14:59 1998
-@@ -1,3 +1,4 @@
-+#include <sys/types.h>
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
diff -urN bjorb.old/patches/patch-ad bjorb/patches/patch-ad
--- bjorb.old/patches/patch-ad	Mon Jul 20 11:39:04 1998
+++ bjorb/patches/patch-ad	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- ../../bjorb-0.5.3p1/src/common.h	Sun Jul 19 19:18:35 1998
-+++ src/common.h	Sun Jul 19 19:18:57 1998
-@@ -81,7 +81,7 @@
- #define SPRINTF    sprintf
- #define GETPID     getpid
- 
--#define DWORD unsigned long int
-+#define DWORD unsigned int
- #define WORD  unsigned short int
- #define UINT  unsigned int
- #define UCHAR unsigned char
diff -urN bjorb.old/patches/patch-ae bjorb/patches/patch-ae
--- bjorb.old/patches/patch-ae	Mon Jul 20 11:39:04 1998
+++ bjorb/patches/patch-ae	Thu Jan  1 09:00:00 1970
@@ -1,7 +0,0 @@
---- ../../bjorb-0.5.3p1/src/parse.c	Sun Jul 19 19:19:52 1998
-+++ src/parse.c	Sun Jul 19 19:20:19 1998
-@@ -1,3 +1,4 @@
-+#include <sys/types.h>
- #include <stdio.h>
- #include <string.h>
- #include <netdb.h> /* getservbyname */
diff -urN bjorb.old/pkg/PLIST bjorb/pkg/PLIST
--- bjorb.old/pkg/PLIST	Mon Jul 20 11:39:04 1998
+++ bjorb/pkg/PLIST	Mon Jul 20 15:02:12 1998
@@ -1,17 +1,17 @@
 etc/bjorb.conf.sample
 etc/rc.d/bjorb.sh.sample
 sbin/bjorb
+share/doc/bjorb/ChangeLog
 share/doc/bjorb/COPYRIGHT
+share/doc/bjorb/INSTALL
 share/doc/bjorb/README
+share/doc/bjorb/ChangeLog.jp
 share/doc/bjorb/COPYRIGHT.jp
 share/doc/bjorb/INSTALL.jp
 share/doc/bjorb/README.jp
 share/doc/bjorb/bjorb.conf.5.jp.txt
 share/doc/bjorb/features.jp
 @dirrm share/doc/bjorb
-share/examples/bjorb/mail-client.conf
-share/examples/bjorb/mail-server.conf
-share/examples/bjorb/telnet-client.conf
-share/examples/bjorb/telnet-server.conf
+share/examples/bjorb/bjorb.conf.doc
 @dirrm share/examples/bjorb
 @exec ( [ -f %D/certs/bjorb.pem ] && exit ; echo "Making certificate files" ; cd %D/certs ; ssleay req -new -x509 -nodes -days 365 -out bjorb.pem -keyout bjorb.pem; ln -s bjorb.pem `ssleay x509 -noout -hash < bjorb.pem`.0 ; chmod 644 %D/certs/bjorb.pem )
>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?199808250534.OAA07165>