Mercurial > hg > anonet-resdb
comparison contrib/splice3/Makefile @ 639:15bbd88257a6 draft
added configurations to splice3 installations
author | d3v11 <d3v11@d3v11.ano> |
---|---|
date | Sat, 01 Oct 2011 14:01:03 -0500 |
parents | 7399891bf274 |
children |
comparison
equal
deleted
inserted
replaced
638:6753fb814c94 | 639:15bbd88257a6 |
---|---|
1 #!/usr/bin/make -f | 1 #!/usr/bin/make -f |
2 | 2 |
3 install-deb: | 3 install-deb: |
4 make clean | 4 make clean |
5 ./setup-deb | |
5 mkdir DEBIAN/splice3 | 6 mkdir DEBIAN/splice3 |
6 mkdir DEBIAN/splice3/DEBIAN | 7 mkdir DEBIAN/splice3/DEBIAN |
7 mkdir DEBIAN/splice3/usr | 8 mkdir DEBIAN/splice3/usr |
8 mkdir DEBIAN/splice3/usr/bin | 9 mkdir DEBIAN/splice3/usr/bin |
9 mkdir DEBIAN/splice3/etc | 10 mkdir DEBIAN/splice3/etc |
10 mkdir DEBIAN/splice3/etc/splice3 | 11 mkdir DEBIAN/splice3/etc/splice3 |
11 cp DEBIAN/control DEBIAN/splice3/DEBIAN/control | 12 cp DEBIAN/control DEBIAN/splice3/DEBIAN/control |
12 cp LINUX/splice3.py DEBIAN/splice3/usr/bin/splice3 | 13 cp LINUX/splice3.cp DEBIAN/splice3/usr/bin/splice3 |
13 cp LINUX/splice3-deshadow.py DEBIAN/splice3/usr/bin/splice3-deshadow | 14 cp LINUX/splice3-deshadow.cp DEBIAN/splice3/usr/bin/splice3-deshadow |
15 rm -rf LINUX/*.cp | |
14 chmod +x DEBIAN/splice3/usr/bin/splice3 | 16 chmod +x DEBIAN/splice3/usr/bin/splice3 |
15 chmod +x DEBIAN/splice3/usr/bin/splice3-deshadow | 17 chmod +x DEBIAN/splice3/usr/bin/splice3-deshadow |
16 cp SPLICE3/splice3.list DEBIAN/splice3/etc/splice3/splice3.list | 18 cp SPLICE3/splice3.list DEBIAN/splice3/etc/splice3/splice3.list |
17 cp LINUX/manual DEBIAN/splice3/etc/splice3/splice3.1 | 19 cp LINUX/manual DEBIAN/splice3/etc/splice3/splice3.1 |
18 gzip DEBIAN/splice3/etc/splice3/splice3.1 | 20 gzip DEBIAN/splice3/etc/splice3/splice3.1 |
27 dpkg -i DEBIAN/splice3.deb | 29 dpkg -i DEBIAN/splice3.deb |
28 rm -rf DEBIAN/splice3 DEBIAN/splice3.deb | 30 rm -rf DEBIAN/splice3 DEBIAN/splice3.deb |
29 | 31 |
30 install: | 32 install: |
31 make clean | 33 make clean |
34 ./setup | |
32 make uninstall | 35 make uninstall |
33 cp LINUX/splice3.py /usr/bin/splice3 | 36 cp LINUX/splice3.cp /usr/bin/splice3 |
34 cp LINUX/splice3-deshadow.py /usr/bin/splice3-deshadow | 37 cp LINUX/splice3-deshadow.cp /usr/bin/splice3-deshadow |
38 rm -rf LINUX/*.cp | |
35 chmod +x /usr/bin/splice3 | 39 chmod +x /usr/bin/splice3 |
36 chmod +x /usr/bin/splice3-deshadow | 40 chmod +x /usr/bin/splice3-deshadow |
37 mkdir /etc/splice3 | 41 mkdir /etc/splice3 |
38 cp SPLICE3/splice3.list /etc/splice3/splice3.list | 42 cp SPLICE3/splice3.list /etc/splice3/splice3.list |
39 cp LINUX/manual /etc/splice3/splice3.1 | 43 cp LINUX/manual /etc/splice3/splice3.1 |
49 uninstall: | 53 uninstall: |
50 rm -rf /etc/splice3 | 54 rm -rf /etc/splice3 |
51 rm -f /usr/bin/splice3 | 55 rm -f /usr/bin/splice3 |
52 rm -f /usr/bin/splice3-deshadow | 56 rm -f /usr/bin/splice3-deshadow |
53 | 57 |
54 update-tor: | |
55 usewithtor wget http://nbafkr7odek2wh6r.onion/splice3.tgz -O ../splice3.tgz | |
56 tar -xvf ../splice3.tgz --directory='../' | |
57 rm ../splice3.tgz | |
58 cat CHANGES | |
59 | |
60 update: | 58 update: |
61 wget http://www.d3v11.ano/splice3.tgz -O ../splice3.tgz | 59 wget http://www.d3v11.ano/splice3.tgz -O ../splice3.tgz |
62 tar -xvf ../splice3.tgz --directory='../' | 60 tar -xvf ../splice3.tgz --directory='../' |
63 rm ../splice3.tgz | 61 rm ../splice3.tgz |
64 cat CHANGES | |
65 | 62 |
66 clean: | 63 clean: |
67 rm DEBIAN/splice3 DEBIAN/*.deb -rf | 64 rm DEBIAN/splice3 DEBIAN/*.deb -rf |
68 |