- Alterations to respect hier(7)
- Change maintainer PR: ports/82839 Submitted by: Alexandr Kovalenko <never@nevermind.kiev.ua> Reviewed by: maintainer Approved by: maintainer, tobez (implicit)
This commit is contained in:
parent
da0c76df9e
commit
dd18641f71
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=165590
4 changed files with 27 additions and 7 deletions
|
@ -7,12 +7,12 @@
|
||||||
|
|
||||||
PORTNAME= pfpro
|
PORTNAME= pfpro
|
||||||
PORTVERSION= 3.0.8
|
PORTVERSION= 3.0.8
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= finance
|
CATEGORIES= finance
|
||||||
MASTER_SITES= #https://manager.verisign.com/
|
MASTER_SITES= #https://manager.verisign.com/
|
||||||
DISTNAME= pfpro_freebsd
|
DISTNAME= pfpro_freebsd
|
||||||
|
|
||||||
MAINTAINER= durian@shadetreesoftware.com
|
MAINTAINER= never@nevermind.kiev.ua
|
||||||
COMMENT= SDK for VeriSign's PayFlow Pro
|
COMMENT= SDK for VeriSign's PayFlow Pro
|
||||||
|
|
||||||
ONLY_FOR_ARCHS= i386
|
ONLY_FOR_ARCHS= i386
|
||||||
|
@ -24,8 +24,9 @@ SUB_FILES= pkg-message
|
||||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||||
LATEST_LINK= verisign-pfpro
|
LATEST_LINK= verisign-pfpro
|
||||||
|
|
||||||
CERTDIR= ${PREFIX}/certs
|
CERTDIR= ${PREFIX}/etc/pfpro/certs
|
||||||
FBSDDIR= ${WRKSRC}/verisign/payflowpro/freebsd
|
FBSDDIR= ${WRKSRC}/verisign/payflowpro/freebsd
|
||||||
|
PATCH_WRKSRC= ${WRKSRC}/verisign/payflowpro/freebsd/bin
|
||||||
PFCFLAGS= -DUSE_SSLEAY -fPIC -DFREEBSD_OS -DGENERIC_SEED -D_REENTRANT -pthread -DPTHREADS -I. -L.
|
PFCFLAGS= -DUSE_SSLEAY -fPIC -DFREEBSD_OS -DGENERIC_SEED -D_REENTRANT -pthread -DPTHREADS -I. -L.
|
||||||
|
|
||||||
# XXX nees to be the same as DISTFILES
|
# XXX nees to be the same as DISTFILES
|
||||||
|
@ -45,6 +46,9 @@ some terms and conditions. After downing the SDK, place ${PFP_BUNDLE}\n\
|
||||||
in ${DISTDIR}.\n
|
in ${DISTDIR}.\n
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" ${FBSDDIR}/bin/pfpro.c
|
||||||
|
|
||||||
do-build:
|
do-build:
|
||||||
(cd ${FBSDDIR}/lib && ${CC} ${PFCFLAGS} ${CFLAGS} -c ../bin/${PORTNAME}.c -o ${PORTNAME}.o && ${CC} ${PFCFLAGS} ${CFLAGS} -lpfpro ${PORTNAME}.o -o ${PORTNAME})
|
(cd ${FBSDDIR}/lib && ${CC} ${PFCFLAGS} ${CFLAGS} -c ../bin/${PORTNAME}.c -o ${PORTNAME}.o && ${CC} ${PFCFLAGS} ${CFLAGS} -lpfpro ${PORTNAME}.o -o ${PORTNAME})
|
||||||
|
|
||||||
|
|
12
finance/pfpro/files/patch-pfpro.c
Normal file
12
finance/pfpro/files/patch-pfpro.c
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
--- pfpro.c.orig Fri Jun 16 00:37:48 2006
|
||||||
|
+++ pfpro.c Fri Jun 16 01:01:27 2006
|
||||||
|
@@ -65,6 +65,9 @@
|
||||||
|
int parmLen;
|
||||||
|
|
||||||
|
|
||||||
|
+ /* Set default value of PFPRO_CERT_PATH */
|
||||||
|
+ setenv("PFPRO_CERT_PATH","%%PREFIX%%/etc/pfpro/certs",0);
|
||||||
|
+
|
||||||
|
if ((argc == 2) && (!strcmp(argv[1],"-i"))) {
|
||||||
|
/* read input from stdin */
|
||||||
|
if (!fgets(ibuf,sizeof(ibuf),stdin)) {
|
|
@ -1,3 +1,6 @@
|
||||||
|
======================================================================
|
||||||
You must set the environment variable PFPRO_CERT_PATH to point to
|
You must set the environment variable PFPRO_CERT_PATH to point to
|
||||||
the directory that contains the file f73e89fd.0. The default location
|
the directory that contains the file f73e89fd.0.
|
||||||
is: %%PREFIX%%/certs
|
|
||||||
|
The default location is: %%PREFIX%%/etc/pfpro/certs
|
||||||
|
======================================================================
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
bin/pfpro
|
bin/pfpro
|
||||||
certs/f73e89fd.0
|
etc/pfpro/certs/f73e89fd.0
|
||||||
include/pfpro.h
|
include/pfpro.h
|
||||||
lib/libpfpro.so
|
lib/libpfpro.so
|
||||||
@dirrmtry certs
|
@dirrmtry etc/pfpro/certs
|
||||||
|
@dirrmtry etc/pfpro
|
||||||
|
|
Loading…
Reference in a new issue