chiark / gitweb /
git-debrebase import: declare upstream
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 5 Oct 2018 22:00:20 +0000 (23:00 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 5 Oct 2018 22:00:20 +0000 (23:00 +0100)
First breakwater merge.

[git-debrebase anchor: declare upstream]

15 files changed:
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/elogind.init [new file with mode: 0644]
debian/elogind.install [new file with mode: 0644]
debian/extra/elogind [new file with mode: 0644]
debian/gbp.conf [new file with mode: 0644]
debian/libelogind-dev.install [new file with mode: 0644]
debian/libelogind0.install [new file with mode: 0644]
debian/libpam-elogind.install [new file with mode: 0644]
debian/libpam-elogind.postinst [new file with mode: 0755]
debian/libpam-elogind.prerm [new file with mode: 0755]
debian/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..b617bdc
--- /dev/null
@@ -0,0 +1,13 @@
+elogind (234.4-1+devuan1.1) unstable; urgency=medium
+
+  [ KatolaZ ]
+  * added ignore-branch=True in gpb.conf
+
+
+ -- Vincenzo (KatolaZ) Nicosia <katolaz@freaknet.org>  Wed, 10 Jan 2018 20:00:24 +0000
+
+elogind (234.4-1+devuan1) unstable; urgency=medium
+
+  * Initial release.
+
+ -- Andreas Messer <andi@bastelmap.de>  Thu, 04 Jan 2018 19:26:09 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..ec63514
--- /dev/null
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..1aa2903
--- /dev/null
@@ -0,0 +1,89 @@
+Source: elogind
+Section: admin
+Priority: optional
+Maintainer: Andreas Messer <andi@bastelmap.de>
+Standards-Version: 3.9.8
+Vcs-Git: https://git.devuan.org/amesser/elogind.git
+Vcs-Browser: https://git.devuan.org/amesser/elogind.git
+Homepage: https://github.com/elogind/elogind
+Build-Depends: debhelper (>= 9),
+               dpkg-dev (>= 1.16.0),
+               pkg-config,
+               docbook-xsl,
+               dh-autoreconf,
+               automake (>= 1.11),
+               autoconf,
+               libtool,
+               intltool,
+               gperf,
+               gtk-doc-tools,
+               python3-lxml,
+               libcap-dev,
+               libudev-dev,
+               libmount-dev (>= 2.20),
+               libseccomp-dev (>= 1.0),
+               libblkid-dev (>= 2.24),
+               libpam0g-dev (>= 1.1.2),
+               libacl1-dev,
+               libselinux1-dev,
+               libglib2.0-dev
+
+Package: elogind
+Section: admin
+Priority: optional
+Architecture: linux-any
+Multi-Arch: foreign
+Pre-Depends: debconf, ${misc:Pre-Depends}
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         libudev1,
+         libelogind0 (= ${binary:Version}),
+         lsb-base (>= 3.1),
+         dbus (>= 1.4)
+Recommends: policykit-1
+Provides: logind
+Conflicts: systemd
+Description: user, seat and session management daemon
+ elogind is a session management daemon extracted from systmd project's 
+ "logind"
+
+Package: libelogind0
+Section: libs
+Priority: optional
+Architecture: linux-any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: user, seat and session management library
+ This library provides access to elogind session management
+
+Package: libelogind-dev
+Section: libdevel
+Priority: optional
+Architecture: linux-any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         libelogind0 (= ${binary:Version})
+Description: user, seat and session management library (development files)
+ This package contains the files needed for developing applications that 
+ use libelogind
+
+Package: libpam-elogind
+Section: admin
+Priority: optional
+Architecture: linux-any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         libpam-runtime,
+         elogind (= ${binary:Version}),
+Provides: libpam-systemd
+Conflicts: libpam-systemd
+Replaces: libpam-systemd
+Description: elogind PAM module 
+ Plugable Authentication Module to register a session with elogind
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..74c9617
--- /dev/null
@@ -0,0 +1,81 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: elogind
+Source: https://github.com/elogind/elogind
+
+Files: *
+Copyright: 2010-2016 Lennart Poettering
+           2008-2013 Kay Sievers
+           2013-2017 Zbigniew JÄ™drzejewski-Szmek
+           2014-2015 Tom Gundersen
+           2014-2015 Ronny Chevalier
+           1994-2014 Free Software Foundation, Inc.
+           2005-2014 Rich Felker, et al.
+           1999,2000 Tom Tromey
+           2000,2005 Red Hat, Inc.
+           2010 Harald Hoyer
+           2010 Ran Benita
+           2012 Josh Triplett <josh@joshtriplett.org>
+           2013 Intel Corporation
+           2013 Daniel Buch
+           2013 Dave Reisner
+           2013 David Herrmann
+           2013 David Strauss
+           2013 Holger Hans Peter Freyther
+           2013 Jan Janssen
+           2013 Shawn Landden
+           2013 Thomas H.P. Andersen
+           2014 Emil Renner Berthing <systemd@esmil.dk>
+           2014 Michael Marineau
+           2014 Michal Schmidt
+           2015 Daniel Mack
+           2016 Julian Orth
+           2016 Alexander Shopov <ash@kambanaria.org>
+           2017 Sven Eden
+License: LGPL-2.1+
+
+Files: src/basic/siphash24.c
+       src/basic/siphash24.h
+Copyright: 2012 Jean-Philippe Aumasson <jeanphilippe.aumasson@gmail.com>
+           2012 Daniel J. Bernstein <djb@cr.yp.to>
+License: CC0-1.0
+ To the extent possible under law, the author(s) have dedicated all copyright
+ and related and neighboring rights to this software to the public domain
+ worldwide. This software is distributed without any warranty.
+ .
+ You should have received a copy of the CC0 Public Domain Dedication along with
+ this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
+          
+Files: man/glib-event-glue.c:
+Copyright: 2014 Tom Gundersen
+License: Expat
+ Permission is hereby granted, free of charge, to any person
+ obtaining a copy of this software and associated documentation files
+ (the "Software"), to deal in the Software without restriction,
+ including without limitation the rights to use, copy, modify, merge,
+ publish, distribute, sublicense, and/or sell copies of the Software,
+ and to permit persons to whom the Software is furnished to do so,
+ subject to the following conditions:
+
+Files: debian/*
+Copyright: 2018 Andreas Messer <andi@bastelmap.de>
+License: LGPL-2.1+
+                                                                  
+License: LGPL-2.1+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+ .
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+ .
+ On Debian systems, the full text of the GNU Lesser General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/LGPL-2.1'.
+
diff --git a/debian/elogind.init b/debian/elogind.init
new file mode 100644 (file)
index 0000000..e08335f
--- /dev/null
@@ -0,0 +1,88 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides: elogind
+# Required-Start: dbus $remote_fs $syslog
+# Required-Stop: dbus $remote_fs $syslog
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6  
+# Short-Description: start elogind at boot tim
+# Description: Enable user and session management by elogind
+### END INIT INFO
+
+set -e
+
+# /etc/init.d/elogind: start and stop the elogind session management daemon
+
+ELOGIND=/usr/sbin/elogind
+
+test -x $ELOGIND || exit 0
+
+umask 022
+
+. /lib/lsb/init-functions
+
+ELOGIND_OPTS="-D"
+ELOGIND_PID=/run/elogind.pid
+
+export PATH="${PATH:+$PATH:}/usr/sbin:/sbin"
+
+case "$1" in
+  start)
+    log_daemon_msg "Starting session management daemon" "elogind" || true
+    if start-stop-daemon --start --quiet --oknodo --pidfile $ELOGIND_PID --exec $ELOGIND -- $ELOGIND_OPTS; then
+        log_end_msg 0 || true
+    else
+        log_end_msg 1 || true
+    fi
+    ;;
+  stop)
+    log_daemon_msg "Stopping session management daemon" "elogind" || true
+    if start-stop-daemon --stop --quiet --oknodo --pidfile $ELOGIND_PID; then
+        log_end_msg 0 || true
+    else
+        log_end_msg 1 || true
+    fi
+    ;;
+  reload|force-reload|restart)
+    log_daemon_msg "Restarting session management daemon" "elogind" || true
+    start-stop-daemon --stop --quiet --oknodo --retry 30 --pidfile $ELOGIND_PID
+    if start-stop-daemon --start --quiet --oknodo --pidfile $ELOGIND_PID --exec $ELOGIND -- $ELOGIND_OPTS; then
+        log_end_msg 0 || true
+    else
+        log_end_msg 1 || true
+    fi
+    ;;
+  try-restart)
+    log_daemon_msg "Restarting session management daemon" "elogind" || true
+    RET=0
+    start-stop-daemon --stop --quiet --retry 30 --pidfile $ELOGIND_PID || RET="$?"
+    case $RET in
+        0)
+        # old daemon stopped
+        if start-stop-daemon --start --quiet --oknodo --pidfile $ELOGIND_PID --exec $ELOGIND -- $ELOGIND_OPTS; then
+            log_end_msg 0 || true
+        else
+            log_end_msg 1 || true
+        fi
+        ;;
+        1)
+        # daemon not running
+        log_progress_msg "(not running)" || true
+        log_end_msg 0 || true
+        ;;
+        *)
+        # failed to stop
+        log_progress_msg "(failed to stop)" || true
+        log_end_msg 1 || true
+        ;;
+    esac
+    ;;
+  status)
+    status_of_proc -p $ELOGIND_PID $ELOGIND elogind && exit 0 || exit $?
+    ;;
+  *)
+    log_action_msg "Usage: /etc/init.d/elogind {start|stop|reload|force-reload|restart|try-restart|status}" || true
+    exit 1
+esac
+
+exit 0
diff --git a/debian/elogind.install b/debian/elogind.install
new file mode 100644 (file)
index 0000000..a749b2a
--- /dev/null
@@ -0,0 +1,17 @@
+usr/bin/
+etc/elogind/logind.conf
+/usr/lib/elogind/elogind /usr/sbin/
+/usr/lib/elogind/elogind-cgroups-agent
+lib/udev/rules.d/
+usr/share/bash-completion/
+usr/share/dbus-1/
+usr/share/locale/
+# Skip license files in /usr/share/doc/elogind
+usr/share/doc/elogind/README
+usr/share/doc/elogind/NEWS
+usr/share/man/man1/loginctl.1
+usr/share/man/man5/logind.conf.5
+usr/share/man/man7/elogind.*.7
+usr/share/man/man8/elogind.8
+usr/share/polkit-1/
+usr/share/zsh/
diff --git a/debian/extra/elogind b/debian/extra/elogind
new file mode 100644 (file)
index 0000000..54cdb52
--- /dev/null
@@ -0,0 +1,7 @@
+Name: elogind Session Management
+Default: no
+Priority: 0
+Session-Interactive-Only: yes
+Session-Type: Additional
+Session-Final:
+       optional                        pam_elogind.so
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644 (file)
index 0000000..b72118d
--- /dev/null
@@ -0,0 +1,4 @@
+[DEFAULT]
+debian-branch=suites/ceres
+ignore-branch=True
+upstream-tag=v%(version)s
diff --git a/debian/libelogind-dev.install b/debian/libelogind-dev.install
new file mode 100644 (file)
index 0000000..e090c36
--- /dev/null
@@ -0,0 +1,4 @@
+usr/include/elogind/
+usr/lib/*/libelogind.so
+usr/lib/*/pkgconfig/
+usr/share/man/man3/*
diff --git a/debian/libelogind0.install b/debian/libelogind0.install
new file mode 100644 (file)
index 0000000..01d84bd
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/*/libelogind.so.*
diff --git a/debian/libpam-elogind.install b/debian/libpam-elogind.install
new file mode 100644 (file)
index 0000000..c6dc41c
--- /dev/null
@@ -0,0 +1,4 @@
+etc/pam.d/elogind-user
+lib/*/security/pam_elogind.so
+usr/share/man/man8/pam_elogind.8
+debian/extra/elogind /usr/share/pam-configs/
diff --git a/debian/libpam-elogind.postinst b/debian/libpam-elogind.postinst
new file mode 100755 (executable)
index 0000000..7e37590
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+pam-auth-update --package
+
+#DEBHELPER#
diff --git a/debian/libpam-elogind.prerm b/debian/libpam-elogind.prerm
new file mode 100755 (executable)
index 0000000..e6187ae
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = remove ]; then
+       pam-auth-update --package --remove elogind
+fi
+
+#DEBHELPER#
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..f898bcb
--- /dev/null
@@ -0,0 +1,35 @@
+#! /usr/bin/make -f
+
+# The options have been chooses as follows:
+# - manually set pamlibdir because we'Re installing in /usr by default but 
+#   pam libs must go to /lib/*/security
+# - Disable lto because this makes the build fail with static library 
+#   warnings and with  linking errors. (It seems taht instead of ar/ld 
+#   gcc-ar and gcc should be used)
+# - tests disabled beacuase some of the tests seem to require elogind running.
+#   Need to sort out which tests could be run
+
+CONFFLAGS = \
+  --with-pamlibdir=/lib/$(DEB_HOST_MULTIARCH)/security \
+  --with-udevrulesdir=/lib/udev/rules.d \
+  --disable-lto \
+  --disable-tests
+
+CONFFLAGS_CGROUPCTRL_ELOGIND= \
+  --with-cgroup-controller=elogind
+
+override_dh_autoreconf:
+       dh_autoreconf ./autogen.sh
+
+override_dh_auto_configure:
+       dh_auto_configure --builddirectory=build \
+    -- $(CONFFLAGS) $(CONFFLAGS_CGROUPCTRL_ELOGIND)
+
+override_dh_missing:
+       dh_missing --list-missing
+
+override_dh_shlibdeps:
+       dh_shlibdeps -- -xlibeudev1
+         
+%:
+       dh $@ --builddirectory=build --with autoreconf --parallel
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)