ports/56860: Update security/amap 4.2 -> 4.3
Yonatan at xpert.com
Yonatan at xpert.com
Sun Sep 14 08:40:05 UTC 2003
>Number: 56860
>Category: ports
>Synopsis: Update security/amap 4.2 -> 4.3
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Sep 14 01:40:03 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Yonatan at xpert.com
>Release: FreeBSD 4.8-RC i386
>Organization:
>Environment:
System: FreeBSD Temujin 4.8-RC FreeBSD 4.8-RC #1: Sat Apr 12 03:02:22 GMT 2003 root at Temujin:/usr/obj/usr/src/sys/TEMUJIN-G i386
>Description:
Update to 4.3. Nudged by Jonathan Weiss tomonage3 at gmx.de.
>How-To-Repeat:
N/A
>Fix:
--- amap-4.3.diff begins here ---
diff -urN amap.orig/Makefile amap/Makefile
--- amap.orig/Makefile Wed Aug 13 12:54:55 2003
+++ amap/Makefile Sun Sep 14 11:26:06 2003
@@ -6,7 +6,7 @@
#
PORTNAME= amap
-PORTVERSION= 4.2
+PORTVERSION= 4.3
CATEGORIES= security
MASTER_SITES= http://www.thc.org/releases/
@@ -18,9 +18,6 @@
MAN1= amap.1
-post-patch:
- ${REINPLACE_CMD} -e 's|PREFIX|${PREFIX}|' ${WRKSRC}/amap.h
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/amap ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/amapcrap ${PREFIX}/bin
@@ -31,7 +28,7 @@
${INSTALL_MAN} ${WRKSRC}/amap.1 ${MANPREFIX}/man/man1
. if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
-. for i in README TODO CHANGES LICENSE IGNORE VOTE
+. for i in README TODO CHANGES VOTE
${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
. endfor
. endif
diff -urN amap.orig/distinfo amap/distinfo
--- amap.orig/distinfo Wed Aug 13 12:54:55 2003
+++ amap/distinfo Sun Sep 14 11:03:40 2003
@@ -1 +1 @@
-MD5 (amap-4.2.tar.gz) = ec781fe4ed97d8d3fcccf64951aefa3e
+MD5 (amap-4.3.tar.gz) = 36e59ff9dfc60effde6dab6235d2029f
diff -urN amap.orig/files/patch-Makefile.am amap/files/patch-Makefile.am
--- amap.orig/files/patch-Makefile.am Thu Aug 14 14:16:10 2003
+++ amap/files/patch-Makefile.am Sun Sep 14 11:05:47 2003
@@ -1,13 +1,10 @@
---- Makefile.am.orig Mon Jul 14 21:38:18 2003
-+++ Makefile.am Wed Aug 13 15:14:22 2003
-@@ -1,8 +1,7 @@
+--- Makefile.am.orig Sun Sep 14 11:04:11 2003
++++ Makefile.am Sun Sep 14 11:05:29 2003
+@@ -1,6 +1,5 @@
-CC=gcc
LIB=-lpcre -L./pcre-3.9/ -I./pcre-3.9/
-OPT=-O2
+OPT=${CFLAGS}
OPT_DEBUG=-ggdb -Wall -lefence
--DIR=/usr/local/bin
-+DIR=${PREFIX}/bin
+ DIR=/bin
SCRIPTS=appdefs.trig appdefs.resp appdefs.rpc
- MANPAGE=amap.1
- all: pcre strip
diff -urN amap.orig/files/patch-amap.h amap/files/patch-amap.h
--- amap.orig/files/patch-amap.h Wed Aug 27 13:11:41 2003
+++ amap/files/patch-amap.h Sun Sep 14 11:37:24 2003
@@ -1,11 +1,11 @@
---- amap.h.orig Tue Aug 5 21:18:29 2003
-+++ amap.h Wed Aug 13 11:48:47 2003
-@@ -24,7 +24,7 @@
- #define AMAP_EMAIL "amap-dev at thc.org"
- #define AMAP_RESOURCE "www.thc.org"
+--- amap.h.orig Sun Sep 14 11:25:16 2003
++++ amap.h Sun Sep 14 11:25:29 2003
+@@ -33,7 +33,7 @@
+ #endif
+ #endif
--#define AMAP_APPDEF_PATH "/usr/local/bin"
-+#define AMAP_APPDEF_PATH "PREFIX/share/amap"
+-#define AMAP_APPDEF_PATH AMAP_PREFIX"/bin"
++#define AMAP_APPDEF_PATH AMAP_PREFIX"/share/amap"
#define AMAP_BUFSIZE 1024 // standard buffer size
#define AMAP_BUFSIZE_BIG 65536 // big standard buffer size
- #define AMAP_REGEX_OPTIONS ( PCRE_MULTILINE | PCRE_CASELESS )
+ #define AMAP_REGEX_OPTIONS ( PCRE_MULTILINE | PCRE_CASELESS | PCRE_DOTALL )
diff -urN amap.orig/files/patch-configure amap/files/patch-configure
--- amap.orig/files/patch-configure Wed Aug 13 11:29:16 2003
+++ amap/files/patch-configure Sun Sep 14 11:16:59 2003
@@ -1,11 +1,32 @@
---- configure.orig Tue Jul 29 14:10:16 2003
-+++ configure Tue Jul 29 14:15:56 2003
-@@ -135,7 +135,7 @@
+--- configure.orig Sun Sep 14 11:10:24 2003
++++ configure Sun Sep 14 11:16:41 2003
+@@ -33,7 +33,9 @@
+ echo
+
+ echo "Checking for openssl ..."
+-for i in $LIBDIRS /lib /usr/lib /usr/local/lib /opt/local/lib \
++# FreeBSD: Try port version of openssl first. LIBDIRS is irrelevant for us
++# Since we don't have /etc/ld.so.conf
++for i in ${PREFIX}/lib $LIBDIRS /lib /usr/lib /usr/local/lib /opt/local/lib \
+ /*ssl /usr/*ssl /opt/*ssl /usr/local/*ssl /opt/local/*ssl \
+ /*ssl/lib /usr/*ssl/lib /opt/*ssl/lib /usr/local/*ssl/lib /opt/local/*ssl/lib
+ do
+@@ -61,7 +63,8 @@
+ fi
+ done
+
+-for i in /usr/local/include /*ssl/include /usr/include \
++# FreeBSD: Change to prefer installed port over base-system openssl.
++for i in ${PREFIX}/include /usr/local/include /*ssl/include /usr/include \
+ /opt/*ssl/include /usr/*ssl/include /usr/local/*ssl/include
+ do
+ if [ "X" = "X$SSL_IPATH" ]; then
+@@ -152,7 +155,7 @@
XLIBS="$XLIBS -lresolv"
fi
-for i in /usr/man /usr/share/man /usr/local/man /usr/local/share/man ; do
-+for i in ${MANPPREFIX}/man /usr/man /usr/share/man /usr/local/man /usr/local/share/man ; do
++for i in ${PREFIX}/man /usr/man /usr/share/man /usr/local/man /usr/local/share/man ; do
if [ -d $i ]; then
MANDIR=$i
fi
diff -urN amap.orig/pkg-plist amap/pkg-plist
--- amap.orig/pkg-plist Thu Aug 14 14:16:10 2003
+++ amap/pkg-plist Sun Sep 14 11:34:38 2003
@@ -5,10 +5,8 @@
share/amap/appdefs.rpc
share/amap/appdefs.trig
%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/IGNORE
%%PORTDOCS%%%%DOCSDIR%%/VOTE
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
-%%PORTDOCS%%%%DOCSDIR%%/LICENSE
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm share/amap
--- amap-4.3.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list