aboutsummaryrefslogtreecommitdiff
path: root/security/saferpay/files
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2001-09-06 22:39:15 +0000
committerAlexander Langer <alex@FreeBSD.org>2001-09-06 22:39:15 +0000
commit5e47245ef990cff56a72fc6927a37dcc95005006 (patch)
tree351cbea3c58eabb6ed33fe9a691b4cd30ebd5e79 /security/saferpay/files
parent8091bed6f378c25518a3dd846b1d647960911390 (diff)
Notes
Diffstat (limited to 'security/saferpay/files')
-rw-r--r--security/saferpay/files/patch-aa74
-rw-r--r--security/saferpay/files/patch-ab15
-rw-r--r--security/saferpay/files/patch-ac11
-rw-r--r--security/saferpay/files/patch-ad11
-rw-r--r--security/saferpay/files/patch-ae11
5 files changed, 122 insertions, 0 deletions
diff --git a/security/saferpay/files/patch-aa b/security/saferpay/files/patch-aa
new file mode 100644
index 000000000000..62a214138c61
--- /dev/null
+++ b/security/saferpay/files/patch-aa
@@ -0,0 +1,74 @@
+--- saferpay/Makefile.orig Thu Sep 6 00:19:01 2001
++++ saferpay/Makefile Thu Sep 6 00:21:22 2001
+@@ -1,47 +1,35 @@
+-PREFIX = /usr
+-SSLEAYDIR = SSLeay-0.9.0
+-SSLEAY = $(SSLEAYDIR)-patch1
+-
+ all:
+- make SSLeay
+- cp ./ssl/$(SSLEAYDIR)/libssl.a ./ssl
+- cp ./ssl/$(SSLEAYDIR)/libcrypto.a ./ssl
+- make -f idpapp.mk
+- cp ./out/libidpapp.s* $(PREFIX)/lib
+- make -f saferpay.mk
+- cp idpapi.h ./out
+- cp idperrc.h ./out
+- cp ./out/settings.template ./out/settings.xml
+-
+-SSLeay:
+- cd ssl; gunzip -c $(SSLEAY).tar.gz > $(SSLEAY).tar; tar xf $(SSLEAY).tar; cd $(SSLEAYDIR); perl Configure linux-elf; make; cd ..; cd ..;
++ gmake -f idpapp.mk -C saferpay
++ gmake -f saferpay.mk -C saferpay
+
+ clean:
+- make -f idpapp.mk clean
+- make -f saferpay.mk clean
+- -rm -R ssl/$(SSLEAYDIR)
+- -rm ssl/$(SSLEAY).tar;
++ gmake -f idpapp.mk -C saferpay clean
++ gmake -f saferpay.mk -C saferpay clean
+
+ xs: all
+- perl -e 'system("cd perl/MessageObject\nperl Makefile.PL\nmake");'
+- perl -e 'system("cd perl/MessageFactory\nperl Makefile.PL\nmake");'
+- perl -e 'system("cd perl/ConfigurationSetup\nperl Makefile.PL\nmake");'
++ perl -e 'system("cd saferpay/perl/MessageObject\nperl Makefile.PL\nmake");'
++ perl -e 'system("cd saferpay/perl/MessageFactory\nperl Makefile.PL\nmake");'
++ perl -e 'system("cd saferpay/perl/ConfigurationSetup\nperl Makefile.PL\nmake");'
+
+ testxs:
+- make -C perl/ConfigurationSetup test
+- make -C perl/MessageFactory test
++ gmake -C saferpay/perl/ConfigurationSetup test
++ gmake -C saferpay/perl/MessageFactory test
+
+ installxs:
+- make -C perl/ConfigurationSetup install
+- make -C perl/MessageFactory install
+- make -C perl/MessageObject install
++ gmake -C saferpay/perl/ConfigurationSetup install
++ gmake -C saferpay/perl/MessageFactory install
++ gmake -C saferpay/perl/MessageObject install
+
+ cleanxs:
+- make -C perl/ConfigurationSetup clean
+- make -C perl/MessageFactory clean
+- make -C perl/MessageObject clean
+-
+-
+-
+-
+-
++ gmake -C saferpay/perl/ConfigurationSetup clean
++ gmake -C saferpay/perl/MessageFactory clean
++ gmake -C saferpay/perl/MessageObject clean
++
++install:
++ install -C saferpay/out/libidpapp.so.1.0.0 $(PREFIX)/lib/libidpapp.so.1
++ install -C saferpay/idpapi.h $(PREFIX)/include
++ install -C saferpay/idperrc.h $(PREFIX)/include
++ install -m 0555 -C saferpay/out/saferpay $(PREFIX)/bin
++ mkdir -p $(PREFIX)/share/examples/saferpay/
++ install -C saferpay/out/settings.template $(PREFIX)/share/examples/saferpay/
++ ln -s -f $(PREFIX)/lib/libidpapp.so.1 $(PREFIX)/lib/libidpapp.so
diff --git a/security/saferpay/files/patch-ab b/security/saferpay/files/patch-ab
new file mode 100644
index 000000000000..59c97af5a3f3
--- /dev/null
+++ b/security/saferpay/files/patch-ab
@@ -0,0 +1,15 @@
+--- saferpay/idpapp.mk.orig Thu Dec 14 18:54:02 2000
++++ saferpay/idpapp.mk Mon Jul 30 13:33:48 2001
+@@ -11,10 +11,10 @@
+ CXX = g++
+ CFLAGS = -pipe -DUNIX -DHAVE_UNISTD_H -DHAVE_STDLIB_H -O2 -fPIC
+ CXXFLAGS= -pipe -DUNIX -O2 -fPIC
+-INCPATH = -I"./xml" -I"./jni" -I"./ssl" -I"./sxfc"
++INCPATH = -I"./xml" -I"./jni" -I"/usr/include/openssl/" -I"./sxfc"
+ LINK = g++
+ LFLAGS = -fPIC -shared -Wl,-soname,libidpapp.so.1
+-LIBS = ./ssl/libssl.a ./ssl/libcrypto.a
++LIBS = /usr/lib/libssl.a /usr/lib/libcrypto.a
+ AR = ar cqs
+ RANLIB =
+ MOC = $(QTDIR)/bin/moc
diff --git a/security/saferpay/files/patch-ac b/security/saferpay/files/patch-ac
new file mode 100644
index 000000000000..fa9a373049a7
--- /dev/null
+++ b/security/saferpay/files/patch-ac
@@ -0,0 +1,11 @@
+--- saferpay/idphttp.cpp.orig Wed Jan 10 15:23:12 2001
++++ saferpay/idphttp.cpp Mon Jul 30 13:33:13 2001
+@@ -368,7 +368,7 @@
+ public:
+ SslConnection()
+ {
+- SSLeay_add_ssl_algorithms();
++ SSL_library_init();
+ SSL_load_error_strings();
+
+ ctx = SSL_CTX_new(SSLv23_method());
diff --git a/security/saferpay/files/patch-ad b/security/saferpay/files/patch-ad
new file mode 100644
index 000000000000..0d40dcc4cee9
--- /dev/null
+++ b/security/saferpay/files/patch-ad
@@ -0,0 +1,11 @@
+--- saferpay/saferpay.c.orig Wed Sep 5 17:05:15 2001
++++ saferpay/saferpay.c Wed Sep 5 17:05:27 2001
+@@ -3,7 +3,7 @@
+ #include <stdio.h>
+ #include <errno.h>
+ #include <string.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #include "idpapi.h"
+ #include "idperrc.h"
+
diff --git a/security/saferpay/files/patch-ae b/security/saferpay/files/patch-ae
new file mode 100644
index 000000000000..668583b3132c
--- /dev/null
+++ b/security/saferpay/files/patch-ae
@@ -0,0 +1,11 @@
+--- saferpay/saferpay.mk.orig Fri Sep 7 00:16:00 2001
++++ saferpay/saferpay.mk Fri Sep 7 00:16:10 2001
+@@ -13,7 +13,7 @@
+ CXXFLAGS= -pipe -O2
+ INCPATH =
+ LINK = g++
+-LFLAGS =
++LFLAGS = -Lout
+ LIBS = -lidpapp
+ MOC = $(QTDIR)/bin/moc
+