Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 206300 Details for
Bug 285771
[calculate] sys-apps/calculate-server (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
calculate-server-2.1.4.ebuild
calculate-server-2.1.4.ebuild (text/plain), 4.70 KB, created by
Alexander Tratsevskiy
on 2009-10-07 12:03:36 UTC
(
hide
)
Description:
calculate-server-2.1.4.ebuild
Filename:
MIME Type:
Creator:
Alexander Tratsevskiy
Created:
2009-10-07 12:03:36 UTC
Size:
4.70 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >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.org/Calculate2" >LICENSE="Apache-2.0" >SLOT="0" >KEYWORDS="amd64 x86" > >IUSE="" > >DEPEND=">=sys-apps/calculate-lib-2.1.3-r1 > <sys-apps/calculate-lib-2.1.4 > >=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] > >=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 > >=net-dns/bind-9.6.1_p1[sdb-ldap] > >=net-misc/dhcp-3.1.2_p1" > >RDEPEND="${DEPEND}" > >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" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 285771
:
204744
| 206300