parent
daf7bc57c8
commit
54b4418c10
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Calculate Linux theme for gensplash"
|
||||
HOMEPAGE="http://www.calculate-linux.org/packages/media-gfx/calculate-splash-themes"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+verbose +silent +silent-shutdown"
|
||||
|
||||
REQUIRED_USE="|| ( verbose silent silent-shutdown )"
|
||||
|
||||
SRC_URI="silent? (
|
||||
ftp://ftp.calculate-linux.org/calculate/themes/calculate/splash-silent-18.jpg -> ${PN}-silent-18.jpg
|
||||
http://mirror.yandex.ru/calculate/themes/calculate/splash-silent-18.jpg -> ${PN}-silent-18.jpg )
|
||||
verbose? (
|
||||
ftp://ftp.calculate-linux.org/calculate/themes/calculate/splash-verbose-18.jpg -> ${PN}-verbose-18.jpg
|
||||
http://mirror.yandex.ru/calculate/themes/calculate/splash-verbose-18.jpg -> ${PN}-verbose-18.jpg )
|
||||
silent-shutdown? (
|
||||
ftp://ftp.calculate-linux.org/calculate/themes/calculate/splash-shutdown-18.jpg -> ${PN}-shutdown-18.jpg
|
||||
http://mirror.yandex.ru/calculate/themes/calculate/splash-shutdown-18.jpg -> ${PN}-shutdown-18.jpg )"
|
||||
|
||||
DEPEND="media-gfx/splashutils
|
||||
media-fonts/droid
|
||||
!<sys-apps/calculate-utils-3.5.2.6"
|
||||
|
||||
# need for templates
|
||||
RDEPEND="${DEPEND}
|
||||
media-gfx/imagemagick"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/themes/Calculate/
|
||||
if use silent
|
||||
then
|
||||
newins "${DISTDIR}"/${PN}-silent-${PV}.jpg splash-silent.jpg
|
||||
fi
|
||||
if use silent-shutdown
|
||||
then
|
||||
newins "${DISTDIR}"/${PN}-shutdown-${PV}.jpg splash-shutdown.jpg
|
||||
fi
|
||||
if use verbose
|
||||
then
|
||||
newins "${DISTDIR}"/${PN}-verbose-${PV}.jpg splash-verbose.jpg
|
||||
fi
|
||||
}
|
||||
|
@ -1,2 +1,2 @@
|
||||
# Calculate format=backgrounds stretch convert=gfxboot path=/usr/share/themes/gfxboot-themes-calculate name=back.jpg cl_ver>=3.5.2.22&&pkg(media-gfx/imagemagick)!= link=#-ini(theme.gfxboot-background)-# mirror
|
||||
# Calculate format=backgrounds stretch convert=gfxboot path=/usr/share/themes/gfxboot-themes-calculate name=back.jpg cl_ver>=3.5.2.22 pkg(media-gfx/imagemagick)!=||pkg(media-gfx/graphicsmagick)!= link=#-ini(theme.gfxboot-background)-# mirror
|
||||
640x480
|
||||
|
@ -1 +1 @@
|
||||
# Calculate path=/usr/share/themes/gfxboot-themes-calculate name=back.jpg cl_ver<3.5.2.22||pkg(media-gfx/imagemagick)== ini(theme.gfxboot-background)!=&&exists(#-ini(theme.gfxboot-background)-#)!= link=#-ini(theme.gfxboot-background)-# force mirror
|
||||
# Calculate path=/usr/share/themes/gfxboot-themes-calculate name=back.jpg cl_ver<3.5.2.22||pkg(media-gfx/imagemagick)==&&pkg(media-gfx/graphicsmagick)== ini(theme.gfxboot-background)!=&&exists(#-ini(theme.gfxboot-background)-#)!= link=#-ini(theme.gfxboot-background)-# force mirror
|
||||
|
@ -1,2 +1,2 @@
|
||||
# Calculate format=backgrounds convert=png stretch path=/boot/grub name=grub-calculate.png pkg(media-gfx/imagemagick)!= ini(theme.grub-background)!=&&exists(#-ini(theme.grub-background)-#)!=||cl_ver>=3.5.2.22 link=#-ini(theme.grub-background)-# mirror
|
||||
# Calculate format=backgrounds convert=png stretch path=/boot/grub name=grub-calculate.png pkg(media-gfx/imagemagick)!=||pkg(media-gfx/graphicsmagick)!= ini(theme.grub-background)!=&&exists(#-ini(theme.grub-background)-#)!=||cl_ver>=3.5.2.22 link=#-ini(theme.grub-background)-# mirror
|
||||
1920x1080
|
||||
|
@ -1,2 +1,2 @@
|
||||
# Calculate append=remove name=.shutdown.md5 ini(theme.splash-shutdown-type)!=logo||ini(theme.splash-shutdown-picture)==||exists(#-ini(theme.splash-shutdown-picture)-#)==||pkg(media-gfx/imagemagick)==
|
||||
# Calculate append=remove name=.shutdown.md5 ini(theme.splash-shutdown-type)!=logo||ini(theme.splash-shutdown-picture)==||exists(#-ini(theme.splash-shutdown-picture)-#)==||pkg(media-gfx/imagemagick)==&&pkg(media-gfx/graphicsmagick)==
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
# Calculate append=remove name=.shutdown.png ini(theme.splash-shutdown-type)!=logo||ini(theme.splash-shutdown-picture)==||exists(#-ini(theme.splash-shutdown-picture)-#)==||pkg(media-gfx/imagemagick)==
|
||||
# Calculate append=remove name=.shutdown.png ini(theme.splash-shutdown-type)!=logo||ini(theme.splash-shutdown-picture)==||exists(#-ini(theme.splash-shutdown-picture)-#)==||pkg(media-gfx/imagemagick)==&&pkg(media-gfx/graphicsmagick)==
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
# Calculate append=remove name=boot.md5 ini(theme.splash-silent-type)!=logo||ini(theme.splash-silent-picture)==||exists(#-ini(theme.splash-silent-picture)-#)==||pkg(media-gfx/imagemagick)==
|
||||
# Calculate append=remove name=boot.md5 ini(theme.splash-silent-type)!=logo||ini(theme.splash-silent-picture)==||exists(#-ini(theme.splash-silent-picture)-#)==||pkg(media-gfx/imagemagick)==&&pkg(media-gfx/graphicsmagick)==
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
# Calculate append=remove name=boot.png ini(theme.splash-silent-type)!=logo||ini(theme.splash-silent-picture)==||exists(#-ini(theme.splash-silent-picture)-#)==||pkg(media-gfx/imagemagick)==
|
||||
# Calculate append=remove name=boot.png ini(theme.splash-silent-type)!=logo||ini(theme.splash-silent-picture)==||exists(#-ini(theme.splash-silent-picture)-#)==||pkg(media-gfx/imagemagick)==&&pkg(media-gfx/graphicsmagick)==
|
||||
|
||||
|
@ -1 +1 @@
|
||||
# Calculate append=remove path=/boot/grub name=grub-calculate.png cl_ver<3.5.2.22 ini(theme.grub-background)==||exists(#-ini(theme.grub-background)-#)==||pkg(media-gfx/imagemagick)==
|
||||
# Calculate append=remove path=/boot/grub name=grub-calculate.png cl_ver<3.5.2.22 ini(theme.grub-background)==||exists(#-ini(theme.grub-background)-#)==||pkg(media-gfx/imagemagick)==&&pkg(media-gfx/graphicsmagick)==
|
||||
|
@ -1,2 +1,2 @@
|
||||
# Calculate format=backgrounds convert=png stretch path=/usr/share/backgrounds/mate/desktop name=Stripes.png link=#-ini(theme.dm-login-background)-# mirror pkg(media-gfx/imagemagick)!=&&cl_ver>=3.5.2.21
|
||||
# Calculate format=backgrounds convert=png stretch path=/usr/share/backgrounds/mate/desktop name=Stripes.png link=#-ini(theme.dm-login-background)-# mirror cl_ver>=3.5.2.21 pkg(media-gfx/imagemagick)!=||pkg(media-gfx/graphicsmagick)!=
|
||||
#-os_install_x11_resolution-#
|
||||
|
@ -0,0 +1,194 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=(python{2_6,2_7})
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
SRC_URI="ftp://ftp.calculate-linux.org/calculate/source/calculate2/${PN}/${P}.tar.bz2
|
||||
http://mirror.yandex.ru/calculate/source/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="Configuration utility for Linux services"
|
||||
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
IUSE="calculate_nomail
|
||||
calculate_nodhcp
|
||||
calculate_noftp
|
||||
calculate_nojabber
|
||||
calculate_nonamed
|
||||
calculate_nosamba
|
||||
calculate_noproxy"
|
||||
|
||||
DEPEND="=sys-apps/calculate-lib-2.1.12-r3
|
||||
>=net-nds/openldap-2.3[-minimal]
|
||||
>=sys-auth/pam_ldap-180[ssl]
|
||||
>=sys-auth/nss_ldap-239
|
||||
!<sys-apps/calculate-utils-3.5.0_alpha44
|
||||
!calculate_nosamba? (
|
||||
|| (
|
||||
<net-fs/samba-4[acl,client,cups,ldap,netapi,pam,server,smbclient]
|
||||
>=net-fs/samba-4[acl,client,cups,ldap,pam]
|
||||
)
|
||||
)
|
||||
!calculate_nomail? (
|
||||
|| ( <net-mail/dovecot-1.2.0[pop3d,ldap,pam,ssl]
|
||||
>=net-mail/dovecot-1.2.0[ldap,pam,ssl(+)]
|
||||
)
|
||||
>=mail-filter/procmail-3.22
|
||||
dev-python/pymilter
|
||||
>=mail-mta/postfix-2.2[ldap,pam,ssl,sasl,dovecot-sasl]
|
||||
)
|
||||
!calculate_noftp? (
|
||||
|| ( <net-ftp/proftpd-1.3.3[-acl,ldap,ncurses,nls,pam,ssl,tcpd]
|
||||
>=net-ftp/proftpd-1.3.3[-acl,ident,ldap,ncurses,nls,pam,ssl,tcpd]
|
||||
)
|
||||
)
|
||||
!calculate_nojabber? (
|
||||
|| ( >=net-im/ejabberd-2.1.8[mod_pubsub,ldap]
|
||||
>=net-im/ejabberd-16.04-r1[ldap] )
|
||||
|| ( media-gfx/imagemagick
|
||||
media-gfx/graphicsmagick )
|
||||
)
|
||||
!calculate_nonamed? ( >=net-dns/bind-9.6.1_p1[sdb-ldap] )
|
||||
!calculate_noproxy? ( >=net-proxy/squid-3.0.14[ldap,pam,ssl] )
|
||||
!calculate_nodhcp? ( >=net-misc/dhcp-3.1.2_p1 )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
# fix init.d/sortmilter
|
||||
"${FILESDIR}"/calculate-server-2.1.19-fix_sortmilter.patch
|
||||
"${FILESDIR}"/calculate-server-2.1.19-fix_mailservice.patch
|
||||
"${FILESDIR}"/calculate-server-2.1.19-fix_certgen.patch
|
||||
"${FILESDIR}"/calculate-server-2.1.19-fix_jabber.patch
|
||||
"${FILESDIR}"/calculate-server-2.1.19-fix_gendh.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 have the samba service, then update it by the command:"
|
||||
ewarn "\tcl-update samba"
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=(python2_7)
|
||||
|
||||
declare -A CALCULATE_MODULES=(
|
||||
["lib"]="3.6.7.13"
|
||||
["install"]="3.6.7.7"
|
||||
["core"]="3.6.7.3"
|
||||
["i18n"]="3.6.7.7"
|
||||
["update"]="3.6.7.7"
|
||||
["builder"]="3.6.7.5"
|
||||
)
|
||||
|
||||
inherit calculate-utils-r6
|
||||
|
||||
DESCRIPTION="A set of Calculate utilities for system installation, build and upgrade"
|
||||
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate_utilities"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3"
|
||||
KEYWORDS="amd64"
|
||||
|
Loading…
Reference in new issue