[gentoo-commits] repo/proj/guru:master commit in: www-apps/pleroma/

2024-05-23 Thread David Roman
commit: dd64bc196f73ca52617238d85dc2a349e69f0760
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Wed May 22 22:12:20 2024 +
Commit: David Roman  gmail  com>
CommitDate: Wed May 22 22:12:20 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dd64bc19

www-apps/pleroma: add 2.6.3, drop 2.6.2

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 www-apps/pleroma/Manifest   | 2 +-
 www-apps/pleroma/{pleroma-2.6.2.ebuild => pleroma-2.6.3.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-apps/pleroma/Manifest b/www-apps/pleroma/Manifest
index b8f168bf1..9e2233852 100644
--- a/www-apps/pleroma/Manifest
+++ b/www-apps/pleroma/Manifest
@@ -1 +1 @@
-DIST pleroma-v2.6.2.tar.gz 28128597 BLAKE2B 
d83796f661709f31181df9adf62077f12a40d4070f095dffbf87c93354e3f2d9a7cddf5061a801b10f9d31887a3c4ff351fe8f6cd460bad1492a8687a7f0704b
 SHA512 
f0f5247d1893ad53d354f6372f35a956c69dfddfd8a4ab6df741fa01d3a28a11393a5bc710dc1054618d9a6d431637ff75fb9dc4a55a22e9544aef42568fdabf
+DIST pleroma-v2.6.3.tar.gz 28128737 BLAKE2B 
9395e6e94d489d0242387c386cc79db0aa985401331913c0ee5d71d51255c4aa56868a5795c3e7ec1c9c8ab52aa2c1694afc2b248c397ecd3054cd1df9b19e30
 SHA512 
b10fdbf3bb17f69c2754adb7201085880380777a4f363a09a8926bb6d2f4ed60888680f6af053befca06aa0b319083ec6471df9c918df3ccaab98fadb83d

diff --git a/www-apps/pleroma/pleroma-2.6.2.ebuild 
b/www-apps/pleroma/pleroma-2.6.3.ebuild
similarity index 100%
rename from www-apps/pleroma/pleroma-2.6.2.ebuild
rename to www-apps/pleroma/pleroma-2.6.3.ebuild



[gentoo-commits] repo/proj/guru:master commit in: www-apps/pleroma/

2024-05-16 Thread Julien Roy
commit: d7e9a571b4b176a3b3e8ada0e93f23276f032364
Author: Quincy Fleming  protonmail  com>
AuthorDate: Thu May 16 02:52:04 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Thu May 16 02:52:04 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d7e9a571

www-apps/pleroma: removed empty KEYWORD

Signed-off-by: Quincy Fleming  protonmail.com>

 www-apps/pleroma/pleroma-2.6.2.ebuild | 1 -
 www-apps/pleroma/pleroma-.ebuild  | 1 -
 2 files changed, 2 deletions(-)

diff --git a/www-apps/pleroma/pleroma-2.6.2.ebuild 
b/www-apps/pleroma/pleroma-2.6.2.ebuild
index 7d2548fc7f..02d502a4d0 100644
--- a/www-apps/pleroma/pleroma-2.6.2.ebuild
+++ b/www-apps/pleroma/pleroma-2.6.2.ebuild
@@ -10,7 +10,6 @@ HOMEPAGE="https://pleroma.social/;
 if [[ "${PV}" == * ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.pleroma.social/pleroma/pleroma;
-   KEYWORDS=""
 else

SRC_URI="https://git.pleroma.social/pleroma/pleroma/-/archive/v${PV}/${PN}-v${PV}.tar.gz;
S="${WORKDIR}/${PN}-v${PV}"

diff --git a/www-apps/pleroma/pleroma-.ebuild 
b/www-apps/pleroma/pleroma-.ebuild
index cf413c1948..4b702c49bd 100644
--- a/www-apps/pleroma/pleroma-.ebuild
+++ b/www-apps/pleroma/pleroma-.ebuild
@@ -10,7 +10,6 @@ HOMEPAGE="https://pleroma.social/;
 if [[ "${PV}" == * ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.pleroma.social/pleroma/pleroma;
-   KEYWORDS=""
 else

SRC_URI="https://git.pleroma.social/pleroma/pleroma/-/archive/v${PV}/${PN}-v${PV}.tar.gz;
S="${WORKDIR}/${PN}-v${PV}"



[gentoo-commits] repo/proj/guru:master commit in: www-apps/pleroma/

2024-05-16 Thread Julien Roy
commit: f57873ae9726bcd4d78bb2132c958903eb2c7501
Author: Quincy Fleming  protonmail  com>
AuthorDate: Wed May 15 21:07:29 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Wed May 15 21:07:29 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f57873ae

www-apps/pleroma: update erlang dependency

Closes: https://bugs.gentoo.org/931956
Signed-off-by: Quincy Fleming  protonmail.com>

 www-apps/pleroma/pleroma-2.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-apps/pleroma/pleroma-2.6.2.ebuild 
b/www-apps/pleroma/pleroma-2.6.2.ebuild
index e3ef5e89bf..7d2548fc7f 100644
--- a/www-apps/pleroma/pleroma-2.6.2.ebuild
+++ b/www-apps/pleroma/pleroma-2.6.2.ebuild
@@ -24,7 +24,7 @@ SLOT="otp"
 RESTRICT="network-sandbox"
 
 BDEPEND="
-   =dev-util/rebar-3.20.0-r1



[gentoo-commits] repo/proj/guru:master commit in: www-apps/pleroma/

2024-02-23 Thread David Roman
commit: 1b57a207330b9ec4746ef5f9bb25a8d3b289bc3f
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Fri Feb 23 08:36:50 2024 +
Commit: David Roman  gmail  com>
CommitDate: Fri Feb 23 08:37:13 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1b57a207

www-apps/pleroma-: Use system vips

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 www-apps/pleroma/pleroma-.ebuild | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/www-apps/pleroma/pleroma-.ebuild 
b/www-apps/pleroma/pleroma-.ebuild
index fa8957b176..292dcac0f6 100644
--- a/www-apps/pleroma/pleroma-.ebuild
+++ b/www-apps/pleroma/pleroma-.ebuild
@@ -32,8 +32,9 @@ BDEPEND="
dev-elixir/hex
 "
 DEPEND="
-   sys-libs/ncurses:=
+   media-libs/vips:=
sys-apps/file
+   sys-libs/ncurses:=
 "
 RDEPEND="
${DEPEND}
@@ -59,7 +60,9 @@ src_prepare() {
sed -i "s!source_url: .*!source_url: 
\"${EGIT_OVERRIDE_REPO}\",!" mix.exs || die
fi
 
-   sed -i -e '/include_executables_for:/a\  strip_beams: false,\n\ 
 include_erts: false,' mix.exs || die
+   # strip_beams: Keep debug information in Erlang BEAM bytecode
+   # include_erts: Depend on system erlang for the runtime
+   sed -i '/include_executables_for:/a\  strip_beams: false,\n\
  include_erts: false,' mix.exs || die
 
sed -i \
-e '/update \[OPTIONS\]/,/--tmp-dir/d' \
@@ -74,6 +77,9 @@ src_prepare() {
 
 src_compile() {
mkdir -p pleroma || die
+
+   export VIX_COMPILATION_MODE="PLATFORM_PROVIDED_LIBVIPS"
+
emix release --overwrite --path pleroma
 }
 



[gentoo-commits] repo/proj/guru:master commit in: www-apps/pleroma/

2024-02-23 Thread David Roman
commit: 45f755ec877fcc689874b2fd420d80c7a4c6e457
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Fri Feb 23 06:05:52 2024 +
Commit: David Roman  gmail  com>
CommitDate: Fri Feb 23 06:06:14 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=45f755ec

www-apps/pleroma-: bump erlang max to 26.x

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 www-apps/pleroma/pleroma-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-apps/pleroma/pleroma-.ebuild 
b/www-apps/pleroma/pleroma-.ebuild
index e456bd9ad9..fa8957b176 100644
--- a/www-apps/pleroma/pleroma-.ebuild
+++ b/www-apps/pleroma/pleroma-.ebuild
@@ -25,7 +25,7 @@ IUSE=""
 RESTRICT="network-sandbox"
 
 BDEPEND="
-   =dev-util/rebar-3.20.0-r1



[gentoo-commits] repo/proj/guru:master commit in: www-apps/pleroma/

2023-12-15 Thread David Roman
commit: 37b19b0b828c3003e5243bd5f423164c0178d16b
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Sat Dec 16 01:19:16 2023 +
Commit: David Roman  gmail  com>
CommitDate: Sat Dec 16 01:24:34 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=37b19b0b

www-apps/pleroma: add 2.6.1, drop 2.6.0

Closes: https://bugs.gentoo.org/916730
Closes: https://bugs.gentoo.org/916731
Closes: https://bugs.gentoo.org/916732
Closes: https://bugs.gentoo.org/916733
Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 www-apps/pleroma/Manifest   | 2 +-
 www-apps/pleroma/{pleroma-2.6.0.ebuild => pleroma-2.6.1.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-apps/pleroma/Manifest b/www-apps/pleroma/Manifest
index 67b494cd6a..9e9c7dd5a3 100644
--- a/www-apps/pleroma/Manifest
+++ b/www-apps/pleroma/Manifest
@@ -1 +1 @@
-DIST pleroma-v2.6.0.tar.gz 27813368 BLAKE2B 
0142662828d98372717dfb0d956b33e18cbfda75b5e8a8bdb13b013b5375803f57226f9fcb875233e6052f5dab41f97f1c8fa6ff4667b84b207daf89791f5d5b
 SHA512 
cba8aef6b840ef8a3f96eede41b126f0adc7872acb88f9bd9d932538a4a2508f59edf39758156b832791b536168af83ffbf41a1ce77db3228bf3a5f44d33ada6
+DIST pleroma-v2.6.1.tar.gz 28130367 BLAKE2B 
e4d742b439efea9e23c02813d6a012b62c317dc64c5c404224513304c38bb14bf26639f89d0c6271f68c312a976a464b0dd6b7616e8aac4397d7f198d306c36e
 SHA512 
02202371e6feebd132c5bdd490a5b94a750006eaf9d86cab6c9459891ec456ee6b4e9ba681d5ca4bb23af1e0ee92baa9ccfb7f5dbaebc35b9d1aad153007d9c3

diff --git a/www-apps/pleroma/pleroma-2.6.0.ebuild 
b/www-apps/pleroma/pleroma-2.6.1.ebuild
similarity index 100%
rename from www-apps/pleroma/pleroma-2.6.0.ebuild
rename to www-apps/pleroma/pleroma-2.6.1.ebuild



[gentoo-commits] repo/proj/guru:master commit in: www-apps/pleroma/

2023-11-10 Thread David Roman
commit: 64ad33a963e2bf0cfcc64104e489dee2aeafe067
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Thu Nov  9 06:23:43 2023 +
Commit: David Roman  gmail  com>
CommitDate: Thu Nov  9 06:43:13 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=64ad33a9

www-apps/pleroma: Support for www-apps/pleroma-fe

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 www-apps/pleroma/pleroma-2.6.0.ebuild | 3 +++
 www-apps/pleroma/pleroma-.ebuild  | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/www-apps/pleroma/pleroma-2.6.0.ebuild 
b/www-apps/pleroma/pleroma-2.6.0.ebuild
index 6cff0375c3..57a9e770e5 100644
--- a/www-apps/pleroma/pleroma-2.6.0.ebuild
+++ b/www-apps/pleroma/pleroma-2.6.0.ebuild
@@ -100,10 +100,13 @@ src_install() {
keepdir /var/lib/pleroma
fperms 0750 /var/lib/pleroma
fowners pleroma:pleroma /var/lib/pleroma
+
+   dosym /opt/pleroma-fe/dist 
/var/lib/pleroma/static/frontends/pleroma-fe/gentoo
 }
 
 pkg_postinst() {
optfeature "For Pleroma.Upload.Filters.{Mogrify,Mogrifun} & images in 
previews" media-gfx/imagemagick
optfeature "For video support in Media Preview Proxy" media-video/ffmpeg
optfeature "For Pleroma.Upload.Filters.Exiftool.* filters" 
media-libs/exiftool
+   optfeature "Allows to pick system-managed frontend instead of bundled" 
www-apps/pleroma-fe
 }

diff --git a/www-apps/pleroma/pleroma-.ebuild 
b/www-apps/pleroma/pleroma-.ebuild
index 40b401f54c..e6b47058c2 100644
--- a/www-apps/pleroma/pleroma-.ebuild
+++ b/www-apps/pleroma/pleroma-.ebuild
@@ -101,10 +101,13 @@ src_install() {
keepdir /var/lib/pleroma
fperms 0750 /var/lib/pleroma
fowners pleroma:pleroma /var/lib/pleroma
+
+   dosym /opt/pleroma-fe/dist 
/var/lib/pleroma/static/frontends/pleroma-fe/gentoo
 }
 
 pkg_postinst() {
optfeature "For Pleroma.Upload.Filters.{Mogrify,Mogrifun} & images in 
previews" media-gfx/imagemagick
optfeature "For video support in Media Preview Proxy" media-video/ffmpeg
optfeature "For Pleroma.Upload.Filters.Exiftool.* filters" 
media-libs/exiftool
+   optfeature "Allows to pick system-managed frontend instead of bundled" 
www-apps/pleroma-fe
 }



[gentoo-commits] repo/proj/guru:master commit in: www-apps/pleroma-fe/

2023-11-10 Thread David Roman
commit: 3ab24edf734372fa9de6da441060dec2003dfe04
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Thu Nov  9 06:20:30 2023 +
Commit: David Roman  gmail  com>
CommitDate: Thu Nov  9 06:43:13 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3ab24edf

www-apps/pleroma-fe: new package, add 2.6.0, 

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 www-apps/pleroma-fe/Manifest|  1 +
 www-apps/pleroma-fe/metadata.xml|  8 +
 www-apps/pleroma-fe/pleroma-fe-2.6.0.ebuild | 51 +
 www-apps/pleroma-fe/pleroma-fe-.ebuild  | 51 +
 4 files changed, 111 insertions(+)

diff --git a/www-apps/pleroma-fe/Manifest b/www-apps/pleroma-fe/Manifest
new file mode 100644
index 00..b004923313
--- /dev/null
+++ b/www-apps/pleroma-fe/Manifest
@@ -0,0 +1 @@
+DIST pleroma-fe-2.6.0.tar.gz 4753735 BLAKE2B 
21edb9d26b1c8cdc45ed9b9aa13d1b8b737112ab67f85a0c111ec0e9d29f112a4ef06312493c64bbc6be175f793e4e877f6849254de548337c470006b3779cb0
 SHA512 
13b17a71ab0feb7c7bb6c691f20cc8789c5589cdda642b7888cc0d16e284c32949fdda4df23ed2e610267ce898dea1b8db5620befe66cfe3c9d2a12f1e088d72

diff --git a/www-apps/pleroma-fe/metadata.xml b/www-apps/pleroma-fe/metadata.xml
new file mode 100644
index 00..2092bcc33a
--- /dev/null
+++ b/www-apps/pleroma-fe/metadata.xml
@@ -0,0 +1,8 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   cont...@hacktivis.me
+   Haelwenn (lanodan) Monnier
+   
+

diff --git a/www-apps/pleroma-fe/pleroma-fe-2.6.0.ebuild 
b/www-apps/pleroma-fe/pleroma-fe-2.6.0.ebuild
new file mode 100644
index 00..fc69ddfbc4
--- /dev/null
+++ b/www-apps/pleroma-fe/pleroma-fe-2.6.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2023 Haelwenn (lanodan) Monnier 
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Main frontend for www-apps/pleroma, inspired by qvitter"
+HOMEPAGE="https://pleroma.social/ 
https://git.pleroma.social/pleroma/pleroma-fe;
+if [[ "${PV}" == * ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://git.pleroma.social/pleroma/pleroma-fe;
+else
+   
SRC_URI="https://git.pleroma.social/pleroma/pleroma-fe/-/archive/${PV}/${P}.tar.gz;
+   KEYWORDS="~amd64"
+fi
+LICENSE="AGPL-3 MIT ISC Apache-2.0"
+SLOT="0"
+IUSE=""
+
+# Requires network access (https) as long as NPM dependencies aren't packaged
+# said dependencies have their checksum verified via `yarn.lock`
+RESTRICT="network-sandbox"
+
+BDEPEND="
+   net-libs/nodejs
+   sys-apps/yarn
+"
+
+src_unpack() {
+   default
+
+   [[ "${PV}" == * ]] && git-r3_src_unpack
+
+   cd "${S}" || die
+   yarn install --no-bin-links --frozen-lockfile --non-interactive || die
+}
+
+# FIXME src_prepare: Point to the correct source repo, needed for AGPL 
compliance
+
+src_compile() {
+   yarn run build || die
+}
+
+src_install() {
+   insinto "/opt/pleroma-fe"
+   doins -r dist
+}
+
+pkg_postinst() {
+   elog 'You will need to add the following line in 
/etc/pleroma/config.exs to make use of this frontend:'
+   elog 'config :pleroma, :frontends, primary: %{"name" => "pleroma-fe", 
"ref" => "gentoo"}'
+}

diff --git a/www-apps/pleroma-fe/pleroma-fe-.ebuild 
b/www-apps/pleroma-fe/pleroma-fe-.ebuild
new file mode 100644
index 00..fc69ddfbc4
--- /dev/null
+++ b/www-apps/pleroma-fe/pleroma-fe-.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2023 Haelwenn (lanodan) Monnier 
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Main frontend for www-apps/pleroma, inspired by qvitter"
+HOMEPAGE="https://pleroma.social/ 
https://git.pleroma.social/pleroma/pleroma-fe;
+if [[ "${PV}" == * ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://git.pleroma.social/pleroma/pleroma-fe;
+else
+   
SRC_URI="https://git.pleroma.social/pleroma/pleroma-fe/-/archive/${PV}/${P}.tar.gz;
+   KEYWORDS="~amd64"
+fi
+LICENSE="AGPL-3 MIT ISC Apache-2.0"
+SLOT="0"
+IUSE=""
+
+# Requires network access (https) as long as NPM dependencies aren't packaged
+# said dependencies have their checksum verified via `yarn.lock`
+RESTRICT="network-sandbox"
+
+BDEPEND="
+   net-libs/nodejs
+   sys-apps/yarn
+"
+
+src_unpack() {
+   default
+
+   [[ "${PV}" == * ]] && git-r3_src_unpack
+
+   cd "${S}" || die
+   yarn install --no-bin-links --frozen-lockfile --non-interactive || die
+}
+
+# FIXME src_prepare: Point to the correct source repo, needed for AGPL 
compliance
+
+src_compile() {
+   yarn run build || die
+}
+
+src_install() {
+   insinto "/opt/pleroma-fe"
+   doins -r dist
+}
+
+pkg_postinst() {
+   elog 'You will need to add the following line in 
/etc/pleroma/config.exs to make use of this frontend:'
+   elog 'config :pleroma, :frontends, primary: %{"name" => "pleroma-fe", 
"ref" => "gentoo"}'
+}



[gentoo-commits] repo/proj/guru:master commit in: www-apps/pleroma/

2023-11-02 Thread Rui Huang
commit: d47bda2b714bd9ed47aeb2538afc7913e615dce7
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Thu Nov  2 01:51:02 2023 +
Commit: Rui Huang  gmail  com>
CommitDate: Thu Nov  2 01:51:15 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d47bda2b

www-apps/pleroma: Install OpenRC script

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 www-apps/pleroma/pleroma-2.6.0.ebuild | 2 ++
 www-apps/pleroma/pleroma-.ebuild  | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/www-apps/pleroma/pleroma-2.6.0.ebuild 
b/www-apps/pleroma/pleroma-2.6.0.ebuild
index 1bcae78dda..6cff0375c3 100644
--- a/www-apps/pleroma/pleroma-2.6.0.ebuild
+++ b/www-apps/pleroma/pleroma-2.6.0.ebuild
@@ -84,6 +84,8 @@ src_install() {
fperms 0750 /opt/pleroma
fowners 0:pleroma /opt/pleroma
 
+   doinitd ./pleroma/installation/init.d/pleroma
+
dosym /opt/pleroma/bin/pleroma /usr/bin/pleroma
dosym /opt/pleroma/bin/pleroma_ctl /usr/bin/pleroma_ctl
 

diff --git a/www-apps/pleroma/pleroma-.ebuild 
b/www-apps/pleroma/pleroma-.ebuild
index 1ac09596c6..40b401f54c 100644
--- a/www-apps/pleroma/pleroma-.ebuild
+++ b/www-apps/pleroma/pleroma-.ebuild
@@ -85,6 +85,8 @@ src_install() {
fperms -R g-w,o= /opt/pleroma
fowners -R 0:pleroma /opt/pleroma
 
+   doinitd ./pleroma/installation/init.d/pleroma
+
dosym /opt/pleroma/bin/pleroma /usr/bin/pleroma
dosym /opt/pleroma/bin/pleroma_ctl /usr/bin/pleroma_ctl
 



[gentoo-commits] repo/proj/guru:master commit in: www-apps/pleroma/

2023-11-02 Thread Rui Huang
commit: 22ea1eeae94c5b1a5a75cafb4697a54f51788c87
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Wed Nov  1 23:19:20 2023 +
Commit: Rui Huang  gmail  com>
CommitDate: Wed Nov  1 23:19:59 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=22ea1eea

www-apps/pleroma: add 2.6.0, drop 2.5.5

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 www-apps/pleroma/Manifest   | 2 +-
 www-apps/pleroma/{pleroma-2.5.5.ebuild => pleroma-2.6.0.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-apps/pleroma/Manifest b/www-apps/pleroma/Manifest
index 38809d6f97..67b494cd6a 100644
--- a/www-apps/pleroma/Manifest
+++ b/www-apps/pleroma/Manifest
@@ -1 +1 @@
-DIST pleroma-v2.5.5.tar.gz 27630048 BLAKE2B 
87dba84c84072051a821878eeea84855165e06ec09fd01974c706bbd2d99f6d463bb8cc86913fb2f42444cb4a39e4d7b6538bafa632df127cae969bb47ae26a5
 SHA512 
72e887c06ae9111f1f4934bdf7bef0d5e7e676a07425028dfff08fd7dfb4bc8833c6ee55bf7cb1b9b5723a558cf1ada5a13ad74621197df258ca7ec375f2ee9d
+DIST pleroma-v2.6.0.tar.gz 27813368 BLAKE2B 
0142662828d98372717dfb0d956b33e18cbfda75b5e8a8bdb13b013b5375803f57226f9fcb875233e6052f5dab41f97f1c8fa6ff4667b84b207daf89791f5d5b
 SHA512 
cba8aef6b840ef8a3f96eede41b126f0adc7872acb88f9bd9d932538a4a2508f59edf39758156b832791b536168af83ffbf41a1ce77db3228bf3a5f44d33ada6

diff --git a/www-apps/pleroma/pleroma-2.5.5.ebuild 
b/www-apps/pleroma/pleroma-2.6.0.ebuild
similarity index 100%
rename from www-apps/pleroma/pleroma-2.5.5.ebuild
rename to www-apps/pleroma/pleroma-2.6.0.ebuild



[gentoo-commits] repo/proj/guru:master commit in: www-apps/pleroma-fe/

2023-09-21 Thread David Roman
commit: 39df372732bdd4421a6bbf0f11e785dd98483b42
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Tue Sep 19 06:25:17 2023 +
Commit: David Roman  gmail  com>
CommitDate: Tue Sep 19 06:25:50 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=39df3727

Revert "www-apps/pleroma-fe: new package, add 2.5.0, "

Sorry, wasn't supposed to be pushed yet…

This reverts commit ad49e6cb1d03d8ef902b119d7aad9bfb33ba23aa.

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 www-apps/pleroma-fe/Manifest|  1 -
 www-apps/pleroma-fe/metadata.xml|  8 -
 www-apps/pleroma-fe/pleroma-fe-2.5.0.ebuild | 55 -
 www-apps/pleroma-fe/pleroma-fe-.ebuild  | 55 -
 4 files changed, 119 deletions(-)

diff --git a/www-apps/pleroma-fe/Manifest b/www-apps/pleroma-fe/Manifest
deleted file mode 100644
index ea80b74b5f..00
--- a/www-apps/pleroma-fe/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pleroma-fe-2.5.0.tar.gz 4676267 BLAKE2B 
8ffd3cd219a5f232d977dfb2bbac5b0d3f7d8ba2a850cbb09ea3e240c7337d0d97ddd4a039eae16786e5fa8da47f795daa0275c391a31136bb5f86a1e1502326
 SHA512 
0adca3c547de1b520269974d228ea7de6a16fa1ea8798e87d121d4ea86325bae21ea889b887e4fc21de0d7d4cbcabe82f2ff8948b80249d1345c4cf3a0e81cb2

diff --git a/www-apps/pleroma-fe/metadata.xml b/www-apps/pleroma-fe/metadata.xml
deleted file mode 100644
index 2092bcc33a..00
--- a/www-apps/pleroma-fe/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-https://www.gentoo.org/dtd/metadata.dtd;>
-
-   
-   cont...@hacktivis.me
-   Haelwenn (lanodan) Monnier
-   
-

diff --git a/www-apps/pleroma-fe/pleroma-fe-2.5.0.ebuild 
b/www-apps/pleroma-fe/pleroma-fe-2.5.0.ebuild
deleted file mode 100644
index 3ef7304224..00
--- a/www-apps/pleroma-fe/pleroma-fe-2.5.0.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 2023 Haelwenn (lanodan) Monnier 
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Main frontend for www-apps/pleroma, inspired by qvitter"
-HOMEPAGE="https://pleroma.social/ 
https://git.pleroma.social/pleroma/pleroma-fe;
-if [[ "${PV}" == * ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://git.pleroma.social/pleroma/pleroma-fe;
-else
-   
SRC_URI="https://git.pleroma.social/pleroma/pleroma-fe/-/archive/${PV}/${P}.tar.gz;
-   KEYWORDS="~amd64"
-fi
-LICENSE="AGPL-3 MIT ISC Apache-2.0"
-SLOT="0"
-IUSE=""
-
-# Requires network access (https) as long as NPM dependencies aren't packaged
-# said dependencies have their checksum verified via `yarn.lock`
-RESTRICT="network-sandbox"
-
-BDEPEND="
-   net-libs/nodejs
-   sys-apps/yarn
-"
-
-src_unpack() {
-   default
-
-   [[ "${PV}" == * ]] && git-r3_src_unpack
-
-   cd "${S}" || die
-   yarn install --no-bin-links --frozen-lockfile --non-interactive || die
-}
-
-# FIXME src_prepare: Point to the correct source repo, needed for AGPL 
compliance
-src_prepare() {
-   default
-
-   # https://git.pleroma.social/pleroma/pleroma-fe/-/merge_requests/1854
-   sed -i \
-   -e '/git rev-parse/,/^$/d' \
-   -e 's|let commitHash = .*|let commitHash = "'${PV}'";\n|' \
-   build/webpack.prod.conf.js || die
-}
-
-src_compile() {
-   yarn run build || die
-}
-
-src_install() {
-   insinto "/opt/pleroma-fe"
-   doins -r dist
-}

diff --git a/www-apps/pleroma-fe/pleroma-fe-.ebuild 
b/www-apps/pleroma-fe/pleroma-fe-.ebuild
deleted file mode 100644
index 3ef7304224..00
--- a/www-apps/pleroma-fe/pleroma-fe-.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 2023 Haelwenn (lanodan) Monnier 
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Main frontend for www-apps/pleroma, inspired by qvitter"
-HOMEPAGE="https://pleroma.social/ 
https://git.pleroma.social/pleroma/pleroma-fe;
-if [[ "${PV}" == * ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://git.pleroma.social/pleroma/pleroma-fe;
-else
-   
SRC_URI="https://git.pleroma.social/pleroma/pleroma-fe/-/archive/${PV}/${P}.tar.gz;
-   KEYWORDS="~amd64"
-fi
-LICENSE="AGPL-3 MIT ISC Apache-2.0"
-SLOT="0"
-IUSE=""
-
-# Requires network access (https) as long as NPM dependencies aren't packaged
-# said dependencies have their checksum verified via `yarn.lock`
-RESTRICT="network-sandbox"
-
-BDEPEND="
-   net-libs/nodejs
-   sys-apps/yarn
-"
-
-src_unpack() {
-   default
-
-   [[ "${PV}" == * ]] && git-r3_src_unpack
-
-   cd "${S}" || die
-   yarn install --no-bin-links --frozen-lockfile --non-interactive || die
-}
-
-# FIXME src_prepare: Point to the correct source repo, needed for AGPL 
compliance
-src_prepare() {
-   default
-
-   # https://git.pleroma.social/pleroma/pleroma-fe/-/merge_requests/1854
-   sed -i \
-   -e '/git rev-parse/,/^$/d' 

[gentoo-commits] repo/proj/guru:master commit in: www-apps/pleroma-fe/

2023-09-21 Thread David Roman
commit: ad49e6cb1d03d8ef902b119d7aad9bfb33ba23aa
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Sun Sep 10 07:20:26 2023 +
Commit: David Roman  gmail  com>
CommitDate: Tue Sep 19 06:20:52 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ad49e6cb

www-apps/pleroma-fe: new package, add 2.5.0, 

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 www-apps/pleroma-fe/Manifest|  1 +
 www-apps/pleroma-fe/metadata.xml|  8 +
 www-apps/pleroma-fe/pleroma-fe-2.5.0.ebuild | 55 +
 www-apps/pleroma-fe/pleroma-fe-.ebuild  | 55 +
 4 files changed, 119 insertions(+)

diff --git a/www-apps/pleroma-fe/Manifest b/www-apps/pleroma-fe/Manifest
new file mode 100644
index 00..ea80b74b5f
--- /dev/null
+++ b/www-apps/pleroma-fe/Manifest
@@ -0,0 +1 @@
+DIST pleroma-fe-2.5.0.tar.gz 4676267 BLAKE2B 
8ffd3cd219a5f232d977dfb2bbac5b0d3f7d8ba2a850cbb09ea3e240c7337d0d97ddd4a039eae16786e5fa8da47f795daa0275c391a31136bb5f86a1e1502326
 SHA512 
0adca3c547de1b520269974d228ea7de6a16fa1ea8798e87d121d4ea86325bae21ea889b887e4fc21de0d7d4cbcabe82f2ff8948b80249d1345c4cf3a0e81cb2

diff --git a/www-apps/pleroma-fe/metadata.xml b/www-apps/pleroma-fe/metadata.xml
new file mode 100644
index 00..2092bcc33a
--- /dev/null
+++ b/www-apps/pleroma-fe/metadata.xml
@@ -0,0 +1,8 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   cont...@hacktivis.me
+   Haelwenn (lanodan) Monnier
+   
+

diff --git a/www-apps/pleroma-fe/pleroma-fe-2.5.0.ebuild 
b/www-apps/pleroma-fe/pleroma-fe-2.5.0.ebuild
new file mode 100644
index 00..3ef7304224
--- /dev/null
+++ b/www-apps/pleroma-fe/pleroma-fe-2.5.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2023 Haelwenn (lanodan) Monnier 
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Main frontend for www-apps/pleroma, inspired by qvitter"
+HOMEPAGE="https://pleroma.social/ 
https://git.pleroma.social/pleroma/pleroma-fe;
+if [[ "${PV}" == * ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://git.pleroma.social/pleroma/pleroma-fe;
+else
+   
SRC_URI="https://git.pleroma.social/pleroma/pleroma-fe/-/archive/${PV}/${P}.tar.gz;
+   KEYWORDS="~amd64"
+fi
+LICENSE="AGPL-3 MIT ISC Apache-2.0"
+SLOT="0"
+IUSE=""
+
+# Requires network access (https) as long as NPM dependencies aren't packaged
+# said dependencies have their checksum verified via `yarn.lock`
+RESTRICT="network-sandbox"
+
+BDEPEND="
+   net-libs/nodejs
+   sys-apps/yarn
+"
+
+src_unpack() {
+   default
+
+   [[ "${PV}" == * ]] && git-r3_src_unpack
+
+   cd "${S}" || die
+   yarn install --no-bin-links --frozen-lockfile --non-interactive || die
+}
+
+# FIXME src_prepare: Point to the correct source repo, needed for AGPL 
compliance
+src_prepare() {
+   default
+
+   # https://git.pleroma.social/pleroma/pleroma-fe/-/merge_requests/1854
+   sed -i \
+   -e '/git rev-parse/,/^$/d' \
+   -e 's|let commitHash = .*|let commitHash = "'${PV}'";\n|' \
+   build/webpack.prod.conf.js || die
+}
+
+src_compile() {
+   yarn run build || die
+}
+
+src_install() {
+   insinto "/opt/pleroma-fe"
+   doins -r dist
+}

diff --git a/www-apps/pleroma-fe/pleroma-fe-.ebuild 
b/www-apps/pleroma-fe/pleroma-fe-.ebuild
new file mode 100644
index 00..3ef7304224
--- /dev/null
+++ b/www-apps/pleroma-fe/pleroma-fe-.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2023 Haelwenn (lanodan) Monnier 
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Main frontend for www-apps/pleroma, inspired by qvitter"
+HOMEPAGE="https://pleroma.social/ 
https://git.pleroma.social/pleroma/pleroma-fe;
+if [[ "${PV}" == * ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://git.pleroma.social/pleroma/pleroma-fe;
+else
+   
SRC_URI="https://git.pleroma.social/pleroma/pleroma-fe/-/archive/${PV}/${P}.tar.gz;
+   KEYWORDS="~amd64"
+fi
+LICENSE="AGPL-3 MIT ISC Apache-2.0"
+SLOT="0"
+IUSE=""
+
+# Requires network access (https) as long as NPM dependencies aren't packaged
+# said dependencies have their checksum verified via `yarn.lock`
+RESTRICT="network-sandbox"
+
+BDEPEND="
+   net-libs/nodejs
+   sys-apps/yarn
+"
+
+src_unpack() {
+   default
+
+   [[ "${PV}" == * ]] && git-r3_src_unpack
+
+   cd "${S}" || die
+   yarn install --no-bin-links --frozen-lockfile --non-interactive || die
+}
+
+# FIXME src_prepare: Point to the correct source repo, needed for AGPL 
compliance
+src_prepare() {
+   default
+
+   # https://git.pleroma.social/pleroma/pleroma-fe/-/merge_requests/1854
+   sed -i \
+   -e '/git rev-parse/,/^$/d' \
+   -e 's|let commitHash = .*|let commitHash = "'${PV}'";\n|' \
+   build/webpack.prod.conf.js || die

[gentoo-commits] repo/proj/guru:master commit in: www-apps/pleroma/

2023-08-29 Thread Viorel Munteanu
commit: 7977d2d4cb7b6c58ac955590c9e16418433a6319
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Tue Aug 29 17:52:56 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Tue Aug 29 17:54:45 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7977d2d4

www-apps/pleroma-: Add erlang & elixir version limits

Might be a bit weird in a live ebuild but erlang-26 and elixir-1.15 currently
means completely broken builds that you'd only notice on deployment or with
running the testsuite.
Better to bump as support arrives.

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 www-apps/pleroma/pleroma-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-apps/pleroma/pleroma-.ebuild 
b/www-apps/pleroma/pleroma-.ebuild
index 0c220087cb..1ac09596c6 100644
--- a/www-apps/pleroma/pleroma-.ebuild
+++ b/www-apps/pleroma/pleroma-.ebuild
@@ -25,8 +25,8 @@ IUSE=""
 RESTRICT="network-sandbox"
 
 BDEPEND="
-   dev-lang/erlang:=
-   dev-lang/elixir:=
+   =dev-util/rebar-3.20.0-r1
dev-elixir/hex



[gentoo-commits] repo/proj/guru:master commit in: www-apps/pleroma/

2023-08-10 Thread Viorel Munteanu
commit: 5b1bfcf76b21754cc156d92c826857f654d47a5c
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Tue Aug  8 10:01:04 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Tue Aug  8 10:01:26 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5b1bfcf7

www-apps/pleroma: lower permissions within /opt/pleroma

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 www-apps/pleroma/pleroma-.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www-apps/pleroma/pleroma-.ebuild 
b/www-apps/pleroma/pleroma-.ebuild
index 63bd6243c5..0c220087cb 100644
--- a/www-apps/pleroma/pleroma-.ebuild
+++ b/www-apps/pleroma/pleroma-.ebuild
@@ -82,7 +82,8 @@ src_install() {
mkdir -p "${ED}/opt" || die
cp -pr ./pleroma "${ED}/opt/pleroma" || die
fperms 0750 /opt/pleroma
-   fowners 0:pleroma /opt/pleroma
+   fperms -R g-w,o= /opt/pleroma
+   fowners -R 0:pleroma /opt/pleroma
 
dosym /opt/pleroma/bin/pleroma /usr/bin/pleroma
dosym /opt/pleroma/bin/pleroma_ctl /usr/bin/pleroma_ctl



[gentoo-commits] repo/proj/guru:master commit in: www-apps/pleroma/

2023-06-27 Thread Florian Schmaus
commit: be00d36b18d2a1c77aea9a1ee41d9e531a9eb998
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Mon Jun 26 21:57:45 2023 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Mon Jun 26 21:59:21 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=be00d36b

www-apps/pleroma: 2.5.2 isn't compatible with erlang-26 nor elixir-1.15

Closes: https://bugs.gentoo.org/909184
Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 www-apps/pleroma/pleroma-2.5.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-apps/pleroma/pleroma-2.5.2.ebuild 
b/www-apps/pleroma/pleroma-2.5.2.ebuild
index 4449ba417..5afe20eb8 100644
--- a/www-apps/pleroma/pleroma-2.5.2.ebuild
+++ b/www-apps/pleroma/pleroma-2.5.2.ebuild
@@ -27,8 +27,8 @@ IUSE=""
 RESTRICT="network-sandbox"
 
 BDEPEND="
-   dev-lang/erlang:=
-   dev-lang/elixir:=
+   

[gentoo-commits] repo/proj/guru:master commit in: www-apps/pleroma/

2023-06-26 Thread Andrew Ammerlaan
commit: 069148c8d80489a7fda30bc77fdd8770573db7ef
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Sun Jun 25 09:59:57 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Jun 25 09:59:57 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=069148c8

www-apps/pleroma: fix VisibleVcsPkg

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 www-apps/pleroma/pleroma-2.5.2.ebuild | 3 ++-
 www-apps/pleroma/pleroma-.ebuild  | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/www-apps/pleroma/pleroma-2.5.2.ebuild 
b/www-apps/pleroma/pleroma-2.5.2.ebuild
index 44fcc932c..4449ba417 100644
--- a/www-apps/pleroma/pleroma-2.5.2.ebuild
+++ b/www-apps/pleroma/pleroma-2.5.2.ebuild
@@ -12,13 +12,14 @@ if [[ "${PV}" == * ]]; then
EGIT_REPO_URI="https://git.pleroma.social/pleroma/pleroma;
# git-r3 doesn't allows make.conf override of MIN_CLONE_TYPE, so done 
here for my self-hosted branch
EGIT_MIN_CLONE_TYPE="single+tags"
+   KEYWORDS=""
 else

SRC_URI="https://git.pleroma.social/pleroma/pleroma/-/archive/v${PV}/${PN}-v${PV}.tar.gz;
S="${WORKDIR}/${PN}-v${PV}"
+   KEYWORDS="~amd64"
 fi
 LICENSE="AGPL-3 CC-BY-SA-4.0 CC-BY-4.0"
 SLOT="otp"
-KEYWORDS="~amd64"
 IUSE=""
 
 # Requires network access (https) as long as elixir dependencies aren't 
packaged

diff --git a/www-apps/pleroma/pleroma-.ebuild 
b/www-apps/pleroma/pleroma-.ebuild
index 44fcc932c..4449ba417 100644
--- a/www-apps/pleroma/pleroma-.ebuild
+++ b/www-apps/pleroma/pleroma-.ebuild
@@ -12,13 +12,14 @@ if [[ "${PV}" == * ]]; then
EGIT_REPO_URI="https://git.pleroma.social/pleroma/pleroma;
# git-r3 doesn't allows make.conf override of MIN_CLONE_TYPE, so done 
here for my self-hosted branch
EGIT_MIN_CLONE_TYPE="single+tags"
+   KEYWORDS=""
 else

SRC_URI="https://git.pleroma.social/pleroma/pleroma/-/archive/v${PV}/${PN}-v${PV}.tar.gz;
S="${WORKDIR}/${PN}-v${PV}"
+   KEYWORDS="~amd64"
 fi
 LICENSE="AGPL-3 CC-BY-SA-4.0 CC-BY-4.0"
 SLOT="otp"
-KEYWORDS="~amd64"
 IUSE=""
 
 # Requires network access (https) as long as elixir dependencies aren't 
packaged



[gentoo-commits] repo/proj/guru:master commit in: www-apps/pleroma/

2023-06-26 Thread Andrew Ammerlaan
commit: 35ba4a0c9d644373234a0820620fe45137b07400
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Sat Jun 24 19:09:15 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sat Jun 24 19:09:15 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=35ba4a0c

www-apps/pleroma: add 2.5.2, 

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 www-apps/pleroma/Manifest |   1 +
 www-apps/pleroma/metadata.xml |   8 +++
 www-apps/pleroma/pleroma-2.5.2.ebuild | 108 ++
 www-apps/pleroma/pleroma-.ebuild  | 108 ++
 4 files changed, 225 insertions(+)

diff --git a/www-apps/pleroma/Manifest b/www-apps/pleroma/Manifest
new file mode 100644
index 0..6fde19fbf
--- /dev/null
+++ b/www-apps/pleroma/Manifest
@@ -0,0 +1 @@
+DIST pleroma-v2.5.2.tar.gz 27628442 BLAKE2B 
6ae2b8c2024f0da5ce7888e67db78352f8c6a61d7df7ffe151e051ae3f834636954224f76582282cf1f00b2cbae9f8ac652a0dbe6f14d147adaf52dab89fbf86
 SHA512 
b4571e6840e554184fbec8d643240c502365db3b8f7bf92925ad4e41ff93d12b6a6e2bd91a174f4e38f379c3580bdfa06405c8e0ae9d9179d9498a07d6110ead

diff --git a/www-apps/pleroma/metadata.xml b/www-apps/pleroma/metadata.xml
new file mode 100644
index 0..2092bcc33
--- /dev/null
+++ b/www-apps/pleroma/metadata.xml
@@ -0,0 +1,8 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   cont...@hacktivis.me
+   Haelwenn (lanodan) Monnier
+   
+

diff --git a/www-apps/pleroma/pleroma-2.5.2.ebuild 
b/www-apps/pleroma/pleroma-2.5.2.ebuild
new file mode 100644
index 0..1109a32ce
--- /dev/null
+++ b/www-apps/pleroma/pleroma-2.5.2.ebuild
@@ -0,0 +1,108 @@
+# Copyright 2022-2023 Haelwenn (lanodan) Monnier 
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit mix optfeature
+
+DESCRIPTION="ActivityPub social networking software compatible with other 
Fediverse software"
+HOMEPAGE="https://pleroma.social/;
+if [[ "${PV}" == * ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://git.pleroma.social/pleroma/pleroma;
+   # git-r3 doesn't allows make.conf override of MIN_CLONE_TYPE, so done 
here for my self-hosted branch
+   EGIT_MIN_CLONE_TYPE="single+tags"
+else
+   
SRC_URI="https://git.pleroma.social/pleroma/pleroma/-/archive/v${PV}/${PN}-v${PV}.tar.gz;
+   S="${WORKDIR}/${PN}-v${PV}"
+fi
+LICENSE="AGPL-3 CC-BY-SA-4.0 CC-BY-4.0"
+SLOT="otp"
+KEYWORDS="~amd64"
+IUSE=""
+
+# Requires network access (https) as long as elixir dependencies aren't 
packaged
+# said dependencies have their checksum verified via `mix.lock`
+RESTRICT="network-sandbox"
+
+BDEPEND="
+   dev-lang/erlang:=
+   dev-lang/elixir:=
+   dev-util/cmake
+   dev-util/rebar
+   dev-elixir/hex
+"
+DEPEND="
+   sys-libs/ncurses:=
+   sys-apps/file
+"
+RDEPEND="
+   ${DEPEND}
+   acct-user/pleroma
+   acct-group/pleroma
+   dev-db/postgresql[uuid]
+"
+
+src_unpack() {
+   default
+
+   [[ "${PV}" == * ]] && git-r3_src_unpack
+
+   cd "${S}" || die
+   emix deps.get --only prod
+}
+
+src_prepare() {
+   default
+
+   # Point to the correct source repo, needed for AGPL compliance
+   if [[ "${PV}" == * ]] && [[ -n "${EGIT_OVERRIDE_REPO}" ]]; then
+   sed -i "s!source_url: .*!source_url: 
\"${EGIT_OVERRIDE_REPO}\",!" mix.exs || die
+   fi
+
+   sed -i -e '/include_executables_for:/a\  strip_beams: false,\n\ 
 include_erts: false,' mix.exs || die
+
+   sed -i \
+   -e '/update \[OPTIONS\]/,/--tmp-dir/d' \
+   -e 's;update "$@";echo "Unsupported, check the 
'"${CATEGORY}/${PN}"' package instead.";' \
+   rel/files/bin/pleroma_ctl || die
+
+   # Default ends up being inside /opt/pleroma which should be kept 
read-only to pleroma
+   echo 'config :tzdata, :data_dir, "/var/lib/pleroma/tzdata"' >> 
config/prod.exs || die
+
+   echo "import Config" > config/prod.secret.exs || die
+}
+
+src_compile() {
+   mkdir -p pleroma || die
+   emix release --overwrite --path pleroma
+}
+
+src_install() {
+   # doins doesn't seems to preserve permissions
+   mkdir -p "${ED}/opt" || die
+   cp -pr ./pleroma "${ED}/opt/pleroma" || die
+   fperms 0750 /opt/pleroma
+   fowners 0:pleroma /opt/pleroma
+
+   dosym /opt/pleroma/bin/pleroma /usr/bin/pleroma
+   dosym /opt/pleroma/bin/pleroma_ctl /usr/bin/pleroma_ctl
+
+   # This file controls console access
+   fperms 0750 /opt/pleroma/releases/COOKIE
+   fowners 0:pleroma /opt/pleroma/releases/COOKIE
+
+   keepdir /etc/pleroma
+   fperms 0750 /etc/pleroma
+   fowners 0:pleroma /etc/pleroma
+
+   keepdir /var/lib/pleroma
+   fperms 0750 /var/lib/pleroma
+   fowners pleroma:pleroma /var/lib/pleroma
+}
+
+pkg_postinst() {
+   optfeature "For 

[gentoo-commits] repo/proj/guru:master commit in: www-apps/pleroma/

2023-06-26 Thread Andrew Ammerlaan
commit: e6fee67021e85057bc2e37c86ef48c525805df83
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Sat Jun 24 19:21:49 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sat Jun 24 19:21:49 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e6fee670

www-apps/pleroma: Reduce line length of imagemagic optfeature

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 www-apps/pleroma/pleroma-2.5.2.ebuild | 2 +-
 www-apps/pleroma/pleroma-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-apps/pleroma/pleroma-2.5.2.ebuild 
b/www-apps/pleroma/pleroma-2.5.2.ebuild
index 1109a32ce..44fcc932c 100644
--- a/www-apps/pleroma/pleroma-2.5.2.ebuild
+++ b/www-apps/pleroma/pleroma-2.5.2.ebuild
@@ -102,7 +102,7 @@ src_install() {
 }
 
 pkg_postinst() {
-   optfeature "For Pleroma.Upload.Filters.{Mogrify,Mogrifun} and still 
image support in Media Preview Proxy" media-gfx/imagemagick
+   optfeature "For Pleroma.Upload.Filters.{Mogrify,Mogrifun} & images in 
previews" media-gfx/imagemagick
optfeature "For video support in Media Preview Proxy" media-video/ffmpeg
optfeature "For Pleroma.Upload.Filters.Exiftool.* filters" 
media-libs/exiftool
 }

diff --git a/www-apps/pleroma/pleroma-.ebuild 
b/www-apps/pleroma/pleroma-.ebuild
index 1109a32ce..44fcc932c 100644
--- a/www-apps/pleroma/pleroma-.ebuild
+++ b/www-apps/pleroma/pleroma-.ebuild
@@ -102,7 +102,7 @@ src_install() {
 }
 
 pkg_postinst() {
-   optfeature "For Pleroma.Upload.Filters.{Mogrify,Mogrifun} and still 
image support in Media Preview Proxy" media-gfx/imagemagick
+   optfeature "For Pleroma.Upload.Filters.{Mogrify,Mogrifun} & images in 
previews" media-gfx/imagemagick
optfeature "For video support in Media Preview Proxy" media-video/ffmpeg
optfeature "For Pleroma.Upload.Filters.Exiftool.* filters" 
media-libs/exiftool
 }