Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2002 14:49:53 +0100 (BST)
From:      Bruce M Simpson <bms@bigboy.spc.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/39777: New port: security/libsectok
Message-ID:  <20020624134953.3617B336A@bigboy.spc.org>

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

>Number:         39777
>Category:       ports
>Synopsis:       New port: security/libsectok
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 24 06:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Bruce M Simpson
>Release:        i	FreeBSD 4.5-STABLE i386
>Organization:
SPC
>Environment:
System: FreeBSD bigboy.spc.org 4.5-STABLE FreeBSD 4.5-STABLE #3: Sun Feb 3 21:06:15 GMT 2002 root@bigboy.spc.org:/usr/src/sys/compile/BIGBOY_SMP i386

>Description:
libsectok is an ISO 7816 Smart Card API.

--- libsectok.shar begins here ---
# 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:
#
#	libsectok
#	libsectok/Makefile
#	libsectok/distinfo
#	libsectok/pkg-plist
#	libsectok/pkg-comment
#	libsectok/pkg-descr
#	libsectok/files
#	libsectok/files/patch-Makefile
#
echo c - libsectok
mkdir -p libsectok > /dev/null 2>&1
echo x - libsectok/Makefile
sed 's/^X//' >libsectok/Makefile << 'END-of-libsectok/Makefile'
X# New ports collection makefile for:	libsectok
X# Date created:		24 June 2002
X# Whom:			Bruce M Simpson
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libsectok
XPORTVERSION=	20020103
XCATEGORIES=	security
XMASTER_SITES=	http://www.citi.umich.edu/projects/smartcard/
XDISTNAME=	libsectok
X
XMAINTAINER=	bms@spc.org
X
XINSTALLS_SHLIB= yes
XWRKSRC=         ${WRKDIR}/${PORTNAME}-${PORTVERSION}
XUSE_OPENSSL=	YES
X
X.include <bsd.port.mk>
END-of-libsectok/Makefile
echo x - libsectok/distinfo
sed 's/^X//' >libsectok/distinfo << 'END-of-libsectok/distinfo'
XMD5 (libsectok.tar.gz) = 0aaf105ecd3c759f5d1723c1d6a6a54a
END-of-libsectok/distinfo
echo x - libsectok/pkg-plist
sed 's/^X//' >libsectok/pkg-plist << 'END-of-libsectok/pkg-plist'
Xinclude/sectok.h
Xlib/libsectok.a
Xlib/libsectok.so.3.1
END-of-libsectok/pkg-plist
echo x - libsectok/pkg-comment
sed 's/^X//' >libsectok/pkg-comment << 'END-of-libsectok/pkg-comment'
XISO 7816 Smartcard API Library
END-of-libsectok/pkg-comment
echo x - libsectok/pkg-descr
sed 's/^X//' >libsectok/pkg-descr << 'END-of-libsectok/pkg-descr'
XThis is the libsectok library from citi.umich.edu. Originally targeted
Xfor OpenBSD. This is a quick port of the library itself; it contains an
XAPI for working with ISO 7816 Smart Card devices.
X
XWWW: http://www.citi.umich.edu/projects/smartcard/sectok.html
X
X - Bruce M Simpson <bms@spc.org>
END-of-libsectok/pkg-descr
echo c - libsectok/files
mkdir -p libsectok/files > /dev/null 2>&1
echo x - libsectok/files/patch-Makefile
sed 's/^X//' >libsectok/files/patch-Makefile << 'END-of-libsectok/files/patch-Makefile'
X--- Makefile.orig	Thu Jan  3 20:26:00 2002
X+++ Makefile	Mon Jun 24 14:41:11 2002
X@@ -1,10 +1,10 @@
X VERSION=	3.1
X TARGETS=	libsectok.a libsectok.so.$(VERSION) 
X-PREFIX=		/usr/local
X+PREFIX?=	/usr/local
X 
X # You might have to add -I/usr/include/openssl to CFLAGS
X CFLAGS=		-g -Wall -DDL_READERS
X-LDFLAGS=	-x -Bshareable -Bforcearchive -shared
X+LDFLAGS=	-shared -x --whole-archive
X 
X # You may have to add getopt.c to SRC if your getopt doesn't have optreset
X SRC=		atr.c cmdtab.c cyberflex.c input.c r1r2.c readers.c sc7816.c sectok.c
X@@ -47,6 +47,7 @@
X install :
X 	$(INSTALL) -m 755 sectok.h $(PREFIX)/include
X 	$(INSTALL) -m 755 $(TARGETS) $(PREFIX)/lib
X+	ln -s $(PREFIX)/lib/libsectok.so.${VERSION} $(PREFIX)/lib/libsectok.so.3
X 
X release :
X 	rm -rf $(RELEASE)
END-of-libsectok/files/patch-Makefile
exit
--- libsectok.shar ends here ---


>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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