From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D0CA71384B4 for ; Sun, 1 Nov 2015 16:58:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E8BE7E0864; Sun, 1 Nov 2015 16:58:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 646E2E0864 for ; Sun, 1 Nov 2015 16:58:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 48347340A2B for ; Sun, 1 Nov 2015 16:58:48 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C86BD1D76 for ; Sun, 1 Nov 2015 16:58:43 +0000 (UTC) From: "Michael Weber" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Weber" Message-ID: <1446397087.175879e410e5c7ef67b531ddae2a76eecb6fafdc.xmw@gentoo> Subject: [gentoo-commits] dev/xmw:master commit in: gnustep-apps/sogo/files/, gnustep-apps/sogo/ X-VCS-Repository: dev/xmw X-VCS-Files: gnustep-apps/sogo/Manifest gnustep-apps/sogo/files/sogod.confd gnustep-apps/sogo/files/sogod.initd gnustep-apps/sogo/metadata.xml gnustep-apps/sogo/sogo-2.2.17.ebuild gnustep-apps/sogo/sogo-2.3.2.ebuild X-VCS-Directories: gnustep-apps/sogo/files/ gnustep-apps/sogo/ X-VCS-Committer: xmw X-VCS-Committer-Name: Michael Weber X-VCS-Revision: 175879e410e5c7ef67b531ddae2a76eecb6fafdc X-VCS-Branch: master Date: Sun, 1 Nov 2015 16:58:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1be4aef3-3c69-417b-96d4-2f41a83cae28 X-Archives-Hash: a6956cad399f2cb67fcc34d55c128cde commit: 175879e410e5c7ef67b531ddae2a76eecb6fafdc Author: Michael Weber xmw de> AuthorDate: Sun Nov 1 16:58:07 2015 +0000 Commit: Michael Weber gentoo org> CommitDate: Sun Nov 1 16:58:07 2015 +0000 URL: https://gitweb.gentoo.org/dev/xmw.git/commit/?id=175879e4 gnustep-apps/sogo: Version bump (bugs 564562 and 564642). Package-Manager: portage-2.2.21 Manifest-Sign-Key: 62EEF090 gnustep-apps/sogo/Manifest | 12 ++++++ gnustep-apps/sogo/files/sogod.confd | 6 +++ gnustep-apps/sogo/files/sogod.initd | 33 +++++++++++++++ gnustep-apps/sogo/metadata.xml | 8 ++++ gnustep-apps/sogo/sogo-2.2.17.ebuild | 80 ++++++++++++++++++++++++++++++++++++ gnustep-apps/sogo/sogo-2.3.2.ebuild | 80 ++++++++++++++++++++++++++++++++++++ 6 files changed, 219 insertions(+) diff --git a/gnustep-apps/sogo/Manifest b/gnustep-apps/sogo/Manifest new file mode 100644 index 0000000..cb561b9 --- /dev/null +++ b/gnustep-apps/sogo/Manifest @@ -0,0 +1,12 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST SOGo-2.2.17.tar.gz 11605257 SHA256 8362d64021dfc332d0c87265c49060f11ffb4e52ec3cbcbf7fde23378e2b01c2 SHA512 f1efe3331a9ebc2503ff37ac25d33b8d8452455d7a3d97e27644626da33ad4ef1d4e790bec88911af1962e8952d3f92df4bdff15726a42eb23152e70cba71f4d WHIRLPOOL bd9ad9cbee26f98a29a7f15aa25c6e94fde0ef68c38dc97b3f30f2c6dcdc974ce94f832c53239af6a1ca8b9678bc0255add0e29b097ede3a442c91d5b9cf3632 +DIST SOGo-2.3.2.tar.gz 11781695 SHA256 7830e2ad684b54c89a4720edf7e73250a076885a3e25052c093e7894227939ac SHA512 e90fa9433413586b944f508a87a2959ba3b93ebd6513adf04ee4af24821b48b5cd5a807afaf1982d7e3e9829765dd3c44ce7a0a769fa373cc0034ae93ab481d4 WHIRLPOOL dd2d35692a38100de287b4631009851fd272bce3c7a3880ccfe2a3d7137294a8fdd418c322056dc4ec6a5e0ded4725047c937a916e6c9248e0718b42ff623010 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iF4EAREIAAYFAlY2RJ8ACgkQknrdDGLu8JDFXQD9GP5qOODEHNn5+QcIKk0GehqU +4XLE51sqyY9OeDZ+010A/2JPLJCPVpjjOVykxGe+2MGadVhvOb9WaLn8djCKCSEC +=9RPP +-----END PGP SIGNATURE----- diff --git a/gnustep-apps/sogo/files/sogod.confd b/gnustep-apps/sogo/files/sogod.confd new file mode 100644 index 0000000..906a697 --- /dev/null +++ b/gnustep-apps/sogo/files/sogod.confd @@ -0,0 +1,6 @@ +# /etc/conf.d/sogod: config file for /etc/init.d/sogod + +SOGOD_WORKERS=3 + +# Additional options for SOGo +SOGOD_OPTS="" diff --git a/gnustep-apps/sogo/files/sogod.initd b/gnustep-apps/sogo/files/sogod.initd new file mode 100644 index 0000000..c0dfcdc --- /dev/null +++ b/gnustep-apps/sogo/files/sogod.initd @@ -0,0 +1,33 @@ +#!/sbin/runscript +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +SOGOD_PID=/run/sogo/sogod.pid + +depend() { + need net + need memcached + after postgresql mysql + after slapd + after mta +} + +start() { + checkpath -q -d -m 0755 -o sogo:sogo $(dirname "${SOGOD_PID}") + ebegin "Starting SOGo service" + start-stop-daemon --start --quiet \ + --user sogo --exec /usr/sbin/sogod \ + -- -WOWorkersCount ${SOGOD_WORKERS} \ + -WOLogFile /var/log/sogo/sogod.log \ + -WOPidFile "${SOGOD_PID}" \ + "${SOGOD_OPTS}" + eend ${?} +} + +stop() { + ebegin "Stopping SOGo service" + start-stop-daemon --stop \ + --pidfile "${SOGOD_PID}" + eend ${?} +} diff --git a/gnustep-apps/sogo/metadata.xml b/gnustep-apps/sogo/metadata.xml new file mode 100644 index 0000000..5b80fb9 --- /dev/null +++ b/gnustep-apps/sogo/metadata.xml @@ -0,0 +1,8 @@ + + + + +xmw@gentoo.org +Michael Weber + + diff --git a/gnustep-apps/sogo/sogo-2.2.17.ebuild b/gnustep-apps/sogo/sogo-2.2.17.ebuild new file mode 100644 index 0000000..2ab32b7 --- /dev/null +++ b/gnustep-apps/sogo/sogo-2.2.17.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit gnustep-2 user + +MY_PN="SOGo" + +DESCRIPTION="Groupware server built around OpenGroupware.org and the SOPE application server" +HOMEPAGE="http://www.sogo.nu" +SRC_URI="http://www.sogo.nu/files/downloads/${MY_PN}/Sources/${MY_PN}-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="postgres mysql" + +DEPEND="dev-libs/libmemcached + dev-libs/openssl:0= + >=gnustep-libs/sope-${PV}[mysql?,postgres?] + net-misc/memcached + net-nds/openldap" +RDEPEND="${DEPEND}" + +REQUIRED_USE="|| ( mysql postgres )" + +S=${WORKDIR}/${MY_PN}-${PV} + +pkg_setup() { + enewuser sogo -1 /bin/bash /var/lib/sogo +} + +src_prepare() { + gnustep-base_src_prepare + sed -e "s/validateArgs$//" -i configure \ + || die "GNUstep.conf sed failed" +} + +src_configure() { + egnustep_env + + ./configure \ + $(use_enable debug) \ + $(use_enable debug strip) \ + --with-ssl=ssl \ + --prefix=/usr \ + || die "configure failed" +} + +src_install() { + gnustep-base_src_install + + newconfd "${FILESDIR}"/sogod.confd sogod + newinitd "${FILESDIR}"/sogod.initd sogod + + insinto /etc/logrotate.d + newins Scripts/logrotate sogo + newdoc Apache/SOGo.conf SOGo-Apache.conf + + insinto /etc/sogo + doins Scripts/sogo.conf + + insinto /etc/cron.d + newins Scripts/sogo.cron sogo + keepdir /var/log/sogo + + fowners sogo:sogo /var/log/sogo + fowners -R root:sogo /etc/sogo +} + +pkg_postinst() { + gnustep-base_pkg_postinst + elog "SOGo documentation is available online at:" + elog "http://www.sogo.nu/downloads/documentation.html" + elog + elog "Apache sample configuration file is available in:" + elog "/usr/share/doc/${PF}" +} diff --git a/gnustep-apps/sogo/sogo-2.3.2.ebuild b/gnustep-apps/sogo/sogo-2.3.2.ebuild new file mode 100644 index 0000000..2ab32b7 --- /dev/null +++ b/gnustep-apps/sogo/sogo-2.3.2.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit gnustep-2 user + +MY_PN="SOGo" + +DESCRIPTION="Groupware server built around OpenGroupware.org and the SOPE application server" +HOMEPAGE="http://www.sogo.nu" +SRC_URI="http://www.sogo.nu/files/downloads/${MY_PN}/Sources/${MY_PN}-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="postgres mysql" + +DEPEND="dev-libs/libmemcached + dev-libs/openssl:0= + >=gnustep-libs/sope-${PV}[mysql?,postgres?] + net-misc/memcached + net-nds/openldap" +RDEPEND="${DEPEND}" + +REQUIRED_USE="|| ( mysql postgres )" + +S=${WORKDIR}/${MY_PN}-${PV} + +pkg_setup() { + enewuser sogo -1 /bin/bash /var/lib/sogo +} + +src_prepare() { + gnustep-base_src_prepare + sed -e "s/validateArgs$//" -i configure \ + || die "GNUstep.conf sed failed" +} + +src_configure() { + egnustep_env + + ./configure \ + $(use_enable debug) \ + $(use_enable debug strip) \ + --with-ssl=ssl \ + --prefix=/usr \ + || die "configure failed" +} + +src_install() { + gnustep-base_src_install + + newconfd "${FILESDIR}"/sogod.confd sogod + newinitd "${FILESDIR}"/sogod.initd sogod + + insinto /etc/logrotate.d + newins Scripts/logrotate sogo + newdoc Apache/SOGo.conf SOGo-Apache.conf + + insinto /etc/sogo + doins Scripts/sogo.conf + + insinto /etc/cron.d + newins Scripts/sogo.cron sogo + keepdir /var/log/sogo + + fowners sogo:sogo /var/log/sogo + fowners -R root:sogo /etc/sogo +} + +pkg_postinst() { + gnustep-base_pkg_postinst + elog "SOGo documentation is available online at:" + elog "http://www.sogo.nu/downloads/documentation.html" + elog + elog "Apache sample configuration file is available in:" + elog "/usr/share/doc/${PF}" +}