summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2012-05-27 15:34:52 +0000
committerMichael Weber <xmw@gentoo.org>2012-05-27 15:34:52 +0000
commit151aa4b034c22d8afc1654334287ece09d718c7f (patch)
treedc326e2db154c6c6b66b28106233774de480a5bb /net-misc/italc
parentUpdate package generation script (diff)
downloadgentoo-2-151aa4b034c22d8afc1654334287ece09d718c7f.tar.gz
gentoo-2-151aa4b034c22d8afc1654334287ece09d718c7f.tar.bz2
gentoo-2-151aa4b034c22d8afc1654334287ece09d718c7f.zip
Version bump (thanks Marco Clocchiatti, bug 402457)
(Portage version: 2.1.10.62/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/italc')
-rw-r--r--net-misc/italc/ChangeLog7
-rw-r--r--net-misc/italc/italc-2.0.0.ebuild70
2 files changed, 76 insertions, 1 deletions
diff --git a/net-misc/italc/ChangeLog b/net-misc/italc/ChangeLog
index 6477b481a04f..9a22c825d6e4 100644
--- a/net-misc/italc/ChangeLog
+++ b/net-misc/italc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/italc
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/italc/ChangeLog,v 1.26 2012/05/06 23:03:14 pesa Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/italc/ChangeLog,v 1.27 2012/05/27 15:34:52 xmw Exp $
+
+*italc-2.0.0 (27 May 2012)
+
+ 27 May 2012; Michael Weber <xmw@gentoo.org> +italc-2.0.0.ebuild:
+ Version bump (thanks Marco Clocchiatti, bug 402457)
06 May 2012; Davide Pesavento <pesa@gentoo.org> italc-1.0.9.ebuild:
Migrate to qt4-r2.eclass and fix Qt dependencies.
diff --git a/net-misc/italc/italc-2.0.0.ebuild b/net-misc/italc/italc-2.0.0.ebuild
new file mode 100644
index 000000000000..4ec669d9fb84
--- /dev/null
+++ b/net-misc/italc/italc-2.0.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/italc/italc-2.0.0.ebuild,v 1.1 2012/05/27 15:34:52 xmw Exp $
+
+EAPI=4
+
+inherit qt4-r2 eutils cmake-utils
+
+DESCRIPTION="Intelligent Teaching And Learning with Computers (iTALC) supports working with computers in school"
+HOMEPAGE="http://italc.sourceforge.net/"
+SRC_URI="mirror://sourceforge/italc/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+PROPERTIES="interactive"
+
+RDEPEND="dev-libs/lzo
+ sys-apps/tcp-wrappers
+ virtual/jpeg
+ sys-libs/zlib
+ dev-libs/openssl
+ x11-libs/qt-core
+ x11-libs/qt-xmlpatterns
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libXtst
+ x11-apps/xinput
+ x11-libs/qt-gui:4"
+DEPEND="${RDEPEND}
+ x11-proto/inputproto"
+
+pkg_setup() {
+ enewgroup italc
+}
+
+src_install() {
+ cmake-utils_src_install
+ dodoc TODO README AUTHORS INSTALL ChangeLog
+}
+
+pkg_postinst() {
+ elog "On the master, please run "
+ elog "# emerge --config =${CATEGORY}/${PF}"
+
+ elog "Please add the logins of master users (teachers) to the italc group by running"
+ elog "# usermod -a -G italc <loginname>"
+
+ elog ""
+}
+
+pkg_config() {
+ if [ ! -d /etc/italc/keys ] ; then
+ einfo "Creating public and private keys for italc in /etc/italc/keys."
+ /usr/bin/ica -role teacher -createkeypair > /dev/null
+ eend $?
+ einfo "Setting chmod 640 on private keys."
+ chgrp -R italc /etc/italc
+ chmod -R o-rwx /etc/italc/keys/private
+ else
+ einfo "Not creating new keypair, as /etc/italc/keys already exists"
+ fi
+}