Bug 76068 - Update of devel/pcsc-lite
Summary: Update of devel/pcsc-lite
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Tilman Keskinoz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-10 19:20 UTC by Toni Andjelkovic
Modified: 2005-04-20 13:43 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (6.25 KB, patch)
2005-01-10 19:20 UTC, Toni Andjelkovic
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toni Andjelkovic 2005-01-10 19:20:10 UTC
Update to 1.2.9-beta6.

Changes:

	Use libtool15, libtool13 declares itself DEPRECATED.
	Bump PORTEPOCH to avoid FATAL portlint error.
	Don't remove libdata/pkgconfig, others may be using it.

Thanks to Tilman Linneweh and Erik Norgaard for patches and input.
Comment 1 Volker Stolz freebsd_committer freebsd_triage 2005-01-12 10:41:54 UTC
State Changed
From-To: open->feedback

Since this patch contains a shared library version-bump, could 
please chase down all dependant ports? Apart from LIB_DEPENDING 
on the new version, their PORTREVISION must be bumped. 
You can find them by grepping for pcsc-lite in /usr/ports/INDEX, 
but something along the lines of 'grep -r pcsclite.0 /usr/ports' 
is recommmended to discover optional dependencies.
Comment 2 Toni Andjelkovic 2005-01-12 15:54:07 UTC
On Wed, Jan 12, 2005 at 10:44:14AM +0000, Volker Stolz wrote:
> Since this patch contains a shared library version-bump, could
> please chase down all dependant ports? Apart from LIB_DEPENDING
> on the new version, their PORTREVISION must be bumped.
> You can find them by grepping for pcsc-lite in /usr/ports/INDEX,
> but something along the lines of 'grep -r pcsclite.0 /usr/ports'
> is recommmended to discover optional dependencies.

The ports affected are

devel/ifd-test
devel/libchipcard
devel/p5-PCSC-Card
devel/ruby-pcsc-lite
security/ifd-devkit
security/ifd-gempc410
security/ifd-gpr400
security/opensc
security/opensc-esteid

and also security/ifd-slb_rf60, I have already submitted a separate
PR for it yesterday.

Unfortunately some ports depending on pcsc-lite are going to break anyway
after this update because the include files have moved, so I think it would
be appropriate to notify the other maintainers, too (I can do this):

===>  Building for ifd-test-1.0_2
gcc -g -w -pthread -c testIBM.c -I/usr/local/include
testIBM.c:2:22: winscard.h: No such file or directory


Here's a patch for the rest:


Index: devel/ifd-test/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/ifd-test/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- devel/ifd-test/Makefile	6 Feb 2004 13:11:09 -0000	1.6
+++ devel/ifd-test/Makefile	12 Jan 2005 15:04:34 -0000
@@ -7,14 +7,14 @@
 
 PORTNAME=	ifd-test
 PORTVERSION=	1.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel security
 MASTER_SITES=	http://www.linuxnet.com/drivers/readers/files/
 
 MAINTAINER=	bms@spc.org
 COMMENT=	IFD Test Suite for PC/SC Lite
 
-LIB_DEPENDS=    pcsclite.0:${PORTSDIR}/devel/pcsc-lite
+LIB_DEPENDS=    pcsclite.1:${PORTSDIR}/devel/pcsc-lite
 
 USE_GMAKE=	yes
 
Index: devel/libchipcard/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/libchipcard/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- devel/libchipcard/Makefile	6 Mar 2004 18:00:09 -0000	1.7
+++ devel/libchipcard/Makefile	12 Jan 2005 15:04:34 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	libchipcard
 PORTVERSION=	0.8
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	libchipcard
@@ -15,7 +15,7 @@
 MAINTAINER=	martin@libchipcard.de
 COMMENT=	"A library for easy access to chipcards"
 
-LIB_DEPENDS=	pcsclite.0:${PORTSDIR}/devel/pcsc-lite
+LIB_DEPENDS=	pcsclite.1:${PORTSDIR}/devel/pcsc-lite
 
 USE_GMAKE=	yes
 USE_OPENSSL=	yes
