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'
|
# Template file for 'systemd'
|
||||||
pkgname=systemd
|
pkgname=systemd
|
||||||
version=204
|
version=204
|
||||||
revision=3
|
revision=4
|
||||||
short_desc="A system and service manager for Linux"
|
short_desc="A system and service manager for Linux"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.freedesktop.org/wiki/Software/systemd"
|
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
|
checksum=072c393503c7c1e55ca7acf3db659cbd28c7fe5fa94fab3db95360bafd96731b
|
||||||
|
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--libexecdir=/usr/lib
|
configure_args="--libexecdir=/usr/lib --with-rootprefix=/usr
|
||||||
--disable-selinux --disable-tcpwrap --with-rootprefix=/usr
|
--disable-selinux --with-sysvinit-path= --with-sysvrcnd-path=
|
||||||
--with-sysvinit-path= --with-sysvrcnd-path=
|
|
||||||
--disable-audit --disable-static --disable-ima"
|
--disable-audit --disable-static --disable-ima"
|
||||||
|
|
||||||
hostmakedepends="which pkg-config intltool gperf libxslt docbook-xsl"
|
hostmakedepends="which pkg-config intltool gperf libxslt docbook-xsl"
|
||||||
|
@ -70,13 +69,12 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$build_option_tcpwrappers" ]; then
|
if [ "$build_option_tcpwrappers" ]; then
|
||||||
configure_args+=" --enable-tcpwrappers"
|
configure_args+=" --enable-tcpwrap"
|
||||||
makedepends+=" tcp_wrappers-devel"
|
makedepends+=" tcp_wrappers-devel"
|
||||||
else
|
else
|
||||||
configure_args+=" --disable-tcpwrappers"
|
configure_args+=" --disable-tcpwrap"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# Remove useless doc directory.
|
# Remove useless doc directory.
|
||||||
rm -rf ${DESTDIR}/usr/share/doc
|
rm -rf ${DESTDIR}/usr/share/doc
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue