diff --git a/profiles/package.mask b/profiles/package.mask index bc7dbf6..e69de29 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -1,4 +0,0 @@ - -# tastytea (2020-06-09) -# Dependency and compile errors in emerge --config. -=www-apps/pleroma-2.0.6 diff --git a/www-apps/pleroma/Manifest b/www-apps/pleroma/Manifest index 79ddfbf..e04c448 100644 --- a/www-apps/pleroma/Manifest +++ b/www-apps/pleroma/Manifest @@ -2,15 +2,13 @@ Hash: SHA512 AUX syslog.exs 193 BLAKE2B 63ec05041a10b7f3a5c7fbd8bf454819eafbd98efd635a2888d7db7333e212a872ea212889bb9ee81c1810bf9f55d6d7d7133e0a6619d23c9e3bdcac04d70c73 SHA512 fd47e00575a64cd519a1229ca429059eb9ca5c0a1e8454b56995606e25f9fcfad0107d92207eab41aad36ccf30b506a5475781225274fc55841fd55ec74928f1 -EBUILD pleroma-2.0.5.ebuild 3678 BLAKE2B 5412363cfb068121a8bcb23b02cd1ea111fb1c124ea6086752f99bd55fa93c211c41b577c4e3fd25a61df463e5af8e88ee4fdfdd488953f54be0661e171c0407 SHA512 c00432cac4e9cfe06c5aeedaa124dd5fa969abdb8c6c813a5d18fb64c4d631e577435efc1c3c2fcde9729392bb547ccb4afcc898058dfae4dcb14fa094c19088 -EBUILD pleroma-2.0.6.ebuild 3678 BLAKE2B 5412363cfb068121a8bcb23b02cd1ea111fb1c124ea6086752f99bd55fa93c211c41b577c4e3fd25a61df463e5af8e88ee4fdfdd488953f54be0661e171c0407 SHA512 c00432cac4e9cfe06c5aeedaa124dd5fa969abdb8c6c813a5d18fb64c4d631e577435efc1c3c2fcde9729392bb547ccb4afcc898058dfae4dcb14fa094c19088 EBUILD pleroma-2.0.7.ebuild 3678 BLAKE2B 5412363cfb068121a8bcb23b02cd1ea111fb1c124ea6086752f99bd55fa93c211c41b577c4e3fd25a61df463e5af8e88ee4fdfdd488953f54be0661e171c0407 SHA512 c00432cac4e9cfe06c5aeedaa124dd5fa969abdb8c6c813a5d18fb64c4d631e577435efc1c3c2fcde9729392bb547ccb4afcc898058dfae4dcb14fa094c19088 EBUILD pleroma-2.1.0.ebuild 3683 BLAKE2B a714803590236620214f11c9349f0b461a3f8f1df5d93fe78b7c892879cc6bce9dea7ea958e61bc0c796bb0e0e4baf85e9ea24e1b126c3456db5b454ea1adc00 SHA512 5496928be67d69ec1787a69c6ffc3b865a5876b2635cc7565bc2e8acdbeaa2a8751ba11422b7ccc6a8a256460146db7ba82e52649b6a513b3f5dd1cdb167f7ab MISC metadata.xml 993 BLAKE2B adc5c72fe12b6fdb4eb20c1d79dde227b088b437ffd21d16cc5775fa5bb7fa6363890dd5017fbe7f5a00a794a38fb298ce17e6402f6d3d5441985effd0d7e1db SHA512 6ff23fa60c0f22ef7a433e3d1b4919d074508898504b7168c925da8840f542afcdc891a9f4df69dc8eb6c44b7d9c41e6b94fdecd404ca738169124bcdab0af0d -----BEGIN PGP SIGNATURE----- -iHUEAREKAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCX0lFLwAKCRDPw5SX8bJu -B9ThAPwMDU/0ry0P+FGKvhvpTGLc5m8CWpo+lkXD0+kzV0P2jAD+JkEuJpcKZoGI -s22GroJ7FXCbPefidpBvhiyyCzOByH0= -=iQWJ +iHUEAREKAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCX0lFmwAKCRDPw5SX8bJu +B0jqAP0e4+bc6GpTDcKjHjCAphQbA9vKjtejMYTqex/vg5ZxogD+NWAM1bQwX8GF +t1ktQdqt8uPbmXl1LJN44rSBssJGSmo= +=nNHJ -----END PGP SIGNATURE----- diff --git a/www-apps/pleroma/pleroma-2.0.5.ebuild b/www-apps/pleroma/pleroma-2.0.5.ebuild deleted file mode 100644 index 2cb2fbb..0000000 --- a/www-apps/pleroma/pleroma-2.0.5.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit git-r3 systemd - -DESCRIPTION="Microblogging server software that can federate with other servers." -HOMEPAGE="https://pleroma.social/ https://git.pleroma.social/pleroma/pleroma/" -EGIT_REPO_URI="https://git.pleroma.social/pleroma/pleroma.git" -EGIT_COMMIT="v${PV}" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="apache +nginx syslog" - -RDEPEND=" - acct-group/pleroma - acct-user/pleroma - >=dev-lang/elixir-1.8.1 - >=dev-db/postgresql-9.6.13[uuid] - apache? ( www-servers/apache ) - nginx? ( www-servers/nginx[nginx_modules_http_slice] ) -" -DEPEND="" - -pkg_preinst() { - ewarn "This ebuild will overwrite modified files in /opt/pleroma/priv/static/" -} - -src_install() { - insinto "/opt/pleroma" - insopts -o pleroma -g pleroma -m 0664 - doins -r * .* - # insopts doesn't affect directories. - chown -R pleroma:pleroma "${ED}/opt/pleroma" - chmod -R ug=rwX "${ED}/opt/pleroma" - - if use nginx; then - dodoc installation/pleroma.nginx - fi - if use apache; then - dodoc installation/pleroma-apache.conf - fi - - dodoc -r docs/* - - doinitd installation/init.d/pleroma - systemd_dounit installation/pleroma.service -} - -pkg_postinst() { - elog "You need to run emerge --config www-apps/pleroma after each upgrade." - if use nginx; then - einfo "An example config for nginx has been installed in the doc directory." - elog "If you're upgrading from pre-2.0.1, remove" - elog "proxy_ignore_headers Cache-Control; and" - elog "proxy_hide_header Cache-Control; from your nginx config." - fi - if use apache; then - einfo "An example config for apache has been installed in the doc directory." - ewarn "If you're upgrading from pre-2.0.4, remove the following line" - ewarn "from your apache config:" - ewarn "SSLCertificateFile /etc/letsencrypt/live/${servername}/cert.pem" - fi -} - -pkg_config() { - local configfile="${EROOT}/opt/pleroma/config/prod.secret.exs" - cd "${EROOT}/opt/pleroma" || die - - if [[ ! -f ${configfile} ]]; then # Fresh install. - einfo "Installing the dependencies..." - einfo "Answer with yes if it asks you to install Hex." - su -ls /bin/bash -c "mix deps.get" pleroma || die - - einfo "Generating the configuration..." - einfo "Answer with yes if it asks you to install rebar3." - su -ls /bin/bash -c "mix pleroma.instance gen" pleroma || die - mv -v config/{generated_config.exs,prod.secret.exs} || die - - if use syslog; then - einfo "Activating syslog in ${configfile} ..." - cat "${FILESDIR}/syslog.exs" >> ${configfile} - fi - - einfo "Creating the database..." - su -ls /bin/bash -c "psql -f config/setup_db.psql" postgres || die - - einfo "Running the database migration..." - su -ls /bin/bash -c "MIX_ENV=prod mix ecto.migrate" pleroma || die - - einfo "Your configuration file is in ${configfile}." - else # Update. - einfo "Pleroma will be stopped for the duration of the update." - einfo "Hit enter to proceed." - read - - declare -i started=0 - if "${EROOT}"/etc/init.d/pleroma --nocolor status | grep -q started; then - started=1 - fi - - if [[ ${started} -eq 1 ]]; then - einfo "Stopping pleroma..." - "${EROOT}"/etc/init.d/pleroma stop || die - fi - - einfo "Updating the dependencies..." - su -ls /bin/bash -c "mix deps.get" pleroma || die - - einfo "Running the database migration..." - su -ls /bin/bash -c "MIX_ENV=prod mix ecto.migrate" pleroma || die - - if [[ ${started} -eq 1 ]]; then - einfo "Starting pleroma..." - "${EROOT}"/etc/init.d/pleroma start || die - fi - fi - - if ! grep -q MIX_ENV ~pleroma/.profile 2>/dev/null; then - elog "Setting MIX_ENV=prod in ~pleroma/.profile ..." - echo "export MIX_ENV=prod" >> ~pleroma/.profile || die - fi -} diff --git a/www-apps/pleroma/pleroma-2.0.6.ebuild b/www-apps/pleroma/pleroma-2.0.6.ebuild deleted file mode 100644 index 2cb2fbb..0000000 --- a/www-apps/pleroma/pleroma-2.0.6.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit git-r3 systemd - -DESCRIPTION="Microblogging server software that can federate with other servers." -HOMEPAGE="https://pleroma.social/ https://git.pleroma.social/pleroma/pleroma/" -EGIT_REPO_URI="https://git.pleroma.social/pleroma/pleroma.git" -EGIT_COMMIT="v${PV}" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="apache +nginx syslog" - -RDEPEND=" - acct-group/pleroma - acct-user/pleroma - >=dev-lang/elixir-1.8.1 - >=dev-db/postgresql-9.6.13[uuid] - apache? ( www-servers/apache ) - nginx? ( www-servers/nginx[nginx_modules_http_slice] ) -" -DEPEND="" - -pkg_preinst() { - ewarn "This ebuild will overwrite modified files in /opt/pleroma/priv/static/" -} - -src_install() { - insinto "/opt/pleroma" - insopts -o pleroma -g pleroma -m 0664 - doins -r * .* - # insopts doesn't affect directories. - chown -R pleroma:pleroma "${ED}/opt/pleroma" - chmod -R ug=rwX "${ED}/opt/pleroma" - - if use nginx; then - dodoc installation/pleroma.nginx - fi - if use apache; then - dodoc installation/pleroma-apache.conf - fi - - dodoc -r docs/* - - doinitd installation/init.d/pleroma - systemd_dounit installation/pleroma.service -} - -pkg_postinst() { - elog "You need to run emerge --config www-apps/pleroma after each upgrade." - if use nginx; then - einfo "An example config for nginx has been installed in the doc directory." - elog "If you're upgrading from pre-2.0.1, remove" - elog "proxy_ignore_headers Cache-Control; and" - elog "proxy_hide_header Cache-Control; from your nginx config." - fi - if use apache; then - einfo "An example config for apache has been installed in the doc directory." - ewarn "If you're upgrading from pre-2.0.4, remove the following line" - ewarn "from your apache config:" - ewarn "SSLCertificateFile /etc/letsencrypt/live/${servername}/cert.pem" - fi -} - -pkg_config() { - local configfile="${EROOT}/opt/pleroma/config/prod.secret.exs" - cd "${EROOT}/opt/pleroma" || die - - if [[ ! -f ${configfile} ]]; then # Fresh install. - einfo "Installing the dependencies..." - einfo "Answer with yes if it asks you to install Hex." - su -ls /bin/bash -c "mix deps.get" pleroma || die - - einfo "Generating the configuration..." - einfo "Answer with yes if it asks you to install rebar3." - su -ls /bin/bash -c "mix pleroma.instance gen" pleroma || die - mv -v config/{generated_config.exs,prod.secret.exs} || die - - if use syslog; then - einfo "Activating syslog in ${configfile} ..." - cat "${FILESDIR}/syslog.exs" >> ${configfile} - fi - - einfo "Creating the database..." - su -ls /bin/bash -c "psql -f config/setup_db.psql" postgres || die - - einfo "Running the database migration..." - su -ls /bin/bash -c "MIX_ENV=prod mix ecto.migrate" pleroma || die - - einfo "Your configuration file is in ${configfile}." - else # Update. - einfo "Pleroma will be stopped for the duration of the update." - einfo "Hit enter to proceed." - read - - declare -i started=0 - if "${EROOT}"/etc/init.d/pleroma --nocolor status | grep -q started; then - started=1 - fi - - if [[ ${started} -eq 1 ]]; then - einfo "Stopping pleroma..." - "${EROOT}"/etc/init.d/pleroma stop || die - fi - - einfo "Updating the dependencies..." - su -ls /bin/bash -c "mix deps.get" pleroma || die - - einfo "Running the database migration..." - su -ls /bin/bash -c "MIX_ENV=prod mix ecto.migrate" pleroma || die - - if [[ ${started} -eq 1 ]]; then - einfo "Starting pleroma..." - "${EROOT}"/etc/init.d/pleroma start || die - fi - fi - - if ! grep -q MIX_ENV ~pleroma/.profile 2>/dev/null; then - elog "Setting MIX_ENV=prod in ~pleroma/.profile ..." - echo "export MIX_ENV=prod" >> ~pleroma/.profile || die - fi -}