summaryrefslogtreecommitdiff
path: root/security/amap/patches
diff options
context:
space:
mode:
Diffstat (limited to 'security/amap/patches')
-rw-r--r--security/amap/patches/patch-aa25
-rw-r--r--security/amap/patches/patch-ab25
-rw-r--r--security/amap/patches/patch-ad13
3 files changed, 52 insertions, 11 deletions
diff --git a/security/amap/patches/patch-aa b/security/amap/patches/patch-aa
index e5cfd164b41..5fb5a5c6a0a 100644
--- a/security/amap/patches/patch-aa
+++ b/security/amap/patches/patch-aa
@@ -1,8 +1,19 @@
-$NetBSD: patch-aa,v 1.1.1.1 2005/04/24 12:10:48 adrianp Exp $
+$NetBSD: patch-aa,v 1.2 2005/12/11 19:21:36 joerg Exp $
--- configure.orig 2005-02-16 15:53:57.000000000 +0000
+++ configure
-@@ -35,7 +35,8 @@ echo
+@@ -13,10 +13,6 @@ if [ "$1" = "--help" ]; then
+ exit 0
+ fi
+
+-cd pcre-3.9 || exit 1
+-./configure || exit 1
+-cd ..
+-
+ echo
+ echo
+ echo "Starting amap auto configuration ..."
+@@ -35,7 +31,8 @@ echo
echo "Checking for openssl ..."
for i in $LIBDIRS /lib /usr/lib /usr/local/lib /opt/local/lib \
/*ssl /usr/*ssl /opt/*ssl /usr/local/*ssl /opt/local/*ssl \
@@ -12,7 +23,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2005/04/24 12:10:48 adrianp Exp $
do
if [ "X" = "X$SSL_PATH" ]; then
if [ -f "$i/libssl.so" -o -f "$i/libssl.dylib" ]; then
-@@ -62,7 +63,7 @@ do
+@@ -62,7 +59,7 @@ do
done
for i in /usr/local/include /*ssl/include /usr/include \
@@ -21,7 +32,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2005/04/24 12:10:48 adrianp Exp $
do
if [ "X" = "X$SSL_IPATH" ]; then
if [ -f "$i/openssl/ssl.h" ]; then
-@@ -89,7 +90,7 @@ if [ "$SSL_IPATH" = "/usr/include" ]; th
+@@ -89,7 +86,7 @@ if [ "$SSL_IPATH" = "/usr/include" ]; th
SSL_IPATH=""
fi
@@ -30,7 +41,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2005/04/24 12:10:48 adrianp Exp $
if [ "$SYS" = "SunOS" ]; then
echo "Checking for Solaris libraries ..."
for i in /lib /usr/lib /usr/local/lib $LIBDIRS
-@@ -152,7 +153,7 @@ if [ -n "$RESOLV_PATH" ]; then
+@@ -152,7 +149,7 @@ if [ -n "$RESOLV_PATH" ]; then
XLIBS="$XLIBS -lresolv"
fi
@@ -39,7 +50,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2005/04/24 12:10:48 adrianp Exp $
if [ -d $i ]; then
MANDIR=$i
fi
-@@ -168,9 +169,9 @@ if [ -d /usr/kerberos/include ]; then
+@@ -168,9 +165,9 @@ if [ -d /usr/kerberos/include ]; then
fi
if [ -n "$PREFIX" ]; then
@@ -51,7 +62,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2005/04/24 12:10:48 adrianp Exp $
fi
echo "Amap will be installed into .../bin and .../etc of: $PREFIX"
echo " (change this by running ./configure --prefix=path)"
-@@ -178,7 +179,7 @@ echo
+@@ -178,7 +175,7 @@ echo
echo "Writing Makefile.in ..."
echo "XDEFINES=$XDEFINES" >> Makefile.in
diff --git a/security/amap/patches/patch-ab b/security/amap/patches/patch-ab
index 2683261c14f..17bcbac5db2 100644
--- a/security/amap/patches/patch-ab
+++ b/security/amap/patches/patch-ab
@@ -1,16 +1,33 @@
-$NetBSD: patch-ab,v 1.1.1.1 2005/04/24 12:10:48 adrianp Exp $
+$NetBSD: patch-ab,v 1.2 2005/12/11 19:21:36 joerg Exp $
--- Makefile.am.orig 2005-02-18 18:01:26.000000000 +0000
+++ Makefile.am
-@@ -1,7 +1,8 @@
+@@ -1,16 +1,14 @@
-CC=gcc
-+#CC=gcc
- LIB=-lpcre -L./pcre-3.9/ -I./pcre-3.9/
+-LIB=-lpcre -L./pcre-3.9/ -I./pcre-3.9/
-OPT=-O2
-OPT_DEBUG=-ggdb -Wall -lefence
++#CC=gcc
++LIB=-lpcre
+SHAREDIR=${PREFIX}/share/amap
+OPT=${CFLAGS} -DSHAREDIR="\"$(SHAREDIR)/\""
+#OPT_DEBUG=-ggdb -Wall -lefence
BINDIR=/bin
DATADIR=/etc
MANDIR=/man/man1
+ SCRIPTS=appdefs.trig appdefs.resp appdefs.rpc
+ MANPAGE=amap.1
+-all: pcre strip
+-
+-pcre:
+- cd pcre-3.9 && make
++all: strip
+
+ amap-lib.o: amap-lib.c
+ $(CC) $(OPT) -c -o amap-lib.o amap-lib.c $(XIPATHS) $(XDEFINES)
+@@ -43,5 +41,4 @@ install: all
+ -cp -f $(MANPAGE) $(PREFIX)$(MANDIR)
+
+ clean:
+- cd pcre-3.9 && make clean
+ rm -f amap amapcrap amap.exe amapcrap.exe amap6 amap-lib.o Makefile.in core *~ Makefile
diff --git a/security/amap/patches/patch-ad b/security/amap/patches/patch-ad
new file mode 100644
index 00000000000..9698e3bda4c
--- /dev/null
+++ b/security/amap/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2005/12/11 19:21:36 joerg Exp $
+
+--- amap-inc.h.orig 2005-12-08 18:57:48.000000000 +0000
++++ amap-inc.h
+@@ -20,7 +20,7 @@
+ #include <errno.h>
+ #include <sys/resource.h>
+ #include <sys/wait.h>
+-#include "pcre-3.9/pcre.h"
++#include <pcre.h>
+ #ifdef OPENSSL
+ #include <openssl/ssl.h>
+ #include <openssl/err.h>