Ebuild для calculate-server-2.0.11

git-svn-id: http://svn.calculate.ru/overlay@1301 c91db197-33c1-4113-bf15-f8a5c547ca64
atratsevskiy
mhiretskiy 15 years ago
parent e1dabc1376
commit a09d45a4eb

@ -1,10 +1,12 @@
AUX bugfix-r1.patch 15315 RMD160 d1b98e91a9d74a9405ac239b7f65278795d5a4e5 SHA1 f51165d6e7a6053cb6139737525a33e40e73020b SHA256 c24009d5dce14fdd4b1ab34a3e3eebadf7818a154fb4dd08cff75684fefefc18
DIST calculate-server-2.0.10.tar.bz2 95013 RMD160 c72ff97a2a9a44ae3e8c661dba49e57c3c917b64 SHA1 2aaffdc9ce0d8405b6ddd8b8ff381518e49dea3d SHA256 2dfbf3704c20efb7e7d4854627213249002f6a51e292dfb9cc486c98b93f32e6
DIST calculate-server-2.0.11.tar.bz2 95097 RMD160 7081d2d84cb32bb4d227a520cab86d18d9f4e942 SHA1 e2540fd62d7331d53a69f9dbb0175622754ca962 SHA256 ebd6972ac791c0078061c6278c3002eceb097a666f76158657fc4e83703da96c
DIST calculate-server-2.0.6.tar.bz2 67671 RMD160 0e065a7c0fc54f18c22dc88c379bfeda954402ff SHA1 d6c914daa15d9d9482f62f63c275690d1473bc98 SHA256 e86cc9f0c6756bd7043834bf74cc484d715e364d92e076d5ca39bcdbef59f4f3
DIST calculate-server-2.0.7.tar.bz2 78994 RMD160 bc30817790120f48ede32a5a65fd3fb69d7ad5c9 SHA1 6b67921a05eeb4c5625a59012c0feb4daf143f78 SHA256 750d7731052300038b259ad94f6190bbb3e75f70b25f63d918cc3a2f74ae800f
DIST calculate-server-2.0.8.tar.bz2 81329 RMD160 321e13492e60b3cf963c9c56c56d820696f380b4 SHA1 140f822a929611e8bd9cd7ac25feccb873d0b5b7 SHA256 31b3024aae6f02edb57557403604b02266276593722f977eca3ce7152a612806
DIST calculate-server-2.0.9.tar.bz2 88531 RMD160 4bb8811f2170571b243be149d9be2294339ec11b SHA1 7c0185d86dc669c5dc22a55e4efb832b6fea07e3 SHA256 bf7d3c67250a7a2c215d8d81c36c423b5a7c2e222d40ae247797086ceca0e5dd
EBUILD calculate-server-2.0.10.ebuild 4613 RMD160 1de4323ea8e1e98f204097e6f33c904f2ef7939c SHA1 622469f012a6b223f42f51e27a26ab5811220039 SHA256 3000e3f2df7ed9ea9a338c0301502f6a3176d73f5f396b8e8d8714b33741c448
EBUILD calculate-server-2.0.11.ebuild 4612 RMD160 213637eced6fb1959436ef356949e00957860c63 SHA1 3d26b37d28179d6d233d9c4173da1eb7a16b54e8 SHA256 ef3d17d143b1b7ea16dd4f3c6805181928ec23d0ab1d7be34014f28572ceda6c
EBUILD calculate-server-2.0.6-r1.ebuild 4766 RMD160 7a33f101dc1e6b60d38f255550815cf2f3a921bf SHA1 6b6fa8a64afd6a3a3e9ac0b2512d8998b9343375 SHA256 85cee081c9f0f251667b31d9cba8e9b9a8f7b4eebc073b76d341479e9f813572
EBUILD calculate-server-2.0.7.ebuild 4764 RMD160 243b4926e9beaf2d5cf45338eddab07df5c3a1dc SHA1 27666ef42e4b0dff1c4a1cd086d1a74f579ab5e3 SHA256 c23af116ad636ac237f4b48fe6f817803b12a536fb55e5ae7a11c0abc4d88e0d
EBUILD calculate-server-2.0.8-r1.ebuild 4864 RMD160 b32b7c9d94884208048428b0e33303e3ad89b91d SHA1 ebe258f64c2e6dc9964f6058328f4e2377d13fc7 SHA256 346c0a0b39dd0104f695d7b764de0d1d15caaf37c4eb8b81c3869a0ad062a3f1

@ -0,0 +1,145 @@
# 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
}
Loading…
Cancel
Save