Sorry, that was premature, have an additional patch. SR
-- Stefano Rivera http://tumbleweed.org.za/ H: +27 21 465 6908 C: +27 72 419 8559 UCT: x3127
diff -u vtun-3.0.2/debian/copyright vtun-3.0.2/debian/copyright --- vtun-3.0.2/debian/copyright +++ vtun-3.0.2/debian/copyright @@ -23,6 +23,18 @@ along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + In addition, as a special exception, the copyright holders give permission + to link the code of portions of this program with the OpenSSL library under + certain conditions as described in each individual source file, and + distribute linked combinations including the two. + + You must obey the GNU General Public License in all respects for all of the + code used other than OpenSSL. If you modify file(s) with this exception, you + may extend this exception to your version of the file(s), but you are not + obligated to do so. If you do not wish to do so, delete this exception + statement from your version. If you delete this exception statement from all + source files in the program, then also delete it here. + On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. diff -u vtun-3.0.2/debian/init.d vtun-3.0.2/debian/init.d --- vtun-3.0.2/debian/init.d +++ vtun-3.0.2/debian/init.d @@ -28,6 +28,8 @@ . /etc/default/$NAME fi +mkdir -p /var/run/vtund /var/lock/vtund + case "$1" in start) if [ -f /etc/vtund-start.conf ]; then diff -u vtun-3.0.2/debian/rules vtun-3.0.2/debian/rules --- vtun-3.0.2/debian/rules +++ vtun-3.0.2/debian/rules @@ -57,6 +57,8 @@ dh_installdirs $(MAKE) DESTDIR=$(CURDIR)/debian/vtun install + # Created in initscript: + rm -rf $(CURDIR)/debian/vtun/var/lock $(CURDIR)/debian/vtun/var/run #install -m 755 vtund $(CURDIR)/debian/vtun/usr/sbin/ # Those are then installed by dh_installexamples mkdir $(CURDIR)/debian/tmp