ports/79879: New port: security/distcache-devel Distributed session caching tools and APIs, development version
Marcel Prisi
marcel.prisi at virtua.ch
Wed Apr 13 20:20:30 UTC 2005
>Number: 79879
>Category: ports
>Synopsis: New port: security/distcache-devel Distributed session caching tools and APIs, development version
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Apr 13 20:20:28 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Marcel Prisi
>Release: 5.3-RELEASE
>Organization:
Virtua SA
>Environment:
FreeBSD starsky.virtua.ch 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Fri Feb 18 17:06:24 CET 2005 root at starsky.virtua.ch:/usr/src/sys/i386/compile/STARSKY i386
>Description:
Development version of distributed session caching tools and APIs, primarily for SSL/TLS servers though perhaps useful for other (non-SSL/TLS) circumstances.
Also includes a self-contained network abstraction library (libnal), and the sslswamp SSL/TLS benchmark/test utility.
WWW: http://www.distcache.org/
>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:
#
# security/distcache-devel
# security/distcache-devel/files
# security/distcache-devel/files/patch-proto_fd.c
# security/distcache-devel/files/dc_server.sh
# security/distcache-devel/Makefile
# security/distcache-devel/distinfo
# security/distcache-devel/pkg-descr
# security/distcache-devel/pkg-message
# security/distcache-devel/pkg-plist
#
echo c - security/distcache-devel
mkdir -p security/distcache-devel > /dev/null 2>&1
echo c - security/distcache-devel/files
mkdir -p security/distcache-devel/files > /dev/null 2>&1
echo x - security/distcache-devel/files/patch-proto_fd.c
sed 's/^X//' >security/distcache-devel/files/patch-proto_fd.c << 'END-of-security/distcache-devel/files/patch-proto_fd.c'
X*** libnal/proto_fd.c.ori Wed Apr 13 21:07:10 2005
X--- libnal/proto_fd.c Wed Apr 13 21:55:12 2005
X***************
X*** 26,31 ****
X--- 26,38 ----
X #include "nal_internal.h"
X #include "ctrl_fd.h"
X #include <libsys/post.h>
X+ #ifdef __FreeBSD__
X+ #if __FreeBSD_version >= 502010
X+ #include <sys/limits.h>
X+ #else
X+ #include <machine/limits.h>
X+ #endif
X+ #endif /* __FreeBSD__ */
X
X /**************************/
X /* predeclare our vtables */
END-of-security/distcache-devel/files/patch-proto_fd.c
echo x - security/distcache-devel/files/dc_server.sh
sed 's/^X//' >security/distcache-devel/files/dc_server.sh << 'END-of-security/distcache-devel/files/dc_server.sh'
X#!/bin/sh
X#
X# $FreeBSD$
X#
X
X# PROVIDE: %%NAME%%
X# REQUIRE: LOGIN
X# BEFORE: securelevel
X# KEYWORD: FreeBSD shutdown
X
X# Add the following line to /etc/rc.conf to enable `%%NAME%%':
X#
X#%%NAME%%_enable="YES"
X#
X# See %%NAME%%(1)
X#
X
X. "%%RC_SUBR%%"
X
Xname="%%NAME%%"
Xrcvar=`set_rcvar`
X
Xcommand="%%PREFIX%%/bin/dc_server"
Xcommand_args="-daemon -listen IP:9001 -user nobody -pidfile /var/run/$name.pid"
Xpidfile="/var/run/$name.pid"
X
X# read configuration and set defaults
Xload_rc_config "$name"
X: ${%%NAME%%_enable="NO"}
X: ${%%NAME%%_flags=""}
X
Xrun_rc_command "$1"
END-of-security/distcache-devel/files/dc_server.sh
echo x - security/distcache-devel/Makefile
sed 's/^X//' >security/distcache-devel/Makefile << 'END-of-security/distcache-devel/Makefile'
X# New ports collection makefile for: distcache
X# Date created: 2005-04-13
X# Whom: Marcel Prisi <marcel.prisi at virtua.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME= distcache
XPORTVERSION= 1.5.1
XCATEGORIES= security www
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
X http://osdn.dl.sourceforge.net/sourceforge/${PORTNAME}/
XMASTER_SITE_SUBDIR= ${PORTNAME}
XPKGNAMESUFFIX= -devel
XDISTNAME= ${PORTNAME}-${PORTVERSION}
X
XMAINTAINER= marcel.prisi at virtua.ch
XCOMMENT= Distributed openssl session caching tools development version
X
XCONFLICTS= distcache-1.4*
X
XUSE_BZIP2= yes
XUSE_RC_SUBR= yes
XGNU_CONFIGURE= yes
XUSE_OPENSSL= yes
XCONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
XINSTALLS_SHLIB= yes
XCONFIGURE_ARGS= --prefix=${PREFIX}
X
X.if !defined(NOPORTDOCS)
XPORTDOCS= ANNOUNCE BUGS CHANGES FAQ INSTALL LICENSE README
X.endif
X
X.include <bsd.port.pre.mk>
X
XSED_SCRIPT+= -e 's,%%NAME%%,dc_server,g' \
X -e 's,%%PREFIX%%,${PREFIX},g' \
X -e 's,%%RC_SUBR%%,${RC_SUBR},g'
X
XMAN1= dc_client.1 dc_server.1 dc_snoop.1 dc_test.1 sslswamp.1
XMAN2= DC_CTX_new.2 DC_PLUG_new.2 DC_PLUG_read.2 DC_SERVER_new.2 \
X NAL_ADDRESS_new.2 NAL_BUFFER_new.2 NAL_CONNECTION_new.2 \
X NAL_LISTENER_new.2 NAL_SELECTOR_new.2 NAL_decode_uint32.2
XMAN8= distcache.8
X
Xpost-build:
X @${SED} ${SED_SCRIPT} <${FILESDIR}/dc_server.sh >${WRKDIR}/dc_server.sh
X
Xpost-install:
X @${INSTALL_SCRIPT} ${WRKDIR}/dc_server.sh ${DESTDIR}${PREFIX}/etc/rc.d/
X @${CAT} ${PKGMESSAGE}
X.if !defined(NOPORTDOCS)
X @${MKDIR} ${DESTDIR}${DOCSDIR}
X @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DESTDIR}${DOCSDIR}
X.endif
X
X.include <bsd.port.post.mk>
END-of-security/distcache-devel/Makefile
echo x - security/distcache-devel/distinfo
sed 's/^X//' >security/distcache-devel/distinfo << 'END-of-security/distcache-devel/distinfo'
XMD5 (distcache-1.5.1.tar.bz2) = 011346e08a617d1cc18746beefe062de
XSIZE (distcache-1.5.1.tar.bz2) = 491139
END-of-security/distcache-devel/distinfo
echo x - security/distcache-devel/pkg-descr
sed 's/^X//' >security/distcache-devel/pkg-descr << 'END-of-security/distcache-devel/pkg-descr'
XDistributed session caching tools and APIs, primarily for SSL/TLS servers
Xthough perhaps useful for other (non-SSL/TLS) circumstances.
XAlso includes a self-contained network abstraction library (libnal), and the
Xsslswamp SSL/TLS benchmark/test utility.
X
XWWW: http://www.distcache.org/
X
X- Marcel Prisi
Xmarcel.prisi at virtua.ch
END-of-security/distcache-devel/pkg-descr
echo x - security/distcache-devel/pkg-message
sed 's/^X//' >security/distcache-devel/pkg-message << 'END-of-security/distcache-devel/pkg-message'
XWarning - This is the development version of distcache.
X
XSee ${PREFIX}/etc/rc.d/dc_server.sh for how to start this
Xautomatically at system boot-up time.
END-of-security/distcache-devel/pkg-message
echo x - security/distcache-devel/pkg-plist
sed 's/^X//' >security/distcache-devel/pkg-plist << 'END-of-security/distcache-devel/pkg-plist'
Xbin/dc_client
Xbin/dc_server
Xbin/dc_snoop
Xbin/dc_test
Xbin/nal_echo
Xbin/nal_hose
Xbin/nal_ping
Xbin/nal_pong
Xbin/nal_proxy
Xbin/nal_test
Xbin/piper
Xbin/sslswamp
Xetc/rc.d/dc_server.sh
Xinclude/distcache/dc_client.h
Xinclude/distcache/dc_plug.h
Xinclude/distcache/dc_server.h
Xinclude/libnal/nal.h
Xinclude/libnal/nal_devel.h
Xinclude/libnal/nal_ssl.h
Xlib/libdistcache.a
Xlib/libdistcache.la
Xlib/libdistcacheserver.a
Xlib/libdistcacheserver.la
Xlib/libnal.a
Xlib/libnal.la
Xlib/libnalssl.a
Xlib/libnalssl.la
Xshare/swamp/A-client.pem
Xshare/swamp/CA.pem
END-of-security/distcache-devel/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list