Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Oct 2006 15:25:42 +0900
From:      Hirohisa Yamaguchi <umq@ueo.co.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/104400: [patch][update] security/libassuan update to 0.9.3
Message-ID:  <864pu7tnvd.wl%umq@ueo.co.jp>
Resent-Message-ID: <200610140630.k9E6UGSi027658@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         104400
>Category:       ports
>Synopsis:       [patch][update] security/libassuan update to 0.9.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 14 06:30:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Hirohisa Yamaguchi
>Release:        FreeBSD 7.0-CURRENT amd64
>Organization:
<organization of PR author (multiple lines)>
>Environment:
System: FreeBSD calliope.****.org 7.0-CURRENT FreeBSD 7.0-CURRENT #3: Thu Oct 5 06:52:38 JST 2006 root@calliope.****.org:/usr/obj/usr/src/sys/CALLIOPE64 amd64


>Description:
	There's a new version of security/libassuan 0.9.3
	recent releases of gpg2 (security/gnupg-devel) requires libassuan to be 0.9.3 or later.

	Release note: http://lists.gnupg.org/pipermail/gnupg-devel/2006-October/023250.html
>How-To-Repeat:
	N/A
>Fix:

	The patch follows:

diff -Npru ports.orig/security/libassuan/Makefile ports/security/libassuan/Makefile
--- ports.orig/security/libassuan/Makefile	Sat Jun 25 05:18:12 2005
+++ ports/security/libassuan/Makefile	Sat Oct 14 14:54:59 2006
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	libassuan
-PORTVERSION=	0.6.10
+PORTVERSION=	0.9.3
 CATEGORIES=	security devel
 MASTER_SITES=	${MASTER_SITE_GNUPG}
 MASTER_SITE_SUBDIR=	alpha/${PORTNAME}
@@ -14,7 +14,11 @@ MASTER_SITE_SUBDIR=	alpha/${PORTNAME}
 MAINTAINER=	lofi@FreeBSD.org
 COMMENT=	IPC library used by GnuPG and gpgme
 
+LIB_DEPENDS+=	pth.20:${PORTSDIR}/devel/pth
+
+USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
+USE_GMAKE=	yes
 INFO=		assuan
 
 .include <bsd.port.mk>
diff -Npru ports.orig/security/libassuan/distinfo ports/security/libassuan/distinfo
--- ports.orig/security/libassuan/distinfo	Tue Jan 24 10:03:07 2006
+++ ports/security/libassuan/distinfo	Thu Oct 12 19:08:29 2006
@@ -1,3 +1,3 @@
-MD5 (libassuan-0.6.10.tar.gz) = 4cde037c3fcb2f0eeb695b1db6e56bba
-SHA256 (libassuan-0.6.10.tar.gz) = 395cae89ab05128131e268c6432f2e7e8c9e88824e9b7d9ec66eaa51a10ab729
-SIZE (libassuan-0.6.10.tar.gz) = 257395
+MD5 (libassuan-0.9.3.tar.bz2) = 60add4aebf1961436da3a470d6ac833c
+SHA256 (libassuan-0.9.3.tar.bz2) = 8145767b8f5a5e99418cfdcb9a0650c52848d031e36734c031798d2db7caf827
+SIZE (libassuan-0.9.3.tar.bz2) = 255193
diff -Npru ports.orig/security/libassuan/files/patch-configure ports/security/libassuan/files/patch-configure
--- ports.orig/security/libassuan/files/patch-configure	Sat Jun 25 05:18:12 2005
+++ ports/security/libassuan/files/patch-configure	Sat Oct 14 15:17:02 2006
@@ -1,6 +1,15 @@
---- configure.orig	Fri Jun 24 16:23:33 2005
-+++ configure	Fri Jun 24 16:24:02 2005
-@@ -4771,7 +4771,7 @@
+--- ./configure.orig	Tue Oct 10 19:14:34 2006
++++ ./configure	Sat Oct 14 15:16:56 2006
+@@ -3648,7 +3648,7 @@
+ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h.  */
+-#include <pth.h>
++#include <pth/pth.h>
+ 
+ int
+ main ()
+@@ -5424,7 +5424,7 @@
    echo "$as_me: failed program was:" >&5
  sed 's/^/| /' conftest.$ac_ext >&5
  
diff -Npru ports.orig/security/libassuan/files/patch-src__libassuan.m4 ports/security/libassuan/files/patch-src__libassuan.m4
--- ports.orig/security/libassuan/files/patch-src__libassuan.m4	Thu Jan  1 09:00:00 1970
+++ ports/security/libassuan/files/patch-src__libassuan.m4	Sat Oct 14 15:17:02 2006
@@ -0,0 +1,24 @@
+--- ./src/libassuan.m4.orig	Sat Oct  7 00:28:15 2006
++++ ./src/libassuan.m4	Sat Oct 14 15:14:48 2006
+@@ -125,8 +125,8 @@
+ AC_DEFUN([AM_PATH_LIBASSUAN_PTH],
+ [ _AM_PATH_LIBASSUAN_COMMON($1,pth)
+   if test $ok = yes; then
+-    LIBASSUAN_PTH_CFLAGS=`$LIBASSUAN_CONFIG $libassuan_config_args --cflags`
+-    LIBASSUAN_PTH_LIBS=`$LIBASSUAN_CONFIG $libassuan_config_args --libs`
++    LIBASSUAN_PTH_CFLAGS=`$LIBASSUAN_CONFIG $libassuan_config_args --thread=pth --cflags`
++    LIBASSUAN_PTH_LIBS=`$LIBASSUAN_CONFIG $libassuan_config_args --thread=pth --libs`
+     ifelse([$2], , :, [$2])
+   else
+     LIBASSUAN_PTH_CFLAGS=""
+@@ -146,8 +146,8 @@
+ AC_DEFUN([AM_PATH_LIBASSUAN_PTHREAD],
+ [ _AM_PATH_LIBASSUAN_COMMON($1,pth)
+   if test $ok = yes; then
+-    LIBASSUAN_PTHREAD_CFLAGS=`$LIBASSUAN_CONFIG $libassuan_config_args --cflags`
+-    LIBASSUAN_PTHREAD_LIBS=`$LIBASSUAN_CONFIG $libassuan_config_args --libs`
++    LIBASSUAN_PTHREAD_CFLAGS=`$LIBASSUAN_CONFIG $libassuan_config_args --thread=pthread --cflags`
++    LIBASSUAN_PTHREAD_LIBS=`$LIBASSUAN_CONFIG $libassuan_config_args --thread=pthread --libs`
+     ifelse([$2], , :, [$2])
+   else
+     LIBASSUAN_PTHREAD_CFLAGS=""
diff -Npru ports.orig/security/libassuan/pkg-plist ports/security/libassuan/pkg-plist
--- ports.orig/security/libassuan/pkg-plist	Tue Apr 20 18:34:01 2004
+++ ports/security/libassuan/pkg-plist	Thu Oct 12 19:52:26 2006
@@ -1,4 +1,5 @@
 bin/libassuan-config
 include/assuan.h
+lib/libassuan-pth.a
 lib/libassuan.a
 share/aclocal/libassuan.m4
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?864pu7tnvd.wl%umq>