sys-apps/*: improvements

Signed-off-by: Alexander Kurakin <kuraga333@mail.ru>
pull/84/head
Alexander Kurakin 3 months ago
parent 2a8f468456
commit 276dbc964f

@ -1,16 +1,15 @@
# Copyright 2008-2018 Mir Calculate # Copyright 2007-2018 Mir Calculate
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 EAPI=7
DESCRIPTION="Cryptodata management tools for Calculate" DESCRIPTION="Cryptodata management tools for Calculate"
HOMEPAGE="https://www.calculate-linux.org" HOMEPAGE="https://www.calculate-linux.org"
SRC_URI="https://mirror.calculate-linux.org/source/${PN}/${P}.tar.bz2" SRC_URI="https://mirror.calculate-linux.org/source/${PN}/${P}.tar.bz2"
KEYWORDS="amd64 x86"
LICENSE="Apache-2.0" LICENSE="Apache-2.0"
SLOT="0" SLOT="0"
KEYWORDS="amd64"
IUSE="+client server" IUSE="+client server"
REQUIRED_USE="|| ( client server )" REQUIRED_USE="|| ( client server )"

@ -1,27 +0,0 @@
# Copyright 2008-2024 Mir Calculate
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Cryptodata management tools for Calculate"
HOMEPAGE="https://www.calculate-linux.org"
EGIT_REPO_URI="https://git.calculate-linux.org/calculate/calculate-access.git"
inherit git-r3
LICENSE="Apache-2.0"
SLOT="0"
IUSE="+client server"
REQUIRED_USE="|| ( client server )"
src_install() {
if use client
then
DESTDIR="$D" emake install_client
fi
if use server
then
DESTDIR="$D" emake install_server
fi
}

@ -1,20 +1,19 @@
# Copyright 1999-2012 Gentoo Foundation # Copyright 2007-2024 Mir Calculate
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="7" EAPI=7
PYTHON_COMPAT=( python3_12 ) PYTHON_COMPAT=( python3_12 )
inherit distutils-r1 inherit distutils-r1
SRC_URI="https://mirror.calculate-linux.org/source/calculate2/${PN}/${P}.tar.bz2"
DESCRIPTION="Configuration utility for Linux services" DESCRIPTION="Configuration utility for Linux services"
HOMEPAGE="https://www.calculate-linux.org/main/en/calculate2" HOMEPAGE="https://www.calculate-linux.org/main/en/calculate2"
SRC_URI="https://mirror.calculate-linux.org/source/calculate2/${PN}/${P}.tar.bz2"
LICENSE="Apache-2.0" LICENSE="Apache-2.0"
SLOT="0" SLOT="0"
KEYWORDS="amd64" KEYWORDS="amd64"
IUSE="calculate_nomail IUSE="calculate_nomail
calculate_nodhcp calculate_nodhcp
calculate_noftp calculate_noftp
@ -64,7 +63,6 @@ DEPEND="!sys-apps/calculate-lib
|| ( dev-python/lxml[python_targets_python3_12] || ( dev-python/lxml[python_targets_python3_12]
dev-python/lxml[python_targets_python3_12] ) dev-python/lxml[python_targets_python3_12] )
" "
RDEPEND="${DEPEND}" RDEPEND="${DEPEND}"
pkg_postinst() { pkg_postinst() {

@ -1,54 +0,0 @@
# 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}"

@ -1,17 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata> <pkgmetadata>
<!-- maintainer-needed --> <maintainer type="project">
<longdescription lang="en"> <email>support@calculate.ru</email>
Configuration utility for Linux services. Part of Calculate Linux. <name>Mir Calculate</name>
</longdescription> <description>Calculate Overlay</description>
<use> </maintainer>
<flag name="calculate_nodhcp">without DHCP</flag> <longdescription lang="en">
<flag name="calculate_noftp">without FTP</flag> Configuration utility for Calculate services.
<flag name="calculate_nojabber">without jabber server</flag> </longdescription>
<flag name="calculate_nomail">without mail</flag> <longdescription lang="ru">
<flag name="calculate_nonamed">without DNS</flag> Конфигурационная утилита для сервисов Calculate.
<flag name="calculate_noproxy">without proxy</flag> </longdescription>
<flag name="calculate_nosamba">without Samba fileserver</flag> <use lang="en">
</use> <flag name="calculate_nodhcp">Disable DHCP support</flag>
<flag name="calculate_noftp">Disable FTP support</flag>
<flag name="calculate_nojabber">Disable Jabber server support</flag>
<flag name="calculate_nomail">Disable e-mail support</flag>
<flag name="calculate_nonamed">Disable DNS support</flag>
<flag name="calculate_noproxy">Disable proxy support</flag>
<flag name="calculate_nosamba">Disable Samba fileserver support</flag>
</use>
<use lang="ru">
<flag name="calculate_nodhcp">Выключить поддержку DHCP</flag>
<flag name="calculate_noftp">Выключить поддержку FTP</flag>
<flag name="calculate_nojabber">Выключить поддержку сервера Jabber</flag>
<flag name="calculate_nomail">Выключить поддержку e-mail</flag>
<flag name="calculate_nonamed">Выключить поддержку DNS</flag>
<flag name="calculate_noproxy">Выключить поддержку прокси</flag>
<flag name="calculate_nosamba">Выключить поддержку файлового сервера Samba</flag>
</use>
<upstream>
<bugs-to>mailto:support@calculate.ru</bugs-to>
</upstream>
</pkgmetadata> </pkgmetadata>

@ -1,4 +1,4 @@
# Copyright 2008-2023 Mir Calculate # Copyright 2007-2023 Mir Calculate
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 EAPI=7
@ -7,14 +7,12 @@ PYTHON_COMPAT=( python3_{9..12} )
DESCRIPTION="Collection of administration scripts for Calculate" DESCRIPTION="Collection of administration scripts for Calculate"
HOMEPAGE="https://www.calculate-linux.org" HOMEPAGE="https://www.calculate-linux.org"
SRC_URI="https://git.calculate-linux.org/calculate/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" SRC_URI="https://git.calculate-linux.org/calculate/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64" S="${WORKDIR}/${PN}"
LICENSE="Apache-2.0" LICENSE="Apache-2.0"
SLOT="0" SLOT="0"
KEYWORDS="amd64"
S="${WORKDIR}/${PN}"
RDEPEND=">=sys-apps/calculate-utils-3.6 RDEPEND=">=sys-apps/calculate-utils-3.6
app-arch/zstd app-arch/zstd

@ -9,6 +9,9 @@
<longdescription lang="en"> <longdescription lang="en">
Collection of administration scripts for Calculate. Collection of administration scripts for Calculate.
</longdescription> </longdescription>
<longdescription lang="ru">
Коллекция скриптов администрирования для Calculate.
</longdescription>
<upstream> <upstream>
<bugs-to>mailto:support@calculate.ru</bugs-to> <bugs-to>mailto:support@calculate.ru</bugs-to>
</upstream> </upstream>

File diff suppressed because it is too large Load Diff

@ -1,8 +1,8 @@
# Copyright 1999-2015 Gentoo Foundation # Copyright 2007-2024 Mir Calculate
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="8" EAPI=8
PYTHON_COMPAT=(python3_12) PYTHON_COMPAT=(python3_12)
declare -A CALCULATE_MODULES=( declare -A CALCULATE_MODULES=(
@ -13,9 +13,8 @@ declare -A CALCULATE_MODULES=(
inherit calculate-utils-r18 inherit calculate-utils-r18
DESCRIPTION="A set of Calculate utilities for system installation, build and upgrade" DESCRIPTION="A set of Calculate utilities for system installation, build and upgrade"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate_utilities" HOMEPAGE="https://www.calculate-linux.org/main/en/calculate_utilities"
LICENSE="Apache-2.0" LICENSE="Apache-2.0"
SLOT="3" SLOT="3"
KEYWORDS="amd64" KEYWORDS="amd64"

@ -1,8 +1,8 @@
# Copyright 1999-2015 Gentoo Foundation # Copyright 2007-2024 Mir Calculate
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="8" EAPI=8
PYTHON_COMPAT=(python3_12) PYTHON_COMPAT=(python3_12)
declare -A CALCULATE_MODULES=( declare -A CALCULATE_MODULES=(
@ -15,9 +15,8 @@ declare -A CALCULATE_MODULES=(
inherit calculate-utils-r18 inherit calculate-utils-r18
DESCRIPTION="A set of Calculate utilities for system installation, build and upgrade" DESCRIPTION="A set of Calculate utilities for system installation, build and upgrade"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate_utilities" HOMEPAGE="https://www.calculate-linux.org/main/en/calculate_utilities"
LICENSE="Apache-2.0" LICENSE="Apache-2.0"
SLOT="3" SLOT="3"
KEYWORDS="amd64" KEYWORDS="amd64"

@ -1,8 +1,8 @@
# Copyright 1999-2015 Gentoo Foundation # Copyright 2007-2024 Mir Calculate
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="8" EAPI=8
PYTHON_COMPAT=(python3_12) PYTHON_COMPAT=(python3_12)
declare -A CALCULATE_MODULES=( declare -A CALCULATE_MODULES=(
@ -16,9 +16,8 @@ declare -A CALCULATE_MODULES=(
inherit calculate-utils-r18 inherit calculate-utils-r18
DESCRIPTION="A set of Calculate utilities for system installation, build and upgrade" DESCRIPTION="A set of Calculate utilities for system installation, build and upgrade"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate_utilities" HOMEPAGE="https://www.calculate-linux.org/main/en/calculate_utilities"
LICENSE="Apache-2.0" LICENSE="Apache-2.0"
SLOT="3" SLOT="3"
KEYWORDS="amd64" KEYWORDS="amd64"

@ -1,8 +1,8 @@
# Copyright 1999-2015 Gentoo Foundation # Copyright 2007-2024 Mir Calculate
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="8" EAPI=8
PYTHON_COMPAT=(python3_12) PYTHON_COMPAT=(python3_12)
declare -A CALCULATE_MODULES=( declare -A CALCULATE_MODULES=(
@ -17,9 +17,8 @@ declare -A CALCULATE_MODULES=(
inherit calculate-utils-r18 inherit calculate-utils-r18
DESCRIPTION="A set of Calculate utilities for system installation, build and upgrade" DESCRIPTION="A set of Calculate utilities for system installation, build and upgrade"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate_utilities" HOMEPAGE="https://www.calculate-linux.org/main/en/calculate_utilities"
LICENSE="Apache-2.0" LICENSE="Apache-2.0"
SLOT="3" SLOT="3"
KEYWORDS="amd64" KEYWORDS="amd64"

@ -1,16 +1,15 @@
# Copyright 1999-2015 Gentoo Foundation # Copyright 2007-2024 Mir Calculate
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="8" EAPI=8
PYTHON_COMPAT=(python3_12) PYTHON_COMPAT=(python3_12)
inherit calculate-utils-r18 inherit calculate-utils-r18
DESCRIPTION="A set of Calculate utilities for system installation, build and upgrade" DESCRIPTION="A set of Calculate utilities for system installation, build and upgrade"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate_utilities" HOMEPAGE="https://www.calculate-linux.org/main/en/calculate_utilities"
LICENSE="Apache-2.0" LICENSE="Apache-2.0"
SLOT="3" SLOT="3"
KEYWORDS="~amd64" KEYWORDS="~amd64"

@ -1,25 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="8"
inherit calculate-utils-r18 git-r3
DESCRIPTION="A set of Calculate utilities for system installation, build and upgrade"
HOMEPAGE="https://www.calculate-linux.org/main/en/calculate_utilities"
SRC_URI=""
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS=""
src_unpack() {
prepare_module_info
for MODULE in "${MODULE_INFO[@]}"
do
MODULE_DATA=( $MODULE )
MODULE_PN=${MODULE_DATA[0]/calculate-/}
EGIT_CHECKOUT_DIR=${WORKDIR}/${MODULE_PN}-${PV} EGIT_REPO_URI=https://git.calculate-linux.org/calculate/calculate-utils-3-${MODULE_PN}.git git-r3_src_unpack
done
}

@ -9,6 +9,9 @@
<longdescription lang="en"> <longdescription lang="en">
A set of Calculate utilities for system installation, build and upgrade. A set of Calculate utilities for system installation, build and upgrade.
</longdescription> </longdescription>
<longdescription lang="ru">
Набор утилит Calculate для установки системы, сборки и обновления.
</longdescription>
<use> <use>
<flag name="backup">Includes backup module.</flag> <flag name="backup">Includes backup module.</flag>
<flag name="client">Includes module for setting and storing the user accounts in the domain.</flag> <flag name="client">Includes module for setting and storing the user accounts in the domain.</flag>
@ -21,5 +24,7 @@
<flag name="qt5">Include Qt5 gui console</flag> <flag name="qt5">Include Qt5 gui console</flag>
<flag name="gpg">Enables the signature checking</flag> <flag name="gpg">Enables the signature checking</flag>
</use> </use>
<upstream>
<bugs-to>mailto:support@calculate.ru</bugs-to>
</upstream>
</pkgmetadata> </pkgmetadata>

@ -1,16 +1,15 @@
# Copyright 2008-2022 Mir Calculate # Copyright 2007-2024 Mir Calculate
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=8 EAPI=8
DESCRIPTION="Runs other programs with the user password, kept in the Linux kernel" DESCRIPTION="Runs other programs with the user password, kept in the Linux kernel"
HOMEPAGE="https://www.calculate-linux.org/main/en/keyexec" HOMEPAGE="https://www.calculate-linux.org/main/en/keyexec"
SRC_URI="https://mirror.calculate-linux.org/source/${PN}/${P}.tar.bz2" SRC_URI="https://mirror.calculate-linux.org/source/${PN}/${P}.tar.bz2"
KEYWORDS="amd64 x86"
LICENSE="Apache-2.0" LICENSE="Apache-2.0"
SLOT="0" SLOT="0"
KEYWORDS="amd64"
IUSE="kde +rdesktop +freerdp" IUSE="kde +rdesktop +freerdp"
DEPEND=" DEPEND="

@ -10,9 +10,10 @@
Help to run programs like rdesktop, xfreerdp and KDE kstart with the user password, Help to run programs like rdesktop, xfreerdp and KDE kstart with the user password,
kept in the Linux kernel. kept in the Linux kernel.
</longdescription> </longdescription>
<upstream> <longdescription lang="ru">
<bugs-to>mailto:support@calculate.ru</bugs-to> Помогает запускать такие программы как rdesktop, xfreerdp и KDE kstart с пользовательским паролем,
</upstream> хранимым в ядре Linux.
</longdescription>
<use lang="en"> <use lang="en">
<flag name="kde">Use KDE libs</flag> <flag name="kde">Use KDE libs</flag>
<flag name="rdesktop">Include net-misc/rdesktop package</flag> <flag name="rdesktop">Include net-misc/rdesktop package</flag>
@ -23,5 +24,8 @@
<flag name="rdesktop">Включить пакет net-misc/rdesktop</flag> <flag name="rdesktop">Включить пакет net-misc/rdesktop</flag>
<flag name="freerdp">Включить пакет net-misc/freerdp</flag> <flag name="freerdp">Включить пакет net-misc/freerdp</flag>
</use> </use>
<upstream>
<bugs-to>mailto:support@calculate.ru</bugs-to>
</upstream>
</pkgmetadata> </pkgmetadata>

Loading…
Cancel
Save