Index: devel/ruby-pcsc-lite/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/ruby-pcsc-lite/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- devel/ruby-pcsc-lite/Makefile	25 Feb 2004 05:56:47 -0000	1.7
+++ devel/ruby-pcsc-lite/Makefile	12 Jan 2005 15:04:34 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	pcsc-lite
 PORTVERSION=	0.8
+PORTREVISION=	1
 CATEGORIES=	devel ruby
 MASTER_SITES=	http://soth.at/PCSC-ruby/
 PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
@@ -16,7 +17,7 @@
 MAINTAINER=	toni@soth.at
 COMMENT=	Ruby extension for the UNIX PC/SC Lite API (MUSCLE)
 
-LIB_DEPENDS=	pcsclite.0:${PORTSDIR}/devel/pcsc-lite
+LIB_DEPENDS=	pcsclite.1:${PORTSDIR}/devel/pcsc-lite
 
 USE_RUBY=	yes
 RUBY_VER=	1.8
Index: security/ifd-devkit/Makefile
===================================================================
RCS file: /home/ncvs/ports/security/ifd-devkit/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- security/ifd-devkit/Makefile	21 Feb 2003 13:26:45 -0000	1.2
+++ security/ifd-devkit/Makefile	12 Jan 2005 15:04:34 -0000
@@ -7,13 +7,14 @@
 
 PORTNAME=	ifd-devkit
 PORTVERSION=	1.0.0
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	http://www.linuxnet.com/drivers/readers/files/
 
 MAINTAINER=	bms@spc.org
 COMMENT=	IFD Handler Developer's Kit for MUSCLE PC/SC Lite
 
-LIB_DEPENDS=	pcsclite.0:${PORTSDIR}/devel/pcsc-lite
+LIB_DEPENDS=	pcsclite.1:${PORTSDIR}/devel/pcsc-lite
 
 INSTALLS_SHLIB= yes
 
Index: security/ifd-gempc410/Makefile
===================================================================
RCS file: /home/ncvs/ports/security/ifd-gempc410/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- security/ifd-gempc410/Makefile	23 Feb 2004 01:13:24 -0000	1.5
+++ security/ifd-gempc410/Makefile	12 Jan 2005 15:04:34 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	ifd-gempc410
 PORTVERSION=	0.8.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security
 MASTER_SITES=	http://ludovic.rousseau.free.fr/softwares/ifd-GemPC/
 DISTNAME=	ifd-gempc-${PORTVERSION}
@@ -16,7 +16,7 @@
 COMMENT=	PC/SC Lite driver for the GemPC 410 serial smart card reader
 
 BUILD_DEPENDS=	${LOCALBASE}/include/ifdhandler.h:${PORTSDIR}/security/ifd-devkit
-LIB_DEPENDS=	pcsclite.0:${PORTSDIR}/devel/pcsc-lite
+LIB_DEPENDS=	pcsclite.1:${PORTSDIR}/devel/pcsc-lite
 
 BROKEN=		"Does not fetch"
 
Index: security/ifd-gpr400/Makefile
===================================================================
RCS file: /home/ncvs/ports/security/ifd-gpr400/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- security/ifd-gpr400/Makefile	21 Feb 2003 13:26:45 -0000	1.2
+++ security/ifd-gpr400/Makefile	12 Jan 2005 15:04:34 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	ifd-gpr400
 PORTVERSION=	0.3
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	http://www.innovationsw.com/~jaiger/downloads/smartcard/
 
@@ -14,7 +15,7 @@
 COMMENT=	PC/SC Lite driver for Gemplus GPR400 PCMCIA Smart Card Readers
 
 BUILD_DEPENDS=	${LOCALBASE}/include/ifdhandler.h:${PORTSDIR}/security/ifd-devkit
-LIB_DEPENDS=	pcsclite.0:${PORTSDIR}/devel/pcsc-lite
+LIB_DEPENDS=	pcsclite.1:${PORTSDIR}/devel/pcsc-lite
 
 MAKE_ENV+=	DESTDIR="${PREFIX}"
 
