diff -Nru mosh-1.1.3/debian/changelog mosh-1.1.3/debian/changelog --- mosh-1.1.3/debian/changelog 2012-04-04 01:50:22.000000000 +0900 +++ mosh-1.1.3/debian/changelog 2012-04-20 10:23:40.000000000 +0900 @@ -1,3 +1,9 @@ +mosh (1.1.3-1ubuntu1) precise; urgency=low + + * add ufw integrations. + + -- Fumihito YOSHIDA Fri, 20 Apr 2012 10:23:26 +0900 + mosh (1.1.3-1) unstable; urgency=low * Version 1.1.3 released. diff -Nru mosh-1.1.3/debian/mosh.ufw.profile mosh-1.1.3/debian/mosh.ufw.profile --- mosh-1.1.3/debian/mosh.ufw.profile 1970-01-01 09:00:00.000000000 +0900 +++ mosh-1.1.3/debian/mosh.ufw.profile 2012-04-20 10:21:26.000000000 +0900 @@ -0,0 +1,4 @@ +[mosh] +title=Mobile shell that supports roaming and intelligent local echo. +description=The mosh provides alternative remote shell that supports roaming and intelligent local echo. +ports=60000:61000/udp diff -Nru mosh-1.1.3/debian/rules mosh-1.1.3/debian/rules --- mosh-1.1.3/debian/rules 2012-03-07 18:26:45.000000000 +0900 +++ mosh-1.1.3/debian/rules 2012-04-20 10:34:26.000000000 +0900 @@ -9,6 +9,8 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +DESTDIR=`pwd`/debian/mosh + %: dh $@ --with autoreconf @@ -17,3 +19,10 @@ --disable-silent-rules \ --enable-compile-warnings=error \ --with-skalibs=/usr/lib/skalibs + +override_dh_auto_install: + dh_auto_install + + # Ubuntu things + mkdir -p $(DESTDIR)/etc/ufw/applications.d + install -m644 debian/mosh.ufw.profile $(DESTDIR)/etc/ufw/applications.d/mosh