chiark / gitweb /
Fix dependencies for Debian
[elogind.git] / debian / control
index 030d44ebab4e8e87cb4fc08ff4e8cf623724ec6f..7cdb8ea31faf0ae6afc15e7341b1da412e2e8afe 100644 (file)
@@ -6,7 +6,7 @@ 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,
+Build-Depends: debhelper (>= 9),
                dpkg-dev (>= 1.16.0),
                pkg-config,
                docbook-xsl,
@@ -19,7 +19,7 @@ Build-Depends: debhelper,
                gtk-doc-tools,
                python3-lxml,
                libcap-dev,
-               libeudev-dev,
+               libudev-dev,
                libmount-dev (>= 2.20),
                libseccomp-dev (>= 1.0),
                libblkid-dev (>= 2.24),
@@ -32,36 +32,32 @@ Package: elogind
 Section: admin
 Priority: optional
 Architecture: linux-any
-Multi-Arch: same
+Multi-Arch: foreign
 Pre-Depends: debconf, ${misc:Pre-Depends}
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         libelogind (= ${binary:Version})
-Recommends: dbus (>= 1.4), policykit-1
+         libudev1,
+         libelogind0 (= ${binary:Version}),
+         libpam-elogind (= ${binary:Version}),
+         lsb-base (>= 3.1),
+         dbus (>= 1.4)
+Recommends: policykit-1
 Conflicts: openrc
+Provides: logind
 Description: user, seat and session management daemon
 elogind is a session management daemon extracted from systmd project's 
 "logind"
+ elogind is a session management daemon extracted from systmd project's 
+ "logind"
 
-Package: libelogind
+Package: libelogind0
 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
+         ${misc:Depends}
+Description: user, seat and session management library
+ This library provides access to elogind session management
 
 Package: libelogind-dev
 Section: libdevel
@@ -71,8 +67,21 @@ 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
+         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
+Provides: libpam-systemd
+Description: elogind PAM module 
+ Plugable Authentication Module to register a session with elogind