54 lines
1.6 KiB
Bash
54 lines
1.6 KiB
Bash
# Copyright 1999-2011 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI="7"
|
|
PYTHON_COMPAT=( python3_12 )
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
|
|
inherit distutils-r1 git-r3
|
|
|
|
EGIT_REPO_URI="git://git.calculate-linux.org/calculate-2.1/calculate-server.git"
|
|
|
|
DESCRIPTION="Configuration utility for Linux services"
|
|
HOMEPAGE="https://www.calculate-linux.org/main/en/calculate2"
|
|
LICENSE="Apache-2.0"
|
|
SLOT="0"
|
|
KEYWORDS=""
|
|
|
|
IUSE="calculate_nomail
|
|
calculate_nodhcp
|
|
calculate_noftp
|
|
calculate_nojabber
|
|
calculate_nonamed
|
|
calculate_nosamba
|
|
calculate_noproxy"
|
|
|
|
DEPEND=">=net-nds/openldap-2.3[-minimal]
|
|
>=sys-auth/pam_ldap-180[ssl]
|
|
>=sys-auth/nss_ldap-239
|
|
sys-apps/calculate-utils:3
|
|
!calculate_nosamba? ( net-fs/samba[acl,client,cups,ldap,pam] )
|
|
!calculate_nomail? (
|
|
net-mail/dovecot[ldap,pam,ssl(+)]
|
|
>=mail-filter/procmail-3.22
|
|
|| ( dev-python/pymilter[python_targets_python3_12]
|
|
dev-python/pymilter[python_targets_python3_12] )
|
|
>=mail-mta/postfix-2.2[ldap,pam,ssl,sasl,dovecot-sasl]
|
|
)
|
|
!calculate_noftp? ( net-ftp/proftpd[-acl,ident,ldap,ncurses,nls,pam,ssl] )
|
|
!calculate_nojabber? (
|
|
>=net-im/ejabberd-16.04-r1[ldap]
|
|
|| ( media-gfx/imagemagick
|
|
media-gfx/graphicsmagick )
|
|
)
|
|
!calculate_nonamed? ( net-dns/bind[sdb-ldap] )
|
|
!calculate_noproxy? ( >=net-proxy/squid-3.0.14[ldap,pam,ssl] )
|
|
!calculate_nodhcp? ( >=net-misc/dhcp-3.1.2_p1 )
|
|
|| ( dev-python/python-ldap[ssl,python_targets_python3_12]
|
|
dev-python/python-ldap[ssl,python_targets_python3_12] )
|
|
|| ( dev-python/lxml[python_targets_python3_12]
|
|
dev-python/lxml[python_targets_python3_12] )
|
|
"
|
|
|
|
RDEPEND="${DEPEND}"
|