[Midnightbsd-cvs] mports [18227] trunk/devel/pcsc-lite/pkg-plist: pcsc-lite 1.8.13
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Wed Mar 18 08:54:52 EDT 2015
Revision: 18227
http://svnweb.midnightbsd.org/mports/?rev=18227
Author: laffer1
Date: 2015-03-18 08:54:51 -0400 (Wed, 18 Mar 2015)
Log Message:
-----------
pcsc-lite 1.8.13
Modified Paths:
--------------
trunk/devel/pcsc-lite/Makefile
trunk/devel/pcsc-lite/distinfo
trunk/devel/pcsc-lite/files/pcscd.in
trunk/devel/pcsc-lite/files/pkg-message.in
trunk/devel/pcsc-lite/pkg-descr
trunk/devel/pcsc-lite/pkg-plist
Removed Paths:
-------------
trunk/devel/pcsc-lite/files/patch-ltmain.sh
Property Changed:
----------------
trunk/devel/pcsc-lite/files/pcscd.in
trunk/devel/pcsc-lite/files/pkg-message.in
Modified: trunk/devel/pcsc-lite/Makefile
===================================================================
--- trunk/devel/pcsc-lite/Makefile 2015-03-18 12:51:15 UTC (rev 18226)
+++ trunk/devel/pcsc-lite/Makefile 2015-03-18 12:54:51 UTC (rev 18227)
@@ -1,57 +1,46 @@
-# New ports collection makefile for: pcsc-lite
-# Date created: 15 Oct 2001
-# Whom: Toni Andjelkovic <toni at soth.at>
-#
# $MidnightBSD$
# $FreeBSD: ports/devel/pcsc-lite/Makefile,v 1.39 2008/03/20 09:37:20 pav Exp $
-#
PORTNAME= pcsc-lite
-PORTVERSION= 1.4.4
+PORTVERSION= 1.8.13
CATEGORIES= devel security
-MASTER_SITES= http://alioth.debian.org/frs/download.php/2106/
-DISTNAME= pcsc-lite-${PORTVERSION:S/.b./-beta/}
+MASTER_SITES= https://alioth.debian.org/frs/download.php/file/4126/
MAINTAINER= ports at MidnightBSD.org
-COMMENT= A smartcard development library
+COMMENT= Smartcard development library
+
LICENSE= bsd3
GNU_CONFIGURE= yes
-USE_GMAKE= yes
-USE_GNOME= gnomehack pkgconfig
+INSTALL_TARGET= install-strip
+USES= gmake libtool pathfix perl5 pkgconfig shebangfix tar:bzip2
+USE_PERL5= build
USE_RC_SUBR= pcscd
+SHEBANG_FILES= ${WRKSRC}/src/spy/pcsc-spy
USE_LDCONFIG= yes
-CONFIGURE_ENV+= LIBS="${LIBS} ${PTHREAD_LIBS}" \
- CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
-CONFIGURE_ARGS+=--enable-debug \
- --enable-syslog \
- --enable-runpid=/var/run/pcscd.pid \
- --enable-ipcdir=/var/tmp/ \
- --enable-confdir=${PREFIX}/etc/ \
- --enable-usbdropdir=${PREFIX}/lib/pcsc/drivers/ \
- --enable-muscledropdir=${PREFIX}/lib/pcsc/services/ \
- --enable-threadsafe
+CONFIGURE_ARGS= --enable-usbdropdir=${PREFIX}/lib/pcsc/drivers/ \
+ LIBUSB_CFLAGS=" " LIBUSB_LIBS="-lusb"
PKGMESSAGE= ${WRKDIR}/pkg-message
-MAN5= reader.conf.5
-MAN8= pcscd.8 update-reader.conf.8
-.if !defined(WITHOUT_USB)
-LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
-CONFIGURE_ARGS+=--enable-libusb=${LOCALBASE}
-.endif
+OPTIONS_DEFINE= DOCS EXAMPLES
+.include <bsd.mport.options.mk>
+
+FETCH_DEPENDS= wget:${PORTSDIR}/ftp/wget
+DISABLE_SIZE= yes
+FETCH_CMD= ${LOCALBASE}/bin/wget -c -nc --no-check-certificate
+
post-patch:
- ${REINPLACE_CMD} -e "s,^datadir,#datadir,; s,^data_DATA,#data_DATA," ${WRKSRC}/doc/Makefile.in
- ${REINPLACE_CMD} -e "s,^confdir,#sysconfdir,; s,^conf_DATA,#sysconf_DATA,; s,^EXTRA_DIST,#EXTRA_DIST," ${WRKSRC}/etc/Makefile.in
-
-pre-everything::
-.if !defined(WITHOUT_USB)
- @${ECHO_MSG}
- @${ECHO_MSG} "pcsc-lite has the following option(s):"
- @${ECHO_MSG} " WITHOUT_USB=yes Disable USB support"
- @${ECHO_MSG}
+ ${REINPLACE_CMD} -e "s,^datadir,#datadir,; s,^data_DATA,#data_DATA," \
+ ${WRKSRC}/doc/Makefile.in
+ ${REINPLACE_CMD} -e "s,libusb-1.0/libusb.h,libusb.h,; \
+ s,libusb_strerror(ret),ret," ${WRKSRC}/configure \
+ ${WRKSRC}/src/hotplug_libusb.c
+ ${REINPLACE_CMD} -e "s,-ldl,," ${WRKSRC}/src/spy/Makefile.in
+.if ! ${PORT_OPTIONS:MDOCS}
+ ${REINPLACE_CMD} -e '/^install-data-am: / s|install-docDATA||' ${WRKSRC}/doc/Makefile.in
.endif
post-install:
@@ -64,8 +53,6 @@
@${MKDIR} ${PREFIX}/lib/pcsc/services
${TOUCH} ${PREFIX}/lib/pcsc/drivers/.keep_me
${TOUCH} ${PREFIX}/lib/pcsc/services/.keep_me
- ${INSTALL_DATA} ${WRKSRC}/etc/reader.conf \
- ${PREFIX}/etc/reader.conf.sample
@${SED} 's,%%PREFIX%%,${PREFIX},g' < ${FILESDIR}/pkg-message.in > \
${WRKDIR}/pkg-message
Modified: trunk/devel/pcsc-lite/distinfo
===================================================================
--- trunk/devel/pcsc-lite/distinfo 2015-03-18 12:51:15 UTC (rev 18226)
+++ trunk/devel/pcsc-lite/distinfo 2015-03-18 12:54:51 UTC (rev 18227)
@@ -1,3 +1,2 @@
-SHA256 (pcsc-lite-1.4.4.tar.gz) = 9d48114ced4e32f60668f7db72231b5ce9104e460269f72f378e2fec7575291d
-RMD160 (pcsc-lite-1.4.4.tar.gz) = 2feb7f76e19a30984897cf614846c00203d5a063
-SIZE (pcsc-lite-1.4.4.tar.gz) = 627128
+SHA256 (pcsc-lite-1.8.13.tar.bz2) = f315047e808d63a3262c4a040f77548af2e04d1fd707e0c2759369b926fbbc3b
+SIZE (pcsc-lite-1.8.13.tar.bz2) = 584083
Deleted: trunk/devel/pcsc-lite/files/patch-ltmain.sh
===================================================================
--- trunk/devel/pcsc-lite/files/patch-ltmain.sh 2015-03-18 12:51:15 UTC (rev 18226)
+++ trunk/devel/pcsc-lite/files/patch-ltmain.sh 2015-03-18 12:54:51 UTC (rev 18227)
@@ -1,15 +0,0 @@
---- ltmain.sh.orig Mon Jan 2 14:34:57 2006
-+++ ltmain.sh Mon Jan 2 14:37:12 2006
-@@ -5667,10 +5667,12 @@
- fi
-
- # Install the pseudo-library for information purposes.
-+ if /usr/bin/false; then
- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- instname="$dir/$name"i
- $show "$install_prog $instname $destdir/$name"
- $run eval "$install_prog $instname $destdir/$name" || exit $?
-+ fi
-
- # Maybe install the static library, too.
- test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
Modified: trunk/devel/pcsc-lite/files/pcscd.in
===================================================================
--- trunk/devel/pcsc-lite/files/pcscd.in 2015-03-18 12:51:15 UTC (rev 18226)
+++ trunk/devel/pcsc-lite/files/pcscd.in 2015-03-18 12:54:51 UTC (rev 18227)
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: ports/devel/pcsc-lite/files/pcscd.in,v 1.1 2007/01/22 16:56:16 arved Exp $
+# $FreeBSD: head/devel/pcsc-lite/files/pcscd.in 340872 2014-01-24 00:14:07Z mat $
#
# PROVIDE: pcscd
# REQUIRE: LOGIN
@@ -9,12 +9,15 @@
#
# pcscd_enable="YES"
-. %%RC_SUBR%%
+. /etc/rc.subr
name="pcscd"
-rcvar="pcscd_enable"
+rcvar=pcscd_enable
command="%%PREFIX%%/sbin/pcscd"
load_rc_config "$name"
+
+: ${pcscd_enable="NO"}
+
run_rc_command "$1"
Property changes on: trunk/devel/pcsc-lite/files/pcscd.in
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Modified: trunk/devel/pcsc-lite/files/pkg-message.in
===================================================================
--- trunk/devel/pcsc-lite/files/pkg-message.in 2015-03-18 12:51:15 UTC (rev 18226)
+++ trunk/devel/pcsc-lite/files/pkg-message.in 2015-03-18 12:54:51 UTC (rev 18227)
@@ -1,13 +1,13 @@
+------------------------------------------------------------------------
+
PC/SC-Lite has been installed.
-You can fetch drivers from http://www.linuxnet.com/sourcedrivers.html
-or install one of the following ports:
+You need to install a driver for your smartcard reader e.g.
devel/libccid
-security/ifd-gempc410
security/ifd-slb_rf60
-After installing the driver, please update the pcscd configuration file
-%%PREFIX%%/etc/reader.conf by using the default
-%%PREFIX%%/etc/reader.conf.sample
+For cardreaders connected to the serial port: After installing the driver,
+please update the pcscd configuration file
+%%PREFIX%%/etc/reader.conf
For USB cardreaders add the following lines to /etc/devd.conf to enable
hotplugging.
@@ -14,11 +14,11 @@
attach 100 {
device-name "ugen[0-9]+";
- action "/usr/local/sbin/pcscd -H";
+ action "%%PREFIX%%/sbin/pcscd -H";
};
detach 100 {
device-name "ugen[0-9]+";
- action "/usr/local/sbin/pcscd -H";
+ action "%%PREFIX%%/sbin/pcscd -H";
};
------------------------------------------------------------------------
Property changes on: trunk/devel/pcsc-lite/files/pkg-message.in
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Modified: trunk/devel/pcsc-lite/pkg-descr
===================================================================
--- trunk/devel/pcsc-lite/pkg-descr 2015-03-18 12:51:15 UTC (rev 18226)
+++ trunk/devel/pcsc-lite/pkg-descr 2015-03-18 12:54:51 UTC (rev 18227)
@@ -3,7 +3,4 @@
operating systems. Supports many types of serial, PCMCIA,
and USB smartcard readers and cryptographic tokens.
-Authors: David Corcoran <corcoran at linuxnet.com>,
- Ludovic Rousseau <ludovic.rousseau at free.fr>
-
-WWW: http://alioth.debian.org/projects/pcsclite/
+WWW: http://alioth.debian.org/projects/pcsclite/
Modified: trunk/devel/pcsc-lite/pkg-plist
===================================================================
--- trunk/devel/pcsc-lite/pkg-plist 2015-03-18 12:51:15 UTC (rev 18226)
+++ trunk/devel/pcsc-lite/pkg-plist 2015-03-18 12:54:51 UTC (rev 18227)
@@ -1,4 +1,4 @@
-etc/reader.conf.sample
+bin/pcsc-spy
include/PCSC/debuglog.h
include/PCSC/ifdhandler.h
include/PCSC/pcsclite.h
@@ -5,24 +5,21 @@
include/PCSC/reader.h
include/PCSC/winscard.h
include/PCSC/wintypes.h
-lib/libpcsclite.a
lib/libpcsclite.so
lib/libpcsclite.so.1
-lib/pcsc/drivers/.keep_me
-lib/pcsc/services/.keep_me
+lib/libpcsclite.so.1.0.0
+lib/libpcscspy.so
+lib/libpcscspy.so.0
+lib/libpcscspy.so.0.0.0
libdata/pkgconfig/libpcsclite.pc
sbin/pcscd
-sbin/update-reader.conf
-%%DOCSDIR%%/README.DAEMON
-%%DOCSDIR%%/pcsc-lite.tex
-%%DOCSDIR%%/pcsc-lite.bib
-%%DOCSDIR%%/ifdhandler-3.tex
-%%EXAMPLESDIR%%/Makefile.am
-%%EXAMPLESDIR%%/Makefile.in
-%%EXAMPLESDIR%%/pcsc_demo.c
- at dirrm include/PCSC
- at dirrm %%DOCSDIR%%
- at dirrm %%EXAMPLESDIR%%
- at dirrm lib/pcsc/drivers
- at dirrm lib/pcsc/services
- at dirrm lib/pcsc
+%%PORTDOCS%%%%DOCSDIR%%/README.DAEMON
+%%PORTDOCS%%%%DOCSDIR%%/README.polkit
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile.am
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile.in
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pcsc_demo.c
+man/man1/pcsc-spy.1.gz
+man/man5/reader.conf.5.gz
+man/man8/pcscd.8.gz
+ at dir lib/pcsc/services
+ at dir lib/pcsc/drivers
More information about the Midnightbsd-cvs
mailing list