mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-22 18:15:41 +08:00
debian files
This commit is contained in:
parent
e607c8b5d0
commit
346880eb2e
10
debian/3proxy.manpages
vendored
Normal file
10
debian/3proxy.manpages
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
man/3proxy.8
|
||||
man/3proxy.cfg.3
|
||||
man/ftppr.8
|
||||
man/icqpr.8
|
||||
man/pop3p.8
|
||||
man/proxy.8
|
||||
man/smtpp.8
|
||||
man/socks.8
|
||||
man/tcppm.8
|
||||
man/udppm.8
|
18
debian/changelog
vendored
Normal file
18
debian/changelog
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
3proxy (0.9.3-210629140419) buster; urgency=medium
|
||||
|
||||
*3proxy 0.9.3 build
|
||||
|
||||
-- z3APA3A <3apa3a@3proxy.org> Thu, 01 Jul 2021 19:48:44 +0300
|
||||
|
||||
3proxy (0.9.3-1) buster; urgency=medium
|
||||
|
||||
*3proxy 0.9.3 initial build
|
||||
|
||||
-- z3APA3A <3apa3a@3proxy.org> Thu, 03 Dec 2020 21:13:58 +0300
|
||||
|
||||
3proxy (0.9.2-1) buster; urgency=medium
|
||||
|
||||
*3proxy 0.9.2 initial build
|
||||
|
||||
-- z3APA3A <3apa3a@3proxy.org> Thu, 19 Nov 2020 19:19:19 +0300
|
||||
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
||||
9
|
4
debian/conffiles
vendored
Normal file
4
debian/conffiles
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
/usr/local/3proxy/conf/3proxy.cfg
|
||||
/usr/local/3proxy/conf/add3proxyuser.sh
|
||||
/usr/local/3proxy/conf/bandlimiters
|
||||
/usr/local/3proxy/conf/counters
|
18
debian/control
vendored
Normal file
18
debian/control
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
Source: 3proxy
|
||||
Maintainer: z3APA3A <3apa3a@3proxy.org>
|
||||
Section: net
|
||||
Priority: optional
|
||||
Standards-Version: 4.0.0
|
||||
Build-Depends: debhelper (>=10)
|
||||
Homepage: https://3proxy.org/
|
||||
Vcs-Git: https://github.com/z3APA3A/3proxy
|
||||
Vcs-Browser: https://github.com/z3APA3A/3proxy
|
||||
|
||||
Package: 3proxy
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: tiny free proxy server
|
||||
3Proxy tiny free proxy server is really tiny freeware proxy servers set.
|
||||
It includes HTTP proxy with HTTPS and FTP support, SOCKSv4/SOCKSv4.5/SOCKSv5 proxy (socks/socks.exe), POP3 proxy, SMTP proxy, FTP proxy, caching DNS proxy, TCP and UDP portmappers.
|
||||
You can use every proxy as a standalone program (socks, proxy, tcppm, udppm, pop3p) or use combined program (3proxy). Combined proxy additionally supports features like access control, bandwidth limiting, limiting daily/weekly/monthly traffic amount, proxy chaining, log rotation, syslog and ODBC logging, etc.
|
||||
It's created to be small, simple and yet very functional.
|
20
debian/copyright
vendored
Normal file
20
debian/copyright
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: 3proxy
|
||||
Upstream-Contact: 3proxy@3proxy.org
|
||||
Source: https://3proxy.org/
|
||||
|
||||
Files: *
|
||||
Copyright: 2000-2020 3APA3A, Vladimir Dubrovin, 3proxy.org
|
||||
License: BSD-3-clause or Apache or GPL-2+ or LGPL-2+
|
||||
|
||||
Files: src/libs/md*.*
|
||||
Copyright: 1990,1991,1992 RSA Data Security, Inc
|
||||
License: public-domain
|
||||
|
||||
Files: src/libs/regex.*
|
||||
Copyright: Henry Spencer
|
||||
License: public-domain
|
||||
|
||||
Files: src/libs/smbdes.c
|
||||
Copyright: Andrew Tridgell 1998
|
||||
License: GPL-2+
|
43
debian/postinst
vendored
Normal file
43
debian/postinst
vendored
Normal file
@ -0,0 +1,43 @@
|
||||
if [ ! -f /usr/local/3proxy/conf/passwd ]; then \
|
||||
touch /usr/local/3proxy/conf/passwd;\
|
||||
fi
|
||||
chown -R proxy:proxy /usr/local/3proxy
|
||||
chmod 550 /usr/local/3proxy/
|
||||
chmod 550 /usr/local/3proxy/conf/
|
||||
chmod 440 /usr/local/3proxy/conf/*
|
||||
if /bin/systemctl >/dev/null 2>&1; then \
|
||||
/usr/sbin/update-rc.d 3proxy disable || true; \
|
||||
/usr/sbin/chkconfig 3proxy off || true; \
|
||||
/bin/systemctl enable 3proxy.service; \
|
||||
elif [ -x /usr/sbin/update-rc.d ]; then \
|
||||
/usr/sbin/update-rc.d 3proxy defaults; \
|
||||
/usr/sbin/update-rc.d 3proxy enable; \
|
||||
elif [ -x /usr/sbin/chkconfig ]; then \
|
||||
/usr/sbin/chkconfig 3proxy on; \
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo 3proxy installed.
|
||||
if /bin/systemctl >/dev/null 2>&1; then \
|
||||
/bin/systemctl stop 3proxy.service \
|
||||
/bin/systemctl start 3proxy.service \
|
||||
echo use ;\
|
||||
echo " "systemctl start 3proxy.service ;\
|
||||
echo to start proxy ;\
|
||||
echo " "systemctl stop 3proxy.service ;\
|
||||
echo to stop proxy ;\
|
||||
elif [ -x /usr/sbin/service ]; then \
|
||||
/usr/sbin/service 3proxy stop || true;\
|
||||
/usr/sbin/service 3proxy start || true;\
|
||||
echo " "service 3proxy start ;\
|
||||
echo to start proxy ;\
|
||||
echo " "service 3proxy stop ;\
|
||||
echo to stop proxy ;\
|
||||
fi
|
||||
echo " "/usr/local/3proxy/conf/add3proxyuser.sh
|
||||
echo to add users
|
||||
echo ""
|
||||
echo Default config uses Google\'s DNS.
|
||||
echo It\'s recommended to use provider supplied DNS or install local recursor, e.g. pdns-recursor.
|
||||
echo Configure preferred DNS in /usr/local/3proxy/conf/3proxy.cfg.
|
||||
echo run \'/usr/local/3proxy/conf/add3proxyuser.sh admin password\' to configure \'admin\' user
|
4
debian/preinst
vendored
Normal file
4
debian/preinst
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
if [ -x /usr/sbin/useradd ]; then \
|
||||
/usr/bin/getent group proxy >/dev/null || (/usr/sbin/groupadd -f -r proxy || true); \
|
||||
/usr/bin/getent passwd proxy >/dev/null || (/usr/sbin/useradd -Mr -s /bin/false -g proxy -c 3proxy proxy || true); \
|
||||
fi
|
16
debian/rules
vendored
Normal file
16
debian/rules
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_build:
|
||||
ln -s Makefile.Linux Makefile || true
|
||||
dh_auto_build
|
||||
|
||||
override_dh_auto_clean:
|
||||
find src/ -type f -name "*.o" -delete
|
||||
find src/ -type f -name "Makefile.var" -delete
|
||||
find bin/ -type f -executable -delete
|
||||
rm -f Makefile
|
||||
|
||||
override_dh_usrlocal:
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
Loading…
Reference in New Issue
Block a user