--- /dev/null
+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,
+ 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,
+ libeudev-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: same
+Pre-Depends: debconf, ${misc:Pre-Depends}
+Depends: ${shlibs:Depends},
+ ${misc:Depends},
+ libelogind (= ${binary:Version})
+Recommends: dbus (>= 1.4), policykit-1
+Conflicts: openrc
+Description: user, seat and session management daemon
+ elogind is a session management daemon extracted from systmd project's
+ "logind"
+
+Package: libelogind
+Section: libs
+Priority: optional
+Architecture: linux-any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends},
+ ${misc:Depends},
+ libelogind (= ${binary:Version}),
+ libelogind-data (= ${binary:Version})
+Description: libelogind shared library
+ This library provides access to elongd session management
+
+Package: libelogind-data
+Section: libs
+Priority: optional
+Architecture: all
+Description: elogind common data
+ This package contains common files of elogind and libelogind
+
+Package: libelogind-dev
+Section: libdevel
+Priority: optional
+Architecture: linux-any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends},
+ ${misc:Depends},
+ libelogind (= ${binary:Version})
+Description: libelogind development files
+ This package contains the files needed for developing applications that
+ use libelogind
+
--- /dev/null
+etc/elogind/logind.conf
+etc/pam.d/elogind-user
+lib/udev/rules.d/*.rules
+usr/bin/loginctl
+usr/bin/elogind-inhibit
+usr/lib/elogind/elogind
+usr/lib/elogind/elogind-cgroups-agent
+usr/share/polkit-1/*
+usr/share/bash-completion/*
+usr/share/man/man1/loginctl.1
+usr/share/man/man5/logind.conf.5
+usr/share/man/man7/elogind.*.7
+usr/share/man/man8/pam_elogind.8
+usr/share/man/man8/elogind.8
+usr/share/zsh/*
+usr/share/doc/elogind/*
+usr/share/dbus-1/*
+usr/share/factory/*
--- /dev/null
+#! /usr/bin/make -f
+
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+# disable lto because this does not work for me. Building static libraries with i
+# libtool/ar failes. I think this a apackage problem, it should use gcc-ar instead
+CONFFLAGS = \
+ --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
+ --enable-kdbus \
+ --disable-lto \
+ --disable-tests
+
+autoreconf:
+ ./autogen.sh
+
+override_dh_autoreconf:
+ dh_autoreconf debian/rules -- autoreconf
+
+override_dh_auto_configure:
+ dh_auto_configure --builddirectory=build \
+ -- $(CONFFLAGS)
+
+%:
+ dh $@ --builddirectory=build --with autoreconf --parallel