Ravenports generated: 29 Apr 2018 18:37
[ravenports.git] / bucket_A0 / pcsc-lite
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               pcsc-lite
4 VERSION=                1.8.23
5 KEYWORDS=               devel security
6 VARIANTS=               standard
7 SDESC[standard]=        Smartcard development library
8 HOMEPAGE=               https://alioth.debian.org/projects/pcsclite/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            https://alioth.debian.org/frs/download.php/latestfile/39/
13 DISTFILE[1]=            pcsc-lite-1.8.23.tar.bz2:main
14 DF_INDEX=               1
15 SPKGS[standard]=        complete
16                         primary
17                         docs
18
19 OPTIONS_AVAILABLE=      FILTER
20 OPTIONS_STANDARD=       FILTER
21
22 BR_DEPS[sunos]=         libusb:single:standard
23 BR_DEPS[linux]=         libusb:single:standard
24
25 USES=                   libtool perl:build pkgconfig shebangfix python:py35
26
27 LICENSE=                BSD3CLAUSE:primary
28 LICENSE_FILE=           BSD3CLAUSE:{{WRKSRC}}/COPYING
29 LICENSE_SCHEME=         solo
30
31 FPC_EQUIVALENT=         devel/pcsc-lite
32 SHEBANG_FILES=          src/spy/pcsc-spy
33
34 MUST_CONFIGURE=         gnu
35 CONFIGURE_ARGS=         --enable-usbdropdir={{PREFIX}}/lib/pcsc/drivers/
36                         --disable-libsystemd
37                         --disable-libudev
38
39 INSTALL_TARGET=         install-strip
40 RC_SUBR=                pcscd:primary
41 SUB_FILES=              pkg-message-primary
42
43 [FILTER].DESCRIPTION=                   Control reader names reported by PCSC
44 [FILTER].CONFIGURE_ENABLE_BOTH=         filter
45
46 post-patch:
47         ${REINPLACE_CMD} -e "s,^datadir,#datadir,; s,^data_DATA,#data_DATA," \
48                 ${WRKSRC}/doc/Makefile.in
49         ${REINPLACE_CMD} -e "s,libusb-1.0/libusb.h,libusb.h,; \
50                 s,libusb_strerror(ret),ret," ${WRKSRC}/configure \
51                         ${WRKSRC}/src/hotplug_libusb.c
52
53 post-install:
54         @${MKDIR} ${STAGEDIR}${PREFIX}/lib/pcsc/drivers
55         @${MKDIR} ${STAGEDIR}${PREFIX}/lib/pcsc/services
56
57 [FILE:224:descriptions/desc.primary]
58 This is a port of the MUSCLE PC/SC-Lite architecture.
59 Allows easy porting of Windows smartcard software to other
60 operating systems.  Supports many types of serial, PCMCIA,
61 and USB smartcard readers and cryptographic tokens.
62
63
64 [FILE:103:distinfo]
65 5a27262586eff39cfd5c19aadc8891dd71c0818d3d629539bd631b958be689c9       749922 pcsc-lite-1.8.23.tar.bz2
66
67
68 [FILE:385:manifests/plist.primary]
69 @dir lib/pcsc/drivers
70 @dir lib/pcsc/services
71 bin/pcsc-spy
72 include/PCSC/
73  debuglog.h
74  ifdhandler.h
75  pcsclite.h
76  reader.h
77  winscard.h
78  wintypes.h
79 lib/
80  libpcsclite.so
81  libpcsclite.so.1
82  libpcsclite.so.1.0.0
83  libpcscspy.so
84  libpcscspy.so.0
85  libpcscspy.so.0.0.0
86 lib/pkgconfig/libpcsclite.pc
87 sbin/pcscd
88 share/man/man1/pcsc-spy.1.gz
89 share/man/man5/reader.conf.5.gz
90 share/man/man8/pcscd.8.gz
91
92
93 [FILE:51:manifests/plist.docs]
94 share/doc/pcsc-lite/
95  README.DAEMON
96  README.polkit
97
98
99 [FILE:310:files/pcscd.in]
100 #!/bin/sh
101 #
102 # PROVIDE:      pcscd
103 # REQUIRE:      LOGIN
104 # Add the following lines to /etc/rc.conf.local or /etc/rc.conf
105 # to enable this service:
106 #
107 # pcscd_enable="YES"
108
109 . /etc/rc.subr
110
111 name="pcscd"
112 rcvar=pcscd_enable
113
114 command="%%PREFIX%%/sbin/pcscd"
115
116 load_rc_config "$name"
117
118 : ${pcscd_enable="NO"}
119
120 run_rc_command "$1"
121
122
123 [FILE:694:files/pkg-message-primary.in]
124 ------------------------------------------------------------------------
125
126 PC/SC-Lite has been installed.
127 You need to install a driver for your smartcard reader e.g.
128 devel/libccid
129 security/ifd-slb_rf60
130
131 For cardreaders connected to the serial port: After installing the driver,
132 please update the pcscd configuration file
133 %%PREFIX%%/etc/reader.conf
134
135 For USB cardreaders add the following lines to /etc/devd.conf to enable
136 hotplugging.
137
138 attach 100 {
139         device-name "ugen[0-9]+";
140         action "%%PREFIX%%/sbin/pcscd -H";
141 };
142
143 detach 100 {
144         device-name "ugen[0-9]+";
145         action "%%PREFIX%%/sbin/pcscd -H";
146 };
147 ------------------------------------------------------------------------
148