Index: security/opensc/Makefile
===================================================================
RCS file: /home/ncvs/ports/security/opensc/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- security/opensc/Makefile	23 Feb 2004 22:03:30 -0000	1.11
+++ security/opensc/Makefile	12 Jan 2005 15:04:34 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	opensc
 PORTVERSION=	0.8.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security devel
 MASTER_SITES=	http://www.opensc.org/files/
 
@@ -46,7 +46,7 @@
 CONFIGURE_ARGS+=	--with-pam
 .endif
 .if !defined(WITHOUT_PCSC_LITE)
-LIB_DEPENDS+=		pcsclite.0:${PORTSDIR}/devel/pcsc-lite
+LIB_DEPENDS+=		pcsclite.1:${PORTSDIR}/devel/pcsc-lite
 CONFIGURE_ARGS+=	--with-pcsclite=${LOCALBASE}
 .endif
 
Index: security/opensc-esteid/Makefile
===================================================================
RCS file: /home/ncvs/ports/security/opensc-esteid/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- security/opensc-esteid/Makefile	9 Jul 2004 17:42:48 -0000	1.9
+++ security/opensc-esteid/Makefile	12 Jan 2005 15:04:34 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	esteid
 PORTVERSION=	0.7.0.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security devel
 MASTER_SITES=	http://marie.vtl.ee/esteid/
 PKGNAMEPREFIX=	opensc-
@@ -16,7 +16,7 @@
 MAINTAINER=	hadara@bsd.ee
 COMMENT=	ISO 7816 Smartcard API Library (OpenSSH Compatible)
 
-LIB_DEPENDS=	pcsclite.0:${PORTSDIR}/devel/pcsc-lite
+LIB_DEPENDS=	pcsclite.1:${PORTSDIR}/devel/pcsc-lite
 
 USE_OPENLDAP=	yes
 INSTALLS_SHLIB=	yes
Index: devel/p5-PCSC-Card/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/p5-PCSC-Card/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- devel/p5-PCSC-Card/Makefile	22 Jan 2004 21:43:58 -0000	1.2
+++ devel/p5-PCSC-Card/Makefile	12 Jan 2005 15:04:34 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	PCSC-Card
 PORTVERSION=	1.2.2
+PORTREVISION=	1
 CATEGORIES=	devel perl5
 MASTER_SITES=	http://ludovic.rousseau.free.fr/softwares/pcsc-perl/
 PKGNAMEPREFIX=	p5-
@@ -15,7 +16,7 @@
 MAINTAINER=	bms@FreeBSD.org
 COMMENT=	Perl bindings for the PC/SC Lite Framework
 
-LIB_DEPENDS=	pcsclite.0:${PORTSDIR}/devel/pcsc-lite
+LIB_DEPENDS=	pcsclite.1:${PORTSDIR}/devel/pcsc-lite
 
 .include <bsd.port.pre.mk>
Comment 3 Volker Stolz freebsd_committer freebsd_triage 2005-01-20 13:39:27 UTC
State Changed
From-To: feedback->open

Feedback recvd
Comment 4 Sergey Matveychuk freebsd_committer freebsd_triage 2005-03-10 15:06:41 UTC
Why do you bump PORTEPOCH to 7, not 3?

-- 
Sem.
Comment 5 Sergey Matveychuk freebsd_committer freebsd_triage 2005-03-10 15:07:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sem

Take it
Comment 6 Toni Andjelkovic 2005-03-10 18:08:59 UTC
Am Donnerstag, den 10.03.2005, 18:06 +0300 schrieb Sergey Matveychuk:
> Why do you bump PORTEPOCH to 7, not 3?

Because portlint complains when I do so.

Cheers,
Toni
Comment 7 Sergey Matveychuk freebsd_committer freebsd_triage 2005-03-11 13:10:00 UTC
Toni Andjelkovic wrote:

> Am Donnerstag, den 10.03.2005, 18:06 +0300 schrieb Sergey Matveychuk:
> 
>>Why do you bump PORTEPOCH to 7, not 3?
> 
> 
> Because portlint complains when I do so.

What exectly did it say? I can't reproduce it.
Moreover I see no reason to bump it at all:
% pkg_version -t 1.2.0 1.2.9.b.6
<
% portversion -t 1.2.0 1.2.9.b.6
<

