Ravenports generated: 12 Nov 2022 01:49
[ravenports.git] / bucket_A0 / pcsc-lite
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               pcsc-lite
4 VERSION=                1.9.9
5 KEYWORDS=               devel security
6 VARIANTS=               standard
7 SDESC[standard]=        Smartcard development library
8 HOMEPAGE=               https://pcsclite.apdu.fr/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            https://pcsclite.apdu.fr/files/
13 DISTFILE[1]=            pcsc-lite-1.9.9.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=                   cpe libtool perl:build pkgconfig shebangfix python
26
27 LICENSE=                BSD3CLAUSE:primary
28 LICENSE_FILE=           BSD3CLAUSE:{{WRKSRC}}/COPYING
29 LICENSE_SCHEME=         solo
30
31 CPE_VENDOR=             muscle
32 FPC_EQUIVALENT=         devel/pcsc-lite
33 SHEBANG_FILES=          src/spy/pcsc-spy
34
35 MUST_CONFIGURE=         gnu
36 CONFIGURE_ARGS=         --enable-usbdropdir={{PREFIX}}/lib/pcsc/drivers/
37                         --disable-libsystemd
38
39 INSTALL_TARGET=         install-strip
40 RC_SUBR=                pcscd:primary
41 SUB_FILES=              pkg-message-primary
42
43 VAR_OPSYS[netbsd]=      CONFIGURE_ARGS=--disable-usb
44
45 [FILTER].DESCRIPTION=                   Control reader names reported by PCSC
46 [FILTER].CONFIGURE_ENABLE_BOTH=         filter
47
48 post-patch:
49         ${REINPLACE_CMD} -e "s,^datadir,#datadir,; s,^data_DATA,#data_DATA," \
50                 ${WRKSRC}/doc/Makefile.in
51         ${REINPLACE_CMD} -e "s,libusb-1.0/libusb.h,libusb.h,; \
52                 s,libusb_strerror(ret),ret," ${WRKSRC}/configure \
53                         ${WRKSRC}/src/hotplug_libusb.c
54
55 post-install:
56         ${MKDIR} ${STAGEDIR}${PREFIX}/lib/pcsc/drivers
57         ${MKDIR} ${STAGEDIR}${PREFIX}/lib/pcsc/services
58
59 [FILE:224:descriptions/desc.primary]
60 This is a port of the MUSCLE PC/SC-Lite architecture.
61 Allows easy porting of Windows smartcard software to other
62 operating systems.  Supports many types of serial, PCMCIA,
63 and USB smartcard readers and cryptographic tokens.
64
65
66 [FILE:102:distinfo]
67 cbcc3b34c61f53291cecc0d831423c94d437b188eb2b97b7febc08de1c914e8a       789914 pcsc-lite-1.9.9.tar.bz2
68
69
70 [FILE:385:manifests/plist.primary]
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 @dir lib/pcsc/drivers
92 @dir lib/pcsc/services
93
94
95 [FILE:70:manifests/plist.docs]
96 share/doc/pcsc-lite/
97  README.polkit
98  install_spy.sh
99  uninstall_spy.sh
100
101
102 [FILE:310:files/pcscd.in]
103 #!/bin/sh
104 #
105 # PROVIDE:      pcscd
106 # REQUIRE:      LOGIN
107 # Add the following lines to /etc/rc.conf.local or /etc/rc.conf
108 # to enable this service:
109 #
110 # pcscd_enable="YES"
111
112 . /etc/rc.subr
113
114 name="pcscd"
115 rcvar=pcscd_enable
116
117 command="%%PREFIX%%/sbin/pcscd"
118
119 load_rc_config "$name"
120
121 : ${pcscd_enable="NO"}
122
123 run_rc_command "$1"
124
125
126 [FILE:694:files/pkg-message-primary.in]
127 ------------------------------------------------------------------------
128
129 PC/SC-Lite has been installed.
130 You need to install a driver for your smartcard reader e.g.
131 devel/libccid
132 security/ifd-slb_rf60
133
134 For cardreaders connected to the serial port: After installing the driver,
135 please update the pcscd configuration file
136 %%PREFIX%%/etc/reader.conf
137
138 For USB cardreaders add the following lines to /etc/devd.conf to enable
139 hotplugging.
140
141 attach 100 {
142         device-name "ugen[0-9]+";
143         action "%%PREFIX%%/sbin/pcscd -H";
144 };
145
146 detach 100 {
147         device-name "ugen[0-9]+";
148         action "%%PREFIX%%/sbin/pcscd -H";
149 };
150 ------------------------------------------------------------------------
151