blob: f1b5d91f99a1cb8239b1650e17e4c59038836e66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
SUBDIRS := cert certstore conf r2_certstore r3_certstore rule tool
install:
# if [ ! -d "/usr/local/bin" ]; then mkdir -p "/usr/local/bin"; fi
# if [ ! -d "/usr/local/lib" ]; then mkdir -p "/usr/local/lib"; fi
#
# cp -f etc/cert_store.ini /usr/local/etc/
#
# cp -f bin/cert_store /usr/local/bin/
# chmod +x certstore1.0
#
# cp -f lib/* /usr/local/lib/
# sudo ldconfig
if [ ! -d "/home/tsg/certstore" ]; then mkdir -p "/home/tsg/certstore"; fi
chmod +x certstore r2_certstore r3_certstore
chmod +x tool/signssl.sh tool/x509
for d in $(SUBDIRS); do \
cp -rf $$d /home/tsg/certstore; \
done
update:
chmod +x certstore
cp -f certstore /home/tsg/certstore
# cp -f bin/cert_server /usr/local/bin/
uninstall:
rm -rf /home/tsg/certstore
|