summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorAndreas Messer <andi@bastelmap.de>2018-01-04 20:11:20 +0100
committerAndreas Messer <andi@bastelmap.de>2018-01-04 22:39:18 +0100
commit76cc80f42e53215b9039ca99dd35687c7518880a (patch)
tree1ffed5a2a18212c84868efca6d65f33aace976e9 /debian
parent1daf32255cc9ed8b0f195e99be08b320d35d87ed (diff)
add devuan build control files
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control78
-rw-r--r--debian/copyright0
-rw-r--r--debian/elogind.install18
-rw-r--r--debian/libelogind-data.install1
-rw-r--r--debian/libelogind-dev.install6
-rw-r--r--debian/libelogind.install2
-rwxr-xr-xdebian/rules24
-rw-r--r--debian/source/format1
10 files changed, 136 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 000000000..9b83d23a6
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+elogind (234.4-devuan1) experimental; urgency=medium
+
+ * Initial release. (Closes: #XXXXXX)
+
+ -- 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
index 000000000..ec635144f
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 000000000..030d44eba
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,78 @@
+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
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/copyright
diff --git a/debian/elogind.install b/debian/elogind.install
new file mode 100644
index 000000000..39c7e9b00
--- /dev/null
+++ b/debian/elogind.install
@@ -0,0 +1,18 @@
+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/*
diff --git a/debian/libelogind-data.install b/debian/libelogind-data.install
new file mode 100644
index 000000000..3270a4849
--- /dev/null
+++ b/debian/libelogind-data.install
@@ -0,0 +1 @@
+usr/share/locale/*
diff --git a/debian/libelogind-dev.install b/debian/libelogind-dev.install
new file mode 100644
index 000000000..3665adf61
--- /dev/null
+++ b/debian/libelogind-dev.install
@@ -0,0 +1,6 @@
+usr/lib/*/pkgconfig/libelogind.pc
+usr/lib/*/security/pam_elogind.la
+usr/lib/*/libelogind.la
+usr/share/man/man3/*
+usr/include/elogind/*
+usr/include/elogind/systemd/*
diff --git a/debian/libelogind.install b/debian/libelogind.install
new file mode 100644
index 000000000..ed9f10199
--- /dev/null
+++ b/debian/libelogind.install
@@ -0,0 +1,2 @@
+usr/lib/*/libelogind.so.*
+usr/lib/*/security/pam_elogind.so
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 000000000..99bed2610
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,24 @@
+#! /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
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)