Bug 39777 - New port: security/libsectok
Summary: New port: security/libsectok
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: Bruce M Simpson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-24 14:50 UTC by Bruce M Simpson
Modified: 2003-09-29 01:07 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruce M Simpson 2002-06-24 14:50:01 UTC
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 ---
Comment 1 Dag-Erling Smørgrav freebsd_committer freebsd_triage 2002-07-31 11:56:10 UTC
Responsible Changed
From-To: freebsd-ports->des

I'll handle this.
Comment 2 Dag-Erling Smørgrav freebsd_committer freebsd_triage 2003-08-19 11:38:04 UTC
Responsible Changed
From-To: des->bms

You have your own commit bit now :)
Comment 3 Bruce M Simpson freebsd_committer freebsd_triage 2003-09-29 01:07:13 UTC
State Changed
From-To: open->closed

Committed, thanks!