ports/80795: [new port] devel/gwenhywfar

Peter Cornelius pcc at gmx.net
Sun May 8 20:10:04 UTC 2005


>Number:         80795
>Category:       ports
>Synopsis:       [new port] devel/gwenhywfar
>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:   Sun May 08 20:10:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Peter Cornelius
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
peter cornelius consulting
>Environment:
FreeBSD petra.cornelius 4.11-STABLE FreeBSD 4.11-STABLE #16: Wed Mar  9 18:59:32 GMT 2005     root at petra.cornelius:/usr/obj/usr/src/sys/PETRA  i386
>Description:
This is a new port of gwenhywfar, a multi-platform helper library for networking and security applications.

This hopefully is a first step to build the infrastructure to fix http://www.freebsd.org/cgi/query-pr.cgi?pr=78443. Any help is appreciated as I can't go any faster than I do now. Please also bear with me (very) patiently -- my usual response time currently are of a similar order 8-S (hence the maintainer as it is now 8-S).
>How-To-Repeat:
Be without gwenhywfar?
>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:
#
#	gwenhywfar
#	gwenhywfar/Makefile
#	gwenhywfar/distinfo
#	gwenhywfar/pkg-descr
#	gwenhywfar/pkg-plist
#
echo c - gwenhywfar
mkdir -p gwenhywfar > /dev/null 2>&1
echo x - gwenhywfar/Makefile
sed 's/^X//' >gwenhywfar/Makefile << 'END-of-gwenhywfar/Makefile'
X# New ports collection makefile for:	gwenhywfar
X# Date created:		2005-05-05
X# Whom:			Peter Cornelius <pcc.at.gmx.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gwenhywfar
XPORTVERSION=	1.12.1
XCATEGORIES=	devel net security
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	ports at freebsd.org
XCOMMENT=	Multi-platform helper library for networking and security applications
X
XOPTIONS=	SSL "Use SSL (recommended; requires OpenSSL >=0.9.7)" on \
X		NCURSES "Ncurses for gwenui (OSVERSION < 400010 only)" on \
X		MEMDEBUG "Enable memory debugger statistic" off
X
XUSE_LIBTOOL_VER=	15
XUSE_GETTEXT=	yes
X
XINSTALLS_SHLIB=	yes
XLDCONFIG_DIRS+=	%%PREFIX%%/lib/gwenhywfar/plugins/17/dbio
X
X.ifndef WITHOUT_SSL
XUSE_OPENSSL=	yes
XOPTIONS+=	SSLDEBUG "Enable gwenhywfar SSL debug" off
X.else
XCONFIGURE_ARGS+=	--disable-ssl
X.endif
X
X.ifndef NOPORTDOCS
XOPTIONS+=	SRCDOC "Build source documentation (installs doxygen)" on
X. ifndef WITHOUT_SRCDOC
XBUILD_DEPENDS+=	doxygen:${PORTSDIR}/devel/doxygen
X. endif
XEXAMPLE_FILES=	\
X		STYLE \
X		apidoc.h \
X		db2.png \
X		plugindescr.xml \
X		plugindescr.xsd \
X		plugindescr.xsd.in \
X		testdialog.xml
X.for file in ${EXAMPLE_FILES}
XPLIST_FILES+=	%%EXAMPLESDIR%%/${file}
X.endfor
XPLIST_DIRS+=	%%EXAMPLESDIR%%
X.endif
X
X.include <bsd.port.pre.mk>
X
X# Nicked from mp3blaster port, I hope this criteria is correct:
X.if ${OSVERSION} < 400010
X. ifdef WITH_NCURSES
XLIB_DEPENDS+=	ncurses.5:${PORTSDIR}/devel/ncurses
X. endif
X.endif
X
X# Enable printing of memory debugger statistic at runtime.
X.ifdef WITH_MEMDEBUG
XCFLAGS+=	-DGWEN_MEMORY_DEBUG
X.endif
X
X# Enable appending of SSL connection in/output to /tmp/{read|written}.bin.
X.ifdef WITH_SSLDEBUG
XCFLAGS+=	-DGWEN_SSL_DEBUG
X.endif
X
X# Doxygen documentation is made with 'make srcdoc'.
Xpost-build:
X.ifndef NOPORTDOCS
X. ifdef WITH_SRCDOC
X	( cd ${WRKSRC} ; ${MAKE} srcdoc )
X. else
X	${DO_NADA}
X. endif
X.else
X	${DO_NADA}
X.endif
X
X# Must add doxygen doc files to PLIST_FILES before do-install.
Xpre-install:
X.ifndef NOPORTDOCS
X. ifdef WITH_SRCDOC
XPLIST_FILES+=	`${FIND} ${WRKSRC}/apidoc/ \! -type d | ${SORT} | ${SED} s=${WRKSRC}/apidoc=%%DOCSDIR%%=`
XPLIST_DIRS+=	%%DOCSDIR%%
X. else
X	${DO_NADA}
X. endif
X.else
X	${DO_NADA}
X.endif
X
Xpost-install:
X.ifndef NOPORTDOCS
X	${MKDIR} ${EXAMPLESDIR}
X. for file in ${EXAMPLE_FILES}
X	${INSTALL_DATA} ${WRKSRC}/doc/${file} ${EXAMPLESDIR}
X. endfor
X. ifdef WITH_SRCDOC
X	${MKDIR} ${DOCSDIR}
X	@for file in `${FIND} ${WRKSRC}/apidoc/ \! -type d | ${SORT} | ${SED} s=${WRKSRC}/apidoc/==` ; do \
X		${ECHO_CMD} "$${file} -> ${DOCSDIR}/$${file}" ; \
X		${INSTALL_DATA} ${WRKSRC}/apidoc/$${file} ${DOCSDIR} ; \
X	done
X. else
X	${DO_NADA}
X. endif
X.else
X	${DO_NADA}
X.endif
X
X.include <bsd.port.post.mk>
END-of-gwenhywfar/Makefile
echo x - gwenhywfar/distinfo
sed 's/^X//' >gwenhywfar/distinfo << 'END-of-gwenhywfar/distinfo'
XMD5 (gwenhywfar-1.12.1.tar.gz) = 24e2021c19b32f050c3d689f047f1a3b
XSIZE (gwenhywfar-1.12.1.tar.gz) = 1082958
END-of-gwenhywfar/distinfo
echo x - gwenhywfar/pkg-descr
sed 's/^X//' >gwenhywfar/pkg-descr << 'END-of-gwenhywfar/pkg-descr'
XMostly from the port's README file:
X
XThis is Gwenhywfar, a multi-platform (*BSD, Linux, MS-Win, etc.)
Xhelper library for networking and security applications and libraries.
XIt is used by several 'finance' ports, and possibly others.
X
XGwenhywfar includes the following features, among several others:
X
X- OS abstraction functions for directory and Internet address handling
X  and library loading (src/os/)
X
X- Networking functions which allow to manage many connections to be used
X  economically even in single threaded applications
X
X- High-level functions for parsing files with a simplified "XML-like"
X  format and accessing them like a hierarchical database (src/parser/)
X  It is able to process valid XML files, too.
X
X- High-level cryptographic functions on top of OpenSSL functionality
X  (src/crypt/)
X
XAuthor:	Martin Preuss <martin at libchipcard.de>
XWWW:	http://gwenhywfar.sourceforge.net/
X	http://www.aquamaniac.de/
END-of-gwenhywfar/pkg-descr
echo x - gwenhywfar/pkg-plist
sed 's/^X//' >gwenhywfar/pkg-plist << 'END-of-gwenhywfar/pkg-plist'
X at comment $FreeBSD$
Xbin/i386-portbld-freebsd4.11-mklistdoc
Xbin/i386-portbld-freebsd4.11-xmlmerge
Xbin/i386-portbld-freebsd4.11-dlgtest
Xbin/i386-portbld-freebsd4.11-typemaker
Xbin/i386-portbld-freebsd4.11-gwenhywfar-config
Xinclude/gwenhywfar/args.h
Xinclude/gwenhywfar/buffer.h
Xinclude/gwenhywfar/debug.h
Xinclude/gwenhywfar/error.h
Xinclude/gwenhywfar/i18n.h
Xinclude/gwenhywfar/idlist.h
Xinclude/gwenhywfar/inherit.h
Xinclude/gwenhywfar/list.h
Xinclude/gwenhywfar/list1.tmpl
Xinclude/gwenhywfar/list2.h
Xinclude/gwenhywfar/list2.tmpl
Xinclude/gwenhywfar/logger.h
Xinclude/gwenhywfar/memory.h
Xinclude/gwenhywfar/misc.h
Xinclude/gwenhywfar/misc2.h
Xinclude/gwenhywfar/plugin.h
Xinclude/gwenhywfar/plugindescr.h
Xinclude/gwenhywfar/refptr.h
Xinclude/gwenhywfar/ringbuffer.h
Xinclude/gwenhywfar/stringlist.h
Xinclude/gwenhywfar/stringlist2.h
Xinclude/gwenhywfar/waitcallback.h
Xinclude/gwenhywfar/crypt.h
Xinclude/gwenhywfar/keymanager.h
Xinclude/gwenhywfar/keyspec.h
Xinclude/gwenhywfar/md.h
Xinclude/gwenhywfar/padd.h
Xinclude/gwenhywfar/nettransportssl.h
Xinclude/gwenhywfar/bio_buffer.h
Xinclude/gwenhywfar/bio_file.h
Xinclude/gwenhywfar/bio_socket.h
Xinclude/gwenhywfar/bufferedio.h
Xinclude/gwenhywfar/filter.h
Xinclude/gwenhywfar/ipc.h
Xinclude/gwenhywfar/netconnectionhttp.h
Xinclude/gwenhywfar/system.h
Xinclude/gwenhywfar/directory.h
Xinclude/gwenhywfar/fslock.h
Xinclude/gwenhywfar/gwentime.h
Xinclude/gwenhywfar/inetaddr.h
Xinclude/gwenhywfar/inetsocket.h
Xinclude/gwenhywfar/libloader.h
Xinclude/gwenhywfar/process.h
Xinclude/gwenhywfar/base64.h
Xinclude/gwenhywfar/csv.h
Xinclude/gwenhywfar/db.h
Xinclude/gwenhywfar/dbio.h
Xinclude/gwenhywfar/msgengine.h
Xinclude/gwenhywfar/path.h
Xinclude/gwenhywfar/text.h
Xinclude/gwenhywfar/ui/button.h
Xinclude/gwenhywfar/ui/checkbox.h
Xinclude/gwenhywfar/ui/dropdownbox.h
Xinclude/gwenhywfar/ui/editbox.h
Xinclude/gwenhywfar/ui/event.h
Xinclude/gwenhywfar/ui/filedialog.h
Xinclude/gwenhywfar/ui/hline.h
Xinclude/gwenhywfar/ui/hslider.h
Xinclude/gwenhywfar/ui/loader.h
Xinclude/gwenhywfar/ui/messagebox.h
Xinclude/gwenhywfar/ui/scrollwidget.h
Xinclude/gwenhywfar/ui/tablewidget.h
Xinclude/gwenhywfar/ui/textwidget.h
Xinclude/gwenhywfar/ui/ui.h
Xinclude/gwenhywfar/ui/vslider.h
Xinclude/gwenhywfar/ui/widget.h
Xinclude/gwenhywfar/ui/window.h
Xinclude/gwenhywfar/tlv.h
Xinclude/gwenhywfar/xml.h
Xinclude/gwenhywfar/xsd.h
Xinclude/gwenhywfar/net.h
Xinclude/gwenhywfar/netconnection.h
Xinclude/gwenhywfar/netmsg.h
Xinclude/gwenhywfar/nettransport.h
Xinclude/gwenhywfar/nettransportsock.h
Xinclude/gwenhywfar/crypttoken.h
Xinclude/gwenhywfar/gwenhywfar.h
Xinclude/gwenhywfar/gwenhywfarapi.h
Xinclude/gwenhywfar/types.h
Xinclude/gwenhywfar/version.h
Xinclude/gwenpp/waitcallback.h
Xetc/gwen-public-ca.crt
Xlib/libgwenhywfar.so.29
Xlib/libgwenhywfar.so
Xlib/libgwenhywfar.a
Xlib/libgwenpp.so.16
Xlib/libgwenpp.so
Xlib/libgwenpp.a
Xlib/libgwenui.so.1
Xlib/libgwenui.so
Xlib/libgwenui.a
Xlib/gwenhywfar/plugins/17/dbio/csv.xml
Xlib/gwenhywfar/plugins/17/dbio/csv.so.0
Xlib/gwenhywfar/plugins/17/dbio/csv.so
Xlib/gwenhywfar/plugins/17/dbio/olddb.xml
Xlib/gwenhywfar/plugins/17/dbio/olddb.so.0
Xlib/gwenhywfar/plugins/17/dbio/olddb.so
Xshare/aclocal/gwenhywfar.m4
X at comment @dirrm bin
X at comment @dirrm include
X at dirrm include/gwenhywfar/ui
X at dirrm include/gwenhywfar
X at dirrm include/gwenpp
X at comment @dirrm etc
X at comment @dirrm lib
X at dirrm lib/gwenhywfar/plugins/17/dbio
X at dirrm lib/gwenhywfar/plugins/17
X at dirrm lib/gwenhywfar/plugins
X at dirrm lib/gwenhywfar
X at comment @dirrm share
X at dirrm share/aclocal
END-of-gwenhywfar/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list