FreeBSD Bugzilla – Attachment 67126 Details for
Bug 98996
[PATCH] finance/pfpro, finance/p5-PFProAPI: obey hier(7) and take maintainership
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.67 KB, created by
never
on 2006-06-16 00:30:17 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
never
Created:
2006-06-16 00:30:17 UTC
Size:
2.67 KB
patch
obsolete
>diff -ruN pfpro.orig/Makefile pfpro/Makefile >--- pfpro.orig/Makefile Thu Jun 15 21:16:43 2006 >+++ pfpro/Makefile Fri Jun 16 01:16:19 2006 >@@ -7,12 +7,12 @@ > > PORTNAME= pfpro > PORTVERSION= 3.0.8 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= finance > MASTER_SITES= #https://manager.verisign.com/ > DISTNAME= pfpro_freebsd > >-MAINTAINER= durian@shadetreesoftware.com >+MAINTAINER= never@nevermind.kiev.ua > COMMENT= SDK for VeriSign's PayFlow Pro > > ONLY_FOR_ARCHS= i386 >@@ -24,8 +24,9 @@ > PKGMESSAGE= ${WRKDIR}/pkg-message > LATEST_LINK= verisign-pfpro > >-CERTDIR= ${PREFIX}/certs >+CERTDIR= ${PREFIX}/etc/pfpro/certs > 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. > > # XXX nees to be the same as DISTFILES >@@ -44,6 +45,9 @@ > some terms and conditions. After downing the SDK, place ${PFP_BUNDLE}\n\ > in ${DISTDIR}.\n > .endif >+ >+post-patch: >+ ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" ${FBSDDIR}/bin/pfpro.c > > do-build: > (cd ${FBSDDIR}/lib && ${CC} ${PFCFLAGS} ${CFLAGS} -c ../bin/${PORTNAME}.c -o ${PORTNAME}.o && ${CC} ${PFCFLAGS} ${CFLAGS} -lpfpro ${PORTNAME}.o -o ${PORTNAME}) >diff -ruN pfpro.orig/files/patch-pfpro.c pfpro/files/patch-pfpro.c >--- pfpro.orig/files/patch-pfpro.c Thu Jan 1 03:00:00 1970 >+++ pfpro/files/patch-pfpro.c Fri Jun 16 01:12:32 2006 >@@ -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)) { >diff -ruN pfpro.orig/files/pkg-message.in pfpro/files/pkg-message.in >--- pfpro.orig/files/pkg-message.in Wed Nov 30 23:48:29 2005 >+++ pfpro/files/pkg-message.in Fri Jun 16 00:30:40 2006 >@@ -1,3 +1,6 @@ >+====================================================================== > You must set the environment variable PFPRO_CERT_PATH to point to >-the directory that contains the file f73e89fd.0. The default location >-is: %%PREFIX%%/certs >+the directory that contains the file f73e89fd.0. >+ >+The default location is: %%PREFIX%%/etc/pfpro/certs >+====================================================================== >diff -ruN pfpro.orig/pkg-plist pfpro/pkg-plist >--- pfpro.orig/pkg-plist Thu Jun 15 21:16:43 2006 >+++ pfpro/pkg-plist Fri Jun 16 01:18:21 2006 >@@ -1,5 +1,6 @@ > bin/pfpro >-certs/f73e89fd.0 >+etc/pfpro/certs/f73e89fd.0 > include/pfpro.h > lib/libpfpro.so >-@dirrmtry certs >+@dirrmtry etc/pfpro/certs >+@dirrmtry etc/pfpro
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 98996
: 67126 |
67127