Ravenports generated: 10 Feb 2024 22:55
[ravenports.git] / bucket_A0 / pcsc-lite
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               pcsc-lite
4 VERSION=                2.0.1
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-2.0.1.tar.bz2:main
14 DF_INDEX=               1
15 SPKGS[standard]=        complete
16                         primary
17                         tools
18                         dev
19                         man
20                         docs
21
22 OPTIONS_AVAILABLE=      FILTER
23 OPTIONS_STANDARD=       FILTER
24
25 BUILDRUN_DEPENDS=       polkit:primary:standard
26 B_DEPS[sunos]=          libusb:dev:standard
27 B_DEPS[linux]=          libusb:dev:standard
28 BR_DEPS[sunos]=         libusb:primary:standard
29 BR_DEPS[linux]=         libusb:primary:standard
30 EXRUN[tools]=           primary
31
32 USES=                   cpe libtool perl:build pkgconfig python shebangfix
33 GNOME_COMPONENTS=       glib
34
35 LICENSE=                BSD3CLAUSE:primary
36 LICENSE_FILE=           BSD3CLAUSE:{{WRKSRC}}/COPYING
37 LICENSE_SCHEME=         solo
38
39 CPE_VENDOR=             muscle
40 FPC_EQUIVALENT=         devel/pcsc-lite
41 SHEBANG_FILES=          src/spy/pcsc-spy
42
43 MUST_CONFIGURE=         gnu
44 CONFIGURE_ARGS=         --enable-usbdropdir={{PREFIX}}/lib/pcsc/drivers/
45                         --disable-libsystemd
46
47 INSTALL_TARGET=         install-strip
48 RC_SUBR=                pcscd:primary
49 SUB_FILES=              pkg-message-primary
50
51 VAR_OPSYS[netbsd]=      CONFIGURE_ARGS=--disable-usb
52
53 [FILTER].DESCRIPTION=                   Control reader names reported by PCSC
54 [FILTER].CONFIGURE_ENABLE_BOTH=         filter
55
56 post-patch:
57         ${REINPLACE_CMD} -e "s,^datadir,#datadir,; s,^data_DATA,#data_DATA," \
58                 ${WRKSRC}/doc/Makefile.in
59         ${REINPLACE_CMD} -e "s,libusb-1.0/libusb.h,libusb.h,; \
60                 s,libusb_strerror(ret),ret," ${WRKSRC}/configure \
61                         ${WRKSRC}/src/hotplug_libusb.c
62
63 post-install:
64         ${MKDIR} ${STAGEDIR}${PREFIX}/lib/pcsc/drivers
65         ${MKDIR} ${STAGEDIR}${PREFIX}/lib/pcsc/services
66
67 [FILE:224:descriptions/desc.primary]
68 This is a port of the MUSCLE PC/SC-Lite architecture.
69 Allows easy porting of Windows smartcard software to other
70 operating systems.  Supports many types of serial, PCMCIA,
71 and USB smartcard readers and cryptographic tokens.
72
73
74 [FILE:499:descriptions/desc.tools]
75 On branch master
76 Your branch is up to date with 'origin/master'.
77
78 Changes not staged for commit:
79   (use "git add <file>..." to update what will be committed)
80   (use "git restore <file>..." to discard changes in working directory)
81         modified:   ../../../bucket_ED/veracrypt/distinfo
82         modified:   ../../../bucket_ED/veracrypt/specification
83
84 Untracked files:
85   (use "git add <file>..." to include in what will be committed)
86         desc.tools
87
88 no changes added to commit (use "git add" and/or "git commit -a")
89
90
91 [FILE:102:distinfo]
92 5edcaf5d4544403bdab6ee2b5d6c02c6f97ea64eebf0825b8d0fa61ba417dada       815103 pcsc-lite-2.0.1.tar.bz2
93
94
95 [FILE:134:manifests/plist.primary]
96 lib/
97  libpcsclite.so.1
98  libpcsclite.so.1.0.0
99  libpcscspy.so.0
100  libpcscspy.so.0.0.0
101 share/polkit-1/actions/org.debian.pcsc-lite.policy
102
103
104 [FILE:69:manifests/plist.tools]
105 bin/pcsc-spy
106 sbin/pcscd
107 @dir lib/pcsc/drivers
108 @dir lib/pcsc/services
109
110
111 [FILE:151:manifests/plist.dev]
112 include/PCSC/
113  debuglog.h
114  ifdhandler.h
115  pcsclite.h
116  reader.h
117  winscard.h
118  wintypes.h
119 lib/
120  libpcsclite.so
121  libpcscspy.so
122 lib/pkgconfig/libpcsclite.pc
123
124
125 [FILE:87:manifests/plist.man]
126 share/man/man1/pcsc-spy.1.gz
127 share/man/man5/reader.conf.5.gz
128 share/man/man8/pcscd.8.gz
129
130
131 [FILE:70:manifests/plist.docs]
132 share/doc/pcsc-lite/
133  README.polkit
134  install_spy.sh
135  uninstall_spy.sh
136
137
138 [FILE:310:files/pcscd.in]
139 #!/bin/sh
140 #
141 # PROVIDE:      pcscd
142 # REQUIRE:      LOGIN
143 # Add the following lines to /etc/rc.conf.local or /etc/rc.conf
144 # to enable this service:
145 #
146 # pcscd_enable="YES"
147
148 . /etc/rc.subr
149
150 name="pcscd"
151 rcvar=pcscd_enable
152
153 command="%%PREFIX%%/sbin/pcscd"
154
155 load_rc_config "$name"
156
157 : ${pcscd_enable="NO"}
158
159 run_rc_command "$1"
160
161
162 [FILE:694:files/pkg-message-primary.in]
163 ------------------------------------------------------------------------
164
165 PC/SC-Lite has been installed.
166 You need to install a driver for your smartcard reader e.g.
167 devel/libccid
168 security/ifd-slb_rf60
169
170 For cardreaders connected to the serial port: After installing the driver,
171 please update the pcscd configuration file
172 %%PREFIX%%/etc/reader.conf
173
174 For USB cardreaders add the following lines to /etc/devd.conf to enable
175 hotplugging.
176
177 attach 100 {
178         device-name "ugen[0-9]+";
179         action "%%PREFIX%%/sbin/pcscd -H";
180 };
181
182 detach 100 {
183         device-name "ugen[0-9]+";
184         action "%%PREFIX%%/sbin/pcscd -H";
185 };
186 ------------------------------------------------------------------------
187