ports/89741: New port for VeriSign's PayFlow SDK
Mike Durian
durian at shadetreesoftware.com
Wed Nov 30 01:40:29 UTC 2005
>Number: 89741
>Category: ports
>Synopsis: New port for VeriSign's PayFlow SDK
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Nov 30 01:40:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Mike Durian
>Release: FreeBSD 6.0-BETA3 i386
>Organization:
>Environment:
System: FreeBSD man.boogie.com 6.0-BETA3 FreeBSD 6.0-BETA3 #0: Sun Sep 4 08:53:03 MDT 2005 root at man.boogie.com:/disk2/obj/disk2/src/sys/BOOGIE i386
>Description:
Here is a port dependancy that can be used against PR ports/82843.
>How-To-Repeat:
N/A
>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:
#
# finance/pfpro/Makefile
# finance/pfpro/distinfo
# finance/pfpro/pkg-descr
# finance/pfpro/pkg-message
# finance/pfpro/pkg-plist
#
echo x - finance/pfpro/Makefile
sed 's/^X//' >finance/pfpro/Makefile << 'END-of-finance/pfpro/Makefile'
X# New ports collection makefile for: pfpro
X# Date created: November 29, 2005
X# Whom: durian at shadetreesoftware.com
X#
X# $FreeBSD:$
X#
X
XPORTNAME= pfpro
XPORTVERSION= 3.0.8
XCATEGORIES= finance
XMASTER_SITES= #https://manager.verisign.com/
XDISTNAME= pfpro_freebsd
X
XCOMMENT= "SDK for VeriSign's PayFlow Pro"
X
XONLY_FOR_ARCHS= i386
XRESTRICTED= "Only for VeriSign PayFlow Pro customers"
XNO_BUILD= yes
XINSTALLS_SHLIB= yes
XNO_WRKSUBDIR= yes
X
XPKGMESSAGE= ${WRKDIR}/pkg-message
X
XCERTDIR= ${PREFIX}/certs
X
XFBSDDIR= ${WRKSRC}/verisign/payflowpro/freebsd
X
X# XXX nees to be the same as DISTFILES
XPFP_BUNDLE= ${DISTNAME}${EXTRACT_SUFX}
X
X.include <bsd.port.pre.mk>
X
X# Check for SDK bundle
X.if !exists(${DISTDIR}/${PFP_BUNDLE})
XECHO_MSG=/usr/bin/printf
XIGNORE= :\n\
XThe VeriSign PayFlow Pro SDK is only available to customers who have\n\
Xsubscribed to this service. Please access your account at\n\
Xhttps://manager.verisign.com/ and retrieve the FreeBSD 5.x version\n\
Xof the SDK from the Downloads area. You will be required to agree to\n\
Xsome terms and conditions. After downing the SDK, place ${PFP_BUNDLE}\n\
Xin ${DISTDIR}.\n
X.endif
X
Xpost-patch:
X @${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${.CURDIR}/pkg-message \
X > ${PKGMESSAGE}
X
Xdo-install:
X ${INSTALL_PROGRAM} ${FBSDDIR}/bin/pfpro ${PREFIX}/bin
X ${INSTALL_PROGRAM} ${FBSDDIR}/bin/pfpro-file ${PREFIX}/bin
X ${INSTALL_DATA} ${FBSDDIR}/lib/pfpro.h ${PREFIX}/include
X ${INSTALL_DATA} ${FBSDDIR}/lib/libpfpro.so ${PREFIX}/lib
X ${MKDIR} ${CERTDIR}
X ${INSTALL_DATA} ${FBSDDIR}/certs/f73e89fd.0 ${CERTDIR}
X
X.include <bsd.port.post.mk>
END-of-finance/pfpro/Makefile
echo x - finance/pfpro/distinfo
sed 's/^X//' >finance/pfpro/distinfo << 'END-of-finance/pfpro/distinfo'
XMD5 (pfpro_freebsd.tar.gz) = 752f72c5b7c257a5e952057d76173f09
XSHA256 (pfpro_freebsd.tar.gz) = 396943299424066d23ef1307d02a044b2d7b45758a16e1dca5f47c907caa5606
XSIZE (pfpro_freebsd.tar.gz) = 322410
END-of-finance/pfpro/distinfo
echo x - finance/pfpro/pkg-descr
sed 's/^X//' >finance/pfpro/pkg-descr << 'END-of-finance/pfpro/pkg-descr'
XThe PayFlow Pro SDK is a development kit that allows you to perform
Xcredit card transactions through VeriSign's PayFlow Pro system.
X
XWWW: http://www.verisign.com/products/payflow/index.html
END-of-finance/pfpro/pkg-descr
echo x - finance/pfpro/pkg-message
sed 's/^X//' >finance/pfpro/pkg-message << 'END-of-finance/pfpro/pkg-message'
XYou must set the environment variable PFPRO_CERT_PATH to point to
Xthe directory that contains the file f73e89fd.0. The default location
Xis: %%PREFIX%%/certs
END-of-finance/pfpro/pkg-message
echo x - finance/pfpro/pkg-plist
sed 's/^X//' >finance/pfpro/pkg-plist << 'END-of-finance/pfpro/pkg-plist'
Xbin/pfpro
Xbin/pfpro-file
Xinclude/pfpro.h
Xlib/libpfpro.so
Xcerts/f73e89fd.0
END-of-finance/pfpro/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list