mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 10:27:00 +02:00
net-fs/samba: new USE flags spotlight, regedit, glusterfs, ntvfs
Introduce a USE flag spotlight, to be able to disable the spotlight backend by default, as it is not needed by Linux. Introduce a USE flag rededit, to be able to disable the rededit tool if needed. Introduce a USE flag glusterfs, to be able to disable the glusterfs by default. Introduce a USE flag ntvfs, to be able to disable the ntvfs-fileserver by default. Since the docbook-xsl-stylesheets and libxslt are needed only at build time, we should move those deps to BDEPEND.
This commit is contained in:
parent
61eb799b82
commit
eec42d4c3f
@ -16,12 +16,16 @@
|
||||
<flag name="client">Enables the client part</flag>
|
||||
<flag name="cluster">Enable support for clustering</flag>
|
||||
<flag name="dmapi">Enable support for DMAPI. This currently works only in combination with XFS.</flag>
|
||||
<flag name="glusterfs">Enable support for Glusterfs filesystem via <pkg>sys-cluster/glusterfs</pkg></flag>
|
||||
<flag name="gpg">Use <pkg>app-crypt/gpgme</pkg> for AD DC</flag>
|
||||
<flag name="json">Enable json audit support through <pkg>dev-libs/jansson</pkg></flag>
|
||||
<flag name="iprint">Enabling iPrint technology by Novell</flag>
|
||||
<flag name="ntvfs">Enable support for NTVFS fileserver</flag>
|
||||
<flag name="profiling-data">Enables support for collecting profiling data</flag>
|
||||
<flag name="quota">Enables support for user quotas</flag>
|
||||
<flag name="regedit">Enable support for regedit command-line tool</flag>
|
||||
<flag name="snapper">Enable vfs_snapper module (requires <pkg>sys-apps/dbus</pkg>)</flag>
|
||||
<flag name="spotlight">Enable support for spotlight backend</flag>
|
||||
<flag name="system-heimdal">Use <pkg>app-crypt/heimdal</pkg> instead of
|
||||
bundled heimdal.</flag>
|
||||
<flag name="system-mitkrb5">Use <pkg>app-crypt/mit-krb5</pkg> instead of
|
||||
|
@ -23,9 +23,10 @@ LICENSE="GPL-3"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
IUSE="acl addc addns ads ceph client cluster cups debug dmapi fam gpg iprint
|
||||
json ldap pam profiling-data python quota selinux snapper syslog
|
||||
system-heimdal +system-mitkrb5 systemd test winbind zeroconf"
|
||||
IUSE="acl addc addns ads ceph client cluster cups debug dmapi fam glusterfs
|
||||
gpg iprint json ldap ntvfs pam profiling-data python quota +regedit selinux
|
||||
snapper spotlight syslog system-heimdal +system-mitkrb5 systemd test winbind
|
||||
zeroconf"
|
||||
IUSE+=" +minimal" # Flatcar: Only install libraries, not executables.
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
@ -79,9 +80,7 @@ CDEPEND="
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-lang/perl:=
|
||||
dev-libs/libxslt
|
||||
>=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}]
|
||||
net-libs/libtirpc[${MULTILIB_USEDEP}]
|
||||
virtual/pkgconfig
|
||||
@ -89,6 +88,10 @@ DEPEND="${CDEPEND}
|
||||
net-libs/rpcsvc-proto
|
||||
<sys-libs/glibc-2.26[rpc(+)]
|
||||
)
|
||||
spotlight? (
|
||||
app-misc/tracker
|
||||
dev-libs/glib
|
||||
)
|
||||
test? (
|
||||
!system-mitkrb5? (
|
||||
>=sys-libs/nss_wrapper-1.1.3
|
||||
@ -103,12 +106,19 @@ RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-samba )
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt
|
||||
"
|
||||
|
||||
REQUIRED_USE="
|
||||
addc? ( python json winbind )
|
||||
addns? ( python )
|
||||
ads? ( acl ldap winbind )
|
||||
cluster? ( ads )
|
||||
gpg? ( addc )
|
||||
ntvfs? ( addc )
|
||||
spotlight? ( json )
|
||||
test? ( python )
|
||||
?? ( system-heimdal system-mitkrb5 )
|
||||
${PYTHON_REQUIRED_USE}
|
||||
@ -201,13 +211,17 @@ multilib_src_configure() {
|
||||
$(multilib_native_use_enable cups)
|
||||
$(multilib_native_use_with dmapi)
|
||||
$(multilib_native_use_with fam)
|
||||
$(multilib_native_use_enable glusterfs)
|
||||
$(multilib_native_use_with gpg gpgme)
|
||||
$(multilib_native_use_with json)
|
||||
$(multilib_native_use_enable iprint)
|
||||
$(multilib_native_use_with ntvfs ntvfs-fileserver)
|
||||
$(multilib_native_use_with pam)
|
||||
$(multilib_native_usex pam "--with-pammodulesdir=${EPREFIX}/$(get_libdir)/security" '')
|
||||
$(multilib_native_use_with quota quotas)
|
||||
$(multilib_native_use_with regedit regedit)
|
||||
$(multilib_native_use_enable snapper)
|
||||
$(multilib_native_use_enable spotlight)
|
||||
$(multilib_native_use_with syslog)
|
||||
$(multilib_native_use_with systemd)
|
||||
--systemd-install-services
|
||||
|
Loading…
Reference in New Issue
Block a user