1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

New port: security/libsectok

PR:		ports/39777
This commit is contained in:
Bruce M Simpson 2003-09-29 00:05:14 +00:00
parent a5b076053e
commit 9c94da82a8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=89729
6 changed files with 61 additions and 0 deletions

View File

@ -147,6 +147,7 @@
SUBDIR += libmcrypt
SUBDIR += libparanoia
SUBDIR += libprelude
SUBDIR += libsectok
SUBDIR += libtasn1
SUBDIR += libwhisker
SUBDIR += liedentd

View File

@ -0,0 +1,23 @@
# New ports collection makefile for: libsectok
# Date created: 29 September 2003
# Whom: Bruce M Simpson <bms@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libsectok
PORTVERSION= 20030619
CATEGORIES= security
MASTER_SITES= http://www.citi.umich.edu/projects/smartcard/
DISTNAME= libsectok-${PORTVERSION}
MAINTAINER= bms@FreeBSD.org
COMMENT= ISO 7816 Smartcard API Library
INSTALLS_SHLIB= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_OPENSSL= YES
MAN3= sectok.3
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (libsectok-20030619.tar.gz) = 60dac935e7997f0fba3d9bc91f0e7d41

View File

@ -0,0 +1,24 @@
--- Makefile.orig Thu Jan 3 20:26:00 2002
+++ Makefile Fri Aug 23 13:12:59 2002
@@ -1,10 +1,10 @@
VERSION= 3.1
TARGETS= libsectok.a libsectok.so.$(VERSION)
-PREFIX= /usr/local
+PREFIX?= /usr/local
# You might have to add -I/usr/include/openssl to CFLAGS
CFLAGS= -g -Wall -DDL_READERS
-LDFLAGS= -x -Bshareable -Bforcearchive -shared
+LDFLAGS= -shared -x --whole-archive
# You may have to add getopt.c to SRC if your getopt doesn't have optreset
SRC= atr.c cmdtab.c cyberflex.c input.c r1r2.c readers.c sc7816.c sectok.c
@@ -47,6 +47,8 @@
install :
$(INSTALL) -m 755 sectok.h $(PREFIX)/include
$(INSTALL) -m 755 $(TARGETS) $(PREFIX)/lib
+ ln -s $(PREFIX)/lib/libsectok.so.${VERSION} $(PREFIX)/lib/libsectok.so.3
+ $(INSTALL) -m 644 sectok.3 $(PREFIX)/man/man3
release :
rm -rf $(RELEASE)

View File

@ -0,0 +1,8 @@
This is the libsectok library from citi.umich.edu. Originally targeted
for OpenBSD. This is a quick port of the library itself; it contains an
API for working with ISO 7816 Smart Card devices.
WWW: http://www.citi.umich.edu/projects/smartcard/sectok.html
Bruce
bms@FreeBSD.org

View File

@ -0,0 +1,4 @@
include/sectok.h
lib/libsectok.a
lib/libsectok.so.3.1
@unexec rm -f lib/libsectok.so.3