It looks like version calculations are OK.

BTW. About libdata/pkgconfig. USE_GNOME=pkgconfig makes tricks with it 
for you.

-- 
Sem.
Comment 8 Toni Andjelkovic 2005-03-11 17:15:33 UTC
Am Freitag, den 11.03.2005, 16:10 +0300 schrieb Sergey Matveychuk:
> >>Why do you bump PORTEPOCH to 7, not 3?
> > Because portlint complains when I do so.
> What exectly did it say? I can't reproduce it.
> Moreover I see no reason to bump it at all:

I don't know anymore and unfortunately I don't have a FreeBSD system
installed at the moment. It's been a while since I've done that patch,
sorry for that. But since you know well how to handle this sort of
things, there shouldn't be any problems at all.

> It looks like version calculations are OK.

Cool!

> BTW. About libdata/pkgconfig. USE_GNOME=pkgconfig makes tricks with it 
> for you.

Thanks for the information, please fix and commit as you see fit.

Cheers,
Toni
Comment 9 Sergey Matveychuk freebsd_committer freebsd_triage 2005-03-11 18:49:25 UTC
Toni Andjelkovic wrote:

> I don't know anymore and unfortunately I don't have a FreeBSD system
> installed at the moment. It's been a while since I've done that patch,
> sorry for that. But since you know well how to handle this sort of
> things, there shouldn't be any problems at all.

Thank you for carring the port. But the update will break some ports 
maintained by bms@FreeBSD.org. So I'll pass the PR to him.

-- 
Sem.
Comment 10 Sergey Matveychuk freebsd_committer freebsd_triage 2005-03-11 18:49:32 UTC
Responsible Changed
From-To: sem->bms

The update will break a few ports of bms@. 
So pass the PR to him.
Comment 11 Toni Andjelkovic 2005-03-11 21:25:51 UTC
Am Freitag, den 11.03.2005, 21:49 +0300 schrieb Sergey Matveychuk:
> Thank you for carring the port. But the update will break some ports 
> maintained by bms@FreeBSD.org. So I'll pass the PR to him.

Is it because of devel/ifd-test? I've already informed Bruce and sent
him a patch for that in January. He told me to ping him when the pcsc-
lite update is done so he can commit that patch.

Cheers,
Toni
Comment 12 Sergey Matveychuk freebsd_committer freebsd_triage 2005-03-11 21:29:34 UTC
Toni Andjelkovic wrote:

> Is it because of devel/ifd-test? I've already informed Bruce and sent
> him a patch for that in January. He told me to ping him when the pcsc-
> lite update is done so he can commit that patch.

Not only ifd-test. I've gave up on third port.
-- 
Sem.
Comment 13 Tilman Keskinoz freebsd_committer freebsd_triage 2005-04-08 19:27:50 UTC
State Changed
From-To: open->feedback

Bruce, what is the state of this PR, any reason why not committing? 

There is already a new version of PCSC-lite :-). I have nearly ready 
patches to the port if anybody is interested.  

Another comment, on linux the drivers are installed into /usr/lib/pcsc 
/usr/local/lib/pcsc would be the reasonable equivalent on FreeBSD, 
instead of the non-hier compliant /usr/local/pcsc. 

Maybe if too much is broken we should repocopy the version currently in 
ports? 

I would like to get a port of libccid into ports really soon, and it needs 
the new pcsc-lite.
Comment 14 Bruce M Simpson 2005-04-09 02:50:43 UTC
On Fri, Apr 08, 2005 at 06:34:48PM +0000, Tilman Linneweh wrote:
> Bruce, what is the state of this PR, any reason why not committing?

ENOTIME

BMS
Comment 15 Tilman Keskinoz freebsd_committer freebsd_triage 2005-04-20 13:09:59 UTC
Responsible Changed
From-To: bms->arved

Take over PR, I intend to commit the stuff at  
http://people.freebsd.org/~arved/stuff/pcsc/patch-pcscupdate 
later today
Comment 16 Tilman Keskinoz freebsd_committer freebsd_triage 2005-04-20 13:42:34 UTC
State Changed
From-To: feedback->closed

The update was committed, thanks for your patience