Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2011 10:11:46 +0100 (CET)
From:      Guido Falsi <mad@madpilot.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/154303: [maintainer-update] comms/gnokii: update to 0.6.30
Message-ID:  <20110126091146.DB1A11AEB@megatron.madpilot.net>
Resent-Message-ID: <201101260930.p0Q9U9PW023219@freefall.freebsd.org>

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

>Number:         154303
>Category:       ports
>Synopsis:       [maintainer-update] comms/gnokii: update to 0.6.30
>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:   Wed Jan 26 09:30:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Guido Falsi
>Release:        FreeBSD 8.1-STABLE amd64
>Organization:
none
>Environment:
System: FreeBSD megatron.madpilot.net 8.1-STABLE FreeBSD 8.1-STABLE #23: Sun Nov 14 14:54:14 CET 2010 root@megatron.madpilot.net:/usr/obj/usr/src/sys/MEGATRON amd64

>Description:

Update to 0.6.30.

This version adds optional SQLite 3 support in the, optional too,
smsd component.

Added LICENSE information while there.

>How-To-Repeat:
>Fix:

diff -ruN gnokii.old/Makefile gnokii/Makefile
--- gnokii.old/Makefile	2011-01-26 09:47:43.062312903 +0100
+++ gnokii/Makefile	2011-01-26 09:48:16.113812759 +0100
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	gnokii
-PORTVERSION=	0.6.29
-PORTREVISION=	1
+PORTVERSION=	0.6.30
 PORTEPOCH=	1
 CATEGORIES=	comms
 MASTER_SITES=	http://www.gnokii.org/download/gnokii/ \
@@ -17,6 +16,9 @@
 MAINTAINER=	mad@madpilot.net
 COMMENT=	Tools to talk to GSM cellular phones
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
 
 USE_BZIP2=	yes
@@ -50,6 +52,7 @@
 		SMSD	"Enable smsd daemon"			off \
 		MYSQL	"Enable MySQL support for smsd"		off \
 		PGSQL	"Enable PostgreSQL support for smsd"	off \
+		SQLITE	"Enable SQLite support in smsd"		off \
 		X11	"Build graphical version (xgnokii)"	on
 
 .include <bsd.port.pre.mk>
@@ -87,6 +90,12 @@
 .else
 PLIST_SUB+=	PGM='@comment '
 .endif
+.if exists(${LOCALBASE}/lib/libsqlite3.so) && !defined(WITHOUT_SQLITE)
+LIB_DEPENDS+=	sqlite3.8:${PORTSDIR}/databases/sqlite3
+PLIST_SUB+=	SQLT=''
+.else
+PLIST_SUB+=	SQLT='@comment '
+.endif
 .endif
 
 .if defined(WITHOUT_X11)
diff -ruN gnokii.old/distinfo gnokii/distinfo
--- gnokii.old/distinfo	2011-01-26 09:47:43.058252435 +0100
+++ gnokii/distinfo	2011-01-26 09:48:16.113812759 +0100
@@ -1,3 +1,2 @@
-MD5 (gnokii-0.6.29.tar.bz2) = 6111e0158a1129062bda6420db67c313
-SHA256 (gnokii-0.6.29.tar.bz2) = d1633e934b6b43c681ea96c5830d44683a85f05e64ea03c3ecf0d5096aee8470
-SIZE (gnokii-0.6.29.tar.bz2) = 1302020
+SHA256 (gnokii-0.6.30.tar.bz2) = 337c75369901cc6665219e3b92e29949fc83823e8d63608979230d72fe2e1dd4
+SIZE (gnokii-0.6.30.tar.bz2) = 1320209
diff -ruN gnokii.old/files/patch-common-phones-pcsc.c gnokii/files/patch-common-phones-pcsc.c
--- gnokii.old/files/patch-common-phones-pcsc.c	2011-01-26 09:47:43.056252790 +0100
+++ gnokii/files/patch-common-phones-pcsc.c	1970-01-01 01:00:00.000000000 +0100
@@ -1,12 +0,0 @@
---- common/phones/pcsc.c.orig	2010-06-04 15:08:13.000466080 +0200
-+++ common/phones/pcsc.c	2010-06-04 15:15:44.926057193 +0200
-@@ -199,7 +199,9 @@
- 	case SCARD_W_UNPOWERED_CARD:
- 	case SCARD_W_RESET_CARD:
- 	case SCARD_W_REMOVED_CARD:
-+/* removed from pcsc-lite
- 	case SCARD_W_INSERTED_CARD:
-+*/
- 	 	return GN_ERR_SIMPROBLEM;
- 	case SCARD_E_NO_MEMORY:
- 		return GN_ERR_MEMORYFULL;
diff -ruN gnokii.old/pkg-plist gnokii/pkg-plist
--- gnokii.old/pkg-plist	2011-01-26 09:47:43.057252333 +0100
+++ gnokii/pkg-plist	2011-01-26 09:48:16.101571566 +0100
@@ -21,7 +21,7 @@
 lib/libgnokii.a
 lib/libgnokii.la
 lib/libgnokii.so
-lib/libgnokii.so.6
+lib/libgnokii.so.7
 libdata/pkgconfig/gnokii.pc
 libdata/pkgconfig/xgnokii.pc
 sbin/gnokiid
@@ -53,6 +53,9 @@
 %%PGM%%lib/smsd/libsmsd_pq.la
 %%PGM%%lib/smsd/libsmsd_pq.so
 %%PGM%%share/smsd/sms.tables.pq.sql
+%%SQLT%%lib/smsd/libsmsd_sqlite.a
+%%SQLT%%lib/smsd/libsmsd_sqlite.la
+%%SQLT%%lib/smsd/libsmsd_sqlite.so
 %%SMSD%%@dirrm lib/smsd
 %%SMSD%%@dirrm share/smsd
 %%X11%%share/applications/xgnokii.desktop
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110126091146.DB1A11AEB>