Gentoo Archives: gentoo-commits

From: Bernard Cafarelli <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnustep-apps/sogo/
Date: Mon, 21 Jun 2021 22:15:54
Message-Id: 1624313746.1e56b89a609e0343c716986912b5f8508ed8ece0.voyageur@gentoo
1 commit: 1e56b89a609e0343c716986912b5f8508ed8ece0
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 21 22:14:47 2021 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 21 22:15:46 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e56b89a
7
8 gnustep-apps/sogo: drop security vulnerable version
9
10 Bug: https://bugs.gentoo.org/797223
11 Package-Manager: Portage-3.0.20, Repoman-3.0.3
12 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>
13
14 gnustep-apps/sogo/Manifest | 1 -
15 gnustep-apps/sogo/sogo-4.3.2.ebuild | 102 ------------------------------------
16 2 files changed, 103 deletions(-)
17
18 diff --git a/gnustep-apps/sogo/Manifest b/gnustep-apps/sogo/Manifest
19 index ddcbcc20f68..d0ebbc6a25a 100644
20 --- a/gnustep-apps/sogo/Manifest
21 +++ b/gnustep-apps/sogo/Manifest
22 @@ -1,2 +1 @@
23 -DIST sogo-4.3.2.tar.gz 34497548 BLAKE2B fd9e225488bbdb13b4204d1cec9ba0217049681d531e20db3d995a4928f0cd8ff658eb390a0f84375ee28fec2c7a36fb11d836939a8731e828be8d38728a6559 SHA512 eeae11c2e9c4f3d38e64ebdac4950980859af6486e229d1480c9ceb895b63229b42ceea9a17934bfd5e88c5f05c93567f5df5f29f7d68b7dafcdfc44054bc9af
24 DIST sogo-5.1.1.tar.gz 34263214 BLAKE2B c6a415602c931e4c703608b05036a508513eeee08d53e095ba8fa2a19ca509522ad190f8c1db78698e03818e25f221f76c097016017fc2f0aaba016043c1447e SHA512 6da4472f991da39449d8fdb05371bdc933cff8835d3501a3be475a263acb38ec10ccc43e719fb56e75fe6f5b4acd8f1f0fe3ebf1d8e734f7dbd8f28494baaff6
25
26 diff --git a/gnustep-apps/sogo/sogo-4.3.2.ebuild b/gnustep-apps/sogo/sogo-4.3.2.ebuild
27 deleted file mode 100644
28 index 9f5285163bb..00000000000
29 --- a/gnustep-apps/sogo/sogo-4.3.2.ebuild
30 +++ /dev/null
31 @@ -1,102 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -inherit gnustep-2 vcs-snapshot
38 -
39 -DESCRIPTION="Groupware server built around OpenGroupware.org and the SOPE application server"
40 -HOMEPAGE="http://www.sogo.nu"
41 -SRC_URI="https://github.com/inverse-inc/sogo/archive/SOGo-${PV}.tar.gz -> ${P}.tar.gz"
42 -
43 -LICENSE="GPL-2"
44 -SLOT="0"
45 -KEYWORDS="~amd64 ~x86"
46 -IUSE="activesync gnutls +ssl"
47 -
48 -RDEPEND="
49 - acct-user/sogo
50 - dev-libs/libmemcached
51 - net-misc/curl
52 - net-misc/memcached
53 - >=gnustep-libs/sope-${PV}[ldap]
54 - activesync? ( dev-libs/libwbxml )
55 - gnutls? ( net-libs/gnutls:= )
56 - !gnutls? (
57 - dev-libs/openssl:0=
58 - )
59 -"
60 -DEPEND="${RDEPEND}
61 - >=gnustep-base/gnustep-make-2.6.3"
62 -
63 -src_prepare() {
64 - gnustep-base_src_prepare
65 - sed -e "s/validateArgs$//" -i configure \
66 - || die
67 - if use activesync; then
68 - sed -e 's/Tests\/Unit/ActiveSync &/g' \
69 - -i GNUmakefile || die
70 - fi
71 -
72 - # Temporarily build with -fcommon for gcc 10
73 - # Bug 725630
74 - echo 'ADDITIONAL_OBJCFLAGS += -fcommon' >> general.make
75 -
76 - default
77 -}
78 -
79 -src_configure() {
80 - local ssl_provider
81 - if use ssl ; then
82 - if use gnutls ; then
83 - ssl_provider=gnutls
84 - else
85 - ssl_provider=ssl
86 - fi
87 - else
88 - ssl_provider=none
89 - fi
90 -
91 - egnustep_env
92 -
93 - ./configure \
94 - --disable-strip \
95 - --prefix=/usr \
96 - --with-ssl="${ssl_provider}" \
97 - $(use_enable debug) \
98 - || die "configure failed"
99 -}
100 -
101 -src_install() {
102 - gnustep-base_src_install
103 -
104 - newconfd "${FILESDIR}"/sogod.confd sogod
105 - newinitd "${FILESDIR}"/sogod.initd sogod
106 -
107 - insinto /etc/logrotate.d
108 - newins Scripts/logrotate sogo
109 - newdoc Apache/SOGo.conf SOGo-Apache.conf
110 -
111 - insinto /etc/sogo
112 - doins Scripts/sogo.conf
113 -
114 - insinto /etc/cron.d
115 - newins Scripts/sogo.cron sogo
116 - keepdir /var/log/sogo
117 -
118 - fowners sogo:sogo /var/log/sogo
119 - fowners -R root:sogo /etc/sogo
120 -}
121 -
122 -pkg_postinst() {
123 - gnustep-base_pkg_postinst
124 - elog "SOGo documentation is available online at:"
125 - elog "http://www.sogo.nu/downloads/documentation.html"
126 - elog
127 - elog "Apache sample configuration file is available in:"
128 - elog "/usr/share/doc/${PF}"
129 - if use activesync; then
130 - ewarn "In order to use the SOGo ActiveSync support code in production environments,"
131 - ewarn "you need to get a proper usage license. Check the documentation for details."
132 - fi
133 -}