summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Iooss2014-04-06 15:59:32 +0200
committerNicolas Iooss2015-06-27 11:44:54 +0800
commitbc3a70c1713241761bcbf11c58dadb1448cd234f (patch)
tree07ae54bcd19199e7d8b6025beb3db16326ed2df6
parent94c836dfee278a947a105b07e8e9d951855b1540 (diff)
downloadaur-bc3a70c1713241761bcbf11c58dadb1448cd234f.tar.gz
util-linux-selinux: enhance package metadata
* Fix typo (pkgname/pkgbase) * Add a comment to explain why makedepends has systemd and not systemd-selinux * Add SELinux to libutil-linux-selinux description
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 8 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 496d652763c3..6aa8ef89b4d6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -45,7 +45,7 @@ pkgname = util-linux-selinux
backup = etc/pam.d/su-l
pkgname = libutil-linux-selinux
- pkgdesc = util-linux runtime libraries
+ pkgdesc = util-linux-selinux runtime libraries
provides = libblkid.so
provides = libmount.so
provides = libuuid.so
diff --git a/PKGBUILD b/PKGBUILD
index c273d07bda30..b9f0a74f8ecd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
# SELinux Maintainer: Timothée Ravier <tim@siosm.fr>
# SELinux Contributor: Nicky726 <nicky726@gmail.com>
-pkgname=util-linux-selinux
+pkgbase=util-linux-selinux
pkgname=(util-linux-selinux libutil-linux-selinux)
pkgver=2.24.1
pkgrel=3
@@ -13,6 +13,11 @@ pkgdesc="SELinux aware miscellaneous system utilities for Linux"
url="http://www.kernel.org/pub/linux/utils/util-linux/"
arch=('i686' 'x86_64')
groups=('selinux')
+# SELinux package maintenance note:
+# ArchLinux base packages have a build-time cyclic dependency because
+# systemd depends on libutil-linux and util-linux depends on libudev
+# provided by libsystemd (FS#39767). To break this cycle, make
+# util-linux-selinux depend on systemd at build time.
makedepends=('systemd' 'python')
# checkdepends=('bc')
license=('GPL2')
@@ -105,7 +110,7 @@ package_util-linux-selinux() {
}
package_libutil-linux-selinux() {
- pkgdesc="util-linux runtime libraries"
+ pkgdesc="util-linux-selinux runtime libraries"
provides=('libblkid.so' 'libmount.so' 'libuuid.so'
"${pkgname/-selinux}=${pkgver}-${pkrel}")
conflicts=("${pkgname/-selinux}")