chiark / gitweb /
add devuan build control files
authorAndreas Messer <andi@bastelmap.de>
Thu, 4 Jan 2018 19:11:20 +0000 (20:11 +0100)
committerAndreas Messer <andi@bastelmap.de>
Thu, 4 Jan 2018 21:39:18 +0000 (22:39 +0100)
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.install [new file with mode: 0644]
debian/libelogind-data.install [new file with mode: 0644]
debian/libelogind-dev.install [new file with mode: 0644]
debian/libelogind.install [new file with mode: 0644]
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..9b83d23
--- /dev/null
@@ -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 (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..030d44e
--- /dev/null
@@ -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 (file)
index 0000000..e69de29
diff --git a/debian/elogind.install b/debian/elogind.install
new file mode 100644 (file)
index 0000000..39c7e9b
--- /dev/null
@@ -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 (file)
index 0000000..3270a48
--- /dev/null
@@ -0,0 +1 @@
+usr/share/locale/*
diff --git a/debian/libelogind-dev.install b/debian/libelogind-dev.install
new file mode 100644 (file)
index 0000000..3665adf
--- /dev/null
@@ -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 (file)
index 0000000..ed9f101
--- /dev/null
@@ -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 (executable)
index 0000000..99bed26
--- /dev/null
@@ -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 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)