summaryrefslogtreecommitdiff
path: root/net-mail
diff options
context:
space:
mode:
authorMarcin Deranek <marcin.deranek@slonko.net>2018-06-09 09:09:19 +0200
committerMarcin Deranek <marcin.deranek@slonko.net>2018-06-09 09:09:19 +0200
commit4b092cca235e9ef39267c6b298e55b8af74c9b36 (patch)
tree1ae4960cae95fb49f78816ac098d8fd6d9b25515 /net-mail
parenta604a8cddef22c9fd412ba3dad42709d1fd8f49e (diff)
downloadportage-4b092cca235e9ef39267c6b298e55b8af74c9b36.tar.gz
portage-4b092cca235e9ef39267c6b298e55b8af74c9b36.tar.bz2
portage-4b092cca235e9ef39267c6b298e55b8af74c9b36.zip
Version bump
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/sympa/Manifest4
-rw-r--r--net-mail/sympa/sympa-6.2.32.ebuild273
2 files changed, 275 insertions, 2 deletions
diff --git a/net-mail/sympa/Manifest b/net-mail/sympa/Manifest
index 4346a4b..e61a894 100644
--- a/net-mail/sympa/Manifest
+++ b/net-mail/sympa/Manifest
@@ -16,10 +16,10 @@ AUX sympa-nginx.conf 252 SHA256 dc364f1135c8cc9eecd8646f1bb9ea29b8fbce64de6ca884
DIST sympa-5.4.7.tar.gz 6622044 SHA256 f35e123fbe4cf296893e90f06565f32ffbf54805af076e77c525f9a932a530a4 SHA512 73e3bf3eb39e46b172970306068606a1d039877358fdc0b3edeaeb7d06f85091d80f4e4e55e48efe30a1e5ee7ba1d35d6ca9db9bc4e86efbc1d94363519e2c2a WHIRLPOOL 374542fd4f5d66c373e01db507adc1fb4d076484feeeac62a6d3b77f6098b57998f1fc847e0bc569b20b19c90f07436b38809bbbd361d02f935360ac979fbf32
DIST sympa-6.0.6.tar.gz 6731221 SHA256 8af9c4f8518b7f41a6a46f50fd39e8382b4d2451389d80f6fda2ab112abc8c45 SHA512 d34eced0d268903bc089b9b0a4ac2d79459b9274dead37b9ebeb64c72b7258b7d3e3eda949d897c384043bf2e39b7761ac9452075efa5612ce42f8066794692d WHIRLPOOL 6a98686c866939036c9661e5567cead0319ab9737fbe654a52a3a775e2358674d83c85f35bad581964c2b7c00d5e198828fa1cd3a5a44d0feddd571da7c72e0a
DIST sympa-6.1.25.tar.gz 8002521 SHA256 14c3f5c2288385057a1baf035fdf925962a0b35462def3d3b1d90f0dce1efa7f SHA512 0a9c2d60ac0bcbeb1455399ebc92b8278a7dd8b2fcb7df05813f96daf954270ad0582e2edb99da0ab3d44da87173c8901165762a474239f62162232b15eaaa02 WHIRLPOOL d2a452227135875021896f62d5e289af7c76868b5fe123116e8be84ba44d218319d95072d2c6dab93e21125adb46b957e37cf585dd886674a337d3b897b72aa9
-DIST sympa-6.2.22.tar.gz 12469435 SHA256 21f5e90f5f911c7f8d24b88b0cf45668545da5b45b7cf30138ba144eace6c8b7 SHA512 844b4d4b22421bc9ea624f5a0d95139375cb2eefe3dd5b736b44a221fbd33e11e9a56897e7c3e5a752202f3f0f85cbe68e5c1eddac18c601216516ac3dbd8463 WHIRLPOOL fc4035ce6dc88fade34594dc447358bba44b1b4a25500a3d010225ee19d9c24a03a661988ccd598a094d9a6219a08ccdc1989b52e9fadc45878a725708aa9802
+DIST sympa-6.2.32.tar.gz 12267614 SHA256 e2990cbd57f931c4ca26c7b94db0090cac82bcc644be2f58bb48512af19fc52e SHA512 74fc9c92f2a1f67e7d6fc29feffd26b3a2258b5417db40ef702562eb41931b36ed047f6134f349d0bc111767429a7c07c7a3f124f40ff456d9e2d06e5fce6aba WHIRLPOOL f3bd04e9d37913a7ce87110fdd81be62290ee75e3872e4be70a55dcbc0e1d0ecc6e065433ee8e2fc8c891211ee205ea7ac15de9ba0bc7e104a7c22cc41b75d18
EBUILD sympa-5.4.7.ebuild 7508 SHA256 faff73c9bc9b25eaf9bd8cd19d7339520272f02460298304030979fc3b1b1564 SHA512 8ae16a1e78ce5f02aac5fbcc18da8cdf7d3b4e24582dae18a376637ecf3d85c87ec832a50656ed098c531174a62e0f731e0bf8d88dc6a426d6bcb0af9a2c233d WHIRLPOOL 4b259173c0efc92b46ebd5243a10e4660ea5a466c8df81fed36d9d407b1f56b506829065f34097263b41a043b2dbffa0f3a4c43d591835a9932c256196121134
EBUILD sympa-5.4.9999.ebuild 7497 SHA256 42c7a33951c471556a283fc8a36cf47a62431c14bd19c80a957545838cf8ef14 SHA512 bb1d1e4490cc03ad58643852ba770ae4a932a948c377e3e9e64d8293b0dd658f48e01c9e9522105da6a24724b63d1031e10f3588bac64219201515fb45fe250e WHIRLPOOL 64851733773a73578ae1b21d388add31e9a85845f4abd1c6c5c83ba09184a495b7c8515d767ec6127ee9b4837de5d7477efecfa94234160fe7d459655af184f4
EBUILD sympa-6.0.6.ebuild 7841 SHA256 7c5bea14724562e018ef945ca2f33132f837f7c5a08be31370a149a4452cbd2d SHA512 ea289a7ba67839b1b6156680148d27b8418d1ccbcc8ad1d76430114aa5fabfd69481d161ded0e78367aef62f93f533e9026c32ef5c8212e44f04f9b239dcfa64 WHIRLPOOL 6415bf2c34981c3b49da9affff6deac52e4c7734bef5a06de149967e97cffd562f210bf67869429003568678cbde1747af86ef170bb045d10fc6e1b266a7c60b
EBUILD sympa-6.0.9999.ebuild 7830 SHA256 4a63bb61f3541daaa3098d8ee5356cfaa2f063e253fc75feaa3e00f15f14557d SHA512 b5512dce1e16ad45b6b9993d540ef0c29a181db8489f632e8b4fd288820804de32c53c2d0ba0d99ede05118cb971567a82498295f31e3a4fc99d0eeca482bf59 WHIRLPOOL 375557b8f6efea011f5524f5fd2f23f5a6d7c56638b11ec730f1c23e9a1bd650774d91648da924fafed412e55f10a14deca2281af78e4d881a86b5f2d9a5f494
EBUILD sympa-6.1.25.ebuild 7835 SHA256 f4e1e669ce43016391a66b32c232d1043d0e9e5593a829c056bc17776643d663 SHA512 508cdbae5a70b798d3eec29f0bb66c67510db3384cfb3d3e0825bcf1d8f3a333d11c9f30f04d34a7097ba914307346755b92b86a27d94cd9a132af079ad36f19 WHIRLPOOL c7bd4ccd1ba02d5aaa5f9580f764148a54e319e1334582d910f46275e2bc1c42bad3dc94675d966e94cf4fe329346f1884fdea765e8edb705bb008d6488363e2
-EBUILD sympa-6.2.22.ebuild 7945 SHA256 3de680686e37d39733b7397d5bd9966fc4ae68bc712e3c18bf75876cea6a6513 SHA512 d1cec5b3ffed0c484a439f5f7ca73c347d84875cb7f3e2ae1056e793d81388fa6e3a8d877954b40a7b74986a6cfeb003abab04f85e29490ce32096d1bca5291b WHIRLPOOL de1558dfe9331a0d1cd9433bf732acbce6d1a8a2a16b1c74f35315d2977ebf0545c66c9446af0808e3a599fb7a30c60fabebcd547950e500b89f968ea201fdf8
+EBUILD sympa-6.2.32.ebuild 8097 SHA256 f054438152370261db7f0cba44b59139d9b7ecf1acb1e1726f9de6aff2bda370 SHA512 19a518481d8a8f88df6c56469bf6ef499d6ec51a1bc5e3c6aff6f3a56ba27011a652777917cf9f81c5b6b9609ce53eab19f02e7c54bddad66ff5ea9d373e09d8 WHIRLPOOL 569c978c068bc321371d1f6e1adaf96f0e4db973c9e0c3f2feb53ce5381843814f762b8b555f0a450a35448e773d962ecc891cb80c77236539bbeab511bc244b
diff --git a/net-mail/sympa/sympa-6.2.32.ebuild b/net-mail/sympa/sympa-6.2.32.ebuild
new file mode 100644
index 0000000..abc48e9
--- /dev/null
+++ b/net-mail/sympa/sympa-6.2.32.ebuild
@@ -0,0 +1,273 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils user multilib autotools versionator
+
+SYMPA_VERSION="$(get_version_component_range 1-2)"
+SYMPA_RELEASE="$(get_version_component_range 3-)"
+
+if [[ ${SYMPA_VERSION} == "9999" ]] ; then
+ # Development version
+ ESVN_REPO_URI="http://svn.cru.fr/sympa/trunk"
+ inherit subversion
+elif [[ ${SYMPA_RELEASE} == "9999" ]] ; then
+ # Latest stable
+ ESVN_REPO_URI="http://svn.cru.fr/sympa/branches/sympa-${SYMPA_VERSION}-branch"
+ inherit subversion
+else
+ # Release
+ SRC_URI="http://www.sympa.org/distribution/${P}.tar.gz http://www.sympa.org/distribution/old/${P}.tar.gz"
+fi
+
+DESCRIPTION="A feature-rich open source mailing list software"
+HOMEPAGE="http://www.sympa.org/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+IUSE="clamav -compat dkim fastcgi ldap mysql nls postgres soap sqlite ssl"
+REQUIRED_USE="|| ( mysql postgres sqlite )"
+
+# See http://www.sympa.org/manual/installing-sympa#required_cpan_modules
+RDEPEND="
+ >=dev-lang/perl-5.8
+ >=dev-perl/CGI-3.51
+ >=virtual/perl-Digest-MD5-2.00
+ virtual/perl-Encode
+ >=virtual/perl-File-Path-2.08
+ >=virtual/perl-MIME-Base64-3.03
+ >=virtual/perl-Scalar-List-Utils-1.20
+ >=virtual/perl-Sys-Syslog-0.03
+ >=virtual/perl-Time-HiRes-1.29
+ virtual/perl-libnet
+ >=dev-perl/Archive-Zip-1.05
+ >=dev-perl/Class-Singleton-1.03
+ >=dev-perl/Data-Password-1.07
+ >=dev-perl/DateTime-Format-Mail-0.28
+ >=dev-perl/DateTime-TimeZone-0.59
+ >=dev-perl/DBI-1.48
+ >=dev-perl/File-Copy-Recursive-0.36
+ dev-perl/File-NFSLock
+ >=dev-perl/HTML-StripScripts-Parser-1.30
+ dev-perl/HTML-Tree
+ dev-perl/IO-stringy
+ >=dev-perl/MailTools-1.70
+ >=dev-perl/MIME-Charset-1.011.3
+ >=dev-perl/MIME-EncWords-1.014
+ >=dev-perl/MIME-Lite-HTML-1.230
+ >=dev-perl/MIME-tools-5.423
+ >=dev-perl/Net-CIDR-0.16
+ >=dev-perl/Net-DNS-0.65
+ >=dev-perl/Template-Toolkit-2.21
+ >=dev-perl/Term-ProgressBar-2.09
+ >=dev-perl/Unicode-LineBreak-2011.05
+ >=dev-perl/Unicode-CaseFold-0.02
+ >=dev-perl/URI-1.35
+ >=dev-perl/XML-LibXML-1.70
+ >=dev-perl/libintl-perl-1.20
+ dev-perl/libwww-perl
+ >=net-mail/mhonarc-2.6.18
+ clamav? ( app-antivirus/clamav )
+ compat? ( >=dev-perl/Crypt-CipherSaber-0.50 )
+ dkim? ( >=dev-perl/Mail-DKIM-0.37 )
+ fastcgi? (
+ >=dev-perl/FCGI-0.67
+ >=dev-perl/CGI-Fast-1.08
+ )
+ ldap? ( >=dev-perl/perl-ldap-0.40 )
+ mysql? ( >=dev-perl/DBD-mysql-4.008 )
+ postgres? ( >=dev-perl/DBD-Pg-2.0 )
+ soap? ( >=dev-perl/SOAP-Lite-0.712 )
+ sqlite? ( >=dev-perl/DBD-SQLite-1.31 )
+ ssl? (
+ >=dev-perl/IO-Socket-SSL-0.90
+ dev-libs/openssl
+ )
+ virtual/mta
+ "
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ "
+
+SYMPA_USER="sympa"
+SYMPA_GROUP="sympa"
+
+pkg_setup() {
+ enewgroup ${SYMPA_GROUP}
+ enewuser ${SYMPA_USER} -1 -1 -1 ${SYMPA_GROUP}
+}
+
+src_unpack() {
+ if [[ ${SYMPA_VERSION} == "9999" ]] ; then
+ subversion_src_unpack
+ elif [[ ${SYMPA_RELEASE} == "9999" ]] ; then
+ subversion_src_unpack
+ else
+ unpack ${A}
+ cd ${S}
+ fi
+ cd ${S}
+ # Override defaults for certain options, so
+ # Sympa won't complain about conflicting paths
+ sed -i -e "/'queuebounce'/,/}/ s|'/bounce'|'/qbounce'|" src/lib/Sympa/ConfDef.pm
+ # Gentoo specific: redefine some defaults
+ sed -i -e 's|^\(\s*bouncedir=\).*|\1/var/spool/sympa/bounce|' \
+ -e 's|^\(\s*arcdir=\).*|\1/var/spool/sympa/arc|' \
+ configure.ac
+ # Do not create runtime directories
+ sed -i -e 's| $(piddir) | |' Makefile.am
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --enable-fhs \
+ --prefix=/usr \
+ --libdir=/usr/$(get_libdir)/sympa \
+ --libexec=/usr/libexec/sympa \
+ --localstatedir=/var \
+ --docdir=/usr/share/doc/${P} \
+ --with-localedir=/usr/share/locale \
+ --sysconfdir=/etc/sympa \
+ --with-confdir=/etc/sympa \
+ --with-piddir=/run/sympa \
+ --with-spooldir=/var/spool/sympa \
+ --with-staticdir=/var/spool/sympa/static_content \
+ --with-cssdir=/var/spool/sympa/static_content/css \
+ --with-picturesdir=/var/spool/sympa/static_content/pictures \
+ --with-modulesdir=/usr/$(get_libdir)/sympa \
+ --with-cgidir=/usr/libexec/sympa \
+ --with-expldir=/var/lib/sympa/lists \
+ --with-scriptdir=/usr/share/sympa/scripts \
+ --without-initdir \
+ --with-unitsdir=/usr/lib/systemd/system \
+ --with-defaultdir=/usr/share/sympa/default \
+ --with-user=${SYMPA_USER} \
+ --with-group=${SYMPA_GROUP} \
+ $(use_enable nls) \
+ || die "econf failed"
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS} -Wl,-z,now"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ # Do not overwrite data_structure.version
+ rm -f "${D}/etc/sympa/data_structure.version"
+ # Set permissions and ownership on config files
+ fowners root:${SYMPA_GROUP} /etc/sympa/sympa.conf
+ fperms u=rwX,g=rX,o= /etc/sympa/sympa.conf
+ # Elevate some permissions to read config files
+ fperms g+s /usr/libexec/sympa/{bouncequeue,familyqueue,queue}
+
+ # Docs
+ dodoc AUTHORS.md CONTRIBUTING.md INSTALL.md NEWS.md README.md COPYING etc_README
+
+ # Startup script
+ newinitd "${FILESDIR}/${PN}-${SYMPA_VERSION}.initd" "${PN}"
+
+ # Set proper fastcgi flag
+ if use fastcgi; then
+ sed -i -r 's:^(\s*use_fast_cgi\s*).*:\11:' "${D}/etc/sympa/sympa.conf"
+ else
+ sed -i -r 's:^(\s*use_fast_cgi\s*).*:\10:' "${D}/etc/sympa/sympa.conf"
+ fi
+ # Update antivirus config
+ if use clamav; then
+ sed -i -r \
+ -e 's:^#?\s*antivirus_path\s*/.*:antivirus_path /usr/bin/clamscan:' \
+ -e 's:^#?\s*antivirus_args\s*.*:antivirus_args --stdout:' \
+ "${D}/etc/sympa/sympa.conf"
+ else
+ sed -i -r \
+ -e 's:^(\s*antivirus_path\s*/.*):#\1:' \
+ -e 's:^(\s*antivirus_args\s*.*):#\1:' \
+ "${D}/etc/sympa/sympa.conf"
+ fi
+ # Update openssl config
+ if use ssl; then
+ sed -i -r \
+ -e 's:^#?\s*openssl\s*/.*:openssl /usr/bin/openssl:' \
+ -e 's:^#?\s*capath\s*/.*:capath /etc/ssl/certs:' \
+ -e 's:^#?\s*cafile\s*/.*:cafile /etc/ssl/certs/ca-certificates.crt:' \
+ "${D}/etc/sympa/sympa.conf"
+ else
+ sed -i -r \
+ -e 's:^(\s*openssl\s*/.*):#\1:' \
+ -e 's:^(\s*capath\s*/.*):#\1:' \
+ -e 's:^(\s*cafile\s*/.*):#\1:' \
+ "${D}/etc/sympa/sympa.conf"
+ fi
+ # Queue dirs
+ keepdir /var/spool/sympa
+ local SYMPA_DIRS="arc auth automatic bounce bulk digest moderation msg \
+ outgoing qbounce static_content static_content/css static_content/pictures \
+ task tmp topic"
+ local DIR
+ for DIR in ${SYMPA_DIRS}; do
+ keepdir /var/spool/sympa/${DIR}
+ fowners ${SYMPA_USER}:${SYMPA_GROUP} /var/spool/sympa/${DIR}
+ case "${DIR}" in
+ "static_content*" )
+ fperms 755 /var/spool/sympa/${DIR}
+ ;;
+ * )
+ fperms 750 /var/spool/sympa/${DIR}
+ ;;
+ esac
+ done
+ keepdir /var/lib/sympa
+ keepdir /var/lib/sympa/lists
+
+ newdoc "${FILESDIR}/${PN}-apache.conf" apache.conf
+ newdoc "${FILESDIR}/${PN}-apache_soap.conf" apache_soap.conf
+ newdoc "${FILESDIR}/${PN}-lighttpd.conf" lighttpd.conf
+ newdoc "${FILESDIR}/${PN}-lighttpd_soap.conf" lighttpd_soap.conf
+ newdoc "${FILESDIR}/${PN}-nginx.conf" nginx.conf
+}
+
+pkg_postinst() {
+ elog
+ elog "You need to create a database with associated database account"
+ elog "prior to use Sympa. That account will need general"
+ elog "access privileges to the Sympa database."
+ elog
+ elog "The Sympa web interface needs to be setup in your webserver."
+ elog "For more information please consult Sympa documentation at"
+ elog "http://www.sympa.org/manual/web-interface#web_server_setup"
+ elog "Sample configs are installed in /usr/share/doc/${P}"
+ elog
+
+ if use clamav; then
+ elog "By default we use clamscan antivirus scanner"
+ elog "(antivirus_path option in sympa.conf). For performance"
+ elog "reason you might want to use clamdscan which is much faster."
+ elog "To use it you need to do the following:"
+ elog
+ elog "# gpasswd -a clamav sympa"
+ elog "# /etc/init.d/clamd restart"
+ elog
+ fi
+
+ ewarn "If you are upgrading from an earlier version please run:"
+ ewarn
+ ewarn "# sympa.pl --upgrade"
+ ewarn
+ ewarn "If you are upgrading from version 5.x make sure"
+ ewarn "compat use flag is set while emerging, then run:"
+ ewarn
+ ewarn "# sympa.pl --upgrade"
+ ewarn
+ ewarn "to upgrade your data structures and"
+ ewarn
+ ewarn "# sympa.pl --md5_encode_password"
+ ewarn
+ ewarn "to convert your passwords. When completed compat use flag"
+ ewarn "can be removed"
+}