ports/76810: New port: security/php4-cryptopp php4 interface to crypto++ library

Thomas Melzer tmelzer at tomesoft.de
Sat Jan 29 11:20:20 UTC 2005


>Number:         76810
>Category:       ports
>Synopsis:       New port: security/php4-cryptopp php4 interface to crypto++ library
>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:   Sat Jan 29 11:20:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Melzer
>Release:        FreeBSD 5.3-RELEASE-p5 i386
>Organization:
Thomas Melzer Softwareentwicklung
>Environment:
FreeBSD terra.ddns.tomesoft.de 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Thu Jan 27 20:31:57 CET 2005     root at terra.ddns.tomesoft.de:/usr/obj/usr/src/sys/GENERIC  i386    
>Description:
cryptopp-php is a cryptography extension for PHP based on Wei Dai's
Crypto++, a free C++ crypto library.
>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:
#
#       php4-cryptopp
#       php4-cryptopp/Makefile
#       php4-cryptopp/distinfo
#       php4-cryptopp/pkg-descr
#
echo c - php4-cryptopp
mkdir -p php4-cryptopp > /dev/null 2>&1
echo x - php4-cryptopp/Makefile
sed 's/^X//' >php4-cryptopp/Makefile << 'END-of-php4-cryptopp/Makefile'
X# New ports collection makefile for:   php4-cryptopp
X# Date created:                                28 Jan 2004
X# Whom:                                        tmelzer
X#
X# $FreeBSD$
X#
X
XPORTNAME=      cryptopp
XPORTVERSION=   0.0.15
XCATEGORIES=    security
XMASTER_SITES=  http://bugs.tutorbuddy.com/download.php/
XPKGNAMEPREFIX= php4-
XDISTNAME=      ${PORTNAME}-php-${PORTVERSION}
X
XMAINTAINER=    tmelzer at tomesoft.de
XCOMMENT=       A crypto++ php wrapper
X
XBUILD_DEPENDS+=        ${LOCALBASE}/lib/libcryptopp.a:${PORTSDIR}/security/cryptopp
X
XWRKSRC=                ${WRKDIR}/${PORTNAME}
XDOCSDIR=       ${PREFIX}/share/doc/${PKGNAME}
X
XUSE_PERL=      yes
XUSE_PHP=       yes
XUSE_PHPEXT=    yes
XUSE_PHPIZE=    yes
X
XCONFIGURE_ARGS=        --with-cryptopp
X
X.if !defined(NOPORTDOCS)
XPORTDOCS=      README ${PORTNAME}.doc
X.endif
X
Xpost-extract:
X# convert sgml documentation to plain text
X       @${PERL} -e '$$/=">";' -e 'while(<>){s/<.*>//;print;}' < ${WRKSRC}/docs/${PORTNAME}.sgml > ${WRKSRC}/${PORTNAME}.doc
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X       @${MKDIR} ${DOCSDIR}
X       @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
X.endif
X
X.include <bsd.port.mk>
END-of-php4-cryptopp/Makefile
echo x - php4-cryptopp/distinfo
sed 's/^X//' >php4-cryptopp/distinfo << 'END-of-php4-cryptopp/distinfo'
XMD5 (cryptopp-php-0.0.15.tar.gz) = b94f01400bffb8f2926d8fb2f986df60
XSIZE (cryptopp-php-0.0.15.tar.gz) = 115690
END-of-php4-cryptopp/distinfo
echo x - php4-cryptopp/pkg-descr
sed 's/^X//' >php4-cryptopp/pkg-descr << 'END-of-php4-cryptopp/pkg-descr'
Xcryptopp-php is a cryptography extension for PHP based on Wei Dai's
XCrypto++, a free C++ crypto library.
X
XWWW: http://bugs.tutorbuddy.com/
END-of-php4-cryptopp/pkg-descr
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list