forked from calculate/calculate-overlay
git-svn-id: http://svn.calculate.ru/overlay@2394 c91db197-33c1-4113-bf15-f8a5c547ca64
parent
8e0be9098c
commit
72eea5fa9e
@ -1,27 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
http://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
ftp://ftp.linux.kiev.ua/pub/Linux/Calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The program of setting and storing the user account in the domain"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="=sys-apps/calculate-lib-2.0.8-r1
|
||||
>=dev-python/python-ldap-2.0[ssl]
|
||||
>=sys-auth/pam_ldap-180[ssl]
|
||||
>=sys-auth/nss_ldap-239
|
||||
>=kde-misc/kgtk-0.9.5[qt4]
|
||||
>=kde-misc/gtk-kde4-0.8.0
|
||||
>=sys-apps/keyexec-0.1.2
|
||||
>=sys-apps/hal-0.5.9
|
||||
sys-apps/keyutils
|
||||
sys-auth/pam_keystore"
|
@ -1,27 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
http://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
ftp://ftp.linux.kiev.ua/pub/Linux/Calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The program of setting and storing the user account in the domain"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="=sys-apps/calculate-lib-2.0.9-r1
|
||||
>=dev-python/python-ldap-2.0[ssl]
|
||||
>=sys-auth/pam_ldap-180[ssl]
|
||||
>=sys-auth/nss_ldap-239
|
||||
>=kde-misc/kgtk-0.9.5[qt4]
|
||||
>=kde-misc/gtk-kde4-0.8.0
|
||||
>=sys-apps/keyexec-0.1.2
|
||||
>=sys-apps/hal-0.5.9
|
||||
sys-apps/keyutils
|
||||
sys-auth/pam_keystore"
|
@ -1,27 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
http://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
ftp://ftp.linux.kiev.ua/pub/Linux/Calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The program of setting and storing the user account in the domain"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
|
||||
DEPEND="=sys-apps/calculate-lib-2.0.10
|
||||
>=dev-python/python-ldap-2.0[ssl]
|
||||
>=sys-auth/pam_ldap-180[ssl]
|
||||
>=sys-auth/nss_ldap-239
|
||||
>=kde-misc/kgtk-0.9.5[qt4]
|
||||
>=kde-misc/gtk-kde4-0.8.0
|
||||
>=sys-apps/keyexec-0.1.2
|
||||
>=sys-apps/hal-0.5.9
|
||||
sys-apps/keyutils
|
||||
sys-auth/pam_keystore"
|
@ -1,27 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
http://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
ftp://ftp.linux.kiev.ua/pub/Linux/Calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The program of setting and storing the user account in the domain"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="=sys-apps/calculate-lib-2.0.11
|
||||
>=dev-python/python-ldap-2.0[ssl]
|
||||
>=sys-auth/pam_ldap-180[ssl]
|
||||
>=sys-auth/nss_ldap-239
|
||||
>=kde-misc/kgtk-0.9.5[qt4]
|
||||
>=kde-misc/gtk-kde4-0.8.0
|
||||
>=sys-apps/keyexec-0.1.2
|
||||
>=sys-apps/hal-0.5.9
|
||||
sys-apps/keyutils
|
||||
sys-auth/pam_keystore"
|
@ -1,26 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
http://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
ftp://ftp.linux.kiev.ua/pub/Linux/Calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The program of setting and storing the user account in the domain"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="=sys-apps/calculate-lib-2.0.12
|
||||
>=dev-python/python-ldap-2.0[ssl]
|
||||
>=sys-auth/pam_ldap-180[ssl]
|
||||
>=sys-auth/nss_ldap-239
|
||||
>=kde-misc/kgtk-0.9.5[qt4]
|
||||
>=sys-apps/keyexec-0.1.2
|
||||
>=sys-apps/hal-0.5.9
|
||||
sys-apps/keyutils
|
||||
sys-auth/pam_keystore"
|
@ -1,35 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The program of setting and storing the user account in the domain"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="kde"
|
||||
|
||||
DEPEND="=sys-apps/calculate-lib-2.0.14
|
||||
>=dev-python/python-ldap-2.0[ssl]
|
||||
>=sys-auth/pam_ldap-180[ssl]
|
||||
>=sys-auth/nss_ldap-239
|
||||
>=sys-apps/keyexec-0.1.2
|
||||
>=sys-apps/hal-0.5.9
|
||||
sys-apps/keyutils
|
||||
sys-auth/pam_keystore
|
||||
kde? (
|
||||
>=kde-misc/kgtk-0.9.5[qt4] )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
# bugfix patch
|
||||
epatch "${FILESDIR}/bugfix-${PVR}.patch"
|
||||
}
|
||||
|
@ -1,25 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
|
||||
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The program of setting and storing the user account in the domain"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="=sys-apps/calculate-lib-2.0.14
|
||||
>=dev-python/python-ldap-2.0[ssl]
|
||||
>=sys-auth/pam_ldap-180[ssl]
|
||||
>=sys-auth/nss_ldap-239
|
||||
>=kde-misc/kgtk-0.9.5[qt4]
|
||||
>=sys-apps/keyexec-0.1.2
|
||||
>=sys-apps/hal-0.5.9
|
||||
sys-apps/keyutils
|
||||
sys-auth/pam_keystore"
|
@ -1,74 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The program of setting and storing the user account in the domain"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="kde xfce"
|
||||
|
||||
DEPEND="=sys-apps/calculate-lib-2.0.15
|
||||
>=dev-python/python-ldap-2.0[ssl]
|
||||
>=sys-auth/pam_ldap-180[ssl]
|
||||
>=sys-auth/nss_ldap-239
|
||||
>=sys-apps/keyexec-0.1.2
|
||||
>=sys-apps/hal-0.5.9
|
||||
sys-apps/keyutils
|
||||
sys-auth/pam_keystore
|
||||
kde? ( >=kde-misc/kgtk-0.9.5[qt4]
|
||||
>=kde-base/kdm-4.2.0[-kdeprefix] )
|
||||
xfce? ( x11-misc/slim )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
ISUPDATE=/tmp/${PN}.ebuild.update
|
||||
|
||||
# for fixing bug of ebuild calculate-client-2.0.17
|
||||
OLDISUPDATEPATH="${PORTAGE_TMPDIR}/portage/${CATEGORY}/${PN}-2.0.17/temp/"
|
||||
OLDISUPDATE="${OLDISUPDATEPATH}/${PN}.update"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
# bugfix patch
|
||||
epatch "${FILESDIR}/bugfix-${PVR}.patch"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
touch ${ISUPDATE}
|
||||
rm -f /etc/init.d/client
|
||||
|
||||
# for fixing bug of ebuild calculate-client-2.0.17
|
||||
mkdir -p ${OLDISUPDATEPATH}
|
||||
touch ${OLDISUPDATE}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use kde || use xfce;
|
||||
then
|
||||
cl-client --install
|
||||
ewarn "Please restart xdm for refreshing configuration files."
|
||||
fi
|
||||
rm ${ISUPDATE}
|
||||
|
||||
# for fixing bug of ebuild calculate-client-2.0.17
|
||||
rm -rf ${PORTAGE_TMPDIR}/portage/${CATEGORY}/${PN}-2.0.17
|
||||
rmdir ${PORTAGE_TMPDIR}/portage/${CATEGORY} &>/dev/null
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
# for fixing bug of ebuild calculate-client-2.0.17 (|| -e ${OLDISUPDATE} )
|
||||
if ! [[ -e ${ISUPDATE} || -e ${OLDISUPDATE} ]];
|
||||
then
|
||||
cl-client --uninstall
|
||||
fi
|
||||
}
|
||||
|
@ -1,52 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The program of setting and storing the user account in the domain"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="kde xfce"
|
||||
|
||||
DEPEND="=sys-apps/calculate-lib-2.0.15
|
||||
>=dev-python/python-ldap-2.0[ssl]
|
||||
>=sys-auth/pam_ldap-180[ssl]
|
||||
>=sys-auth/nss_ldap-239
|
||||
>=sys-apps/keyexec-0.1.2
|
||||
>=sys-apps/hal-0.5.9
|
||||
sys-apps/keyutils
|
||||
sys-auth/pam_keystore
|
||||
kde? ( >=kde-misc/kgtk-0.9.5[qt4]
|
||||
>=kde-base/kdm-4.2.0[-kdeprefix] )
|
||||
xfce? ( x11-misc/slim )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
ISUPDATE=${T}/${PN}.update
|
||||
|
||||
pkg_preinst() {
|
||||
touch ${ISUPDATE}
|
||||
rm -f /etc/init.d/client
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use kde || use xfce;
|
||||
then
|
||||
cl-client --install
|
||||
ewarn "Please restart xdm for refreshing configuration files."
|
||||
fi
|
||||
rm ${ISUPDATE}
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if ! [[ -e ${ISUPDATE} ]];
|
||||
then
|
||||
cl-client --uninstall
|
||||
fi
|
||||
}
|
@ -1,75 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The program of setting and storing the user account in the domain"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="kde xfce"
|
||||
|
||||
DEPEND="=sys-apps/calculate-lib-2.0.16
|
||||
>=dev-python/python-ldap-2.0[ssl]
|
||||
>=sys-auth/pam_ldap-180[ssl]
|
||||
>=sys-auth/nss_ldap-239
|
||||
>=sys-apps/keyexec-0.1.2
|
||||
>=sys-apps/hal-0.5.9
|
||||
sys-apps/keyutils
|
||||
sys-auth/pam_keystore
|
||||
kde? ( >=kde-misc/kgtk-0.9.5[qt4]
|
||||
>=kde-base/kdm-4.2.0[-kdeprefix] )
|
||||
xfce? ( x11-misc/slim )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
ISUPDATE=/tmp/${PN}.ebuild.update
|
||||
|
||||
# for fixing bug of ebuild calculate-client-2.0.17
|
||||
OLDISUPDATEPATH="${PORTAGE_TMPDIR}/portage/${CATEGORY}/${PN}-2.0.17/temp/"
|
||||
OLDISUPDATE="${OLDISUPDATEPATH}/${PN}.update"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
# bugfix patch
|
||||
epatch "${FILESDIR}/bugfix-${PVR}.patch"
|
||||
}
|
||||
|
||||
|
||||
pkg_preinst() {
|
||||
touch ${ISUPDATE}
|
||||
rm -f /etc/init.d/client
|
||||
|
||||
# for fixing bug of ebuild calculate-client-2.0.17
|
||||
mkdir -p ${OLDISUPDATEPATH}
|
||||
touch ${OLDISUPDATE}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use kde || use xfce;
|
||||
then
|
||||
cl-client --install
|
||||
ewarn "Please restart xdm for refreshing configuration files."
|
||||
fi
|
||||
rm ${ISUPDATE}
|
||||
|
||||
# for fixing bug of ebuild calculate-client-2.0.17
|
||||
rm -rf ${PORTAGE_TMPDIR}/portage/${CATEGORY}/${PN}-2.0.17
|
||||
rmdir ${PORTAGE_TMPDIR}/portage/${CATEGORY} &>/dev/null
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
# for fixing bug of ebuild calculate-client-2.0.17 (|| -e ${OLDISUPDATE} )
|
||||
if ! [[ -e ${ISUPDATE} || -e ${OLDISUPDATE} ]];
|
||||
then
|
||||
cl-client --uninstall
|
||||
fi
|
||||
}
|
||||
|
@ -1,66 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The program of setting and storing the user account in the domain"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="kde xfce"
|
||||
|
||||
DEPEND="=sys-apps/calculate-lib-2.0.16
|
||||
>=dev-python/python-ldap-2.0[ssl]
|
||||
>=sys-auth/pam_ldap-180[ssl]
|
||||
>=sys-auth/nss_ldap-239
|
||||
>=sys-apps/keyexec-0.1.2
|
||||
>=sys-apps/hal-0.5.9
|
||||
sys-apps/keyutils
|
||||
sys-auth/pam_keystore
|
||||
kde? ( >=kde-misc/kgtk-0.9.5[qt4]
|
||||
>=kde-base/kdm-4.2.0[-kdeprefix] )
|
||||
xfce? ( x11-misc/slim )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
ISUPDATE=/tmp/${PN}.ebuild.update
|
||||
|
||||
# for fixing bug of ebuild calculate-client-2.0.17
|
||||
OLDISUPDATEPATH="${PORTAGE_TMPDIR}/portage/${CATEGORY}/${PN}-2.0.17/temp/"
|
||||
OLDISUPDATE="${OLDISUPDATEPATH}/${PN}.update"
|
||||
|
||||
pkg_preinst() {
|
||||
touch ${ISUPDATE}
|
||||
rm -f /etc/init.d/client
|
||||
|
||||
# for fixing bug of ebuild calculate-client-2.0.17
|
||||
mkdir -p ${OLDISUPDATEPATH}
|
||||
touch ${OLDISUPDATE}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use kde || use xfce;
|
||||
then
|
||||
cl-client --install
|
||||
ewarn "Please restart xdm for refreshing configuration files."
|
||||
fi
|
||||
rm ${ISUPDATE}
|
||||
|
||||
# for fixing bug of ebuild calculate-client-2.0.17
|
||||
rm -rf ${PORTAGE_TMPDIR}/portage/${CATEGORY}/${PN}-2.0.17
|
||||
rmdir ${PORTAGE_TMPDIR}/portage/${CATEGORY} &>/dev/null
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
# for fixing bug of ebuild calculate-client-2.0.17 (|| -e ${OLDISUPDATE} )
|
||||
if ! [[ -e ${ISUPDATE} || -e ${OLDISUPDATE} ]];
|
||||
then
|
||||
cl-client --uninstall
|
||||
fi
|
||||
}
|
||||
|
@ -1,66 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The program of setting and storing the user account in the domain"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="kde xfce"
|
||||
|
||||
DEPEND="=sys-apps/calculate-lib-2.1.0
|
||||
>=dev-python/python-ldap-2.0[ssl]
|
||||
>=sys-auth/pam_ldap-180[ssl]
|
||||
>=sys-auth/nss_ldap-239
|
||||
>=sys-apps/keyexec-0.1.2
|
||||
>=sys-apps/hal-0.5.9
|
||||
sys-apps/keyutils
|
||||
sys-auth/pam_keystore
|
||||
kde? ( >=kde-misc/kgtk-0.9.5[qt4]
|
||||
>=kde-base/kdm-4.2.0[-kdeprefix] )
|
||||
xfce? ( x11-misc/slim )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
ISUPDATE=/tmp/${PN}.ebuild.update
|
||||
|
||||
# for fixing bug of ebuild calculate-client-2.0.17
|
||||
OLDISUPDATEPATH="${PORTAGE_TMPDIR}/portage/${CATEGORY}/${PN}-2.0.17/temp/"
|
||||
OLDISUPDATE="${OLDISUPDATEPATH}/${PN}.update"
|
||||
|
||||
pkg_preinst() {
|
||||
touch ${ISUPDATE}
|
||||
rm -f /etc/init.d/client
|
||||
|
||||
# for fixing bug of ebuild calculate-client-2.0.17
|
||||
mkdir -p ${OLDISUPDATEPATH}
|
||||
touch ${OLDISUPDATE}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use kde || use xfce;
|
||||
then
|
||||
cl-client --install
|
||||
ewarn "Please restart xdm for refreshing configuration files."
|
||||
fi
|
||||
rm ${ISUPDATE}
|
||||
|
||||
# for fixing bug of ebuild calculate-client-2.0.17
|
||||
rm -rf ${PORTAGE_TMPDIR}/portage/${CATEGORY}/${PN}-2.0.17
|
||||
rmdir ${PORTAGE_TMPDIR}/portage/${CATEGORY} &>/dev/null
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
# for fixing bug of ebuild calculate-client-2.0.17 (|| -e ${OLDISUPDATE} )
|
||||
if ! [[ -e ${ISUPDATE} || -e ${OLDISUPDATE} ]];
|
||||
then
|
||||
cl-client --uninstall
|
||||
fi
|
||||
}
|
||||
|
@ -1,66 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The program of setting and storing the user account in the domain"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="kde xfce"
|
||||
|
||||
DEPEND="=sys-apps/calculate-lib-2.1.1
|
||||
>=dev-python/python-ldap-2.0[ssl]
|
||||
>=sys-auth/pam_ldap-180[ssl]
|
||||
>=sys-auth/nss_ldap-239
|
||||
>=sys-apps/keyexec-0.1.2
|
||||
>=sys-apps/hal-0.5.9
|
||||
sys-apps/keyutils
|
||||
sys-auth/pam_keystore
|
||||
kde? ( >=kde-misc/kgtk-0.9.5[qt4]
|
||||
>=kde-base/kdm-4.2.0[-kdeprefix] )
|
||||
xfce? ( x11-misc/slim )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
ISUPDATE=/tmp/${PN}.ebuild.update
|
||||
|
||||
# for fixing bug of ebuild calculate-client-2.0.17
|
||||
OLDISUPDATEPATH="${PORTAGE_TMPDIR}/portage/${CATEGORY}/${PN}-2.0.17/temp/"
|
||||
OLDISUPDATE="${OLDISUPDATEPATH}/${PN}.update"
|
||||
|
||||
pkg_preinst() {
|
||||
touch ${ISUPDATE}
|
||||
rm -f /etc/init.d/client
|
||||
|
||||
# for fixing bug of ebuild calculate-client-2.0.17
|
||||
mkdir -p ${OLDISUPDATEPATH}
|
||||
touch ${OLDISUPDATE}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use kde || use xfce;
|
||||
then
|
||||
cl-client --install
|
||||
ewarn "Please restart xdm for refreshing configuration files."
|
||||
fi
|
||||
rm ${ISUPDATE}
|
||||
|
||||
# for fixing bug of ebuild calculate-client-2.0.17
|
||||
rm -rf ${PORTAGE_TMPDIR}/portage/${CATEGORY}/${PN}-2.0.17
|
||||
rmdir ${PORTAGE_TMPDIR}/portage/${CATEGORY} &>/dev/null
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
# for fixing bug of ebuild calculate-client-2.0.17 (|| -e ${OLDISUPDATE} )
|
||||
if ! [[ -e ${ISUPDATE} || -e ${OLDISUPDATE} ]];
|
||||
then
|
||||
cl-client --uninstall
|
||||
fi
|
||||
}
|
||||
|
@ -1,69 +0,0 @@
|
||||
diff -ruN calculate-client-2.0.16.old/pym/cl_client.py calculate-client-2.0.16/pym/cl_client.py
|
||||
--- calculate-client-2.0.16.old/pym/cl_client.py 2009-04-26 15:04:05.000000000 +0400
|
||||
+++ calculate-client-2.0.16/pym/cl_client.py 2009-05-06 10:19:15.570219689 +0400
|
||||
@@ -60,22 +60,23 @@
|
||||
if max != None:
|
||||
self.max = max
|
||||
self.title = title
|
||||
- self.label ="LOGINKDIALOG=%d" % os.getpid()
|
||||
- pipe = popen2.Popen4(self.execenv + " %s " % self.label +\
|
||||
- '/usr/bin/kdialog --progressbar "%s" %d' % (\
|
||||
- " "*(len(title)+20),self.max))
|
||||
- if pipe.poll() != 0:
|
||||
- time.sleep(0.5)
|
||||
- if pipe.poll() == 0:
|
||||
- self.kdialog = pipe.fromchild.readline().strip()
|
||||
- while not "org.kde.kdialog" in self.kdialog:
|
||||
- s = fout.fromchild.readline()
|
||||
- if s == "":
|
||||
- self.shutdownDialog()
|
||||
- self.kdialog = s.strip()
|
||||
- self.setTitle(self.title)
|
||||
- else:
|
||||
- self.shutdownDialog()
|
||||
+ if os.system('which kdialog >/dev/null') == 0:
|
||||
+ self.label ="LOGINKDIALOG=%d" % os.getpid()
|
||||
+ pipe = popen2.Popen4(self.execenv + " %s " % self.label +\
|
||||
+ '/usr/bin/kdialog --progressbar "%s" %d' % (\
|
||||
+ " "*(len(title)+20),self.max))
|
||||
+ if pipe.poll() != 0:
|
||||
+ time.sleep(0.5)
|
||||
+ if pipe.poll() == 0:
|
||||
+ self.kdialog = pipe.fromchild.readline().strip()
|
||||
+ while not "org.kde.kdialog" in self.kdialog:
|
||||
+ s = fout.fromchild.readline()
|
||||
+ if s == "":
|
||||
+ self.shutdownDialog()
|
||||
+ self.kdialog = s.strip()
|
||||
+ self.setTitle(self.title)
|
||||
+ else:
|
||||
+ self.shutdownDialog()
|
||||
|
||||
def shutdownDialog(self):
|
||||
'''Принудительно уничтожить процесс kdialog'''
|
||||
@@ -1019,10 +1020,12 @@
|
||||
--set-ldap_root=%s --set-ldap_bind=%s --set-ldap_bindpw=%s -P \
|
||||
install/6intranet" %(domain,servDn,unixDN,bindDn,bindPw)
|
||||
self.execProg(execStr)
|
||||
- textLine = self.execProg("/etc/init.d/dbus restart")
|
||||
- if not "ok" in textLine:
|
||||
- self.printWARNING(_("Error restarting /etc/init.d/dbus")+ " ...")
|
||||
- return False
|
||||
+ if os.path.exists('/etc/init.d/dbus'):
|
||||
+ textLines = self.execProg("/etc/init.d/dbus restart", False, False)
|
||||
+ if not (textLines and type(textLines) == types.ListType and\
|
||||
+ "ok" in textLines[-1] or textLines and "ok" in textLines):
|
||||
+ self.printWARNING(_("Error restarting /etc/init.d/dbus")+ " ...")
|
||||
+ return False
|
||||
self.printOK(_("Computer added to domain %s")%domain + " ...")
|
||||
return True
|
||||
|
||||
@@ -1601,7 +1604,7 @@
|
||||
# Отмонтируем пользовательские ресурсы в случае ошибки
|
||||
self.errorAndUnmountUserRes = True
|
||||
return False
|
||||
- # если репликации нет, то prevHost и remote_host одинковые
|
||||
+ # если репликации нет, то prevHost и remote_host одинаковые
|
||||
else:
|
||||
prevHost=self.clVars.Get('cl_remote_host')
|
||||
# Синхронизируем настройки пользователя
|
@ -1,33 +0,0 @@
|
||||
diff -ruN calculate-client-2.0.18.orig/README calculate-client-2.0.18/README
|
||||
--- calculate-client-2.0.18.orig/README 2009-03-13 13:53:40.844361000 +0300
|
||||
+++ calculate-client-2.0.18/README 2009-06-05 09:14:45.476897000 +0400
|
||||
@@ -7,7 +7,7 @@
|
||||
Python >= 2.3
|
||||
python-ldap >= 2.0.0
|
||||
pyxml >= 0.8
|
||||
- calculate-lib >= 2.0.12
|
||||
+ calculate-lib >= 2.0.16
|
||||
|
||||
To install calculate-client , just execute the install script 'setup.py'.
|
||||
Example:
|
||||
diff -ruN calculate-client-2.0.18.orig/profile/CLD/single/.kde4/share/config/plasma-appletsrc calculate-client-2.0.18/profile/CLD/single/.kde4/share/config/plasma-appletsrc
|
||||
--- calculate-client-2.0.18.orig/profile/CLD/single/.kde4/share/config/plasma-appletsrc 2009-06-01 09:31:24.688354000 +0400
|
||||
+++ calculate-client-2.0.18/profile/CLD/single/.kde4/share/config/plasma-appletsrc 2009-06-05 10:21:35.715200000 +0400
|
||||
@@ -75,7 +75,7 @@
|
||||
[Containments][#-sum(cont,cont)-#][Applets][#-sum(app,app)-#][Configuration]
|
||||
Url=file:///home/#-ur_login-#/FTP
|
||||
#cl_remote_host#
|
||||
-#?cl_remote_ftp=#
|
||||
+#?cl_remote_ftp==#
|
||||
[Containments][#-sum(cont,cont)-#][Applets][!#-sum(app,app+1)-#]
|
||||
#cl_remote_ftp#
|
||||
|
||||
@@ -176,7 +176,7 @@
|
||||
[Containments][#-sum(cont,cont)-#][Applets][#-sum(app,app)-#][Configuration]
|
||||
Url=file:///home/#-ur_login-#/FTP
|
||||
#cl_remote_host#
|
||||
-#?cl_remote_ftp=#
|
||||
+#?cl_remote_ftp==#
|
||||
[Containments][#-sum(cont,cont)-#][Applets][!#-sum(app,app+1)-#]
|
||||
#cl_remote_ftp#
|
||||
|
@ -1,23 +1,3 @@
|
||||
DIST calculate-lib-2.0.10.tar.bz2 49431 RMD160 3cbc81aceca77c23692ba20580320a59c7cd11fe SHA1 1508b7f3e85b27d6289d3da6b55dc8688fc28a28 SHA256 3eccd33001bdb7701d5bfb86916eba0cec55ff7472a245fc72a7b1823dedcbb7
|
||||
DIST calculate-lib-2.0.11.tar.bz2 49438 RMD160 a9e6b742336adc7abf4a4c03106bf064be62c384 SHA1 df96d2d993c0639f2f8ef224f480e419c15a0309 SHA256 0eb6d9c05830466a081e2019157486f1a5b50916a67eea6dd793034dc7067891
|
||||
DIST calculate-lib-2.0.12.tar.bz2 49686 RMD160 df34e5e5b11f6ebd34e3a5f815178eefca6444ee SHA1 0f651fd52deeb668e4e0c60cc05f9f5804c6b239 SHA256 b450b9ad8d1becc2b94ee2f6688eea6e4d5ff2b95d0139f92bd950294ca5efb0
|
||||
DIST calculate-lib-2.0.13.tar.bz2 49807 RMD160 d55c1a522b93cca1c0d5436736dea855175573f3 SHA1 7323ff0ca7cf833f52800dd1601aa0dd636f00e9 SHA256 7fba0458d268834f34ab4eed90eac95f35fa615d82eb14c4a9f65639a7d78f15
|
||||
DIST calculate-lib-2.0.14.tar.bz2 50027 RMD160 30feb3174358e753a6145ca064b83bcc8b46a0d1 SHA1 6de9f48ff48193d68513055da4dce1bfd80184e6 SHA256 31111c6f6d21a0c9683bf72b086d8c882564d574bed8b652d20c61d94b2d271c
|
||||
DIST calculate-lib-2.0.15.tar.bz2 52329 RMD160 0300625f9243d0f0ba6ff7ae85b219c3c04ef1a0 SHA1 f5faaaa896f828cb5bff38b1f6c5dc0b529b3ad3 SHA256 dff95a1062fb5d0100bea93914180b99c1c992ac0058150387042896787cd13f
|
||||
DIST calculate-lib-2.0.16.tar.bz2 53132 RMD160 67175735b351e9808ca4803036f6ab157bc15970 SHA1 0f92bad8123d443af8e748be054d4f41e457929f SHA256 c7a06a4e353e472760232eb51ff4aa76a916c0e859d07d6ac44ccda5efdc0bba
|
||||
DIST calculate-lib-2.0.8.tar.bz2 48765 RMD160 f096963f39b0f204b0e901d6e1468059b4749767 SHA1 17699710253f21dc6c99386e65d757999aa272f1 SHA256 b144b46d2807763d5e4da0c9e7a1bdc6ff4ae0989942ba38dfd8b3fae29afe84
|
||||
DIST calculate-lib-2.0.9.tar.bz2 49446 RMD160 dd0833561f775e55a8d0d01d9e9d752a1c51a68b SHA1 7cc1002fd7cffc104542825b7eb027f47bc713c4 SHA256 fe09066738efc7f1896822a756f2ca022f75d0d55b3670f4a7d6894cda06e807
|
||||
DIST calculate-lib-2.1.0.tar.bz2 55868 RMD160 c7c679ee793742f2839f5222a8479ace5c4331b3 SHA1 6fdffe5d1e007ba3dffdb44f190a84b3eee30653 SHA256 3dea4b3bb573ed6e75856cb66a6d713c725a28cd1e732afcd5eb8e3e5fe7faf3
|
||||
DIST calculate-lib-2.1.1.tar.bz2 55853 RMD160 3007384d0a63881a08cd988348920f3e22dcaa8b SHA1 cc9a2a137ba680c2b223d392ceea8b79cc9fbd6d SHA256 5bf5e38ac8908e42d343d865761da3809c1f6884d654b5ee178aa443fe1b491f
|
||||
EBUILD calculate-lib-2.0.10.ebuild 705 RMD160 8c3da5f3fdbf3f59046d8837a9f7e0f8a3fde43d SHA1 d598585a9ee7ffca9be8af767d8b777b2260f09b SHA256 137f0c0590cce4a6dd4f28c8bc3b01f1f17cee4b58d456791ca70cba6d9ebb26
|
||||
EBUILD calculate-lib-2.0.11.ebuild 705 RMD160 cfbb189de5bd0b1c9929b047b3dde25774101475 SHA1 ff2c72091428521cb22079c6f376e4fc7fed2ba1 SHA256 e54159741d027dd8de30dd7eafbb30ae4f871c0ce1926684402210058969d588
|
||||
EBUILD calculate-lib-2.0.12.ebuild 705 RMD160 d5c7310e88cca7ed8be277645b5c9fc71d70bc90 SHA1 6642ba3dd0310d1da7dcc9fdd63d60c9cadf4bed SHA256 4f4251f53408966144b4aed8f05db45ffb80a5de63c831c9b0a3906b654a0edf
|
||||
EBUILD calculate-lib-2.0.13.ebuild 731 RMD160 ba3a4a7324634d4269a05062a8fe6de3f0dcbbe0 SHA1 0b05160482331b73aa129ede9f0f2c7d3394aa88 SHA256 53f01b581d6cb5867e250726fd5868a75dec7d1fb92cae50944a730e5b7b0f94
|
||||
EBUILD calculate-lib-2.0.14.ebuild 586 RMD160 b90ca6695c05e9aa9beb78f811389cf4da08148e SHA1 d37e5e8a100ed86a05f88705af66d0fa2573bb8f SHA256 8266a0bf75d6da04fef0d61af831d6c5f807270484631f68341edd0144c61b67
|
||||
EBUILD calculate-lib-2.0.15.ebuild 586 RMD160 2a7c5b3b8a3d177095d83ff1cfeeacae692d06f4 SHA1 ea6b2fdd85189cf1af446705d4050a6b69ac3160 SHA256 11069bf2bb0f312ff4459bee2f138501a4f2ee0fe0f936010718b72760bd9c88
|
||||
EBUILD calculate-lib-2.0.16.ebuild 586 RMD160 89017ba4ce6e3762a0e1b08773fc8c9b216783d9 SHA1 9e28ad4436e1a41a0913f402e4cbbd1eeb8f6b7e SHA256 007c51f4cf244c4df1b1cc17aeeaaec42c7a564d1adbd072fbd7e78a7a6d425e
|
||||
EBUILD calculate-lib-2.0.8-r1.ebuild 705 RMD160 013a86c863d6da808c55e43c99152c1fa812945d SHA1 943b85014982635a3b5697426c7607cefddac075 SHA256 f97867412984b29024368d8b4f304a43348be6d00e5c1a26a882e5c690a273d6
|
||||
EBUILD calculate-lib-2.0.9-r1.ebuild 787 RMD160 5a6b258f50e87929decd85b073d76c7f000f9297 SHA1 7e1c42e877d8e1ffb0a7677b15d65c4081fb6f5a SHA256 be80b7b6da32f1222ab97bb05769acb5a024755a07675f647633faea9c2ca54f
|
||||
EBUILD calculate-lib-2.1.0.ebuild 584 RMD160 1168e271573ae29d5ffbf1415829715d802f3e99 SHA1 930065f8f109d55eb376c6d7ef967236c40b6c0e SHA256 c4d60b287dee8d5a6b828e8ecb05e78989ca0364bd01f8c752beacd3050fcb5a
|
||||
EBUILD calculate-lib-2.1.1.ebuild 582 RMD160 62b203ff6b4972b7aaa7d4ed53ea999483fc532c SHA1 5c78330c5189fd9372c7cd2397e89f4867449de6 SHA256 f83047fed839b20114c5300b7536f7f499f77b590d4a082a0a86f4c3e5244fd7
|
||||
EBUILD calculate-lib-9999.ebuild 464 RMD160 e0ddc557b2d985343632a0586809706ff7f145e0 SHA1 fffc3d64f1604b721452e4c81da0ea1ee21b06ec SHA256 20648bf0c62a41342486184e4763c6d32f97d24598a70d58c2943c5f5eed8de0
|
||||
|
@ -1,21 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
http://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
ftp://ftp.linux.kiev.ua/pub/Linux/Calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The library for Calculate 2"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate_2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
DEPEND="!<sys-apps/calculate-client-2.0.13
|
||||
!<sys-apps/calculate-server-2.0.7
|
||||
>=dev-python/python-ldap-2.0[ssl]
|
||||
>=dev-python/pyxml-0.8"
|
@ -1,21 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
http://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
ftp://ftp.linux.kiev.ua/pub/Linux/Calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The library for Calculate 2"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate_2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
DEPEND="!<sys-apps/calculate-client-2.0.14
|
||||
!<sys-apps/calculate-server-2.0.7
|
||||
>=dev-python/python-ldap-2.0[ssl]
|
||||
>=dev-python/pyxml-0.8"
|
@ -1,21 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
http://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
ftp://ftp.linux.kiev.ua/pub/Linux/Calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The library for Calculate 2"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate_2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
DEPEND="!<sys-apps/calculate-client-2.0.15
|
||||
!<sys-apps/calculate-server-2.0.8
|
||||
>=dev-python/python-ldap-2.0[ssl]
|
||||
>=dev-python/pyxml-0.8"
|
@ -1,22 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
http://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
ftp://ftp.linux.kiev.ua/pub/Linux/Calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The library for Calculate 2"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate_2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
DEPEND="!<sys-apps/calculate-client-2.0.15
|
||||
!<sys-apps/calculate-server-2.0.9
|
||||
>=dev-lang/python-2.5.2
|
||||
>=dev-python/python-ldap-2.0[ssl]
|
||||
>=dev-python/pyxml-0.8"
|
@ -1,21 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
|
||||
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The library for Calculate 2"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate_2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
DEPEND="!<sys-apps/calculate-client-2.0.16
|
||||
!<sys-apps/calculate-server-2.0.9
|
||||
>=dev-lang/python-2.5.2
|
||||
>=dev-python/python-ldap-2.0[ssl]
|
||||
>=dev-python/pyxml-0.8"
|
@ -1,20 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The library for Calculate 2"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate_2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
DEPEND="!<sys-apps/calculate-client-2.0.17
|
||||
!<sys-apps/calculate-server-2.0.12
|
||||
>=dev-lang/python-2.5.2
|
||||
>=dev-python/python-ldap-2.0[ssl]
|
||||
>=dev-python/pyxml-0.8"
|
@ -1,20 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The library for Calculate 2"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate_2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
DEPEND="!<sys-apps/calculate-client-2.0.18
|
||||
!<sys-apps/calculate-server-2.0.12
|
||||
>=dev-lang/python-2.5.2
|
||||
>=dev-python/python-ldap-2.0[ssl]
|
||||
>=dev-python/pyxml-0.8"
|
@ -1,21 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
http://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
ftp://ftp.linux.kiev.ua/pub/Linux/Calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The library for Calculate 2"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate_2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
DEPEND="!<sys-apps/calculate-client-2.0.10
|
||||
!<sys-apps/calculate-server-2.0.6
|
||||
>=dev-python/python-ldap-2.0[ssl]
|
||||
>=dev-python/pyxml-0.8"
|
@ -1,22 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
http://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
ftp://ftp.linux.kiev.ua/pub/Linux/Calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
ftp://ftp.calculate-linux.ru/pub/calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The library for Calculate 2"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate_2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
DEPEND="!<sys-apps/calculate-client-2.0.12
|
||||
!<sys-apps/calculate-server-2.0.6
|
||||
>=dev-python/python-ldap-2.0[ssl]
|
||||
>=dev-python/pyxml-0.8"
|
@ -1,20 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The library for Calculate 2"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate_2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
DEPEND="!<sys-apps/calculate-client-2.1.0
|
||||
!<sys-apps/calculate-server-2.1.0
|
||||
>=dev-lang/python-2.5.2
|
||||
>=dev-python/python-ldap-2.0[ssl]
|
||||
>=dev-python/pyxml-0.8"
|
@ -1,146 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
|
||||
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The program for configuring services Linux"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate_2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="=sys-apps/calculate-lib-2.0.14
|
||||
>=net-nds/openldap-2.3[-minimal]
|
||||
>=sys-auth/pam_ldap-180[ssl]
|
||||
>=sys-auth/nss_ldap-239
|
||||
>=net-fs/samba-3.0[acl,cups,kernel_linux,ldap,pam]
|
||||
>=net-mail/dovecot-1.0[pop3d,ldap,pam,ssl]
|
||||
>=net-im/calculate-ejabberd-2.0.2[ldap,pam,ssl,zlib]
|
||||
>=mail-mta/postfix-2.2[ldap,pam,ssl]
|
||||
>=net-ftp/proftpd-1.3.1[-acl,ldap,ncurses,nls,pam,radius,ssl,tcpd]
|
||||
>=mail-filter/procmail-3.22"
|
||||
|
||||
pkg_postinst() {
|
||||
if [ -d /var/calculate/server-data/mail/imap ] || \
|
||||
[ -d /var/calculate/server-data/samba/win/profiles ] || \
|
||||
[ -d /var/calculate/server-data/samba/unix/profiles ] || \
|
||||
[ -d /var/calculate/server-data/samba/win/netlogon ];
|
||||
then
|
||||
ewarn "Data found in directories of previous version calculate-server"
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/mail/imap ];
|
||||
then
|
||||
if ! [ -d /var/calculate/server-data/mail~ ];
|
||||
then
|
||||
if mv /var/calculate/server-data/mail/imap \
|
||||
/var/calculate/server-data/mail~ && \
|
||||
rmdir /var/calculate/server-data/mail && \
|
||||
mv /var/calculate/server-data/mail~ \
|
||||
/var/calculate/server-data/mail;
|
||||
then
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/mail/imap"
|
||||
ewarn "was moved to /var/calculate/server-data/mail"
|
||||
MAILUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${MAILUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/mail/imap"
|
||||
eerror "Please manualy move /var/calculate/server-data/mail/imap"
|
||||
eerror "to /var/calculate/server-data/mail"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/win/profiles ];
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/profiles/win ];
|
||||
then
|
||||
if mkdir -p /var/calculate/server-data/samba/profiles && \
|
||||
mv /var/calculate/server-data/samba/win/profiles \
|
||||
/var/calculate/server-data/samba/profiles/win;
|
||||
then
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/samba/win/profiles"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/profiles/win"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/win/profiles"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/win/profiles"
|
||||
eerror "to /var/calculate/server-data/samba/profiles/win"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/unix/profiles ]; \
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/profiles/unix ];
|
||||
then
|
||||
if mkdir -p /var/calculate/server-data/samba/profiles && \
|
||||
mv -f /var/calculate/server-data/samba/unix/profiles \
|
||||
/var/calculate/server-data/samba/profiles/unix;
|
||||
then
|
||||
rmdir /var/calculate/server-data/samba/unix
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/samba/unix/profiles"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/profiles/unix"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/unix/profiles"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/unix/profiles"
|
||||
eerror "to /var/calculate/server-data/samba/profiles/unix"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/win/netlogon ];
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/netlogon ];
|
||||
then
|
||||
if mv -f /var/calculate/server-data/samba/win/netlogon \
|
||||
/var/calculate/server-data/samba/netlogon;
|
||||
then
|
||||
rmdir /var/calculate/server-data/samba/win
|
||||
ewarn
|
||||
ewarn "Data form /var/calculate/server-data/samba/win/netlogon"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/netlogon"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/win/netlogon"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/win/netlogon"
|
||||
eerror "/var/calculate/server-data/samba/netlogon"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${MAILUPDATE}" == "TRUE" ];
|
||||
then
|
||||
ewarn
|
||||
ewarn "Please update mail service by the command:"
|
||||
ewarn "\tcl-update mail"
|
||||
fi
|
||||
if [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
ewarn
|
||||
ewarn "Please update samba service by the command:"
|
||||
ewarn "\tcl-update samba"
|
||||
fi
|
||||
}
|
@ -1,145 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The program for configuring services Linux"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate_2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="=sys-apps/calculate-lib-2.0.14
|
||||
>=net-nds/openldap-2.3[-minimal]
|
||||
>=sys-auth/pam_ldap-180[ssl]
|
||||
>=sys-auth/nss_ldap-239
|
||||
>=net-fs/samba-3.0[acl,cups,kernel_linux,ldap,pam]
|
||||
>=net-mail/dovecot-1.0[pop3d,ldap,pam,ssl]
|
||||
>=net-im/calculate-ejabberd-2.0.2[ldap,pam,ssl,zlib]
|
||||
>=mail-mta/postfix-2.2[ldap,pam,ssl]
|
||||
>=net-ftp/proftpd-1.3.1[-acl,ldap,ncurses,nls,pam,radius,ssl,tcpd]
|
||||
>=mail-filter/procmail-3.22"
|
||||
|
||||
pkg_postinst() {
|
||||
if [ -d /var/calculate/server-data/mail/imap ] || \
|
||||
[ -d /var/calculate/server-data/samba/win/profiles ] || \
|
||||
[ -d /var/calculate/server-data/samba/unix/profiles ] || \
|
||||
[ -d /var/calculate/server-data/samba/win/netlogon ];
|
||||
then
|
||||
ewarn "Data found in directories of previous version calculate-server"
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/mail/imap ];
|
||||
then
|
||||
if ! [ -d /var/calculate/server-data/mail~ ];
|
||||
then
|
||||
if mv /var/calculate/server-data/mail/imap \
|
||||
/var/calculate/server-data/mail~ && \
|
||||
rmdir /var/calculate/server-data/mail && \
|
||||
mv /var/calculate/server-data/mail~ \
|
||||
/var/calculate/server-data/mail;
|
||||
then
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/mail/imap"
|
||||
ewarn "was moved to /var/calculate/server-data/mail"
|
||||
MAILUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${MAILUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/mail/imap"
|
||||
eerror "Please manualy move /var/calculate/server-data/mail/imap"
|
||||
eerror "to /var/calculate/server-data/mail"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/win/profiles ];
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/profiles/win ];
|
||||
then
|
||||
if mkdir -p /var/calculate/server-data/samba/profiles && \
|
||||
mv /var/calculate/server-data/samba/win/profiles \
|
||||
/var/calculate/server-data/samba/profiles/win;
|
||||
then
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/samba/win/profiles"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/profiles/win"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/win/profiles"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/win/profiles"
|
||||
eerror "to /var/calculate/server-data/samba/profiles/win"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/unix/profiles ]; \
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/profiles/unix ];
|
||||
then
|
||||
if mkdir -p /var/calculate/server-data/samba/profiles && \
|
||||
mv -f /var/calculate/server-data/samba/unix/profiles \
|
||||
/var/calculate/server-data/samba/profiles/unix;
|
||||
then
|
||||
rmdir /var/calculate/server-data/samba/unix
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/samba/unix/profiles"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/profiles/unix"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/unix/profiles"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/unix/profiles"
|
||||
eerror "to /var/calculate/server-data/samba/profiles/unix"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/win/netlogon ];
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/netlogon ];
|
||||
then
|
||||
if mv -f /var/calculate/server-data/samba/win/netlogon \
|
||||
/var/calculate/server-data/samba/netlogon;
|
||||
then
|
||||
rmdir /var/calculate/server-data/samba/win
|
||||
ewarn
|
||||
ewarn "Data form /var/calculate/server-data/samba/win/netlogon"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/netlogon"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/win/netlogon"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/win/netlogon"
|
||||
eerror "/var/calculate/server-data/samba/netlogon"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${MAILUPDATE}" == "TRUE" ];
|
||||
then
|
||||
ewarn
|
||||
ewarn "Please update mail service by the command:"
|
||||
ewarn "\tcl-update mail"
|
||||
fi
|
||||
if [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
ewarn
|
||||
ewarn "Please update samba service by the command:"
|
||||
ewarn "\tcl-update samba"
|
||||
fi
|
||||
}
|
@ -1,159 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The program for configuring services Linux"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate_2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="=sys-apps/calculate-lib-2.0.14
|
||||
>=net-nds/openldap-2.3[-minimal]
|
||||
>=sys-auth/pam_ldap-180[ssl]
|
||||
>=sys-auth/nss_ldap-239
|
||||
>=net-fs/samba-3.0[acl,cups,kernel_linux,ldap,pam]
|
||||
>=net-mail/dovecot-1.0[pop3d,ldap,pam,ssl]
|
||||
>=net-im/calculate-ejabberd-2.0.2[ldap,pam,ssl,zlib]
|
||||
>=mail-mta/postfix-2.2[ldap,pam,ssl]
|
||||
>=net-ftp/proftpd-1.3.1[-acl,ldap,ncurses,nls,pam,radius,ssl,tcpd]
|
||||
>=mail-filter/procmail-3.22"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
# Fixed bug - when adding a user with an indication of jabber ID
|
||||
epatch "${FILESDIR}/bugfix-${PVR}.patch"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [ -d /var/calculate/server-data/mail/imap ] || \
|
||||
[ -d /var/calculate/server-data/samba/win/profiles ] || \
|
||||
[ -d /var/calculate/server-data/samba/unix/profiles ] || \
|
||||
[ -d /var/calculate/server-data/samba/win/netlogon ];
|
||||
then
|
||||
ewarn "Data found in directories of previous version calculate-server"
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/mail/imap ];
|
||||
then
|
||||
if ! [ -d /var/calculate/server-data/mail~ ];
|
||||
then
|
||||
if mv /var/calculate/server-data/mail/imap \
|
||||
/var/calculate/server-data/mail~ && \
|
||||
rmdir /var/calculate/server-data/mail && \
|
||||
mv /var/calculate/server-data/mail~ \
|
||||
/var/calculate/server-data/mail;
|
||||
then
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/mail/imap"
|
||||
ewarn "was moved to /var/calculate/server-data/mail"
|
||||
MAILUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${MAILUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/mail/imap"
|
||||
eerror "Please manualy move /var/calculate/server-data/mail/imap"
|
||||
eerror "to /var/calculate/server-data/mail"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/win/profiles ];
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/profiles/win ];
|
||||
then
|
||||
if mkdir -p /var/calculate/server-data/samba/profiles && \
|
||||
mv /var/calculate/server-data/samba/win/profiles \
|
||||
/var/calculate/server-data/samba/profiles/win;
|
||||
then
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/samba/win/profiles"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/profiles/win"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/win/profiles"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/win/profiles"
|
||||
eerror "to /var/calculate/server-data/samba/profiles/win"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/unix/profiles ]; \
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/profiles/unix ];
|
||||
then
|
||||
if mkdir -p /var/calculate/server-data/samba/profiles && \
|
||||
mv -f /var/calculate/server-data/samba/unix/profiles \
|
||||
/var/calculate/server-data/samba/profiles/unix;
|
||||
then
|
||||
rmdir /var/calculate/server-data/samba/unix
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/samba/unix/profiles"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/profiles/unix"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/unix/profiles"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/unix/profiles"
|
||||
eerror "to /var/calculate/server-data/samba/profiles/unix"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/win/netlogon ];
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/netlogon ];
|
||||
then
|
||||
if mv -f /var/calculate/server-data/samba/win/netlogon \
|
||||
/var/calculate/server-data/samba/netlogon;
|
||||
then
|
||||
rmdir /var/calculate/server-data/samba/win
|
||||
ewarn
|
||||
ewarn "Data form /var/calculate/server-data/samba/win/netlogon"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/netlogon"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/win/netlogon"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/win/netlogon"
|
||||
eerror "/var/calculate/server-data/samba/netlogon"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${MAILUPDATE}" == "TRUE" ];
|
||||
then
|
||||
ewarn
|
||||
ewarn "Please update mail service by the command:"
|
||||
ewarn "\tcl-update mail"
|
||||
fi
|
||||
if [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
ewarn
|
||||
ewarn "Please update samba service by the command:"
|
||||
ewarn "\tcl-update samba"
|
||||
fi
|
||||
|
||||
ewarn
|
||||
ewarn "WARNING!!! If you use samba or jabber services, then need update them"
|
||||
ewarn "by commands:"
|
||||
ewarn "\tcl-update samba"
|
||||
ewarn "\tcl-update jabber"
|
||||
}
|
@ -1,147 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
http://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
ftp://ftp.linux.kiev.ua/pub/Linux/Calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The program for configuring services Linux"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate_2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="=sys-apps/calculate-lib-2.0.8-r1
|
||||
>=net-nds/openldap-2.3[-minimal]
|
||||
>=sys-auth/pam_ldap-180[ssl]
|
||||
>=sys-auth/nss_ldap-239
|
||||
>=net-fs/samba-3.0[acl,cups,kernel_linux,ldap,pam]
|
||||
>=net-mail/dovecot-1.0[pop3d,ldap,pam,ssl]
|
||||
>=net-im/calculate-ejabberd-2.0.2[ldap,pam,ssl,zlib]
|
||||
>=mail-mta/postfix-2.2[ldap,pam,ssl]
|
||||
>=net-ftp/proftpd-1.3.1[-acl,ldap,ncurses,nls,pam,radius,ssl,tcpd]
|
||||
>=mail-filter/procmail-3.22"
|
||||
|
||||
pkg_postinst() {
|
||||
if [ -d /var/calculate/server-data/mail/imap ] || \
|
||||
[ -d /var/calculate/server-data/samba/win/profiles ] || \
|
||||
[ -d /var/calculate/server-data/samba/unix/profiles ] || \
|
||||
[ -d /var/calculate/server-data/samba/win/netlogon ];
|
||||
then
|
||||
ewarn "Data found in directories of previous version calculate-server"
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/mail/imap ];
|
||||
then
|
||||
if ! [ -d /var/calculate/server-data/mail~ ];
|
||||
then
|
||||
if mv /var/calculate/server-data/mail/imap \
|
||||
/var/calculate/server-data/mail~ && \
|
||||
rmdir /var/calculate/server-data/mail && \
|
||||
mv /var/calculate/server-data/mail~ \
|
||||
/var/calculate/server-data/mail;
|
||||
then
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/mail/imap"
|
||||
ewarn "was moved to /var/calculate/server-data/mail"
|
||||
MAILUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${MAILUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/mail/imap"
|
||||
eerror "Please manualy move /var/calculate/server-data/mail/imap"
|
||||
eerror "to /var/calculate/server-data/mail"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/win/profiles ];
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/profiles/win ];
|
||||
then
|
||||
if mkdir -p /var/calculate/server-data/samba/profiles && \
|
||||
mv /var/calculate/server-data/samba/win/profiles \
|
||||
/var/calculate/server-data/samba/profiles/win;
|
||||
then
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/samba/win/profiles"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/profiles/win"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/win/profiles"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/win/profiles"
|
||||
eerror "to /var/calculate/server-data/samba/profiles/win"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/unix/profiles ]; \
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/profiles/unix ];
|
||||
then
|
||||
if mkdir -p /var/calculate/server-data/samba/profiles && \
|
||||
mv -f /var/calculate/server-data/samba/unix/profiles \
|
||||
/var/calculate/server-data/samba/profiles/unix;
|
||||
then
|
||||
rmdir /var/calculate/server-data/samba/unix
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/samba/unix/profiles"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/profiles/unix"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/unix/profiles"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/unix/profiles"
|
||||
eerror "to /var/calculate/server-data/samba/profiles/unix"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/win/netlogon ];
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/netlogon ];
|
||||
then
|
||||
if mv -f /var/calculate/server-data/samba/win/netlogon \
|
||||
/var/calculate/server-data/samba/netlogon;
|
||||
then
|
||||
rmdir /var/calculate/server-data/samba/win
|
||||
ewarn
|
||||
ewarn "Data form /var/calculate/server-data/samba/win/netlogon"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/netlogon"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/win/netlogon"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/win/netlogon"
|
||||
eerror "/var/calculate/server-data/samba/netlogon"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${MAILUPDATE}" == "TRUE" ];
|
||||
then
|
||||
ewarn
|
||||
ewarn "Please update mail service by the command:"
|
||||
ewarn "\tcl-update mail"
|
||||
fi
|
||||
if [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
ewarn
|
||||
ewarn "Please update samba service by the command:"
|
||||
ewarn "\tcl-update samba"
|
||||
fi
|
||||
}
|
@ -1,147 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
http://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
ftp://ftp.linux.kiev.ua/pub/Linux/Calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The program for configuring services Linux"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate_2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="=sys-apps/calculate-lib-2.0.10
|
||||
>=net-nds/openldap-2.3[-minimal]
|
||||
>=sys-auth/pam_ldap-180[ssl]
|
||||
>=sys-auth/nss_ldap-239
|
||||
>=net-fs/samba-3.0[acl,cups,kernel_linux,ldap,pam]
|
||||
>=net-mail/dovecot-1.0[pop3d,ldap,pam,ssl]
|
||||
>=net-im/calculate-ejabberd-2.0.2[ldap,pam,ssl,zlib]
|
||||
>=mail-mta/postfix-2.2[ldap,pam,ssl]
|
||||
>=net-ftp/proftpd-1.3.1[-acl,ldap,ncurses,nls,pam,radius,ssl,tcpd]
|
||||
>=mail-filter/procmail-3.22"
|
||||
|
||||
pkg_postinst() {
|
||||
if [ -d /var/calculate/server-data/mail/imap ] || \
|
||||
[ -d /var/calculate/server-data/samba/win/profiles ] || \
|
||||
[ -d /var/calculate/server-data/samba/unix/profiles ] || \
|
||||
[ -d /var/calculate/server-data/samba/win/netlogon ];
|
||||
then
|
||||
ewarn "Data found in directories of previous version calculate-server"
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/mail/imap ];
|
||||
then
|
||||
if ! [ -d /var/calculate/server-data/mail~ ];
|
||||
then
|
||||
if mv /var/calculate/server-data/mail/imap \
|
||||
/var/calculate/server-data/mail~ && \
|
||||
rmdir /var/calculate/server-data/mail && \
|
||||
mv /var/calculate/server-data/mail~ \
|
||||
/var/calculate/server-data/mail;
|
||||
then
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/mail/imap"
|
||||
ewarn "was moved to /var/calculate/server-data/mail"
|
||||
MAILUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${MAILUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/mail/imap"
|
||||
eerror "Please manualy move /var/calculate/server-data/mail/imap"
|
||||
eerror "to /var/calculate/server-data/mail"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/win/profiles ];
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/profiles/win ];
|
||||
then
|
||||
if mkdir -p /var/calculate/server-data/samba/profiles && \
|
||||
mv /var/calculate/server-data/samba/win/profiles \
|
||||
/var/calculate/server-data/samba/profiles/win;
|
||||
then
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/samba/win/profiles"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/profiles/win"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/win/profiles"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/win/profiles"
|
||||
eerror "to /var/calculate/server-data/samba/profiles/win"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/unix/profiles ]; \
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/profiles/unix ];
|
||||
then
|
||||
if mkdir -p /var/calculate/server-data/samba/profiles && \
|
||||
mv -f /var/calculate/server-data/samba/unix/profiles \
|
||||
/var/calculate/server-data/samba/profiles/unix;
|
||||
then
|
||||
rmdir /var/calculate/server-data/samba/unix
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/samba/unix/profiles"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/profiles/unix"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/unix/profiles"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/unix/profiles"
|
||||
eerror "to /var/calculate/server-data/samba/profiles/unix"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/win/netlogon ];
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/netlogon ];
|
||||
then
|
||||
if mv -f /var/calculate/server-data/samba/win/netlogon \
|
||||
/var/calculate/server-data/samba/netlogon;
|
||||
then
|
||||
rmdir /var/calculate/server-data/samba/win
|
||||
ewarn
|
||||
ewarn "Data form /var/calculate/server-data/samba/win/netlogon"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/netlogon"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/win/netlogon"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/win/netlogon"
|
||||
eerror "/var/calculate/server-data/samba/netlogon"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${MAILUPDATE}" == "TRUE" ];
|
||||
then
|
||||
ewarn
|
||||
ewarn "Please update mail service by the command:"
|
||||
ewarn "\tcl-update mail"
|
||||
fi
|
||||
if [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
ewarn
|
||||
ewarn "Please update samba service by the command:"
|
||||
ewarn "\tcl-update samba"
|
||||
fi
|
||||
}
|
@ -1,155 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
http://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
ftp://ftp.linux.kiev.ua/pub/Linux/Calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The program for configuring services Linux"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate_2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="=sys-apps/calculate-lib-2.0.12
|
||||
>=net-nds/openldap-2.3[-minimal]
|
||||
>=sys-auth/pam_ldap-180[ssl]
|
||||
>=sys-auth/nss_ldap-239
|
||||
>=net-fs/samba-3.0[acl,cups,kernel_linux,ldap,pam]
|
||||
>=net-mail/dovecot-1.0[pop3d,ldap,pam,ssl]
|
||||
>=net-im/calculate-ejabberd-2.0.2[ldap,pam,ssl,zlib]
|
||||
>=mail-mta/postfix-2.2[ldap,pam,ssl]
|
||||
>=net-ftp/proftpd-1.3.1[-acl,ldap,ncurses,nls,pam,radius,ssl,tcpd]
|
||||
>=mail-filter/procmail-3.22"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
# delete a option
|
||||
epatch "${FILESDIR}/bugfix-r1.patch"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [ -d /var/calculate/server-data/mail/imap ] || \
|
||||
[ -d /var/calculate/server-data/samba/win/profiles ] || \
|
||||
[ -d /var/calculate/server-data/samba/unix/profiles ] || \
|
||||
[ -d /var/calculate/server-data/samba/win/netlogon ];
|
||||
then
|
||||
ewarn "Data found in directories of previous version calculate-server"
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/mail/imap ];
|
||||
then
|
||||
if ! [ -d /var/calculate/server-data/mail~ ];
|
||||
then
|
||||
if mv /var/calculate/server-data/mail/imap \
|
||||
/var/calculate/server-data/mail~ && \
|
||||
rmdir /var/calculate/server-data/mail && \
|
||||
mv /var/calculate/server-data/mail~ \
|
||||
/var/calculate/server-data/mail;
|
||||
then
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/mail/imap"
|
||||
ewarn "was moved to /var/calculate/server-data/mail"
|
||||
MAILUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${MAILUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/mail/imap"
|
||||
eerror "Please manualy move /var/calculate/server-data/mail/imap"
|
||||
eerror "to /var/calculate/server-data/mail"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/win/profiles ];
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/profiles/win ];
|
||||
then
|
||||
if mkdir -p /var/calculate/server-data/samba/profiles && \
|
||||
mv /var/calculate/server-data/samba/win/profiles \
|
||||
/var/calculate/server-data/samba/profiles/win;
|
||||
then
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/samba/win/profiles"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/profiles/win"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/win/profiles"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/win/profiles"
|
||||
eerror "to /var/calculate/server-data/samba/profiles/win"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/unix/profiles ]; \
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/profiles/unix ];
|
||||
then
|
||||
if mkdir -p /var/calculate/server-data/samba/profiles && \
|
||||
mv -f /var/calculate/server-data/samba/unix/profiles \
|
||||
/var/calculate/server-data/samba/profiles/unix;
|
||||
then
|
||||
rmdir /var/calculate/server-data/samba/unix
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/samba/unix/profiles"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/profiles/unix"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/unix/profiles"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/unix/profiles"
|
||||
eerror "to /var/calculate/server-data/samba/profiles/unix"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/win/netlogon ];
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/netlogon ];
|
||||
then
|
||||
if mv -f /var/calculate/server-data/samba/win/netlogon \
|
||||
/var/calculate/server-data/samba/netlogon;
|
||||
then
|
||||
rmdir /var/calculate/server-data/samba/win
|
||||
ewarn
|
||||
ewarn "Data form /var/calculate/server-data/samba/win/netlogon"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/netlogon"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/win/netlogon"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/win/netlogon"
|
||||
eerror "/var/calculate/server-data/samba/netlogon"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${MAILUPDATE}" == "TRUE" ];
|
||||
then
|
||||
ewarn
|
||||
ewarn "Please update mail service by the command:"
|
||||
ewarn "\tcl-update mail"
|
||||
fi
|
||||
if [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
ewarn
|
||||
ewarn "Please update samba service by the command:"
|
||||
ewarn "\tcl-update samba"
|
||||
fi
|
||||
}
|
@ -1,147 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
http://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2
|
||||
ftp://ftp.linux.kiev.ua/pub/Linux/Calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The program for configuring services Linux"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate_2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="=sys-apps/calculate-lib-2.0.13
|
||||
>=net-nds/openldap-2.3[-minimal]
|
||||
>=sys-auth/pam_ldap-180[ssl]
|
||||
>=sys-auth/nss_ldap-239
|
||||
>=net-fs/samba-3.0[acl,cups,kernel_linux,ldap,pam]
|
||||
>=net-mail/dovecot-1.0[pop3d,ldap,pam,ssl]
|
||||
>=net-im/calculate-ejabberd-2.0.2[ldap,pam,ssl,zlib]
|
||||
>=mail-mta/postfix-2.2[ldap,pam,ssl]
|
||||
>=net-ftp/proftpd-1.3.1[-acl,ldap,ncurses,nls,pam,radius,ssl,tcpd]
|
||||
>=mail-filter/procmail-3.22"
|
||||
|
||||
pkg_postinst() {
|
||||
if [ -d /var/calculate/server-data/mail/imap ] || \
|
||||
[ -d /var/calculate/server-data/samba/win/profiles ] || \
|
||||
[ -d /var/calculate/server-data/samba/unix/profiles ] || \
|
||||
[ -d /var/calculate/server-data/samba/win/netlogon ];
|
||||
then
|
||||
ewarn "Data found in directories of previous version calculate-server"
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/mail/imap ];
|
||||
then
|
||||
if ! [ -d /var/calculate/server-data/mail~ ];
|
||||
then
|
||||
if mv /var/calculate/server-data/mail/imap \
|
||||
/var/calculate/server-data/mail~ && \
|
||||
rmdir /var/calculate/server-data/mail && \
|
||||
mv /var/calculate/server-data/mail~ \
|
||||
/var/calculate/server-data/mail;
|
||||
then
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/mail/imap"
|
||||
ewarn "was moved to /var/calculate/server-data/mail"
|
||||
MAILUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${MAILUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/mail/imap"
|
||||
eerror "Please manualy move /var/calculate/server-data/mail/imap"
|
||||
eerror "to /var/calculate/server-data/mail"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/win/profiles ];
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/profiles/win ];
|
||||
then
|
||||
if mkdir -p /var/calculate/server-data/samba/profiles && \
|
||||
mv /var/calculate/server-data/samba/win/profiles \
|
||||
/var/calculate/server-data/samba/profiles/win;
|
||||
then
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/samba/win/profiles"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/profiles/win"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/win/profiles"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/win/profiles"
|
||||
eerror "to /var/calculate/server-data/samba/profiles/win"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/unix/profiles ]; \
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/profiles/unix ];
|
||||
then
|
||||
if mkdir -p /var/calculate/server-data/samba/profiles && \
|
||||
mv -f /var/calculate/server-data/samba/unix/profiles \
|
||||
/var/calculate/server-data/samba/profiles/unix;
|
||||
then
|
||||
rmdir /var/calculate/server-data/samba/unix
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/samba/unix/profiles"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/profiles/unix"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/unix/profiles"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/unix/profiles"
|
||||
eerror "to /var/calculate/server-data/samba/profiles/unix"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/win/netlogon ];
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/netlogon ];
|
||||
then
|
||||
if mv -f /var/calculate/server-data/samba/win/netlogon \
|
||||
/var/calculate/server-data/samba/netlogon;
|
||||
then
|
||||
rmdir /var/calculate/server-data/samba/win
|
||||
ewarn
|
||||
ewarn "Data form /var/calculate/server-data/samba/win/netlogon"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/netlogon"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/win/netlogon"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/win/netlogon"
|
||||
eerror "/var/calculate/server-data/samba/netlogon"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${MAILUPDATE}" == "TRUE" ];
|
||||
then
|
||||
ewarn
|
||||
ewarn "Please update mail service by the command:"
|
||||
ewarn "\tcl-update mail"
|
||||
fi
|
||||
if [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
ewarn
|
||||
ewarn "Please update samba service by the command:"
|
||||
ewarn "\tcl-update samba"
|
||||
fi
|
||||
}
|
@ -1,151 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The program for configuring services Linux"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate_2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="=sys-apps/calculate-lib-2.1.0
|
||||
>=net-nds/openldap-2.3[-minimal]
|
||||
>=sys-auth/pam_ldap-180[ssl]
|
||||
>=sys-auth/nss_ldap-239
|
||||
=net-fs/samba-3.0*[acl,cups,kernel_linux,ldap,pam]
|
||||
>=net-mail/dovecot-1.0[pop3d,ldap,pam,ssl]
|
||||
>=net-im/calculate-ejabberd-2.0.2[ldap,pam,ssl,zlib]
|
||||
>=mail-mta/postfix-2.2[ldap,pam,ssl]
|
||||
>=net-ftp/proftpd-1.3.1[-acl,ldap,ncurses,nls,pam,radius,ssl,tcpd]
|
||||
>=mail-filter/procmail-3.22"
|
||||
|
||||
pkg_postinst() {
|
||||
if [ -d /var/calculate/server-data/mail/imap ] || \
|
||||
[ -d /var/calculate/server-data/samba/win/profiles ] || \
|
||||
[ -d /var/calculate/server-data/samba/unix/profiles ] || \
|
||||
[ -d /var/calculate/server-data/samba/win/netlogon ];
|
||||
then
|
||||
ewarn "Data found in directories of previous version calculate-server"
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/mail/imap ];
|
||||
then
|
||||
if ! [ -d /var/calculate/server-data/mail~ ];
|
||||
then
|
||||
if mv /var/calculate/server-data/mail/imap \
|
||||
/var/calculate/server-data/mail~ && \
|
||||
rmdir /var/calculate/server-data/mail && \
|
||||
mv /var/calculate/server-data/mail~ \
|
||||
/var/calculate/server-data/mail;
|
||||
then
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/mail/imap"
|
||||
ewarn "was moved to /var/calculate/server-data/mail"
|
||||
MAILUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${MAILUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/mail/imap"
|
||||
eerror "Please manualy move /var/calculate/server-data/mail/imap"
|
||||
eerror "to /var/calculate/server-data/mail"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/win/profiles ];
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/profiles/win ];
|
||||
then
|
||||
if mkdir -p /var/calculate/server-data/samba/profiles && \
|
||||
mv /var/calculate/server-data/samba/win/profiles \
|
||||
/var/calculate/server-data/samba/profiles/win;
|
||||
then
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/samba/win/profiles"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/profiles/win"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/win/profiles"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/win/profiles"
|
||||
eerror "to /var/calculate/server-data/samba/profiles/win"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/unix/profiles ]; \
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/profiles/unix ];
|
||||
then
|
||||
if mkdir -p /var/calculate/server-data/samba/profiles && \
|
||||
mv -f /var/calculate/server-data/samba/unix/profiles \
|
||||
/var/calculate/server-data/samba/profiles/unix;
|
||||
then
|
||||
rmdir /var/calculate/server-data/samba/unix
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/samba/unix/profiles"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/profiles/unix"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/unix/profiles"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/unix/profiles"
|
||||
eerror "to /var/calculate/server-data/samba/profiles/unix"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/win/netlogon ];
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/netlogon ];
|
||||
then
|
||||
if mv -f /var/calculate/server-data/samba/win/netlogon \
|
||||
/var/calculate/server-data/samba/netlogon;
|
||||
then
|
||||
rmdir /var/calculate/server-data/samba/win
|
||||
ewarn
|
||||
ewarn "Data form /var/calculate/server-data/samba/win/netlogon"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/netlogon"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/win/netlogon"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/win/netlogon"
|
||||
eerror "/var/calculate/server-data/samba/netlogon"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${MAILUPDATE}" == "TRUE" ];
|
||||
then
|
||||
ewarn
|
||||
ewarn "Please update mail service by the command:"
|
||||
ewarn "\tcl-update mail"
|
||||
fi
|
||||
if [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
ewarn
|
||||
ewarn "Please update samba service by the command:"
|
||||
ewarn "\tcl-update samba"
|
||||
fi
|
||||
|
||||
ewarn
|
||||
ewarn "WARNING!!! If you are updating calculate-server from version"
|
||||
ewarn "less 2.0.12, you need update samba and jabber services by commands:"
|
||||
ewarn "\tcl-update samba"
|
||||
ewarn "\tcl-update jabber"
|
||||
}
|
@ -1,151 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The program for configuring services Linux"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate_2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="=sys-apps/calculate-lib-2.1.0
|
||||
>=net-nds/openldap-2.3[-minimal]
|
||||
>=sys-auth/pam_ldap-180[ssl]
|
||||
>=sys-auth/nss_ldap-239
|
||||
=net-fs/samba-3.0*[acl,cups,kernel_linux,ldap,pam]
|
||||
>=net-mail/dovecot-1.0[pop3d,ldap,pam,ssl]
|
||||
>=net-im/calculate-ejabberd-2.0.2[ldap,pam,ssl,zlib]
|
||||
>=mail-mta/postfix-2.2[ldap,pam,ssl]
|
||||
>=net-ftp/proftpd-1.3.1[-acl,ldap,ncurses,nls,pam,radius,ssl,tcpd]
|
||||
>=mail-filter/procmail-3.22"
|
||||
|
||||
pkg_postinst() {
|
||||
if [ -d /var/calculate/server-data/mail/imap ] || \
|
||||
[ -d /var/calculate/server-data/samba/win/profiles ] || \
|
||||
[ -d /var/calculate/server-data/samba/unix/profiles ] || \
|
||||
[ -d /var/calculate/server-data/samba/win/netlogon ];
|
||||
then
|
||||
ewarn "Data found in directories of previous version calculate-server"
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/mail/imap ];
|
||||
then
|
||||
if ! [ -d /var/calculate/server-data/mail~ ];
|
||||
then
|
||||
if mv /var/calculate/server-data/mail/imap \
|
||||
/var/calculate/server-data/mail~ && \
|
||||
rmdir /var/calculate/server-data/mail && \
|
||||
mv /var/calculate/server-data/mail~ \
|
||||
/var/calculate/server-data/mail;
|
||||
then
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/mail/imap"
|
||||
ewarn "was moved to /var/calculate/server-data/mail"
|
||||
MAILUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${MAILUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/mail/imap"
|
||||
eerror "Please manualy move /var/calculate/server-data/mail/imap"
|
||||
eerror "to /var/calculate/server-data/mail"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/win/profiles ];
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/profiles/win ];
|
||||
then
|
||||
if mkdir -p /var/calculate/server-data/samba/profiles && \
|
||||
mv /var/calculate/server-data/samba/win/profiles \
|
||||
/var/calculate/server-data/samba/profiles/win;
|
||||
then
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/samba/win/profiles"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/profiles/win"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/win/profiles"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/win/profiles"
|
||||
eerror "to /var/calculate/server-data/samba/profiles/win"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/unix/profiles ]; \
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/profiles/unix ];
|
||||
then
|
||||
if mkdir -p /var/calculate/server-data/samba/profiles && \
|
||||
mv -f /var/calculate/server-data/samba/unix/profiles \
|
||||
/var/calculate/server-data/samba/profiles/unix;
|
||||
then
|
||||
rmdir /var/calculate/server-data/samba/unix
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/samba/unix/profiles"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/profiles/unix"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/unix/profiles"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/unix/profiles"
|
||||
eerror "to /var/calculate/server-data/samba/profiles/unix"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/win/netlogon ];
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/netlogon ];
|
||||
then
|
||||
if mv -f /var/calculate/server-data/samba/win/netlogon \
|
||||
/var/calculate/server-data/samba/netlogon;
|
||||
then
|
||||
rmdir /var/calculate/server-data/samba/win
|
||||
ewarn
|
||||
ewarn "Data form /var/calculate/server-data/samba/win/netlogon"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/netlogon"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/win/netlogon"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/win/netlogon"
|
||||
eerror "/var/calculate/server-data/samba/netlogon"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${MAILUPDATE}" == "TRUE" ];
|
||||
then
|
||||
ewarn
|
||||
ewarn "Please update mail service by the command:"
|
||||
ewarn "\tcl-update mail"
|
||||
fi
|
||||
if [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
ewarn
|
||||
ewarn "Please update samba service by the command:"
|
||||
ewarn "\tcl-update samba"
|
||||
fi
|
||||
|
||||
ewarn
|
||||
ewarn "WARNING!!! If you are updating calculate-server from version"
|
||||
ewarn "less 2.0.12, you need update samba and jabber services by commands:"
|
||||
ewarn "\tcl-update samba"
|
||||
ewarn "\tcl-update jabber"
|
||||
}
|
@ -1,151 +0,0 @@
|
||||
# Copyright 2008 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The program for configuring services Linux"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/Calculate_2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="=sys-apps/calculate-lib-2.1.0
|
||||
>=net-nds/openldap-2.3[-minimal]
|
||||
>=sys-auth/pam_ldap-180[ssl]
|
||||
>=sys-auth/nss_ldap-239
|
||||
=net-fs/samba-3.0*[acl,cups,kernel_linux,ldap,pam]
|
||||
>=net-mail/dovecot-1.0[pop3d,ldap,pam,ssl]
|
||||
>=net-im/calculate-ejabberd-2.0.2[ldap,pam,ssl,zlib]
|
||||
>=mail-mta/postfix-2.2[ldap,pam,ssl]
|
||||
>=net-ftp/proftpd-1.3.1[-acl,ldap,ncurses,nls,pam,radius,ssl,tcpd]
|
||||
>=mail-filter/procmail-3.22"
|
||||
|
||||
pkg_postinst() {
|
||||
if [ -d /var/calculate/server-data/mail/imap ] || \
|
||||
[ -d /var/calculate/server-data/samba/win/profiles ] || \
|
||||
[ -d /var/calculate/server-data/samba/unix/profiles ] || \
|
||||
[ -d /var/calculate/server-data/samba/win/netlogon ];
|
||||
then
|
||||
ewarn "Data found in directories of previous version calculate-server"
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/mail/imap ];
|
||||
then
|
||||
if ! [ -d /var/calculate/server-data/mail~ ];
|
||||
then
|
||||
if mv /var/calculate/server-data/mail/imap \
|
||||
/var/calculate/server-data/mail~ && \
|
||||
rmdir /var/calculate/server-data/mail && \
|
||||
mv /var/calculate/server-data/mail~ \
|
||||
/var/calculate/server-data/mail;
|
||||
then
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/mail/imap"
|
||||
ewarn "was moved to /var/calculate/server-data/mail"
|
||||
MAILUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${MAILUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/mail/imap"
|
||||
eerror "Please manualy move /var/calculate/server-data/mail/imap"
|
||||
eerror "to /var/calculate/server-data/mail"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/win/profiles ];
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/profiles/win ];
|
||||
then
|
||||
if mkdir -p /var/calculate/server-data/samba/profiles && \
|
||||
mv /var/calculate/server-data/samba/win/profiles \
|
||||
/var/calculate/server-data/samba/profiles/win;
|
||||
then
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/samba/win/profiles"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/profiles/win"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/win/profiles"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/win/profiles"
|
||||
eerror "to /var/calculate/server-data/samba/profiles/win"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/unix/profiles ]; \
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/profiles/unix ];
|
||||
then
|
||||
if mkdir -p /var/calculate/server-data/samba/profiles && \
|
||||
mv -f /var/calculate/server-data/samba/unix/profiles \
|
||||
/var/calculate/server-data/samba/profiles/unix;
|
||||
then
|
||||
rmdir /var/calculate/server-data/samba/unix
|
||||
ewarn
|
||||
ewarn "Data from /var/calculate/server-data/samba/unix/profiles"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/profiles/unix"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/unix/profiles"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/unix/profiles"
|
||||
eerror "to /var/calculate/server-data/samba/profiles/unix"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /var/calculate/server-data/samba/win/netlogon ];
|
||||
then
|
||||
SAMBAUPDATE=""
|
||||
if ! [ -d /var/calculate/server-data/samba/netlogon ];
|
||||
then
|
||||
if mv -f /var/calculate/server-data/samba/win/netlogon \
|
||||
/var/calculate/server-data/samba/netlogon;
|
||||
then
|
||||
rmdir /var/calculate/server-data/samba/win
|
||||
ewarn
|
||||
ewarn "Data form /var/calculate/server-data/samba/win/netlogon"
|
||||
ewarn "was moved to /var/calculate/server-data/samba/netlogon"
|
||||
SAMBAUPDATE="TRUE"
|
||||
fi
|
||||
fi
|
||||
if ! [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
eerror "Cannot move /var/calculate/server-data/samba/win/netlogon"
|
||||
eerror "Please manualy move "
|
||||
eerror "/var/calculate/server-data/samba/win/netlogon"
|
||||
eerror "/var/calculate/server-data/samba/netlogon"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${MAILUPDATE}" == "TRUE" ];
|
||||
then
|
||||
ewarn
|
||||
ewarn "Please update mail service by the command:"
|
||||
ewarn "\tcl-update mail"
|
||||
fi
|
||||
if [ "${SAMBAUPDATE}" == "TRUE" ];
|
||||
then
|
||||
ewarn
|
||||
ewarn "Please update samba service by the command:"
|
||||
ewarn "\tcl-update samba"
|
||||
fi
|
||||
|
||||
ewarn
|
||||
ewarn "WARNING!!! If you are updating calculate-server from version"
|
||||
ewarn "less 2.0.12, you need update samba and jabber services by commands:"
|
||||
ewarn "\tcl-update samba"
|
||||
ewarn "\tcl-update jabber"
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
diff -ruN calculate-server-2.0.12.orig/ldif/jabber_user.ldif calculate-server-2.0.12/ldif/jabber_user.ldif
|
||||
--- calculate-server-2.0.12.orig/ldif/jabber_user.ldif 2009-05-08 18:58:37.000000000 +0400
|
||||
+++ calculate-server-2.0.12/ldif/jabber_user.ldif 2009-05-14 11:18:45.000000000 +0400
|
||||
@@ -2,7 +2,7 @@
|
||||
dn: uid=#-ur_name-#,ou=Users,#-ld_jabber_dn-#
|
||||
objectClass: inetOrgPerson
|
||||
uid: #-ur_name-#
|
||||
-cn: #-ur_name-#
|
||||
+cn: #-sr_jabber_user_name-#
|
||||
sn: #-ur_fio-#
|
||||
mail: #-sr_jabber_user_id-#
|
||||
initials: Yes
|
||||
diff -ruN calculate-server-2.0.12.orig/pym/cl_fill_server.py calculate-server-2.0.12/pym/cl_fill_server.py
|
||||
--- calculate-server-2.0.12.orig/pym/cl_fill_server.py 2009-05-08 17:47:18.000000000 +0400
|
||||
+++ calculate-server-2.0.12/pym/cl_fill_server.py 2009-05-14 11:18:45.000000000 +0400
|
||||
@@ -509,3 +509,10 @@
|
||||
if jabberHosts:
|
||||
return ", ".join(map(lambda x: '"'+x+'"', jabberHosts.split(",")))
|
||||
return ""
|
||||
+
|
||||
+ def get_sr_jabber_user_name(self):
|
||||
+ """Имя jabber пользователя (левая часть jabber id)"""
|
||||
+ userJid = self.Get("sr_jabber_user_id")
|
||||
+ if userJid:
|
||||
+ return userJid.partition('@')[0]
|
||||
+ return ""
|
||||
diff -ruN calculate-server-2.0.12.orig/pym/cl_vars_server.py calculate-server-2.0.12/pym/cl_vars_server.py
|
||||
--- calculate-server-2.0.12.orig/pym/cl_vars_server.py 2009-05-08 17:47:18.000000000 +0400
|
||||
+++ calculate-server-2.0.12/pym/cl_vars_server.py 2009-05-14 13:07:55.000000000 +0400
|
||||
@@ -154,6 +154,9 @@
|
||||
# jabber id пользователя
|
||||
sr_jabber_user_id = {'mode':"w"}
|
||||
|
||||
+ # имя jabber пользователя (левая часть jabber id)
|
||||
+ sr_jabber_user_name = {'mode':"w"}
|
||||
+
|
||||
# шифрование при получении - ''/ssl
|
||||
sr_jabber_crypt = {'mode':"w",'value':'ssl'}
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST calculate-1.1.0.tar.bz2 205141 RMD160 cff5f13cdef67ac24ed2154320e32892c3a09e16 SHA1 c6acb177fe71d5b616c3385edaa4e8cfd6063ce2 SHA256 e8ad568647e5cc9285392b4197a042496d8d7454bb93865ccd28d1edf054bec7
|
||||
DIST calculate-1.2.0_rc1.tar.bz2 212550 RMD160 2c0d46bde1499069ce1b30e33867a75533ddd52a SHA1 daedf7f1918a1d9ad13d85c88cb9619ff646a997 SHA256 e8e93f659e33ea720c6f895596163a44a79db1f25c835ff478d6c965ce1885cf
|
||||
EBUILD calculate-1.1.0-r1.ebuild 1855 RMD160 f8a68acbe5996a0ac35a492eb1accc556d391d1c SHA1 b15d8b199dd77e9670178221a727a8936deaab7c SHA256 f40d5f96864f34f45390e71b5e0e2142f115297dae67658d9175e09920210c80
|
||||
EBUILD calculate-1.2.0_rc1.ebuild 1778 RMD160 b6b60ddf9848e774c3d9aa6f5a2ef84b41836d16 SHA1 99239a8760ef70337f7d710bcb1875bedf9748b6 SHA256 a85bbc7c48cb5ef4e4db446364a359696e238309456b0ca8b087bc8bc3ddb520
|
||||
EBUILD calculate-9999.ebuild 1359 RMD160 c8c3dc5c15c18aed1bfe4868d919b2f94109785d SHA1 e28b9603dec77910239f0cdd0f2b4edbbf9f258b SHA256 176ac49563303829b115ba4daea80eff01aa4bb921639092380924ffc119a107
|
||||
EBUILD calculate-1.2.0_rc1.ebuild 1815 RMD160 9ea64321372bc3eab1e58a918a6db90c5670fd1b SHA1 18e2a0a5202adf58c4cc0d71fecc68b209c4c582 SHA256 df1802b531646beeec815730ff6e758742afd25c439eec298210745a6e664dbe
|
||||
EBUILD calculate-9999.ebuild 1396 RMD160 2f0a2d6d6dc794956cb05691a9746b1c5c640b5d SHA1 03a67b17288287ce86e4bf8805ddeda18d0188b3 SHA256 0f3a0aa1415d9528dda79a221673c333d7f148c5cbd866f1bfec8894fdbe5355
|
||||
|
@ -1,5 +1,2 @@
|
||||
DIST keyexec-0.1.1.tar.bz2 6168 RMD160 2a1ed09044f1073e66929b66d48dd734e3602d3e SHA1 779110ed5b82bc45144e8515ffb9f7a91a675e64 SHA256 d33ee1c836d8cee7ed63376c9effb90f1759d806fcaa433be4425881fadb3d9e
|
||||
DIST keyexec-0.1.2.tar.bz2 6157 RMD160 d93ddd4c17dbec4c99552a52c90ab1e37f7aaa3b SHA1 d36f3067d3d0df7867c89f5bc0d73a440e80912b SHA256 670cbac2b9e2d60715d91a3d4fe937a449ec50f3dab23887b203f014efd08bb7
|
||||
EBUILD keyexec-0.1.1-r1.ebuild 743 RMD160 b440d01c97a815d25b5f39fe221cef23a54d09d5 SHA1 3f4bda1732599a87766be9e3a19081a2d3193d09 SHA256 471a90a9cb5c95241cc857ffbdb99714bc742fe8063a87b8f7f705efbd8cd0b9
|
||||
EBUILD keyexec-0.1.2-r2.ebuild 727 RMD160 5aaf0cd899d21c6667056ef11b905f14531b152b SHA1 b3259de0a9a40d1ff6c938cd0a02ece38db1fa0c SHA256 066a458dd223a8b78001650cbf341ecbab234ef2b90aab53c1eacdfbcabe2ba1
|
||||
EBUILD keyexec-0.1.2-r3.ebuild 740 RMD160 bb14ea4e22125536f966e21ae31a6d9cc8f6cac2 SHA1 a86269de1f92fcffd4ef2f163e0f0da5273ac33a SHA256 f55acd279d1d49a78c5c3392d9415e301049281df16338bca1afe2d71b4b8510
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 2007 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
inherit qt3 kde-functions
|
||||
|
||||
DESCRIPTION="Starts other program using the password of the user kept in the kernel"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/keyexec"
|
||||
SRC_URI="ftp://mirror.yandex.ru/calculate/${PN}/${P}.tar.bz2
|
||||
http://mirror.yandex.ru/calculate/${PN}/${P}.tar.bz2
|
||||
ftp://ftp.linux.kiev.ua/pub/Linux/Calculate/${PN}/${P}.tar.bz2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
DEPEND=">=sys-apps/keyutils-1.1
|
||||
>=sys-auth/pam_keystore-0.1"
|
||||
#RDEPEND=""
|
||||
|
||||
need-kde 3.5
|
||||
|
||||
src_compile() {
|
||||
make CFLAGS="-Wall ${CFLAGS}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
# Copyright 2007 Calculate Pack, http://www.calculate-linux.ru
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
DESCRIPTION="Starts other program using the password of the user kept in the kernel"
|
||||
HOMEPAGE="http://www.calculate-linux.ru/keyexec"
|
||||
SRC_URI="ftp://mirror.yandex.ru/calculate/${PN}/${P}.tar.bz2
|
||||
http://mirror.yandex.ru/calculate/${PN}/${P}.tar.bz2
|
||||
ftp://ftp.linux.kiev.ua/pub/Linux/Calculate/${PN}/${P}.tar.bz2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
DEPEND=">=sys-apps/keyutils-1.1
|
||||
>=sys-auth/pam_keystore-0.1
|
||||
>=kde-base/kdelibs-4.1.0"
|
||||
|
||||
#RDEPEND=""
|
||||
|
||||
src_compile() {
|
||||
make CFLAGS="-Wall ${CFLAGS}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
}
|
Loading…
Reference in new issue