aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-03-19 19:36:22 +0000
committerB Stack <bgstack15@gmail.com>2020-03-19 19:36:22 +0000
commitb2dedd0c9988e888a53de366c65991d91c20c357 (patch)
tree15aaaec948f6d03fc91a60b54d86ec3dfa57a13e /debian
parentcleanup (diff)
parentminor fixes (diff)
downloadlogout-manager-b2dedd0c9988e888a53de366c65991d91c20c357.tar.gz
logout-manager-b2dedd0c9988e888a53de366c65991d91c20c357.tar.bz2
logout-manager-b2dedd0c9988e888a53de366c65991d91c20c357.zip
Merge branch 'add-ncurses' into 'master'
add ncurses and cli versions and makefile See merge request bgstack15/logout-manager!1
Diffstat (limited to 'debian')
-rw-r--r--debian/README.Debian5
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control17
-rw-r--r--debian/copyright29
-rw-r--r--debian/do-not-install1
-rw-r--r--debian/logout-manager.conffiles2
-rw-r--r--debian/logout-manager.dsc14
-rw-r--r--debian/logout-manager.install0
-rw-r--r--debian/logout-manager.lintian-overrides4
-rw-r--r--debian/logout-manager.postinst9
-rw-r--r--debian/logout-manager.prerm11
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules18
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/lintian-overrides2
-rw-r--r--debian/source/local-options2
-rw-r--r--debian/watch2
18 files changed, 124 insertions, 0 deletions
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..810fad6
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,5 @@
+logout-manager for Devuan
+
+No changes
+
+ -- Ben Stack <bgstack15@gmail.com> Wed, 11 Mar 2020 08:38:11 -0400
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b206280
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+logout-manager (0.0.1-1) obs; urgency=low
+
+ * Initial release.
+
+ -- Ben Stack <bgstack15@gmail.com> Wed, 11 Mar 2020 08:38:11 -0400
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..48082f7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+12
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..f7edf05
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,17 @@
+Source: logout-manager
+Section: x11
+Priority: optional
+Maintainer: Ben Stack <bgstack15@gmail.com>
+Build-Depends: debhelper (>=12~)
+Standards-Version: 4.1.4
+Homepage: https://bgstack15.wordpress.com/
+
+Package: logout-manager
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: provide simple menu for logout-type actions
+ Designed for minimal DEs and window managers that
+ lack a menu for logging out, this tool provides
+ such a menu.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..6b39eaf
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: logout-manager
+Source: <url://example.com>
+#
+# Please double check copyright with the licensecheck(1) command.
+
+Files: .gitignore
+ README.md
+ src/Makefile
+ src/etc/bash_completion.d/logout-manager
+ src/etc/logout-manager.conf
+ src/etc/sudoers.d/30_logout-manager_sudo
+ src/etc/sysconfig/logout-manager
+ src/usr/bin/logout-manager-cli.py
+ src/usr/bin/logout-manager-gtk.py
+ src/usr/bin/logout-manager-ncurses.py
+ src/usr/bin/logout-manager-tcl.py
+ src/usr/libexec/logout-manager/lm-helper
+ src/usr/share/applications/logout-manager.desktop
+ src/usr/share/doc/logout-manager/README.md
+ src/usr/share/doc/logout-manager/logout-manager.conf.example
+ src/usr/share/logout-manager/__pycache__/lmlib.cpython-37.pyc
+ src/usr/share/logout-manager/lmlib.py
+Copyright: __NO_COPYRIGHT_NOR_LICENSE__
+License: __NO_COPYRIGHT_NOR_LICENSE__
+
+#----------------------------------------------------------------------------
+# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following
+# license/copyright files.
diff --git a/debian/do-not-install b/debian/do-not-install
new file mode 100644
index 0000000..e752d8b
--- /dev/null
+++ b/debian/do-not-install
@@ -0,0 +1 @@
+usr/bin/logout-manager
diff --git a/debian/logout-manager.conffiles b/debian/logout-manager.conffiles
new file mode 100644
index 0000000..65e8592
--- /dev/null
+++ b/debian/logout-manager.conffiles
@@ -0,0 +1,2 @@
+etc/logout-manager.conf
+etc/default/logout-manager
diff --git a/debian/logout-manager.dsc b/debian/logout-manager.dsc
new file mode 100644
index 0000000..63ef881
--- /dev/null
+++ b/debian/logout-manager.dsc
@@ -0,0 +1,14 @@
+Format: 3.0 (quilt)
+Source: logout-manager
+Binary: logout-manager
+Architecture: all
+Version: 0.0.1-1
+Maintainer: Ben Stack <bgstack15@gmail.com>
+Homepage: https://bgstack15.wordpress.com/
+Standards-Version: 4.1.4
+Build-Depends: debhelper (>= 12~)
+Package-List:
+ logout-manager deb x11 optional arch=all
+Files:
+ 00000000000000000000000000000000 1 logout-manager.orig.tar.gz
+ 00000000000000000000000000000000 1 logout-manager.debian.tar.xz
diff --git a/debian/logout-manager.install b/debian/logout-manager.install
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/debian/logout-manager.install
diff --git a/debian/logout-manager.lintian-overrides b/debian/logout-manager.lintian-overrides
new file mode 100644
index 0000000..01f15e1
--- /dev/null
+++ b/debian/logout-manager.lintian-overrides
@@ -0,0 +1,4 @@
+binary-without-manpage
+copyright-has-url-from-dh_make-boilerplate
+copyright-without-copyright-notice
+script-with-language-extension
diff --git a/debian/logout-manager.postinst b/debian/logout-manager.postinst
new file mode 100644
index 0000000..b98d697
--- /dev/null
+++ b/debian/logout-manager.postinst
@@ -0,0 +1,9 @@
+#!/bin/sh -e
+#DEBHELPER#
+case "$1" in
+ configure|abort-upgrade|abort-remove|abort-deconfigure)
+ update-alternatives --install /usr/bin/logout-manager logout-manager /usr/bin/logout-manager-gtk.py 80
+ update-alternatives --install /usr/bin/logout-manager logout-manager /usr/bin/logout-manager-tcl.py 70
+ update-alternatives --install /usr/bin/logout-manager logout-manager /usr/bin/logout-manager-ncurses.py 60
+ ;;
+esac
diff --git a/debian/logout-manager.prerm b/debian/logout-manager.prerm
new file mode 100644
index 0000000..c0c50d3
--- /dev/null
+++ b/debian/logout-manager.prerm
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+#DEBHELPER#
+case "$1" in
+ remove|deconfigure)
+ update-alternatives --remove logout-manager /usr/bin/logout-manager-gtk.py
+ update-alternatives --remove logout-manager /usr/bin/logout-manager-tcl.py
+ update-alternatives --remove logout-manager /usr/bin/logout-manager-ncurses.py
+ ;;
+ upgrade|failed-upgrade)
+ ;;
+esac
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4a97dfa
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+# You must remove unused comment lines for the released package.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c1fee5d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,18 @@
+#!/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
+APPNAME=logout-manager
+
+%:
+ dh $@ --sourcedirectory=src
+
+override_dh_auto_install:
+ dh_auto_install -- prefix=/usr DEFAULTDIR='$$(DESTDIR)/etc/default'
+
+override_dh_gencontrol:
+ printf "misc:Depends=" > debian/${APPNAME}.substvars
+ make -C src deplist DISTRO=devuan SEPARATOR=',' | grep -vE 'make\[[0-9]' >> debian/${APPNAME}.substvars
+ dh_gencontrol
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/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..2da37ed
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,2 @@
+file-without-copyright-information
+missing-license-paragraph-in-dep5-copyright
diff --git a/debian/source/local-options b/debian/source/local-options
new file mode 100644
index 0000000..00131ee
--- /dev/null
+++ b/debian/source/local-options
@@ -0,0 +1,2 @@
+#abort-on-upstream-changes
+#unapply-patches
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..fc70498
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+# You must remove unused comment lines for the released package.
+version=4
bgstack15