Skip to content

Commit b19272a

Browse files
committed
Merge pull request apenwarr#7 from xtaran/master
Fix the most blatant issues of the generated .deb
2 parents 2cfc39f + bc2a0b7 commit b19272a

File tree

3 files changed

+23
-10
lines changed

3 files changed

+23
-10
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,16 @@ Required Software
1313

1414
- You need PyXAPI, available here:
1515
http://www.pps.univ-paris-diderot.fr/~ylg/PyXAPI/
16-
- You also need autossh, available in various package management systems
1716
- Python 2.x, both locally and the remote system
1817

1918

19+
Additional Suggested Software
20+
-----------------------------
21+
22+
- You may want to need autossh, available in various package management
23+
systems
24+
25+
2026
sshuttle: where transparent proxy meets VPN meets ssh
2127
=====================================================
2228

packaging/control

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
Package: sshuttle
2-
Version: 0.2
3-
Architecture: i386
2+
Version: 0+git
3+
Architecture: all
44
Maintainer: Jim Wyllie <[email protected]>
5-
Depends: autossh, upstart, python (>=2.6)
6-
Section: utils
5+
Depends: iptables, python (>= 2.6)
6+
Suggests: autossh
7+
Section: net
78
Priority: optional
8-
Homepage: http://github.com/jwyllie83/sshuttle.udp
9-
Description: "Full-featured" VPN over an SSH tunnel, allowing full remote
10-
access somewhere where all you have is an SSH connection. It works well if
11-
you generally find yourself in the following situation:
9+
Homepage: http://github.com/sshuttle/sshuttle
10+
Description: "Full-featured" VPN over an SSH tunnel
11+
It allows full remote access somewhere where all you have is an SSH
12+
connection. It works well if you generally find yourself in the
13+
following situation:
1214
.
1315
- Your client machine (or router) is Linux, FreeBSD, or MacOS.
1416
- You have access to a remote network via ssh.
@@ -22,5 +24,5 @@ Description: "Full-featured" VPN over an SSH tunnel, allowing full remote
2224
it's disabled by default on openssh servers; plus it does
2325
TCP-over-TCP, which has suboptimal performance
2426
.
25-
It also has hooks for more complicated setups (VPN-in-a-SSH-VPN, etc) to allow
27+
It also has hooks for more complicated setups (VPN-in-a-SSH-VPN, etc.) to allow
2628
you to set it up as you like.

packaging/make_deb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ cp ../src/sshuttle ${B}/usr/bin
2424
cp -r sshuttle.conf ${B}/etc/init
2525
cp prefixes.conf ${B}/etc/sshuttle
2626
cp tunnel.conf ${B}/etc/sshuttle
27+
# Remove MacOS X stuff from .deb
28+
rm -r ${B}/usr/share/sshuttle/ui-macos
29+
30+
# Fix path to main.py
31+
sed -e 's:^DIR=.*$:DIR=/usr/share/sshuttle/:' -i ${B}/usr/bin/sshuttle
2732

2833
# Copy the control file over, as well
2934
cp control ${B}/DEBIAN

0 commit comments

Comments
 (0)