ports/102920: Maintainer update: security/libssh2 0.14 -> 0.14_1

David Thiel lx at redundancy.redundancy.org
Tue Sep 5 20:20:27 UTC 2006


>Number:         102920
>Category:       ports
>Synopsis:       Maintainer update: security/libssh2 0.14 -> 0.14_1
>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:   Tue Sep 05 20:20:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     David Thiel
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD redundancy.redundancy.org 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root at x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386


>Description:

A bug in the libssh2 configure script caused the include and library
directory flags to gcc to be wrong. Patched in this revision.

>How-To-Repeat:
>Fix:

diff -ruN libssh2.old/Makefile libssh2/Makefile
--- libssh2.old/Makefile	Tue Sep  5 13:10:04 2006
+++ libssh2/Makefile	Tue Sep  5 13:11:17 2006
@@ -7,6 +7,7 @@
 
 PORTNAME=	libssh2
 PORTVERSION=	0.14
+PORTREVISION=	1
 CATEGORIES=	security devel
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -17,7 +18,7 @@
 USE_OPENSSL=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-INSTALLS_SHLIB=	yes
+USE_LDCONFIG=	yes
 
 PLIST_FILES=	include/libssh2.h \
 		include/libssh2_publickey.h \
diff -ruN libssh2.old/files/patch-configure libssh2/files/patch-configure
--- libssh2.old/files/patch-configure	Wed Dec 31 16:00:00 1969
+++ libssh2/files/patch-configure	Tue Sep  5 13:14:36 2006
@@ -0,0 +1,13 @@
+--- configure.orig	Tue Sep  5 13:14:03 2006
++++ configure	Tue Sep  5 13:14:17 2006
+@@ -3738,8 +3738,8 @@
+ if test "$found_openssl" = "no" && test -x "$PKG_CONFIG" && $PKG_CONFIG --exists openssl; then
+   found_openssl=yes
+   pkgcfg_openssl=yes
+-  OPENSSL_LIBLINE=`$PKG_CONFIG --libs openssl`
+-  OPENSSL_INCLINE=`$PKG_CONFIG --variable=includedir openssl`
++  OPENSSL_LIBLINE=-L`$PKG_CONFIG --libs openssl`
++  OPENSSL_INCLINE=-I`$PKG_CONFIG --variable=includedir openssl`
+   echo "$as_me:$LINENO: result: Using paths from pkg-config" >&5
+ echo "${ECHO_T}Using paths from pkg-config" >&6
+ fi
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list