Import Debian changes 1.0.12-1
tinc (1.0.12-1) unstable; urgency=low * New upstream release. * Bump Standards-Version. * Migrate from CDBS to debhelper. * Convert source package to 3.0 (quilt) format. * Remove useless tinc.modules. * Use init.d script from Michael Tokarev, allowing per-network arguments to tincd. * Remove update-rc.d calls from postinst and postrm. * Let the init.d script depend on $remote_fs.
This commit is contained in:
parent
08ed40f17e
commit
0dd8a42607
7 changed files with 34 additions and 49 deletions
16
debian/changelog
vendored
16
debian/changelog
vendored
|
@ -1,18 +1,16 @@
|
||||||
tinc (1.0.12-1~bpo50) lenny-backports; urgency=low
|
tinc (1.0.12-1) unstable; urgency=low
|
||||||
|
|
||||||
* New upstream release.
|
* New upstream release.
|
||||||
* Keep debian/ from 1.0.11-1~bpo50.
|
* Bump Standards-Version.
|
||||||
|
* Migrate from CDBS to debhelper.
|
||||||
|
* Convert source package to 3.0 (quilt) format.
|
||||||
|
* Remove useless tinc.modules.
|
||||||
* Use init.d script from Michael Tokarev, allowing per-network arguments to
|
* Use init.d script from Michael Tokarev, allowing per-network arguments to
|
||||||
tincd.
|
tincd.
|
||||||
|
* Remove update-rc.d calls from postinst and postrm.
|
||||||
* Let the init.d script depend on $remote_fs.
|
* Let the init.d script depend on $remote_fs.
|
||||||
|
|
||||||
-- Guus Sliepen <guus@debian.org> Wed, 17 Feb 2010 22:00:31 +0000
|
-- Guus Sliepen <guus@debian.org> Thu, 04 Feb 2010 00:56:45 +0100
|
||||||
|
|
||||||
tinc (1.0.11-1~bpo50+1) lenny-backports; urgency=low
|
|
||||||
|
|
||||||
* Rebuild for lenny-backports.
|
|
||||||
|
|
||||||
-- Guus Sliepen <guus@debian.org> Thu, 04 Feb 2010 19:03:00 +0000
|
|
||||||
|
|
||||||
tinc (1.0.11-1) unstable; urgency=low
|
tinc (1.0.11-1) unstable; urgency=low
|
||||||
|
|
||||||
|
|
4
debian/control
vendored
4
debian/control
vendored
|
@ -2,8 +2,8 @@ Source: tinc
|
||||||
Section: net
|
Section: net
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Guus Sliepen <guus@debian.org>
|
Maintainer: Guus Sliepen <guus@debian.org>
|
||||||
Standards-Version: 3.8.3
|
Standards-Version: 3.8.4
|
||||||
Build-Depends: libssl-dev, debhelper (>= 7), gettext, texi2html, texinfo, zlib1g-dev, cdbs, liblzo2-dev
|
Build-Depends: libssl-dev, debhelper (>= 7.0.50~), gettext, texi2html, texinfo, zlib1g-dev, liblzo2-dev
|
||||||
Homepage: http://www.tinc-vpn.org/
|
Homepage: http://www.tinc-vpn.org/
|
||||||
|
|
||||||
Package: tinc
|
Package: tinc
|
||||||
|
|
10
debian/postinst
vendored
10
debian/postinst
vendored
|
@ -28,10 +28,7 @@ set -e
|
||||||
# installation fails and the `postinst' is called with `abort-upgrade',
|
# installation fails and the `postinst' is called with `abort-upgrade',
|
||||||
# `abort-remove' or `abort-deconfigure'.
|
# `abort-remove' or `abort-deconfigure'.
|
||||||
|
|
||||||
# Automatically added by dh_installinit, edited for use with debconf
|
|
||||||
if [ -x "/etc/init.d/tinc" ]; then
|
if [ -x "/etc/init.d/tinc" ]; then
|
||||||
update-rc.d tinc defaults >/dev/null
|
|
||||||
|
|
||||||
if [ "$1" = "configure" ] ; then
|
if [ "$1" = "configure" ] ; then
|
||||||
if dpkg --compare-versions "$2" lt "1.0pre5-4" ; then
|
if dpkg --compare-versions "$2" lt "1.0pre5-4" ; then
|
||||||
RET="true"
|
RET="true"
|
||||||
|
@ -46,8 +43,6 @@ if [ -x "/etc/init.d/tinc" ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# End automatically added section
|
|
||||||
|
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
configure)
|
configure)
|
||||||
|
@ -80,11 +75,6 @@ case "$1" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# dh_installdeb will replace this with shell code automatically
|
|
||||||
# generated by other debhelper scripts.
|
|
||||||
|
|
||||||
#DEBHELPER#
|
#DEBHELPER#
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
|
||||||
|
|
1
debian/postrm
vendored
1
debian/postrm
vendored
|
@ -3,7 +3,6 @@ set -e
|
||||||
# Automatically added by package maintainer
|
# Automatically added by package maintainer
|
||||||
if [ "$1" = purge ]; then
|
if [ "$1" = purge ]; then
|
||||||
rm -f /etc/tinc/nets.boot
|
rm -f /etc/tinc/nets.boot
|
||||||
update-rc.d tinc remove >/dev/null 2>/dev/null
|
|
||||||
fi
|
fi
|
||||||
# End automatically added section
|
# End automatically added section
|
||||||
|
|
||||||
|
|
39
debian/rules
vendored
39
debian/rules
vendored
|
@ -1,21 +1,30 @@
|
||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
# -*- makefile -*-
|
||||||
|
# Sample debian/rules that uses debhelper.
|
||||||
|
# This file was originally written by Joey Hess and Craig Small.
|
||||||
|
# As a special exception, when this file is copied by dh-make into a
|
||||||
|
# dh-make output file, you may use that output file without restriction.
|
||||||
|
# This special exception was added by Craig Small in version 0.37 of dh-make.
|
||||||
|
|
||||||
include /usr/share/cdbs/1/rules/debhelper.mk
|
# Uncomment this to turn on verbose mode.
|
||||||
#include /usr/share/cdbs/1/rules/simple-patchsys.mk
|
#export DH_VERBOSE=1
|
||||||
include /usr/share/cdbs/1/class/autotools.mk
|
|
||||||
|
|
||||||
# A bit of a kludge, we have our own init.d handling in postinst, but
|
%:
|
||||||
# cdbs calls dh_installinit anyway.
|
dh $@
|
||||||
DEB_DH_INSTALLINIT_ARGS = -n
|
|
||||||
|
|
||||||
clean::
|
override_dh_auto_build:
|
||||||
rm -rf src/device.c doc/tinc
|
dh_auto_build
|
||||||
build/tinc::
|
cd doc && $(MAKE) texi2html
|
||||||
cd doc && $(MAKE) texi2html
|
|
||||||
binary-post-install/tinc::
|
override_dh_auto_install:
|
||||||
|
dh_auto_install
|
||||||
# Guess where texi2html installed its output today...
|
# Guess where texi2html installed its output today...
|
||||||
[ -f doc/tinc/tinc.html ] \
|
[ -f doc/tinc/tinc.html ] \
|
||||||
&& mv -v doc/tinc/*.html debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/ \
|
&& mv doc/tinc/*.html debian/tinc/usr/share/doc/tinc/ \
|
||||||
|| mv -v doc/*.html debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/
|
|| mv doc/*.html debian/tinc/usr/share/doc/tinc/
|
||||||
rm -f debian/$(cdbs_curpkg)/usr/share/info/dir*
|
# Remove info dir file
|
||||||
cd debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/ && tar xzf ../../../../../../doc/sample-config.tar.gz && mv sample-config examples && rm -rf examples/CVS examples/hosts/CVS
|
rm -f debian/tinc/usr/share/info/dir
|
||||||
|
|
||||||
|
override_dh_clean:
|
||||||
|
dh_clean
|
||||||
|
rm -f src/device.c
|
||||||
|
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
3.0 (quilt)
|
12
debian/tinc.modules
vendored
12
debian/tinc.modules
vendored
|
@ -1,12 +0,0 @@
|
||||||
alias char-major-36 netlink_dev
|
|
||||||
alias char-major-10-200 tun
|
|
||||||
|
|
||||||
alias tap0 ethertap
|
|
||||||
alias tap1 ethertap
|
|
||||||
alias tap2 ethertap
|
|
||||||
alias tap3 ethertap
|
|
||||||
|
|
||||||
options tap0 -o tap0 -x unit=0
|
|
||||||
options tap1 -o tap1 -x unit=1
|
|
||||||
options tap2 -o tap2 -x unit=2
|
|
||||||
options tap3 -o tap3 -x unit=3
|
|
Loading…
Reference in a new issue