--- Begin Message ---
Ugh. dvtm is kicking me in the head and I have almost given up on it
already:
* no way to change keybindings without recompiling: i originally thought
I would get use to it, but my screen muscle memory is too strong
* yet another termcap file to install in the whole universe, which is
not going to happen, so lots of compatibility problems
* out of the box, control-arrows do not work and a bunch more stuff:
https://github.com/martanne/dvtm/issues/17
https://github.com/martanne/dvtm/issues/26
Still - I have done the work of updating the package, so if someone else
wants to take it over, be my guest:
>From 2b483c3d0fe2f181a2c65b60937787cb3305f0ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= <anar...@debian.org>
Date: Wed, 10 Aug 2016 01:10:11 -0400
Subject: [PATCH 1/6] rescue debian package from ubuntu's archives
---
debian/changelog | 11 ++++++
debian/compat | 1 +
debian/control | 17 +++++++++
debian/copyright | 42 +++++++++++++++++++++++
debian/patches/add-whatis-entry-to-man-page.patch | 16 +++++++++
debian/patches/series | 1 +
debian/rules | 11 ++++++
debian/source/format | 1 +
debian/watch | 2 ++
9 files changed, 102 insertions(+)
create mode 100644 debian/changelog
create mode 100644 debian/compat
create mode 100644 debian/control
create mode 100644 debian/copyright
create mode 100644 debian/patches/add-whatis-entry-to-man-page.patch
create mode 100644 debian/patches/series
create mode 100755 debian/rules
create mode 100644 debian/source/format
create mode 100644 debian/watch
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9482b97
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,11 @@
+abduco (0.1-2) unstable; urgency=low
+
+ * Recommend dvtm. (Closes: #755577)
+
+ -- Evan Hanson <ev...@foldling.org> Wed, 23 Jul 2014 08:02:37 +1200
+
+abduco (0.1-1) unstable; urgency=low
+
+ * Initial release. (Closes: #755122)
+
+ -- Evan Hanson <ev...@foldling.org> Sun, 20 Jul 2014 16:50:42 +1200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..a1b4ebb
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,17 @@
+Source: abduco
+Section: utils
+Priority: optional
+Maintainer: Evan Hanson <ev...@foldling.org>
+Build-Depends: debhelper (>=9)
+Standards-Version: 3.9.5
+Homepage: http://www.brain-dump.org/projects/abduco/
+
+Package: abduco
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: dvtm
+Description: terminal session manager
+ abduco provides session management, allowing programs to be run independently
+ from their controlling terminals. That is, programs can be detached - run in
+ the background - and then later reattached. Together with dvtm it provides a
+ simple and clean alternative to tmux or screen.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..3234490
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,42 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: abduco
+Upstream-Contact: Marc André Tanner <m...@brain-dump.org>
+Source: http://www.brain-dump.org/projects/abduco/
+
+Files: *
+Copyright: 2013-2014 Marc André Tanner <m...@brain-dump.org>
+License: ISC
+
+Files: debian/*
+Copyright: 2014 Evan Hanson <ev...@foldling.org>
+License: ISC
+
+Files: forkpty-aix.c
+Copyright: 2009 Nicholas Marriott <n...@users.sourceforge.net>
+ 2012 Ross Palmer Mohn <rpm...@waxandwane.org>
+License: ISC-like
+ Permission to use, copy, modify, and distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER
+ IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
+ OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+License: ISC
+ Permission to use, copy, modify, and/or distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
diff --git a/debian/patches/add-whatis-entry-to-man-page.patch b/debian/patches/add-whatis-entry-to-man-page.patch
new file mode 100644
index 0000000..acc3ffa
--- /dev/null
+++ b/debian/patches/add-whatis-entry-to-man-page.patch
@@ -0,0 +1,16 @@
+Description: Add whatis entry to man page
+Forwarded: yes
+Author: Evan Hanson <ev...@foldling.org>
+Last-Update: 2014-07-20
+
+--- abduco-0.1.orig/abduco.1 2014-07-18 20:14:27.043882402 +1200
++++ abduco-0.1/abduco.1 2014-07-18 20:16:07.543878145 +1200
+@@ -1,7 +1,7 @@
+ .TH ABDUCO 1 abduco\-VERSION
+ .nh
+ .SH NAME
+-abduco
++abduco - terminal session manager
+ .SH SYNOPSIS
+ .B abduco
+ .RB [ \-e
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..37c0ff9
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+add-whatis-entry-to-man-page.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..71652df
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
+override_dh_auto_install:
+ dh_auto_install -- PREFIX=/usr
+
+override_dh_clean:
+ rm -f config.h
+ dh_clean
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..47d246c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://www.brain-dump.org/projects/abduco/abduco-([\d\.]+)\.tar\.gz
--
2.1.4
>From 8a0987beb06be1e1e4b7035053fdf9870cc966b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= <anar...@debian.org>
Date: Wed, 10 Aug 2016 01:13:08 -0400
Subject: [PATCH 2/6] Remove add-whatis-entry-to-man-page.patch, factored in
upstream
---
debian/patches/add-whatis-entry-to-man-page.patch | 16 ----------------
debian/patches/series | 1 -
2 files changed, 17 deletions(-)
delete mode 100644 debian/patches/add-whatis-entry-to-man-page.patch
delete mode 100644 debian/patches/series
diff --git a/debian/patches/add-whatis-entry-to-man-page.patch b/debian/patches/add-whatis-entry-to-man-page.patch
deleted file mode 100644
index acc3ffa..0000000
--- a/debian/patches/add-whatis-entry-to-man-page.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Description: Add whatis entry to man page
-Forwarded: yes
-Author: Evan Hanson <ev...@foldling.org>
-Last-Update: 2014-07-20
-
---- abduco-0.1.orig/abduco.1 2014-07-18 20:14:27.043882402 +1200
-+++ abduco-0.1/abduco.1 2014-07-18 20:16:07.543878145 +1200
-@@ -1,7 +1,7 @@
- .TH ABDUCO 1 abduco\-VERSION
- .nh
- .SH NAME
--abduco
-+abduco - terminal session manager
- .SH SYNOPSIS
- .B abduco
- .RB [ \-e
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 37c0ff9..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-add-whatis-entry-to-man-page.patch
--
2.1.4
>From d15f50c0eaa153fd46a3b7be2cdf3db13e889aee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= <anar...@debian.org>
Date: Wed, 10 Aug 2016 01:13:18 -0400
Subject: [PATCH 3/6] Fix years in copyright file
---
debian/copyright | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/debian/copyright b/debian/copyright
index 3234490..968ba57 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -3,16 +3,18 @@ Upstream-Name: abduco
Upstream-Contact: Marc André Tanner <m...@brain-dump.org>
Source: http://www.brain-dump.org/projects/abduco/
-Files: *
-Copyright: 2013-2014 Marc André Tanner <m...@brain-dump.org>
-License: ISC
+Files: *
+Copyright: 2013-2016 Marc André Tanner <mat at brain-dump.org>
+License: ISC
Files: debian/*
Copyright: 2014 Evan Hanson <ev...@foldling.org>
+ 2016 Antoine Beaupré <anar...@debian.org>
License: ISC
-Files: forkpty-aix.c
-Copyright: 2009 Nicholas Marriott <n...@users.sourceforge.net>
+Files: forkpty-aix.c
+ forkpty-sunos.c
+Copyright: 2008-2009 Nicholas Marriott <n...@users.sourceforge.net>
2012 Ross Palmer Mohn <rpm...@waxandwane.org>
License: ISC-like
Permission to use, copy, modify, and distribute this software for any
@@ -39,4 +41,3 @@ License: ISC
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
--
2.1.4
>From 34df30f544e1363fd27a89c6c1bbe4d20cd86858 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= <anar...@debian.org>
Date: Wed, 10 Aug 2016 01:40:47 -0400
Subject: [PATCH 4/6] various changes to control...
* Take over maintainership
* Multi-arch support
* Update description based on latest website description
* Update standards-version, no change
---
debian/control | 23 +++++++++++++++--------
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/debian/control b/debian/control
index a1b4ebb..3823af5 100644
--- a/debian/control
+++ b/debian/control
@@ -1,17 +1,24 @@
Source: abduco
-Section: utils
+Section: admin
Priority: optional
-Maintainer: Evan Hanson <ev...@foldling.org>
+Maintainer: Antoine Beaupré <anar...@debian.org>
Build-Depends: debhelper (>=9)
-Standards-Version: 3.9.5
+Standards-Version: 3.9.8
Homepage: http://www.brain-dump.org/projects/abduco/
Package: abduco
Architecture: any
+Multi-Arch: foreign
Depends: ${shlibs:Depends}, ${misc:Depends}
Recommends: dvtm
-Description: terminal session manager
- abduco provides session management, allowing programs to be run independently
- from their controlling terminals. That is, programs can be detached - run in
- the background - and then later reattached. Together with dvtm it provides a
- simple and clean alternative to tmux or screen.
+Description: Terminal session management in a clean and simple way
+ abduco provides session management i.e. it allows programs to be run
+ independently from their controlling terminal. That is programs can
+ be detached - run in the background - and then later
+ reattached. Together with dvtm it provides a simpler and cleaner
+ alternative to tmux or screen.
+ .
+ abduco is in many ways very similar to dtach but is a completely
+ independent implementation which is actively maintained, contains no
+ legacy code, provides a few additional features, has a cleaner, more
+ robust implementation and is distributed under the ISC license.
--
2.1.4
>From 60e93c863e7a478cc8924b1a0d37e6901ef78084 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= <anar...@debian.org>
Date: Wed, 10 Aug 2016 01:50:37 -0400
Subject: [PATCH 5/6] add hardening flags, as-needed and show compile flags,
comments
---
debian/rules | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/debian/rules b/debian/rules
index 71652df..6d0467d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,21 @@
#!/usr/bin/make -f
+#export DH_VERBOSE = 1
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
%:
dh $@
+# make sure we see compile flags
+override_dh_auto_build:
+ dh_auto_build -- --trace
+
+# fix default PREFIX (/usr/local)
override_dh_auto_install:
dh_auto_install -- PREFIX=/usr
+# upstream forgets to remove config.
override_dh_clean:
rm -f config.h
dh_clean
--
2.1.4
>From 443df7e5d2f8221976d2a2a29e61c2d80bb2e782 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= <anar...@debian.org>
Date: Wed, 10 Aug 2016 01:51:42 -0400
Subject: [PATCH 6/6] remove file present in git and not in the tarball
---
.travis.yml | 8 --------
1 file changed, 8 deletions(-)
delete mode 100644 .travis.yml
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index c6b8c7c..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,8 +0,0 @@
-language: c
-compiler:
- - gcc
- - clang
-env:
- - DEBUG=
- - DEBUG=debug
-script: make $DEBUG
--
2.1.4
--
Being cynical is the only way to deal with modern civilization — you
can't just swallow it whole.
- Frank Zappa
--- End Message ---