Skip to content

Commit 1a3fdbf

Browse files
committed
pkg: remove non-related tools
1 parent de892da commit 1a3fdbf

File tree

7 files changed

+14
-64
lines changed

7 files changed

+14
-64
lines changed

.appveyor.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ platform:
66

77
configuration:
88
- Release
9-
- Light
9+
# - Light
1010

1111
environment:
1212
GH_TOKEN:
@@ -15,10 +15,10 @@ environment:
1515
OPENPACE_VER: 1.1.3
1616
ZLIB_VER_DOT: 1.3.1
1717
matrix:
18-
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
19-
VCVARSALL: "%ProgramFiles(x86)%/Microsoft Visual Studio/2017/Community/VC/Auxiliary/Build/vcvarsall.bat"
20-
OPENSSL_VER: "1.1.1"
21-
OPENSSL_DIR: "C:\\OpenSSL-v111"
18+
# - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
19+
# VCVARSALL: "%ProgramFiles(x86)%/Microsoft Visual Studio/2017/Community/VC/Auxiliary/Build/vcvarsall.bat"
20+
# OPENSSL_VER: "1.1.1"
21+
# OPENSSL_DIR: "C:\\OpenSSL-v111"
2222
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
2323
VCVARSALL: "%ProgramFiles(x86)%/Microsoft Visual Studio/2019/Community/VC/Auxiliary/Build/vcvarsall.bat"
2424
OPENSSL_DIR: "C:\\OpenSSL-v30"

appveyor.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ platform:
66

77
configuration:
88
- Release
9-
- Light
9+
# - Light
1010

1111
environment:
1212
GH_TOKEN:
@@ -15,10 +15,10 @@ environment:
1515
OPENPACE_VER: 1.1.3
1616
ZLIB_VER_DOT: 1.3.1
1717
matrix:
18-
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
19-
VCVARSALL: "%ProgramFiles(x86)%/Microsoft Visual Studio/2017/Community/VC/Auxiliary/Build/vcvarsall.bat"
20-
OPENSSL_VER: "1.1.1"
21-
OPENSSL_DIR: "C:\\OpenSSL-v111"
18+
# - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
19+
# VCVARSALL: "%ProgramFiles(x86)%/Microsoft Visual Studio/2017/Community/VC/Auxiliary/Build/vcvarsall.bat"
20+
# OPENSSL_VER: "1.1.1"
21+
# OPENSSL_DIR: "C:\\OpenSSL-v111"
2222
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
2323
VCVARSALL: "%ProgramFiles(x86)%/Microsoft Visual Studio/2019/Community/VC/Auxiliary/Build/vcvarsall.bat"
2424
OPENSSL_DIR: "C:\\OpenSSL-v30"

src/Makefile.mak

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
TOPDIR = ..
22

3-
SUBDIRS = common scconf ui sm pkcs15init \
4-
libopensc pkcs11 tools
3+
SUBDIRS = common scconf ui pkcs15init libopensc pkcs11 tools
54

65
default: all
76

@@ -11,14 +10,6 @@ default: all
1110
SUBDIRS = $(SUBDIRS) minidriver
1211
!ENDIF
1312

14-
!IF "$(SM_DEF)" == "/DENABLE_SM"
15-
SUBDIRS = $(SUBDIRS) smm
16-
!ENDIF
17-
18-
!IF "$(TESTS_DEF)" == "/DENABLE_TESTS"
19-
SUBDIRS = $(SUBDIRS) tests
20-
!ENDIF
21-
2213
all::
2314
copy /y common\compat_getopt.h getopt.h
2415
@for %i in ( $(SUBDIRS) ) do \

src/libopensc/Makefile.mak

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ LIBS = $(TOPDIR)\src\scconf\scconf.lib \
4444
$(TOPDIR)\src\common\libscdl.lib \
4545
$(TOPDIR)\src\ui\strings.lib \
4646
$(TOPDIR)\src\ui\notify.lib \
47-
$(TOPDIR)\src\sm\libsmiso.lib \
48-
$(TOPDIR)\src\sm\libsmeac.lib \
4947
$(TOPDIR)\src\pkcs15init\pkcs15init.lib
5048

5149
all: $(TOPDIR)\win32\versioninfo.res $(TARGET)

src/tools/Makefile.mak

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ default: all
44

55
!INCLUDE $(TOPDIR)\win32\Make.rules.mak
66

7-
TARGETS = opensc-tool.exe opensc-explorer.exe pkcs15-tool.exe pkcs15-crypt.exe \
8-
pkcs11-tool.exe cardos-tool.exe eidenv.exe openpgp-tool.exe iasecc-tool.exe safenet-tool.exe \
9-
opensc-notify.exe egk-tool.exe goid-tool.exe dtrust-tool.exe \
7+
TARGETS = opensc-tool.exe opensc-explorer.exe pkcs15-tool.exe \
8+
pkcs11-tool.exe iasecc-tool.exe safenet-tool.exe \
109
opensc-asn1.exe pkcs11-register.exe $(PROGRAMS_OPENSSL) $(PROGRAMS_OPENPACE)
1110

1211
OBJECTS = util.obj versioninfo-tools.res

