Shell.Xu
10 years ago
14 changed files with 29 additions and 180 deletions
@ -1,6 +0,0 @@ |
|||
shadowsocks for Debian |
|||
---------------------- |
|||
|
|||
<possible notes regarding this package - if none, delete this file> |
|||
|
|||
-- Shell.Xu <shell909090@gmail.com> Sat, 23 Aug 2014 00:56:04 +0800 |
@ -1,9 +0,0 @@ |
|||
shadowsocks for Debian |
|||
---------------------- |
|||
|
|||
<this file describes information about the source package, see Debian policy |
|||
manual section 4.14. You WILL either need to modify or delete this file> |
|||
|
|||
|
|||
|
|||
|
@ -0,0 +1,11 @@ |
|||
{ |
|||
"server":"my_server_ip", |
|||
"server_port":8388, |
|||
"local_address": "127.0.0.1", |
|||
"local_port":1080, |
|||
"password":"mypassword", |
|||
"timeout":300, |
|||
"method":"aes-256-cfb", |
|||
"fast_open": false, |
|||
"workers": 1 |
|||
} |
@ -0,0 +1 @@ |
|||
debian/config.json etc/shadowsocks/ |
@ -1,2 +0,0 @@ |
|||
?package(shadowsocks):needs="X11|text|vc|wm" section="Applications/see-menu-manual"\ |
|||
title="shadowsocks" command="/usr/bin/shadowsocks" |
@ -1,39 +0,0 @@ |
|||
#!/bin/sh |
|||
# postinst script for shadowsocks |
|||
# |
|||
# see: dh_installdeb(1) |
|||
|
|||
set -e |
|||
|
|||
# summary of how this script can be called: |
|||
# * <postinst> `configure' <most-recently-configured-version> |
|||
# * <old-postinst> `abort-upgrade' <new version> |
|||
# * <conflictor's-postinst> `abort-remove' `in-favour' <package> |
|||
# <new-version> |
|||
# * <postinst> `abort-remove' |
|||
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' |
|||
# <failed-install-package> <version> `removing' |
|||
# <conflicting-package> <version> |
|||
# for details, see http://www.debian.org/doc/debian-policy/ or |
|||
# the debian-policy package |
|||
|
|||
|
|||
case "$1" in |
|||
configure) |
|||
;; |
|||
|
|||
abort-upgrade|abort-remove|abort-deconfigure) |
|||
;; |
|||
|
|||
*) |
|||
echo "postinst called with unknown argument \`$1'" >&2 |
|||
exit 1 |
|||
;; |
|||
esac |
|||
|
|||
# dh_installdeb will replace this with shell code automatically |
|||
# generated by other debhelper scripts. |
|||
|
|||
#DEBHELPER# |
|||
|
|||
exit 0 |
@ -1,37 +0,0 @@ |
|||
#!/bin/sh |
|||
# postrm script for shadowsocks |
|||
# |
|||
# see: dh_installdeb(1) |
|||
|
|||
set -e |
|||
|
|||
# summary of how this script can be called: |
|||
# * <postrm> `remove' |
|||
# * <postrm> `purge' |
|||
# * <old-postrm> `upgrade' <new-version> |
|||
# * <new-postrm> `failed-upgrade' <old-version> |
|||
# * <new-postrm> `abort-install' |
|||
# * <new-postrm> `abort-install' <old-version> |
|||
# * <new-postrm> `abort-upgrade' <old-version> |
|||
# * <disappearer's-postrm> `disappear' <overwriter> |
|||
# <overwriter-version> |
|||
# for details, see http://www.debian.org/doc/debian-policy/ or |
|||
# the debian-policy package |
|||
|
|||
|
|||
case "$1" in |
|||
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) |
|||
;; |
|||
|
|||
*) |
|||
echo "postrm called with unknown argument \`$1'" >&2 |
|||
exit 1 |
|||
;; |
|||
esac |
|||
|
|||
# dh_installdeb will replace this with shell code automatically |
|||
# generated by other debhelper scripts. |
|||
|
|||
#DEBHELPER# |
|||
|
|||
exit 0 |
@ -1,35 +0,0 @@ |
|||
#!/bin/sh |
|||
# preinst script for shadowsocks |
|||
# |
|||
# see: dh_installdeb(1) |
|||
|
|||
set -e |
|||
|
|||
# summary of how this script can be called: |
|||
# * <new-preinst> `install' |
|||
# * <new-preinst> `install' <old-version> |
|||
# * <new-preinst> `upgrade' <old-version> |
|||
# * <old-preinst> `abort-upgrade' <new-version> |
|||
# for details, see http://www.debian.org/doc/debian-policy/ or |
|||
# the debian-policy package |
|||
|
|||
|
|||
case "$1" in |
|||
install|upgrade) |
|||
;; |
|||
|
|||
abort-upgrade) |
|||
;; |
|||
|
|||
*) |
|||
echo "preinst called with unknown argument \`$1'" >&2 |
|||
exit 1 |
|||
;; |
|||
esac |
|||
|
|||
# dh_installdeb will replace this with shell code automatically |
|||
# generated by other debhelper scripts. |
|||
|
|||
#DEBHELPER# |
|||
|
|||
exit 0 |
@ -1,38 +0,0 @@ |
|||
#!/bin/sh |
|||
# prerm script for shadowsocks |
|||
# |
|||
# see: dh_installdeb(1) |
|||
|
|||
set -e |
|||
|
|||
# summary of how this script can be called: |
|||
# * <prerm> `remove' |
|||
# * <old-prerm> `upgrade' <new-version> |
|||
# * <new-prerm> `failed-upgrade' <old-version> |
|||
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> |
|||
# * <deconfigured's-prerm> `deconfigure' `in-favour' |
|||
# <package-being-installed> <version> `removing' |
|||
# <conflicting-package> <version> |
|||
# for details, see http://www.debian.org/doc/debian-policy/ or |
|||
# the debian-policy package |
|||
|
|||
|
|||
case "$1" in |
|||
remove|upgrade|deconfigure) |
|||
;; |
|||
|
|||
failed-upgrade) |
|||
;; |
|||
|
|||
*) |
|||
echo "prerm called with unknown argument \`$1'" >&2 |
|||
exit 1 |
|||
;; |
|||
esac |
|||
|
|||
# dh_installdeb will replace this with shell code automatically |
|||
# generated by other debhelper scripts. |
|||
|
|||
#DEBHELPER# |
|||
|
|||
exit 0 |
Loading…
Reference in new issue