Date: Thu, 8 Feb 2001 09:13:15 -0500 (EST) From: horen@caimis.com To: FreeBSD-gnats-submit@freebsd.org Subject: ports/24951: Message-ID: <200102081413.f18EDFP01195@salome.caimis.com>
next in thread | raw e-mail | index | archive | help
>Number: 24951 >Category: ports >Synopsis: >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: Thu Feb 08 06:20:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Horen Kuecuekyan >Release: FreeBSD 4.2-STABLE i386 >Organization: Caimis Inc. >Environment: >Description: >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: # # omniORB-Notify # omniORB-Notify/Makefile # omniORB-Notify/pkg-comment # omniORB-Notify/pkg-descr # omniORB-Notify/pkg-plist # omniORB-Notify/distinfo # omniORB-Notify/files # omniORB-Notify/files/patch-aa # omniORB-Notify/files/patch-aj # omniORB-Notify/files/patch-ak # omniORB-Notify/files/patch-ba # omniORB-Notify/files/patch-bb # omniORB-Notify/files/patch-bc # omniORB-Notify/files/patch-bd # echo c - omniORB-Notify mkdir -p omniORB-Notify > /dev/null 2>&1 echo x - omniORB-Notify/Makefile sed 's/^X//' >omniORB-Notify/Makefile << 'END-of-omniORB-Notify/Makefile' X# New ports collection makefile for: omniNotify X# Date created: February 7 2001 X# Whom: horen@caimis.com X# X# $FreeBSD$ X# X XPORTNAME= omniORB-Notify XPORTVERSION= 3.0.2N XCATEGORIES= devel XMASTER_SITES= ftp://ftp.uk.research.att.com/pub/omniNotify/omniNotify1/ \ X ftp://ftp.uk.research.att.com/pub/omniORB/omniORB3/ XDISTFILES= omniNotify11b1.tar.gz \ X omniORB_302.tar.gz X XMAINTAINER= horen@caimis.com X XMAN1= catior.1 genior.1 nameclt.1 obuildtree.1 ols.1 omake.1 \ X omniNames.1 opriv.1 oshadow.1 X XUSE_PYTHON= yes XUSE_NEWGCC= yes XUSE_GMAKE= yes XINSTALLS_SHLIB= yes XNO_FILTER_SHLIBS=yes XMAKEFILE= GNUmakefile XALL_TARGET= export XMAKE_ENV+= CDEBUGFLAGS="${CFLAGS}" CXXDEBUGFLAGS="${CXXFLAGS}" \ X BSD_INSTALL="${INSTALL}" PYTHON_CMD="${PYTHON_CMD}" \ X MKDIR="${MKDIR}" X XONLY_FOR_ARCHS= i386 XCONFIG_TARGET= x86_freebsd_4.0 X XWRKSRC=${WRKDIR}/omni/src X Xpre-patch: X (${MV} ${PORTSDIR}/devel/omniORB-Notify/work/omniNotify \ X ${PORTSDIR}/devel/omniORB-Notify/work/omni/src/services) X Xpost-patch: X @${SETENV} LANG=C ${PERL} -pi -e 's/__PLATFORM__/${CONFIG_TARGET}/;' \ X ${WRKSRC}/../config/config.mk X Xbinfiles= all_cosnotify_clients any_pull_consumer any_pull_supplier \ X any_push_consumer any_push_supplier batch_pull_consumer \ X batch_pull_supplier batch_push_consumer batch_push_supplier \ X catior convertior demo_add_filter demo_offer_change \ X demo_subscription_change genior legacy_pull_consumer \ X legacy_pull_supplier legacy_push_consumer \ X legacy_push_supplier nameclt notifd omkdepend omniMapper \ X omniNames struct_pull_consumer struct_pull_supplier \ X struct_push_consumer struct_push_supplier X Xscriptfiles= omniidl omniidlrun.py X Xdo-install: X.for binfile in ${binfiles} X ${INSTALL_PROGRAM} ${WRKSRC}/../bin/${CONFIG_TARGET}/${binfile} \ X ${PREFIX}/bin X.endfor X X.for scriptfile in ${scriptfiles} X ${INSTALL_SCRIPT} ${WRKSRC}/../bin/${CONFIG_TARGET}/${scriptfile} \ X ${PREFIX}/bin X.endfor X X cd ${WRKSRC}/../lib/${CONFIG_TARGET} && \ X find . |cpio -pdum -R ${BINOWN}:${BINGRP} ${PREFIX}/lib X cd ${WRKSRC}/../lib/python && \ X tar -cvf - * | (cd ${PYTHON_LIBDIR} ; tar -xvf -) X X.for m in ${MAN1} X ${INSTALL_MAN} ${WRKSRC}/../man/man1/${m} ${PREFIX}/man/man1 X.endfor X ${MKDIR} ${PREFIX}/include/omniORB3 X ${MKDIR} ${PREFIX}/include/omnithread X ${INSTALL_DATA} ${WRKSRC}/../include/omnithread.h ${PREFIX}/include X ${INSTALL_DATA} ${WRKSRC}/../include/omniNotify.h ${PREFIX}/include X cd ${WRKSRC}/../include && \ X ${INSTALL_DATA} omnithread/* ${PREFIX}/include/omnithread; \ X ${INSTALL_DATA} omniORB3/* ${PREFIX}/include/omniORB3 X @ cd ${.CURDIR} X X.if !defined(NOPORTDOCS) X ${MKDIR} ${PREFIX}/share/doc/omniORB X ${INSTALL_DATA} ${WRKSRC}/../README.unix ${PREFIX}/share/doc/omniORB X ${INSTALL_DATA} ${WRKSRC}/../README.FreeBSD ${PREFIX}/share/doc/omniORB X ${INSTALL_DATA} \ X ${WRKSRC}/../ReleaseNote_omniORB_302 ${PREFIX}/share/doc/omniORB X ${INSTALL_DATA} \ X ${WRKSRC}/services/omniNotify/ReleaseNote_omniNotify_11_beta \ X ${PREFIX}/share/doc/omniORB X ${MKDIR} ${PREFIX}/share/examples/omniORB X ${MKDIR} ${PREFIX}/share/examples/omniORB/omniNotify X ${CP} -r ${WRKSRC}/services/omniNotify/examples \ X ${PREFIX}/share/examples/omniORB/omniNotify X ${CP} -r ${WRKSRC}/examples ${PREFIX}/share/examples/omniORB X cd ${WRKSRC}/../doc && \ X find . |cpio -pdum -R ${SHAREOWN}:${SHAREGRP} \ X ${PREFIX}/share/doc/omniORB X.endif X X.include <bsd.port.mk> END-of-omniORB-Notify/Makefile echo x - omniORB-Notify/pkg-comment sed 's/^X//' >omniORB-Notify/pkg-comment << 'END-of-omniORB-Notify/pkg-comment' XCORBA 2 implementation (omniORB) with Notification service END-of-omniORB-Notify/pkg-comment echo x - omniORB-Notify/pkg-descr sed 's/^X//' >omniORB-Notify/pkg-descr << 'END-of-omniORB-Notify/pkg-descr' XNotification service for omniORB3, a GPL'd Object Request Broker (ORB) Xwhich implements specification 2.3 of the CORBA. X XWWW: http://www.uk.research.att.com/omniORB/ END-of-omniORB-Notify/pkg-descr echo x - omniORB-Notify/pkg-plist sed 's/^X//' >omniORB-Notify/pkg-plist << 'END-of-omniORB-Notify/pkg-plist' Xbin/catior Xbin/convertior Xbin/genior Xbin/nameclt Xbin/omkdepend Xbin/omniMapper Xbin/omniNames Xbin/omniidl Xbin/omniidlrun.py Xbin/notifd Xbin/any_push_consumer Xbin/any_push_supplier Xbin/batch_pull_consumer Xbin/batch_pull_supplier Xbin/batch_push_consumer Xbin/batch_push_supplier Xbin/event_pull_consumer Xbin/event_pull_supplier Xbin/event_push_consumer Xbin/event_push_supplier Xbin/filter_struct_pull_consumer Xbin/filter_struct_push_consumer Xbin/filter_struct_push_supplier Xbin/struct_pull_consumer Xbin/struct_pull_supplier Xbin/struct_push_consumer Xbin/struct_push_supplier Xinclude/omniORB3/CORBA.h Xinclude/omniORB3/CORBA_basetypes.h Xinclude/omniORB3/CORBA_sysdep.h Xinclude/omniORB3/CORBA_vartypes.h Xinclude/omniORB3/GIOP.h Xinclude/omniORB3/IIOP.h Xinclude/omniORB3/IOP.h Xinclude/omniORB3/Naming.hh Xinclude/omniORB3/boa.h Xinclude/omniORB3/bufferedStream.h Xinclude/omniORB3/callDescriptor.h Xinclude/omniORB3/corba_operators.h Xinclude/omniORB3/corbaidl_defs.hh Xinclude/omniORB3/corbaidl_operators.hh Xinclude/omniORB3/corbaidl_poa.hh Xinclude/omniORB3/giopDriver.h Xinclude/omniORB3/ir_defs.hh Xinclude/omniORB3/ir_operators.hh Xinclude/omniORB3/ir_poa.hh Xinclude/omniORB3/omniInternal.h Xinclude/omniORB3/omniLifeCycle.hh Xinclude/omniORB3/omniORB.h Xinclude/omniORB3/omniObjKey.h Xinclude/omniORB3/omniObjRef.h Xinclude/omniORB3/omniServant.h Xinclude/omniORB3/omniURI.h Xinclude/omniORB3/poa.h Xinclude/omniORB3/poa_defs.h Xinclude/omniORB3/poa_operators.h Xinclude/omniORB3/poa_poa.h Xinclude/omniORB3/proxyFactory.h Xinclude/omniORB3/rope.h Xinclude/omniORB3/seqtemplates.h Xinclude/omniORB3/stringtypes.h Xinclude/omniORB3/stringtypes.h.old Xinclude/omniORB3/tcDescriptor.h Xinclude/omniORB3/templatedecls.h Xinclude/omniORB3/templatedefns.h Xinclude/omniORB3/tracedthread.h Xinclude/omniORB3/userexception.h Xinclude/omnithread.h Xinclude/omnithread/mach.h Xinclude/omnithread/nt.h Xinclude/omnithread/posix.h Xinclude/omnithread/pthread_nt.h Xinclude/omnithread/solaris.h Xinclude/omniNotify.h Xlib/_omniidlmodule.so Xlib/_omniidlmodule.so.0 Xlib/_omniidlmodule.so.0.1 Xlib/libCOS3.a Xlib/libCOS3.so Xlib/libCOS3.so.0 Xlib/libCOS3.so.0.2 Xlib/libCOSBOA3.a Xlib/libCOSBOA3.so Xlib/libCOSBOA3.so.0 Xlib/libCOSBOA3.so.0.2 Xlib/libCOSDynamic3.a Xlib/libCOSDynamic3.so Xlib/libCOSDynamic3.so.0 Xlib/libCOSDynamic3.so.0.2 Xlib/libomniDynamic3.a Xlib/libomniDynamic3.so Xlib/libomniDynamic3.so.0 Xlib/libomniDynamic3.so.0.2 Xlib/libomniGK_alone.a Xlib/libomniGK_stub.a Xlib/libomniORB3.a Xlib/libomniORB3.so Xlib/libomniORB3.so.0 Xlib/libomniORB3.so.0.2 Xlib/libomnithread.a Xlib/libomnithread.so Xlib/libomnithread.so.2 Xlib/libomnithread.so.2.1 Xlib/libtcpwrapGK.a Xlib/libtcpwrapGK.so Xlib/libtcpwrapGK.so.2 Xlib/libtcpwrapGK.so.2.0 Xlib/omnicpp Xlib/libCOSNotifyBOA3.a Xlib/libCOSNotifyBOA3.so Xlib/libCOSNotifyBOA3.so.0 Xlib/libCOSNotifyBOA3.so.0.2 Xhare/doc/omniORB/README.FreeBSD Xshare/doc/omniORB/README.unix Xshare/doc/omniORB/ReleaseNote_omniORB_302 Xshare/doc/omniORB/omniNames.html Xshare/doc/omniORB/omniNames.pdf Xshare/doc/omniORB/omniNames.ps Xshare/doc/omniORB/omniNames.tex Xshare/doc/omniORB/omniORB.pdf Xshare/doc/omniORB/omniORB.ps Xshare/doc/omniORB/omniORB/contents_motif.gif Xshare/doc/omniORB/omniORB/index.html Xshare/doc/omniORB/omniORB/next_motif.gif Xshare/doc/omniORB/omniORB/omniORB001.html Xshare/doc/omniORB/omniORB/omniORB002.html Xshare/doc/omniORB/omniORB/omniORB003.html Xshare/doc/omniORB/omniORB/omniORB004.html Xshare/doc/omniORB/omniORB/omniORB005.html Xshare/doc/omniORB/omniORB/omniORB006.html Xshare/doc/omniORB/omniORB/omniORB007.html Xshare/doc/omniORB/omniORB/omniORB008.html Xshare/doc/omniORB/omniORB/omniORB009.html Xshare/doc/omniORB/omniORB/omniORB010.html Xshare/doc/omniORB/omniORB/omniORB011.html Xshare/doc/omniORB/omniORB/omniORB012.html Xshare/doc/omniORB/omniORB/omniORB013.html Xshare/doc/omniORB/omniORB/omniORB014.html Xshare/doc/omniORB/omniORB/previous_motif.gif Xshare/doc/omniORB/omniidl.html Xshare/doc/omniORB/omniidl.pdf Xshare/doc/omniORB/omniidl.ps Xshare/doc/omniORB/omnithread.html Xshare/doc/omniORB/omnithread.pdf Xshare/doc/omniORB/omnithread.ps Xshare/doc/omniORB/omnithread.tex Xshare/doc/omniORB/tex/cover.tex Xshare/doc/omniORB/tex/ode.tex Xshare/doc/omniORB/tex/omniORB.bib Xshare/doc/omniORB/tex/omniORB.tex Xshare/doc/omniORB/tex/omniParTcl.tex Xshare/doc/omniORB/tex/omniidl.tex Xshare/doc/omniORB/tex/omnithread.tex Xshare/doc/omniORB/utilities.html Xshare/doc/omniORB/utilities.pdf Xshare/doc/omniORB/utilities.ps Xshare/doc/omniORB/utilities.tex X@dirrm share/doc/omniORB/tex X@dirrm share/doc/omniORB/omniORB X@dirrm share/doc/omniORB X@dirrm include/omnithread X@dirrm include/omniORB3 END-of-omniORB-Notify/pkg-plist echo x - omniORB-Notify/distinfo sed 's/^X//' >omniORB-Notify/distinfo << 'END-of-omniORB-Notify/distinfo' XMD5 (omniORB_302.tar.gz) = fd44f65cfd56a5c5d5a2a46d1da6c8e1 XMD5 (omniNotify11b1.tar.gz) = b4b1ef0c05f178e0e93485f852467882 END-of-omniORB-Notify/distinfo echo c - omniORB-Notify/files mkdir -p omniORB-Notify/files > /dev/null 2>&1 echo x - omniORB-Notify/files/patch-aa sed 's/^X//' >omniORB-Notify/files/patch-aa << 'END-of-omniORB-Notify/files/patch-aa' X--- ../config/config.mk.orig Fri Aug 18 16:09:38 2000 X+++ ../config/config.mk Mon Sep 11 17:26:22 2000 X@@ -77,6 +77,7 @@ X #platform = x86_freebsd_3.2 X #platform = x86_freebsd_4.0 X #platform = pc486_rtems_4.5.0 X+platform = __PLATFORM__ X X # On Win32 platforms, uncomment the following line to build all the binaries X # with debugging information. Useful if you want to debug the binaries under END-of-omniORB-Notify/files/patch-aa echo x - omniORB-Notify/files/patch-aj sed 's/^X//' >omniORB-Notify/files/patch-aj << 'END-of-omniORB-Notify/files/patch-aj' X--- ../mk/platforms/x86_freebsd_4.0.mk.orig Fri Aug 18 16:09:33 2000 X+++ ../mk/platforms/x86_freebsd_4.0.mk Tue Sep 12 09:56:52 2000 X@@ -10,7 +10,7 @@ X # X # You must set a path to a Python 1.5.2 interpreter. X X-#PYTHON = /usr/local/bin/python X+PYTHON = ${PYTHON_CMD} X X X # X@@ -25,12 +25,13 @@ X # X X AR = ar cq X+MKDIRHIER= ${MKDIR} X X CPP = /usr/libexec/cpp X X-CXX = g++295 X+CXX ?= g++ X CXXMAKEDEPEND += -D__cplusplus -D__GNUG__ -D__GNUC__ X-CXXDEBUGFLAGS = -O2 X+CXXDEBUGFLAGS ?= -O2 X X CXXLINK = $(CXX) -pthread -s X CXXLINKOPTIONS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) X@@ -39,14 +40,14 @@ X EgcsMajorVersion = 1 X EgcsMinorVersion = 1 # This is actually a post-1.0 egcs snapshot. X X-CC = gcc295 X+CC ?= gcc X CMAKEDEPEND += -D__GNUC__ X-CDEBUGFLAGS = -O2 X+CDEBUGFLAGS ?= -O2 X X CLINK = $(CC) X CLINKOPTIONS = $(CDEBUGFLAGS) $(COPTIONS) X X-INSTALL = install -c X+INSTALL = ${BSD_INSTALL} -c X X IMPORT_CPPFLAGS += -D__x86__ -D__freebsd__ -D__OSVERSION__=4 X X@@ -72,10 +73,10 @@ X # Default location of the omniORB configuration file [falls back to this if X # the environment variable OMNIORB_CONFIG is not set] : X X-OMNIORB_CONFIG_DEFAULT_LOCATION = /etc/omniORB.cfg X+OMNIORB_CONFIG_DEFAULT_LOCATION = ${PREFIX}/etc/omniORB.cfg X X # Default directory for the omniNames log files. X-OMNINAMES_LOG_DEFAULT_LOCATION = /var/omninames X+OMNINAMES_LOG_DEFAULT_LOCATION = /var/log/omninames X X # Uncomment the following if you want all utils and examples build in X # this tree to statically linke with the omniORB libraries. END-of-omniORB-Notify/files/patch-aj echo x - omniORB-Notify/files/patch-ak sed 's/^X//' >omniORB-Notify/files/patch-ak << 'END-of-omniORB-Notify/files/patch-ak' X--- tool/omniidl/cxx/idlutil.cc.orig Fri Aug 18 16:09:06 2000 X+++ tool/omniidl/cxx/idlutil.cc Mon Sep 11 17:44:48 2000 X@@ -148,7 +148,7 @@ X IdlIntLiteral X idl_strtoul(const char* text, int base) X { X- return strtoull(text, 0, base); X+ return strtouq(text, 0, base); X } X X # endif END-of-omniORB-Notify/files/patch-ak echo x - omniORB-Notify/files/patch-ba sed 's/^X//' >omniORB-Notify/files/patch-ba << 'END-of-omniORB-Notify/files/patch-ba' X*** services/omniNotify/lib/RDILog.cc.orig Wed Nov 15 16:17:30 2000 X--- services/omniNotify/lib/RDILog.cc Wed Feb 7 13:52:47 2001 X*************** X*** 744,750 **** X X if ( _dirpath ) { X sprintf(fname, "%s/%s", _logpath, log_anchor_name); X! if ( (afdes = ::open(fname, O_RDWR | O_SYNC, 0600)) == -1 ) { X RDI_DUMP("failed to open anchor " << fname << " - errno " << errno); X return -1; X } X--- 744,750 ---- X X if ( _dirpath ) { X sprintf(fname, "%s/%s", _logpath, log_anchor_name); X! if ( (afdes = ::open(fname, O_RDWR | O_FSYNC, 0600)) == -1 ) { X RDI_DUMP("failed to open anchor " << fname << " - errno " << errno); X return -1; X } END-of-omniORB-Notify/files/patch-ba echo x - omniORB-Notify/files/patch-bb sed 's/^X//' >omniORB-Notify/files/patch-bb << 'END-of-omniORB-Notify/files/patch-bb' X*** services/omniNotify/include/RDIEvent.h.orig Fri Dec 15 11:15:27 2000 X--- services/omniNotify/include/RDIEvent.h Wed Feb 7 13:53:23 2001 X*************** X*** 662,673 **** X Key_t key; X Val_t vnode; X _vmap = new RTValMap(Key_t::hash, Key_t::rank); X- if (_evnt.header.variable_header.length()) X- _vahdr_rtval = new RDI_RTVal[_evnt.header.variable_header.length()]; X- if (_evnt.filterable_data.length()) X- _fdata_rtval = new RDI_RTVal[_evnt.filterable_data.length()]; X X! for (i=0; i < _evnt.header.variable_header.length(); i++) { X _vahdr_rtval[i].init_from_any( _evnt.header.variable_header[i].value ); X const char* nm = _evnt.header.variable_header[i].name; X key._nm = nm; X--- 662,677 ---- X Key_t key; X Val_t vnode; X _vmap = new RTValMap(Key_t::hash, Key_t::rank); X X! unsigned int len = _evnt.header.variable_header.length(); X! if (len) X! _vahdr_rtval = new RDI_RTVal[len]; X! X! unsigned int flen = _evnt.filterable_data.length(); X! if (flen) X! _fdata_rtval = new RDI_RTVal[flen]; X! X! for (i=0; i < len; i++) { X _vahdr_rtval[i].init_from_any( _evnt.header.variable_header[i].value ); X const char* nm = _evnt.header.variable_header[i].name; X key._nm = nm; END-of-omniORB-Notify/files/patch-bb echo x - omniORB-Notify/files/patch-bc sed 's/^X//' >omniORB-Notify/files/patch-bc << 'END-of-omniORB-Notify/files/patch-bc' X*** services/dir.mk.orig Wed Feb 7 17:17:41 2001 X--- services/dir.mk Wed Feb 7 17:17:03 2001 X*************** X*** 1,4 **** X! SUBDIRS = mklib X X all:: X @$(MakeSubdirs) X--- 1,4 ---- X! SUBDIRS = mklib omniNotify X X all:: X @$(MakeSubdirs) END-of-omniORB-Notify/files/patch-bc echo x - omniORB-Notify/files/patch-bd sed 's/^X//' >omniORB-Notify/files/patch-bd << 'END-of-omniORB-Notify/files/patch-bd' X*** services/omniNotify/daemon/ReadyChannel_d.cc.orig Wed Feb 7 17:30:18 2001 X--- services/omniNotify/daemon/ReadyChannel_d.cc Wed Feb 7 17:31:00 2001 X*************** X*** 60,66 **** X #include <stdlib.h> X #include <string.h> X #include <iostream.h> X! #include <sys/resource.h> X #include "corba_wrappers.h" X #include "CosNotifyShorthands.h" X #include "omniNotify.h" X--- 60,66 ---- X #include <stdlib.h> X #include <string.h> X #include <iostream.h> X! // #include <sys/resource.h> X #include "corba_wrappers.h" X #include "CosNotifyShorthands.h" X #include "omniNotify.h" X*************** X*** 89,101 **** X if (strrchr(pn, '\\')) { pn = strrchr(pn, '\\'); pn++; } X if (strlen(pn) == 0) { pn = (char*)"notifd"; } X char* pname = CORBA::string_dup(pn); X- X- // Increase the limit of open file descriptor to the maximum X- struct rlimit rlp; X- if ( getrlimit(RLIMIT_NOFILE, &rlp) == 0 ) { X- rlp.rlim_cur = rlp.rlim_max; X- (void) setrlimit(RLIMIT_NOFILE, &rlp); X- } X X while ( indx < argc ) { X if ( strcmp(argv[indx], "-i") == 0 ) { X--- 89,94 ---- END-of-omniORB-Notify/files/patch-bd 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?200102081413.f18EDFP01195>