From 7720d082ef74de67dbb2720c35643e56b7148578 Mon Sep 17 00:00:00 2001 From: aaron Date: Fri, 16 Jun 2006 17:54:06 +0000 Subject: - Alterations to respect hier(7) - Change maintainer PR: ports/82839 Submitted by: Alexandr Kovalenko Reviewed by: maintainer Approved by: maintainer, tobez (implicit) --- finance/pfpro/files/patch-pfpro.c | 12 ++++++++++++ finance/pfpro/files/pkg-message.in | 7 +++++-- 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 finance/pfpro/files/patch-pfpro.c (limited to 'finance/pfpro/files') diff --git a/finance/pfpro/files/patch-pfpro.c b/finance/pfpro/files/patch-pfpro.c new file mode 100644 index 000000000000..3263e86a2d03 --- /dev/null +++ b/finance/pfpro/files/patch-pfpro.c @@ -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 --git a/finance/pfpro/files/pkg-message.in b/finance/pfpro/files/pkg-message.in index 38b6b1fb18dd..0413a655af8c 100644 --- a/finance/pfpro/files/pkg-message.in +++ b/finance/pfpro/files/pkg-message.in @@ -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 +====================================================================== -- cgit