summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild-ucspi-tcp6125
-rw-r--r--ucspi-tcp6-deb/debian/README.Debian8
-rw-r--r--ucspi-tcp6-deb/debian/changelog6
-rw-r--r--ucspi-tcp6-deb/debian/clean12
-rw-r--r--ucspi-tcp6-deb/debian/control18
-rw-r--r--ucspi-tcp6-deb/debian/copyright150
-rw-r--r--ucspi-tcp6-deb/debian/install16
-rw-r--r--ucspi-tcp6-deb/debian/manpages2
-rw-r--r--ucspi-tcp6-deb/debian/patches/000-conf.patch21
-rw-r--r--ucspi-tcp6-deb/debian/patches/series2
-rwxr-xr-xucspi-tcp6-deb/debian/rules29
-rw-r--r--ucspi-tcp6-deb/debian/watch3
12 files changed, 267 insertions, 125 deletions
diff --git a/build-ucspi-tcp6 b/build-ucspi-tcp6
deleted file mode 100755
index f2e44d1..0000000
--- a/build-ucspi-tcp6
+++ /dev/null
@@ -1,125 +0,0 @@
-#!/bin/sh
-
-set -eu
-
-name=ucspi-tcp6
-version=1.13.00
-upname=${name}_$version.orig.tar.gz
-srcname=$name-$version
-rel_project_root=$name/$name-$version
-abs_project_root=$name-$version/$rel_project_root
-
-wget https://www.fehcom.de/ipnet/$name/$name-$version.tgz
-ln -sf $name-$version.tgz $upname
-tar -xf $upname
-mv net $srcname
-cd $srcname
-debmake --email jannis@fehcom.de --fullname 'Jannis M. Hoffmann'
-
-patch debian/control <<'END'
-2c2
-< Section: unknown
----
-> Section: net
-5c5
-< Build-Depends: debhelper-compat (= 13)
----
-> Build-Depends: debhelper-compat (= 13), dh-exec, libqlibs
-7c7
-< Homepage: <insert the upstream URL, if relevant>
----
-> Homepage: https://www.fehcom.de/ipnet/ucspi-tcp6.html
-END
-
-cat <<END >debian/rules
-#!/usr/bin/make -f
-# You must remove unused comment lines for the released package.
-export DH_VERBOSE = 1
-#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
-#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
-
-%:
- dh \$@ --buildsystem=none
-
-override_dh_auto_clean:
- rm -f $rel_project_root/conf-cc
- rm -f $rel_project_root/conf-ld
- \$(MAKE) -C $rel_project_root/src clean
- rm -f $rel_project_root/src/home
-
-override_dh_auto_configure:
- echo "\$(CC) -Iinclude \`pkg-config -cflags qlibs\` \$(CFLAGS)" >$rel_project_root/conf-cc
- echo \$(CC) >$rel_project_root/conf-ld
- touch $rel_project_root/src/home
-
-override_dh_auto_build:
- \$(MAKE) -C $rel_project_root/src default
-END
-
-cat <<END >debian/manpages
-$rel_project_root/man/*.1
-$rel_project_root/man/*.5
-END
-
-cat <<END >debian/install
-$rel_project_root/src/addcr usr/bin
-$rel_project_root/src/argv0 usr/bin
-$rel_project_root/src/date@ usr/bin
-$rel_project_root/src/delcr usr/bin
-$rel_project_root/src/finger@ usr/bin
-$rel_project_root/src/fixcrio usr/bin
-$rel_project_root/src/http@ usr/bin
-$rel_project_root/src/mconnect usr/bin
-$rel_project_root/src/rblsmtpd usr/bin
-$rel_project_root/src/recordio usr/bin
-$rel_project_root/src/tcpcat usr/bin
-$rel_project_root/src/tcpclient usr/bin
-$rel_project_root/src/tcprules usr/bin
-$rel_project_root/src/tcprulescheck usr/bin
-$rel_project_root/src/tcpserver usr/bin
-$rel_project_root/src/who@ usr/bin
-END
-
-cat <<END >debian/clean
-$rel_project_root/src/ip4_bit.o
-$rel_project_root/src/ip6_bit.o
-$rel_project_root/src/remoteinfo.o
-$rel_project_root/src/rules.o
-$rel_project_root/src/argv0
-$rel_project_root/src/argv0.o
-$rel_project_root/src/commands.o
-$rel_project_root/src/rblsmtpd
-$rel_project_root/src/rblsmtpd.o
-$rel_project_root/src/date@
-$rel_project_root/src/finger@
-$rel_project_root/src/http@
-END
-
-cat <<END >debian/patches/000-conf.patch
-Author: Jannis M. Hoffmann
-Description: Adjust build configuration so that the \`configure' step creates conf-XX files.
-
---- /dev/null
-+++ $abs_project_root/src/home
-@@ -0,0 +0,1 @@
-+
-
---- $abs_project_root/conf-cc
-+++ /dev/null
-@@ -0,3 +0,0 @@
--cc -O2 -g -Wall -I\`head -1 ../conf-qlibs\`/include
--
--This will be used to compile .c files.
-
---- $abs_project_root/conf-ld
-+++ /dev/null
-@@ -0,3 +0,0 @@
--cc -s -L\`head -1 ../conf-qlibs\`
--
--This will be used to link .o files into an executable.
-END
-
-printf 000-conf.patch >>debian/patches/series
-
-rm debian/source/control debian/tests/control
diff --git a/ucspi-tcp6-deb/debian/README.Debian b/ucspi-tcp6-deb/debian/README.Debian
new file mode 100644
index 0000000..5f7799a
--- /dev/null
+++ b/ucspi-tcp6-deb/debian/README.Debian
@@ -0,0 +1,8 @@
+ucspi-tcp6 for Debian
+
+Please edit this to provide information specific to
+this ucspi-tcp6 Debian package.
+
+ (Automatically generated by debmake Version 4.4.0)
+
+ -- Jannis M. Hoffmann <jannis@fehcom.de> Sat, 07 Sep 2024 19:15:38 +0200
diff --git a/ucspi-tcp6-deb/debian/changelog b/ucspi-tcp6-deb/debian/changelog
new file mode 100644
index 0000000..3f7fc43
--- /dev/null
+++ b/ucspi-tcp6-deb/debian/changelog
@@ -0,0 +1,6 @@
+ucspi-tcp6 (1.13.00-1) UNRELEASED; urgency=low
+
+ * Initial release. Closes: #nnnn
+ <nnnn is the bug number of your ITP>
+
+ -- Jannis M. Hoffmann <jannis@fehcom.de> Sat, 07 Sep 2024 19:15:38 +0200
diff --git a/ucspi-tcp6-deb/debian/clean b/ucspi-tcp6-deb/debian/clean
new file mode 100644
index 0000000..56caf22
--- /dev/null
+++ b/ucspi-tcp6-deb/debian/clean
@@ -0,0 +1,12 @@
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/ip4_bit.o
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/ip6_bit.o
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/remoteinfo.o
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/rules.o
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/argv0
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/argv0.o
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/commands.o
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/rblsmtpd
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/rblsmtpd.o
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/date@
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/finger@
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/http@
diff --git a/ucspi-tcp6-deb/debian/control b/ucspi-tcp6-deb/debian/control
new file mode 100644
index 0000000..3fe1ca9
--- /dev/null
+++ b/ucspi-tcp6-deb/debian/control
@@ -0,0 +1,18 @@
+Source: ucspi-tcp6
+Section: net
+Priority: optional
+Maintainer: Jannis M. Hoffmann <jannis@fehcom.de>
+Build-Depends: debhelper-compat (= 13), dh-exec, libqlibs
+Standards-Version: 4.5.1
+Homepage: https://www.fehcom.de/ipnet/ucspi-tcp6.html
+Rules-Requires-Root: no
+#Vcs-Git: https://salsa.debian.org/debian/ucspi-tcp6.git
+#Vcs-Browser: https://salsa.debian.org/debian/ucspi-tcp6
+
+Package: ucspi-tcp6
+Architecture: any
+Multi-Arch: foreign
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: auto-generated package by debmake
+ This Debian binary package was auto-generated by the
+ debmake(1) command provided by the debmake package.
diff --git a/ucspi-tcp6-deb/debian/copyright b/ucspi-tcp6-deb/debian/copyright
new file mode 100644
index 0000000..2c385fc
--- /dev/null
+++ b/ucspi-tcp6-deb/debian/copyright
@@ -0,0 +1,150 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ucspi-tcp6
+Upstream-Contact: <preferred name and address to reach the upstream project>
+Source: <url://example.com>
+#
+# Please double check copyright with the licensecheck(1) command.
+
+Files: ucspi-tcp6/ucspi-tcp6-1.13.00/INSTALL.md
+ ucspi-tcp6/ucspi-tcp6-1.13.00/README.md
+ ucspi-tcp6/ucspi-tcp6-1.13.00/conf-cc
+ ucspi-tcp6/ucspi-tcp6-1.13.00/conf-home
+ ucspi-tcp6/ucspi-tcp6-1.13.00/conf-ld
+ ucspi-tcp6/ucspi-tcp6-1.13.00/conf-man
+ ucspi-tcp6/ucspi-tcp6-1.13.00/conf-qlibs
+ ucspi-tcp6/ucspi-tcp6-1.13.00/doc/CHANGELOG
+ ucspi-tcp6/ucspi-tcp6-1.13.00/doc/README_RTS.md
+ ucspi-tcp6/ucspi-tcp6-1.13.00/doc/TODO
+ ucspi-tcp6/ucspi-tcp6-1.13.00/man/Makefile
+ ucspi-tcp6/ucspi-tcp6-1.13.00/man/Makefile.mandoc
+ ucspi-tcp6/ucspi-tcp6-1.13.00/man/TARGETS
+ ucspi-tcp6/ucspi-tcp6-1.13.00/man/addcr.1
+ ucspi-tcp6/ucspi-tcp6-1.13.00/man/argv0.1
+ ucspi-tcp6/ucspi-tcp6-1.13.00/man/date@.1
+ ucspi-tcp6/ucspi-tcp6-1.13.00/man/delcr.1
+ ucspi-tcp6/ucspi-tcp6-1.13.00/man/finger@.1
+ ucspi-tcp6/ucspi-tcp6-1.13.00/man/fixcrio.1
+ ucspi-tcp6/ucspi-tcp6-1.13.00/man/http@.1
+ ucspi-tcp6/ucspi-tcp6-1.13.00/man/mconnect.1
+ ucspi-tcp6/ucspi-tcp6-1.13.00/man/rblsmtpd.1
+ ucspi-tcp6/ucspi-tcp6-1.13.00/man/recordio.1
+ ucspi-tcp6/ucspi-tcp6-1.13.00/man/tcp-environ.5
+ ucspi-tcp6/ucspi-tcp6-1.13.00/man/tcpcat.1
+ ucspi-tcp6/ucspi-tcp6-1.13.00/man/tcpclient.1
+ ucspi-tcp6/ucspi-tcp6-1.13.00/man/tcprules.1
+ ucspi-tcp6/ucspi-tcp6-1.13.00/man/tcprulescheck.1
+ ucspi-tcp6/ucspi-tcp6-1.13.00/man/tcpserver.1
+ ucspi-tcp6/ucspi-tcp6-1.13.00/man/who@.1
+ ucspi-tcp6/ucspi-tcp6-1.13.00/package/build
+ ucspi-tcp6/ucspi-tcp6-1.13.00/package/command-cp
+ ucspi-tcp6/ucspi-tcp6-1.13.00/package/command-ln
+ ucspi-tcp6/ucspi-tcp6-1.13.00/package/commands-base
+ ucspi-tcp6/ucspi-tcp6-1.13.00/package/compile
+ ucspi-tcp6/ucspi-tcp6-1.13.00/package/files
+ ucspi-tcp6/ucspi-tcp6-1.13.00/package/install
+ ucspi-tcp6/ucspi-tcp6-1.13.00/package/man
+ ucspi-tcp6/ucspi-tcp6-1.13.00/package/path
+ ucspi-tcp6/ucspi-tcp6-1.13.00/package/report
+ ucspi-tcp6/ucspi-tcp6-1.13.00/package/rts
+ ucspi-tcp6/ucspi-tcp6-1.13.00/package/run
+ ucspi-tcp6/ucspi-tcp6-1.13.00/package/upgrade
+ ucspi-tcp6/ucspi-tcp6-1.13.00/package/version
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/Makefile
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/TARGETS
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/addcr.c
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/argv0.c
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/auto-str.c
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/auto_home.h
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/chkshsgr.c
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/choose.sh
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/commands.c
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/commands.h
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/date@.sh
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/delcr.c
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/exp.base
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/exp.it
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/find-systype.sh
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/finger@.sh
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/fixcrio.c
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/fork.h1
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/fork.h2
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/hassgact.h1
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/hassgact.h2
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/hassgprm.h1
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/hassgprm.h2
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/hasshsgr.h1
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/hasshsgr.h2
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/http@.sh
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/ip4_bit.c
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/ip6_bit.c
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/ip_bit.h
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/it-base=d
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/it=d
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/mconnect-io.c
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/mconnect.sh
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/rblsmtpd.c
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/recordio.c
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/remoteinfo.c
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/remoteinfo.h
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/rts.base
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/rts.it
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/rules.c
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/rules.h
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/tcpcat.sh
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/tcpclient.c
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/tcprules.c
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/tcprulescheck.c
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/tcpserver.c
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/trycpp.c
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/trylsock.c
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/trysgact.c
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/trysgprm.c
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/tryshsgr.c
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/tryvfork.c
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/warn-auto.sh
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/warn-shsgr
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/who@.sh
+ ucspi-tcp6/ucspi-tcp6-1.13.00/src/x86cpuid.c
+Copyright: __NO_COPYRIGHT_NOR_LICENSE__
+License: __NO_COPYRIGHT_NOR_LICENSE__
+
+Files: ucspi-tcp6/ucspi-tcp6-1.13.00/doc/HISTORY
+Copyright: 2000 D. J. Bernstein ucspi-tcp home page: http://cr.yp.to/ucspi-tcp.html
+License: __UNKNOWN__
+ ucspi-tcp-0.88-man-20020317.tar.gz
+ 20020318
+ Copyright 2002
+ G. Pape
+ man pages home: http://smarden.org/pape/djb/
+ .
+ ucspi-tcp-0.88-ipv6.diff19.bz2
+ 20090319
+ Copyright 2009
+ F. von Leitner
+ patch home page: http://www.fefe.de/ucspi/
+ .
+ rblsmtpd Greetdelay option
+ 20080227
+ Copyright 2008
+ E. Hoffmann
+ qmail home page: http://www.fehcom.de/qmail.html
+ .
+ tcpserver IPv4 CIDR address parser
+ 20120209 (Bachelor thesis)
+ Copyright 2012
+ J. Wehrenbrecht
+ .
+ tcpserver compactified IPv6 address CIDR parser
+ 20120823 (Bachelor thesis)
+ Copyright 2012
+ L. B. Minh
+ .
+ rblsmtpd IPv6 inverse nibble computation
+ partly taken from the 'ucspi-tcp-0.88-ipv6.patch'
+ Copyright 2009
+ Brandon Turner
+ http://www.brandonturner.net/blog/2009/08/qmail-ipv6/
+
+#----------------------------------------------------------------------------
+# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following
+# license/copyright files.
diff --git a/ucspi-tcp6-deb/debian/install b/ucspi-tcp6-deb/debian/install
new file mode 100644
index 0000000..ec56e3a
--- /dev/null
+++ b/ucspi-tcp6-deb/debian/install
@@ -0,0 +1,16 @@
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/addcr usr/bin
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/argv0 usr/bin
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/date@ usr/bin
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/delcr usr/bin
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/finger@ usr/bin
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/fixcrio usr/bin
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/http@ usr/bin
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/mconnect usr/bin
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/rblsmtpd usr/bin
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/recordio usr/bin
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/tcpcat usr/bin
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/tcpclient usr/bin
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/tcprules usr/bin
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/tcprulescheck usr/bin
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/tcpserver usr/bin
+ucspi-tcp6/ucspi-tcp6-1.13.00/src/who@ usr/bin
diff --git a/ucspi-tcp6-deb/debian/manpages b/ucspi-tcp6-deb/debian/manpages
new file mode 100644
index 0000000..7ef24ab
--- /dev/null
+++ b/ucspi-tcp6-deb/debian/manpages
@@ -0,0 +1,2 @@
+ucspi-tcp6/ucspi-tcp6-1.13.00/man/*.1
+ucspi-tcp6/ucspi-tcp6-1.13.00/man/*.5
diff --git a/ucspi-tcp6-deb/debian/patches/000-conf.patch b/ucspi-tcp6-deb/debian/patches/000-conf.patch
new file mode 100644
index 0000000..17d86e7
--- /dev/null
+++ b/ucspi-tcp6-deb/debian/patches/000-conf.patch
@@ -0,0 +1,21 @@
+Author: Jannis M. Hoffmann
+Description: Adjust build configuration so that the `configure' step creates conf-XX files.
+
+--- /dev/null
++++ ucspi-tcp6-deb/ucspi-tcp6/ucspi-tcp6-1.13.00/src/home
+@@ -0,0 +0,1 @@
++
+
+--- ucspi-tcp6-deb/ucspi-tcp6/ucspi-tcp6-1.13.00/conf-cc
++++ /dev/null
+@@ -0,3 +0,0 @@
+-cc -O2 -g -Wall -I`head -1 ../conf-qlibs`/include
+-
+-This will be used to compile .c files.
+
+--- ucspi-tcp6-deb/ucspi-tcp6/ucspi-tcp6-1.13.00/conf-ld
++++ /dev/null
+@@ -0,3 +0,0 @@
+-cc -s -L`head -1 ../conf-qlibs`
+-
+-This will be used to link .o files into an executable.
diff --git a/ucspi-tcp6-deb/debian/patches/series b/ucspi-tcp6-deb/debian/patches/series
new file mode 100644
index 0000000..97ee046
--- /dev/null
+++ b/ucspi-tcp6-deb/debian/patches/series
@@ -0,0 +1,2 @@
+# You must remove unused comment lines for the released package.
+000-conf.patch \ No newline at end of file
diff --git a/ucspi-tcp6-deb/debian/rules b/ucspi-tcp6-deb/debian/rules
new file mode 100755
index 0000000..5b41dbb
--- /dev/null
+++ b/ucspi-tcp6-deb/debian/rules
@@ -0,0 +1,29 @@
+#!/usr/bin/make -f
+# You must remove unused comment lines for the released package.
+export DH_VERBOSE = 1
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+UPSTREAM_VERSION := $(shell dpkg-parsechangelog --show-field Version | cut -d- -f1)
+
+get-orig-source:
+ uscan --download-current-version
+
+%:
+ dh $@ --buildsystem=none
+
+override_dh_auto_clean:
+ -tar -xf ../ucspi-tcp6_$(UPSTREAM_VERSION).orig.tar.gz --strip-components=1
+ rm -f ucspi-tcp6/ucspi-tcp6-$(UPSTREAM_VERSION)/conf-cc
+ rm -f ucspi-tcp6/ucspi-tcp6-$(UPSTREAM_VERSION)/conf-ld
+ $(MAKE) -C ucspi-tcp6/ucspi-tcp6-$(UPSTREAM_VERSION)/src clean
+ rm -f ucspi-tcp6/ucspi-tcp6-$(UPSTREAM_VERSION)/src/home
+
+override_dh_auto_configure:
+ echo "$(CC) -Iinclude `pkg-config -cflags qlibs` $(CFLAGS)" >ucspi-tcp6/ucspi-tcp6-$(UPSTREAM_VERSION)/conf-cc
+ echo $(CC) >ucspi-tcp6/ucspi-tcp6-$(UPSTREAM_VERSION)/conf-ld
+ touch ucspi-tcp6/ucspi-tcp6-$(UPSTREAM_VERSION)/src/home
+
+override_dh_auto_build:
+ $(MAKE) -C ucspi-tcp6/ucspi-tcp6-$(UPSTREAM_VERSION)/src default
diff --git a/ucspi-tcp6-deb/debian/watch b/ucspi-tcp6-deb/debian/watch
new file mode 100644
index 0000000..f3972a9
--- /dev/null
+++ b/ucspi-tcp6-deb/debian/watch
@@ -0,0 +1,3 @@
+# You must remove unused comment lines for the released package.
+version=4
+https://www.fehcom.de/ipnet/ucspi-tcp6/ucspi-tcp6-(\d\.\d\d(?:\.\d+)?[a-z]?).tgz