win32/Make.rules.mak

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ OPENSSL_LIB = $(OPENSSL_DIR)\lib\VC\$(PLATFORM)\$(BUILD_TYPE)\libcrypto_static.l
6060
!ENDIF
6161
OPENSSL_LIB = $(OPENSSL_LIB) user32.lib advapi32.lib crypt32.lib ws2_32.lib
6262

63-
PROGRAMS_OPENSSL = cryptoflex-tool.exe pkcs15-init.exe netkey-tool.exe piv-tool.exe \
64-
westcos-tool.exe sc-hsm-tool.exe dnie-tool.exe gids-tool.exe
63+
PROGRAMS_OPENSSL = pkcs15-init.exe
6564
OPENSC_FEATURES = $(OPENSC_FEATURES) openssl
6665
WIXFLAGS = -d OpenSSL="$(OPENSSL_DIR)" $(WIXFLAGS)
6766
!ENDIF
@@ -94,26 +93,6 @@ WIXFLAGS = -d zlib="C:\zlib-dll" $(WIXFLAGS)
9493
!ENDIF
9594

9695

97-
# If you want support for EAC:
98-
# - Download OpenPACE and
99-
# - uncomment the line starting with OPENPACE_DEF
100-
# - set the OPENPACE_INCL_DIR below to the OpenPACE include directory preceded by "/I"
101-
# - set the OPENPACE_LIB below to your OpenPACE lib file
102-
#OPENPACE_DEF= /DENABLE_OPENPACE
103-
!IF "$(OPENPACE_DEF)" == "/DENABLE_OPENPACE"
104-
!IF "$(OPENPACE_DIR)" == ""
105-
OPENPACE_DIR = C:\openpace
106-
!ENDIF
107-
OPENPACE_INCL_DIR = /I$(OPENPACE_DIR)\src
108-
OPENPACE_LIB = $(OPENPACE_DIR)\src\libeac.lib
109-
!IF "$(OPENSSL_DEF)" == "/DENABLE_OPENSSL"
110-
# Build only when OpenPACE and OpenSSL are available
111-
PROGRAMS_OPENPACE = npa-tool.exe
112-
!ENDIF
113-
WIXFLAGS = -d OpenPACE="$(OPENPACE_DIR)" $(WIXFLAGS)
114-
!ENDIF
115-
116-
11796
# Used for MiniDriver
11897
CPDK_INCL_DIR = "/IC:\Program Files (x86)\Windows Kits\10\Cryptographic Provider Development Kit\Include"
11998

win32/OpenSC.wxs.in

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,6 @@
107107
<?ifdef zlib ?>
108108
<ComponentRef Id="zlib1.dll" />
109109
<?endif?>
110-
<?ifdef OpenSSL ?>
111-
<ComponentRef Id="smm_local.dll" />
112-
<?endif?>
113110
<?ifdef OpenPACE ?>
114111
<File Directory="INSTALLDIR_CVC" Source="$(var.SOURCE_DIR)\etc\DESRCACC100001" />
115112
<File Directory="INSTALLDIR_CVC" Source="$(var.SOURCE_DIR)\etc\DESCHSMCVCA00001" />
@@ -119,7 +116,6 @@
119116
<Feature Id="OpenSC_pkcs11" Level="1" Title="PKCS#11 module"
120117
Description="Security module that can be used by most cross-platform software, for example Firefox, Thunderbird, OpenVPN, etc.">
121118
<File Directory="INSTALLDIR_PKCS11" Source="$(var.SOURCE_DIR)\src\pkcs11\opensc-pkcs11.dll" />
122-
<File Directory="INSTALLDIR_PKCS11" Name="onepin-opensc-pkcs11.dll" Source="$(var.SOURCE_DIR)\src\pkcs11\opensc-pkcs11.dll" />
123119
</Feature>
124120

125121
<Feature Id="PKCS11_spy" Level="1" Title="PKCS#11 Spy module"
@@ -167,19 +163,6 @@
167163
<?endif?>
168164
<File Id="opensc.dll" Directory="INSTALLDIR_TOOLS" Source="$(var.SOURCE_DIR)\src\libopensc\opensc.dll" />
169165
<Files Directory="INSTALLDIR_TOOLS" Include="$(var.SOURCE_DIR)\src\tools\*.exe" />
170-
171-
<?ifdef OpenSSL ?>
172-
<File Directory="INSTALLDIR_TOOLS" Id="smm_local.dll" Source="$(var.SOURCE_DIR)\src\smm\smm-local.dll" />
173-
<Files Directory="INSTALLDIR_PROFILES" Include="$(var.SOURCE_DIR)\src\pkcs15init\*.profile" />
174-
<?endif?>
175-
176-
<Feature Id="OpenSC_autostart" Level="1" Title="Autostart entries"
177-
Description="After login, start smart card notifications.">
178-
<Component Condition="BUILD_ARCH = NATIVE_ARCH">
179-
<RegistryValue Root="HKMU" Key="Software\Microsoft\Windows\CurrentVersion\Run"
180-
Type="string" Name="opensc-notify.exe" Value="[INSTALLDIR_TOOLS]\opensc-notify.exe" />
181-
</Component>
182-
</Feature>
183166
</Feature>
184167

185168
<Feature Id="OpenSC_menu" Level="1" Title="Start menu entries"

0 commit comments

Comments
 (0)