systemd: make the 'tcpwrappers' pkg option really work.
This commit is contained in:
parent
5e8668c3f1
commit
a5acce4f51
1 changed files with 5 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'systemd'
|
||||
pkgname=systemd
|
||||
version=204
|
||||
revision=3
|
||||
revision=4
|
||||
short_desc="A system and service manager for Linux"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.freedesktop.org/wiki/Software/systemd"
|
||||
|
@ -10,9 +10,8 @@ distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz
|
|||
checksum=072c393503c7c1e55ca7acf3db659cbd28c7fe5fa94fab3db95360bafd96731b
|
||||
|
||||
build_style=gnu-configure
|
||||
configure_args="--libexecdir=/usr/lib
|
||||
--disable-selinux --disable-tcpwrap --with-rootprefix=/usr
|
||||
--with-sysvinit-path= --with-sysvrcnd-path=
|
||||
configure_args="--libexecdir=/usr/lib --with-rootprefix=/usr
|
||||
--disable-selinux --with-sysvinit-path= --with-sysvrcnd-path=
|
||||
--disable-audit --disable-static --disable-ima"
|
||||
|
||||
hostmakedepends="which pkg-config intltool gperf libxslt docbook-xsl"
|
||||
|
@ -70,13 +69,12 @@ else
|
|||
fi
|
||||
|
||||
if [ "$build_option_tcpwrappers" ]; then
|
||||
configure_args+=" --enable-tcpwrappers"
|
||||
configure_args+=" --enable-tcpwrap"
|
||||
makedepends+=" tcp_wrappers-devel"
|
||||
else
|
||||
configure_args+=" --disable-tcpwrappers"
|
||||
configure_args+=" --disable-tcpwrap"
|
||||
fi
|
||||
|
||||
|
||||
post_install() {
|
||||
# Remove useless doc directory.
|
||||
rm -rf ${DESTDIR}/usr/share/doc
|
||||
|
|
Loading…
Reference in a new issue