From f41e9333a443d728c5bdfee19238fbc9249eeab7 Mon Sep 17 00:00:00 2001 From: Marcin Deranek Date: Tue, 15 Jun 2021 23:15:06 +0200 Subject: net-mail/sympa version bump --- net-mail/sympa/Manifest | 4 +- net-mail/sympa/sympa-6.2.58.ebuild | 261 ------------------------------------- net-mail/sympa/sympa-6.2.62.ebuild | 257 ++++++++++++++++++++++++++++++++++++ 3 files changed, 259 insertions(+), 263 deletions(-) delete mode 100644 net-mail/sympa/sympa-6.2.58.ebuild create mode 100644 net-mail/sympa/sympa-6.2.62.ebuild (limited to 'net-mail') diff --git a/net-mail/sympa/Manifest b/net-mail/sympa/Manifest index ae99f3c..d26fe65 100644 --- a/net-mail/sympa/Manifest +++ b/net-mail/sympa/Manifest @@ -2,6 +2,6 @@ AUX sympa-6.2.initd 1101 BLAKE2B f367ac3730aaeda4ae8cb99bafc87291e3b2aeeecc50725 AUX sympa-apache.conf 372 BLAKE2B db8dc96e13cb022322137f79314c24f6724fc42b2ec66c72e8c6b52f5070360d7583cda4c7ba470a62185bf253e00e705c2816151f31a879534b515d7c932913 SHA512 ec050ca4ebfac8439f7c3715e7650fa7507d6c9f2ef07d6ae0e1d9928081997fd1425afd37be9654726c25cf3fdcf651f6700fc046d83a2dfabba7908498e477 AUX sympa-lighttpd.conf 398 BLAKE2B 7a35e360cb546ec9151ec564a245bf62a9acbb1a9f56e3ad598e1fbdd8be1405a92c1bf623a575c29cb6b09f0cc235cc34d2a6ca7ae2f38197b6bb8e667eb4b4 SHA512 8c7811d7a82c9d77aea5d20dced41c394fc8d3ec3e46c898e519d19422e4cf3fc6edce9bc9065ecf9ce08f1775b03bfd5cfac07e1ba40a3beceb8e240ba99b33 AUX sympa-nginx.conf 252 BLAKE2B 51471cdc0151a10d86b396bb7d3ecca51508d53fbcce91804c2ffcfefd6ee9170502d2cc36519eb66570371150fafa81ae7ed991d38ba901e1c4248f806d06e5 SHA512 076900022f1d6c03e26301ed15514dc922a9ba9718c8a344722ad755c5caf0277daae944959f061445f58ef163d6d243670fb97b92f06e6370a1f8621762221f -DIST sympa-6.2.58.tar.gz 12863222 BLAKE2B 5211ceca6c1e82d908ba479d69d21cafb0c7d38e15e41ad5bd9668913ad8f7f9669e5708d8770375d7b390b51eb51f7f2fccd81ffd9a2ea2b1fe8c4cc8cfc2f5 SHA512 39c74dbd33ba6dd3babbe395c03feeae78b02923e8ddd152d2aca94438bee01eaa86e3d9458c25b230296763303958bb2b1ed03f245121635c0e5820ecb33fb0 -EBUILD sympa-6.2.58.ebuild 7602 BLAKE2B a3e69edb43d76c94177cef5871af9039a444a5d104ac821d2986bf31fb637dc58e67e09f3495f2e92c4acec7006862e9f4b2bc59c5d91c26b8c34da833018383 SHA512 bf94e46b277a1d27f68bd48898800b2715cb870c245015473464e415de9c5078ddbaf10d0bf46960b97c63e6724ef3770b9c23e6eaf8f5c784276cff70a0af14 +DIST sympa-6.2.62.tar.gz 12904131 BLAKE2B 441b5b2d20c78d141d19d6e79993c140a9be3fd375f2039ed0c508bfbf6d8174c9d3aa84fef4718d32e837e653ecddf70ab07031391aec75015aa26aabadb61f SHA512 1e789d9d9d26e9eb0cbb4ccb7c07c4beae4d6967d785fa7025b4c59ef2c81628c124f292fc84cb58ed47d696181334d6dde9813b896ce65a4541d954db4c29e8 +EBUILD sympa-6.2.62.ebuild 7628 BLAKE2B fb74d076ee7b058372c83a37e77c93e819dd0c4c1b943bbdb8d53f900b8d13da2e82a9f06c80fc2c138ce5bec5f3eb9b4b1756f5e9e2ebe8eefa1ee49f57c997 SHA512 6d62f87c85ef237db434765b4bfe8d72cc4bd22ea03fcd3d90de75397807261f5bf5100cd6b10541e0f46555a415b2a5fadb078a3e1806a4edbac17fb4bf55ad MISC metadata.xml 401 BLAKE2B 5cafd6f758cd237ea92cf4071381782f55e0e4e52d3579058339d62f55dbe8855479b1102032e6e3d533277621d8cf0be9596bd34d4f685c7935bd9a3d3ea12c SHA512 0ef7a477f6063a6876774ac78404785235eb07646766951f4c08617dcb06126339ca0d2607054a770861f93e17509d9e28a11a36d7b84f0fb8f8d63771b7362e diff --git a/net-mail/sympa/sympa-6.2.58.ebuild b/net-mail/sympa/sympa-6.2.58.ebuild deleted file mode 100644 index fa3c8ab..0000000 --- a/net-mail/sympa/sympa-6.2.58.ebuild +++ /dev/null @@ -1,261 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit eutils multilib autotools - -SYMPA_VERSION="$(ver_cut 1-2)" -SYMPA_RELEASE="$(ver_cut 3-)" - -if [[ ${SYMPA_VERSION} == "9999" ]] ; then - # Development version - SRC_URI="" - EGIT_REPO_URI="https://github.com/sympa-community/sympa" - inherit git-r3 -elif [[ ${SYMPA_RELEASE} == "9999" ]] ; then - # Latest stable - EGIT_BRANCH="sympa-${SYMPA_VERSION}" - EGIT_REPO_URI="https://github.com/sympa-community/sympa" - inherit git-r3 -else - # Release - SRC_URI="https://github.com/sympa-community/sympa/releases/download/${PV}/${P}.tar.gz" -fi - -DESCRIPTION="A feature-rich open source mailing list software" -HOMEPAGE="https://www.sympa.org/" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -IUSE="clamav -compat dkim fastcgi ldap mysql nls postgres soap sqlite ssl" -REQUIRED_USE="|| ( mysql postgres sqlite )" - -ACCT_DEPEND=" - acct-group/sympa - acct-user/sympa -" -RDEPEND=" - ${ACCT_DEPEND} - >=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-Formatter - 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 - " - -src_prepare() { - default - # 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 || die - # 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 || die - # Do not create runtime directories - sed -i -e 's| $(piddir) | |' Makefile.am || die - 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 \ - --with-group=sympa \ - $(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 /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 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 viewmail" - local DIR - for DIR in ${SYMPA_DIRS}; do - keepdir /var/spool/sympa/${DIR} - fowners sympa:sympa /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}-lighttpd.conf" lighttpd.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 "https://www.sympa.org/manual/install/configure-http-server.md" - 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" -} diff --git a/net-mail/sympa/sympa-6.2.62.ebuild b/net-mail/sympa/sympa-6.2.62.ebuild new file mode 100644 index 0000000..9baf96f --- /dev/null +++ b/net-mail/sympa/sympa-6.2.62.ebuild @@ -0,0 +1,257 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit eutils multilib autotools + +SYMPA_VERSION="$(ver_cut 1-2)" +SYMPA_RELEASE="$(ver_cut 3-)" + +if [[ ${SYMPA_VERSION} == "9999" ]] ; then + # Development version + SRC_URI="" + EGIT_REPO_URI="https://github.com/sympa-community/sympa" + inherit git-r3 +elif [[ ${SYMPA_RELEASE} == "9999" ]] ; then + # Latest stable + EGIT_BRANCH="sympa-${SYMPA_VERSION}" + EGIT_REPO_URI="https://github.com/sympa-community/sympa" + inherit git-r3 +else + # Release + SRC_URI="https://github.com/sympa-community/sympa/releases/download/${PV}/${P}.tar.gz" +fi + +DESCRIPTION="A feature-rich open source mailing list software" +HOMEPAGE="https://www.sympa.org/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="clamav -compat dkim fastcgi ldap mysql nls postgres soap sqlite ssl" +REQUIRED_USE="|| ( mysql postgres sqlite )" + +ACCT_DEPEND=" + acct-group/sympa + acct-user/sympa +" +RDEPEND=" + ${ACCT_DEPEND} + >=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-Formatter + 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 + " + +src_prepare() { + default + # 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 || die + # 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 || die + # Do not create runtime directories + sed -i -e 's| $(piddir) | |' Makefile.am || die + 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 \ + --with-group=sympa \ + --disable-setuid \ + $(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" + + # Docs + dodoc AUTHORS.md CONTRIBUTING.md INSTALL.md NEWS.md README.md 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 viewmail" + local DIR + for DIR in ${SYMPA_DIRS}; do + keepdir /var/spool/sympa/${DIR} + fowners sympa:sympa /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}-lighttpd.conf" lighttpd.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 "https://www.sympa.org/manual/install/configure-http-server.md" + 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" +} -- cgit v1.2.3