Date: Mon, 17 Mar 2003 04:21:54 +0100 (CET) From: Toni Andjelkovic <toni@soth.at> To: FreeBSD-gnats-submit@FreeBSD.org Cc: kris@obsecurity.org, bhope@cigital.com, toni@soth.at Subject: ports/50063: Update of devel/pcsc-lite Message-ID: <200303170321.h2H3Ls6A001743@outpost.soth.at>
next in thread | raw e-mail | index | archive | help
>Number: 50063 >Category: ports >Synopsis: Update of devel/pcsc-lite >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Mar 16 19:30:13 PST 2003 >Closed-Date: >Last-Modified: >Originator: Toni Andjelkovic >Release: FreeBSD 4.8-RC i386 >Organization: >Environment: System: FreeBSD outpost.soth.at 4.8-RC FreeBSD 4.8-RC #8: Sat Mar 15 07:54:37 CET 2003 toni@outpost.soth.at:/usr/obj/usr/src/sys/OUTPOST i386 >Description: An update of pcsc-lite, a smartcard development library. Changes: 1. Two patch files are removed, because they are no longer relevant: patch-src::Makefile.in patch-src::musclecard.c 2. Threads are enabled because they appear to be non-optional in the latest version. 3. The package downloads from a different location because betas appear to be released from this other location. 4. The IPC directory is set to /var/tmp/. 5. The port still bogusly installed docs into ${PREFIX}/doc. This has now been fixed for real. 6. bundleTool.1 became bundleTool.8 Thanks to Paco Hope <bhope@cigital.com> for doing changes 1. - 3. >How-To-Repeat: >Fix: Please commit the following directory as devel/pcsc-lite: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # pcsc-liteb3 # pcsc-liteb3/files # pcsc-liteb3/files/patch-etc::Makefile.in # pcsc-liteb3/files/patch-ltmain.sh # pcsc-liteb3/files/pcscd.sh # pcsc-liteb3/files/pkg-message.in # pcsc-liteb3/files/patch-doc::Makefile.in # pcsc-liteb3/pkg-comment # pcsc-liteb3/Makefile # pcsc-liteb3/pkg-plist # pcsc-liteb3/pkg-descr # pcsc-liteb3/distinfo # echo c - pcsc-liteb3 mkdir -p pcsc-liteb3 > /dev/null 2>&1 echo c - pcsc-liteb3/files mkdir -p pcsc-liteb3/files > /dev/null 2>&1 echo x - pcsc-liteb3/files/patch-etc::Makefile.in sed 's/^X//' >pcsc-liteb3/files/patch-etc::Makefile.in << 'END-of-pcsc-liteb3/files/patch-etc::Makefile.in' X--- etc/Makefile.in.bak Mon Mar 17 03:13:17 2003 X+++ etc/Makefile.in Mon Mar 17 03:14:27 2003 X@@ -27,3 +27,3 @@ X datadir = @datadir@ X-sysconfdir = @sysconfdir@ X+#sysconfdir = @sysconfdir@ X sharedstatedir = @sharedstatedir@ X@@ -96,3 +96,3 @@ X X-sysconf_DATA = reader.conf X+#sysconf_DATA = reader.conf X END-of-pcsc-liteb3/files/patch-etc::Makefile.in echo x - pcsc-liteb3/files/patch-ltmain.sh sed 's/^X//' >pcsc-liteb3/files/patch-ltmain.sh << 'END-of-pcsc-liteb3/files/patch-ltmain.sh' X$FreeBSD: ports/devel/pcsc-lite/files/patch-ltmain.sh,v 1.1 2001/12/29 05:05:13 petef Exp $ X X--- build/ltmain.sh 2001/08/27 09:51:26 1.1 X+++ build/ltmain.sh 2001/08/27 09:51:42 X@@ -2408,6 +2408,9 @@ X *-*-netbsd*) X # Don't link with libc until the a.out ld.so is fixed. X ;; X+ *-*-freebsd*) X+ # FreeBSD doesn't need this... X+ ;; X *) X # Add libc to deplibs on all other systems if necessary. X if test "$build_libtool_need_lc" = "yes"; then X@@ -4175,10 +4178,12 @@ X fi X X # Install the pseudo-library for information purposes. X+ if /usr/bin/false; then X name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` X instname="$dir/$name"i X $show "$install_prog $instname $destdir/$name" X $run eval "$install_prog $instname $destdir/$name" || exit $? X+ fi X X # Maybe install the static library, too. X test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" END-of-pcsc-liteb3/files/patch-ltmain.sh echo x - pcsc-liteb3/files/pcscd.sh sed 's/^X//' >pcsc-liteb3/files/pcscd.sh << 'END-of-pcsc-liteb3/files/pcscd.sh' X#!/bin/sh X# $FreeBSD: ports/devel/pcsc-lite/files/pcscd.sh,v 1.1 2001/12/25 02:54:40 petef Exp $ X Xif ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then X echo "$0: Cannot determine the PREFIX" >&2 X exit 1 Xfi X Xcase "$1" in X X start) X if [ -x $PREFIX/sbin/pcscd ]; then X $PREFIX/sbin/pcscd -c $PREFIX/etc/reader.conf X echo -n ' pcscd' X fi X ;; X X stop) X /usr/bin/killall pcscd && echo -n ' pcscd' X ;; X X *) X echo "" X echo "Usage: `basename $0` { start | stop }" X echo "" X exit 64 X ;; Xesac X END-of-pcsc-liteb3/files/pcscd.sh echo x - pcsc-liteb3/files/pkg-message.in sed 's/^X//' >pcsc-liteb3/files/pkg-message.in << 'END-of-pcsc-liteb3/files/pkg-message.in' X------------------------------------------------------------------------ X XPC/SC-Lite has been installed. XYou can fetch drivers from http://www.linuxnet.com/sourcedrivers.html X XAfter installing the driver, please update the pcscd configuration file X%%PREFIX%%/etc/reader.conf by using the default X%%PREFIX%%/etc/reader.conf.sample X X------------------------------------------------------------------------ END-of-pcsc-liteb3/files/pkg-message.in echo x - pcsc-liteb3/files/patch-doc::Makefile.in sed 's/^X//' >pcsc-liteb3/files/patch-doc::Makefile.in << 'END-of-pcsc-liteb3/files/patch-doc::Makefile.in' X--- doc/Makefile.in.bak Mon Mar 17 03:44:22 2003 X+++ doc/Makefile.in Mon Mar 17 03:44:42 2003 X@@ -69,3 +69,3 @@ X X-datadir = $(prefix)/doc X+#datadir = $(prefix)/doc X AMTAR = @AMTAR@ X@@ -98,3 +98,3 @@ X install_sh = @install_sh@ X-data_DATA = pcsc-lite-0.8.7.pdf muscle-api-1.3.0.pdf README.DAEMON X+#data_DATA = pcsc-lite-0.8.7.pdf muscle-api-1.3.0.pdf README.DAEMON X man_MANS = pcscd.8 bundleTool.8 formaticc.1 END-of-pcsc-liteb3/files/patch-doc::Makefile.in echo x - pcsc-liteb3/pkg-comment sed 's/^X//' >pcsc-liteb3/pkg-comment << 'END-of-pcsc-liteb3/pkg-comment' XA smartcard development library END-of-pcsc-liteb3/pkg-comment echo x - pcsc-liteb3/Makefile sed 's/^X//' >pcsc-liteb3/Makefile << 'END-of-pcsc-liteb3/Makefile' X# New ports collection makefile for: pcsc-lite X# Date created: 15 Oct 2001 X# Whom: Toni Andjelkovic <toni@soth.at> X# X# $FreeBSD$ X# X XPORTNAME= pcsc-lite XPORTVERSION= 1.1.2 XPORTREVISION= beta3 XCATEGORIES= devel security XMASTER_SITES= http://ludovic.rousseau.free.fr/softwares/muscle/ XDISTNAME= ${PORTNAME}-${PORTVERSION} XDISTFILES= ${PORTNAME}-${PORTVERSION}${PORTREVISION}.tar.gz X XMAINTAINER= toni@soth.at XCOMMENT= A smartcard development library X XGNU_CONFIGURE= yes XUSE_GMAKE= yes XUSE_LIBTOOL= yes XLIBTOOLFILES+= build/aclocal.m4 X XINSTALLS_SHLIB= yes XCONFIGURE_ARGS+=--enable-debug \ X --enable-syslog \ X --enable-runpid=/var/run/pcscd.pid \ X --enable-ipcdir=/var/tmp/ \ X --enable-confdir=${PREFIX}/etc \ X --enable-threadsafe XPKGMESSAGE= ${WRKDIR}/pkg-message XMAN1= formaticc.1 XMAN8= bundleTool.8 pcscd.8 X Xpost-install: X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/doc/README.DAEMON ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/doc/pcsc-lite-0.8.7.pdf ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/doc/muscle-api-1.3.0.pdf ${DOCSDIR} X.endif X ${INSTALL_DATA} ${WRKSRC}/etc/reader.conf \ X ${PREFIX}/etc/reader.conf.sample X ${INSTALL_SCRIPT} ${FILESDIR}/pcscd.sh \ X ${PREFIX}/etc/rc.d/pcscd.sh.sample X @${SED} 's,%%PREFIX%%,${PREFIX},g' < ${FILESDIR}/pkg-message.in > \ X ${WRKDIR}/pkg-message X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> END-of-pcsc-liteb3/Makefile echo x - pcsc-liteb3/pkg-plist sed 's/^X//' >pcsc-liteb3/pkg-plist << 'END-of-pcsc-liteb3/pkg-plist' Xbin/bundleTool Xbin/formaticc Xbin/installifd X%%PORTDOCS%%share/doc/pcsc-lite/README.DAEMON X%%PORTDOCS%%share/doc/pcsc-lite/pcsc-lite-0.8.7.pdf X%%PORTDOCS%%share/doc/pcsc-lite/muscle-api-1.3.0.pdf Xetc/rc.d/pcscd.sh.sample Xetc/reader.conf.sample Xinclude/debuglog.h Xinclude/mscdefines.h Xinclude/musclecard.h Xinclude/pcsclite.h Xinclude/winscard.h Xinclude/wintypes.h Xlib/libpcsclite.a Xlib/libpcsclite.so Xlib/libpcsclite.so.0 Xsbin/pcscd X%%PORTDOCS%%@dirrm share/doc/pcsc-lite END-of-pcsc-liteb3/pkg-plist echo x - pcsc-liteb3/pkg-descr sed 's/^X//' >pcsc-liteb3/pkg-descr << 'END-of-pcsc-liteb3/pkg-descr' XThis is a port of the MUSCLE PC/SC-Lite architecture. XAllows easy porting of Windows smartcard software to other Xoperating systems. Supports many types of serial, PCMCIA, Xand USB smartcard readers and cryptographic tokens. XTested under Linux, Solaris 8, HPUX 11, OS X (10.1), XOpenBSD, FreeBSD 4. X XAuthor: David Corcoran <corcoran@linuxnet.com> XWWW: http://www.linuxnet.com/middle.html END-of-pcsc-liteb3/pkg-descr echo x - pcsc-liteb3/distinfo sed 's/^X//' >pcsc-liteb3/distinfo << 'END-of-pcsc-liteb3/distinfo' XMD5 (pcsc-lite-1.1.2beta3.tar.gz) = d6b38581037a5836b54de6f3442d7980 END-of-pcsc-liteb3/distinfo exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303170321.h2H3Ls6A001743>