Subject: pkg/19782: new pkg spread 3.17.0
To: None <gnats-bugs@gnats.netbsd.org>
From: None <marc@informatik.uni-bremen.de>
List: netbsd-bugs
Date: 01/11/2003 13:48:58
>Number: 19782
>Category: pkg
>Synopsis: new pkg Spread 3.17.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat Jan 11 04:50:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.6_STABLE
>Organization:
>Environment:
System: NetBSD leeloo.intern.geht.de 1.6_STABLE NetBSD 1.6_STABLE (LEELOO) #0: Mon Jan 6 09:37:59 CET 2003 root@leeloo.intern.geht.de:/usr/src/sys/arch/i386/compile/LEELOO i386
Architecture: i386
Machine: i386
>Description:
New pkg (net/spread), a high performance messaging service.
Please see http://www.spread.org/ for details.
>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:
#
# spread
# spread/patches
# spread/patches/patch-aa
# spread/patches/patch-ab
# spread/patches/patch-ac
# spread/files
# spread/files/spread.sh
# spread/buildlink2.mk
# spread/distinfo
# spread/Makefile
# spread/DESCR
# spread/PLIST
#
echo c - spread
mkdir -p spread > /dev/null 2>&1
echo c - spread/patches
mkdir -p spread/patches > /dev/null 2>&1
echo x - spread/patches/patch-aa
sed 's/^X//' >spread/patches/patch-aa << 'END-of-spread/patches/patch-aa'
X$NetBSD$
X
X+++ configure Thu Dec 26 13:45:12 2002
X@@ -3956,6 +3956,7 @@
X G=`eval echo ${piddir}` ; G=`eval echo ${G}`
X H=`eval echo ${LIBSPSO}`; H=`eval echo ${H}`
X I=`eval echo ${LIBTSPSO}`; I=`eval echo ${I}`
X+J=`eval echo ${includedir}`; J=`eval echo ${J}`
X
X echo ""
X echo "Spread has been configured with the following options:"
X@@ -3965,6 +3966,7 @@
X echo " User libraries: $E"
X echo " Shared Spread LIbrary: $H"
X echo "Shared Thread-safe Spread LIbrary: $I"
X+echo " Header files: $J"
X echo " Manual pages: $F"
X echo " PID file: $G"
X echo " Manpage format: $MANTYPE"
END-of-spread/patches/patch-aa
echo x - spread/patches/patch-ab
sed 's/^X//' >spread/patches/patch-ab << 'END-of-spread/patches/patch-ab'
X$NetBSD$
X
X+++ Makefile.in Thu Dec 26 14:25:07 2002
X@@ -5,6 +5,7 @@
X bindir=@bindir@
X sbindir=@sbindir@
X libdir=@libdir@
X+includedir=@includedir@
X mandir=@mandir@
X mansubdir=@mansubdir@
X sysconfdir=@sysconfdir@
X@@ -211,6 +212,7 @@
X install-files:
X $(buildtoolsdir)/mkinstalldirs $(DESTDIR)$(bindir)
X $(buildtoolsdir)/mkinstalldirs $(DESTDIR)$(sbindir)
X+ $(buildtoolsdir)/mkinstalldirs $(DESTDIR)$(includedir)
X $(buildtoolsdir)/mkinstalldirs $(DESTDIR)$(mandir)
X $(buildtoolsdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)1
X $(buildtoolsdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)3
X@@ -222,6 +224,9 @@
X $(INSTALL) -m 0755 -s spread$(EXEEXT) $(DESTDIR)$(sbindir)/spread$(EXEEXT)
X $(INSTALL) -m 644 libspread.a $(DESTDIR)$(libdir)/libspread.a
X $(INSTALL) -m 644 libtspread.a $(DESTDIR)$(libdir)/libtspread.a
X+ $(INSTALL) -m 644 sp.h $(DESTDIR)$(includedir)/sp.h
X+ $(INSTALL) -m 644 sp_func.h $(DESTDIR)$(includedir)/sp_func.h
X+ $(INSTALL) -m 644 sp_events.h $(DESTDIR)$(includedir)/sp_events.h
X $(INSTALL) -m 644 docs/spread.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/spread.1
X $(INSTALL) -m 644 docs/spuser.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/spuser.1
X $(INSTALL) -m 644 docs/sptuser.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/sptuser.1
END-of-spread/patches/patch-ab
echo x - spread/patches/patch-ac
sed 's/^X//' >spread/patches/patch-ac << 'END-of-spread/patches/patch-ac'
X$NetBSD$
X
XIndex: sp_func.h
X===================================================================
XRCS file: /storage/cvsroot/spread/daemon/sp_func.h,v
Xretrieving revision 1.3
Xdiff -u -u -r1.3 sp_func.h
X+++ sp_func.h 1 Oct 2002 15:43:22 -0000
X@@ -90,9 +90,9 @@
X scatter *scat_mess );
X
X /* returns offset in memb. message of gid (group id), num_vs and vs_set */
X-int SP_get_gid_offset_memb_mess();
X-int SP_get_num_vs_offset_memb_mess();
X-int SP_get_vs_set_offset_memb_mess();
X+int SP_get_gid_offset_memb_mess(void);
X+int SP_get_num_vs_offset_memb_mess(void);
X+int SP_get_vs_set_offset_memb_mess(void);
X
X int SP_poll( mailbox mbox );
END-of-spread/patches/patch-ac
echo c - spread/files
mkdir -p spread/files > /dev/null 2>&1
echo x - spread/files/spread.sh
sed 's/^X//' >spread/files/spread.sh << 'END-of-spread/files/spread.sh'
X#!@RCD_SCRIPTS_SHELL@
X#
X# $NetBSD$
X#
X# PROVIDE: spread
X# REQUIRE: DAEMON
X#
X# To start spread at startup, copy this script to /etc/rc.d and set
X# spread=YES in /etc/rc.conf.
X
Xif [ -f /etc/rc.subr ]; then
X . /etc/rc.subr
Xfi
X
Xrcd_dir=`@DIRNAME@ $0`
X
Xname="spread"
Xrcvar=$name
Xspread_log=@SPREAD_LOG@
Xcommand="@PREFIX@/sbin/${name}"
Xcommand_args="> ${spread_log} 2>&1 & sleep 2"
Xrequired_files="@PKG_SYSCONFDIR@/spread.conf @PKG_SYSCONFDIR@/spread.access_ip"
X
Xload_rc_config $name
Xrun_rc_command "$1"
END-of-spread/files/spread.sh
echo x - spread/buildlink2.mk
sed 's/^X//' >spread/buildlink2.mk << 'END-of-spread/buildlink2.mk'
X# $NetBSD$
X#
X# This Makefile fragment is included by packages that use spread.
X#
X# This file was created automatically using createbuildlink 2.3.
X#
X
X.if !defined(SPREAD_BUILDLINK2_MK)
XSPREAD_BUILDLINK2_MK= # defined
X
XBUILDLINK_PACKAGES+= spread
XBUILDLINK_DEPENDS.spread?= spread>=3.17.0
XBUILDLINK_PKGSRCDIR.spread?= ../../net/spread
X
XEVAL_PREFIX+= BUILDLINK_PREFIX.spread=spread
XBUILDLINK_PREFIX.spread_DEFAULT= ${LOCALBASE}
XBUILDLINK_FILES.spread+= include/sp.h
XBUILDLINK_FILES.spread+= include/sp_func.h
XBUILDLINK_FILES.spread+= include/sp_events.h
XBUILDLINK_FILES.spread+= lib/libspread.*
XBUILDLINK_FILES.spread+= lib/libtspread.*
X
X
XBUILDLINK_TARGETS+= spread-buildlink
X
Xspread-buildlink: _BUILDLINK_USE
X
X.endif # SPREAD_BUILDLINK2_MK
END-of-spread/buildlink2.mk
echo x - spread/distinfo
sed 's/^X//' >spread/distinfo << 'END-of-spread/distinfo'
X$NetBSD$
X
XSHA1 (spread-src-3.17.0.tar.gz) = 1d9d431583ae8692e07f871ae0f4d8f1cb3e4b41
XSize (spread-src-3.17.0.tar.gz) = 285740 bytes
XSHA1 (patch-spread.c) = ae71a827c04e3c2c23dcbc3aeaf522d58826dec3
XSHA1 (patch-aa) = d643e12fc34dca15b0c5b3fe36ee6d2c7227839b
XSHA1 (patch-ab) = d9c6f00f6a27d4196a332c9824049ff7cd16859e
XSHA1 (patch-ac) = 8e849c4b72e2d601bd4aeab74c2264ac2b9ed49d
END-of-spread/distinfo
echo x - spread/Makefile
sed 's/^X//' >spread/Makefile << 'END-of-spread/Makefile'
X# $NetBSD$
X#
X
XDISTNAME= spread-src-3.17.0
XPKGNAME= spread-3.17.0
XCATEGORIES= net
XMASTER_SITES=
X
XMAINTAINER= marc@informatik.uni-bremen.de
XHOMEPAGE= http://www.spread.org/
XCOMMENT= high performance messaging service
X
XWRKSRC= ${WRKDIR}/spread-src-3.17.0
X
XFETCH_CMD= ${ECHO} "Redistribution of the source unclear."
XRESTRICTED= Redistribution of the source unclear.
X
XUSE_BUILDLINK2= YES
XGNU_CONFIGURE= YES
XUSE_PERL5= build
XLD= ${CC}
XRCD_SCRIPTS= spread
XSPREAD_LOG?= /var/log/spread.log
X
XSPREAD_USER= spread
XSPREAD_GROUP= spread
XPKG_GROUPS= ${SPREAD_USER}
XPKG_USERS= ${SPREAD_USER}:${SPREAD_GROUP}
X
XFILES_SUBST+= SPREAD_USER=${SPREAD_USER}
XFILES_SUBST+= SPREAD_GROUP=${SPREAD_GROUP}
XFILES_SUBST+= SPREAD_LOG=${SPREAD_LOG}
X
XRUNDIR= /var/run/spread
XDOCDIR= ${PREFIX}/share/doc
XEGDIR= ${PREFIX}/share/examples/spread
XCONF_FILES= ${EGDIR}/sample.spread.access_ip ${PKG_SYSCONFBASE}/spread.access_ip
XCONF_FILES+= ${EGDIR}/sample.spread.conf ${PKG_SYSCONFBASE}/spread.conf
X
Xfetch:
X @${ECHO} "Redistribution of the source unclear."
X @${ECHO} "Please fetch the source manually from http://www.cnds.jhu.edu/download/download_spread.cgi"
X @${ECHO} "and put it into ${DISTDIR} ."
X
Xpost-install:
X ${INSTALL_DATA_DIR} ${DOCDIR}
X ${INSTALL_DATA} ${WRKSRC}/license.txt ${DOCDIR}
X ${INSTALL_DATA} ${WRKSRC}/Readme.txt ${DOCDIR}
X ${INSTALL_DATA} ${WRKSRC}/Short_Buffer_Handling.txt ${DOCDIR}
X ${INSTALL_DATA_DIR} ${EGDIR}
X ${INSTALL_DATA} ${WRKSRC}/sample.spread.access_ip ${EGDIR}
X ${INSTALL_DATA} ${WRKSRC}/sample.spread.conf ${EGDIR}
X ${INSTALL} -d -o ${SPREAD_USER} -g ${SPREAD_GROUP} -m 0750 ${RUNDIR}
X
X.include "../../mk/pthread.buildlink2.mk"
X.include "../../mk/bsd.pkg.install.mk"
X.include "../../mk/bsd.pkg.mk"
END-of-spread/Makefile
echo x - spread/DESCR
sed 's/^X//' >spread/DESCR << 'END-of-spread/DESCR'
XCopyright (c) 1993-2001 Spread Concepts LLC. All rights reserved.
XThis product uses software developed by Spread Concepts LLC for use in
Xthe Spread toolkit. For more information about Spread see http://www.spread.org
X
XSpread is a toolkit that provides a high performance messaging service that is
Xresilient to faults across external or internal networks. Spread functions as a
Xunified message bus for distributed applications, and provides highly tuned
Xapplication-level multicast and group communication support. Spread services
Xrange from reliable message passing to fully ordered messages with delivery
Xguarantees, even in case of computer failures and network partitions.
END-of-spread/DESCR
echo x - spread/PLIST
sed 's/^X//' >spread/PLIST << 'END-of-spread/PLIST'
X@comment $NetBSD$
Xbin/spmonitor
Xbin/spuser
Xbin/sptuser
Xbin/spflooder
Xetc/rc.d/spread
Xinclude/sp.h
Xinclude/sp_func.h
Xinclude/sp_events.h
Xlib/libspread.a
Xlib/libtspread.a
Xlib/libspread.so.1.0
Xlib/libspread.so
Xlib/libtspread.so.1.0
Xlib/libtspread.so
Xman/man1/spread.1
Xman/man1/spuser.1
Xman/man1/sptuser.1
Xman/man1/spflooder.1
Xman/man1/spmonitor.1
Xman/man3/libsp.3
Xman/man3/SP_connect.3
Xman/man3/SP_disconnect.3
Xman/man3/SP_equal_group_ids.3
Xman/man3/SP_error.3
Xman/man3/SP_join.3
Xman/man3/SP_leave.3
Xman/man3/SP_multicast.3
Xman/man3/SP_multigroup_multicast.3
Xman/man3/SP_multigroup_scat_multicast.3
Xman/man3/SP_poll.3
Xman/man3/SP_receive.3
Xman/man3/SP_scat_multicast.3
Xman/man3/SP_scat_receive.3
Xsbin/spread
Xshare/doc/license.txt
Xshare/doc/Readme.txt
Xshare/doc/Short_Buffer_Handling.txt
Xshare/examples/spread/sample.spread.access_ip
Xshare/examples/spread/sample.spread.conf
X@unexec rmdir /var/run/spread 2>/dev/null || true
X@dirrm share/examples/spread
END-of-spread/PLIST
exit
>Release-Note:
>Audit-Trail:
>Unformatted: