[gentoo-commits] repo/gentoo:master commit in: www-apps/liquid_feedback_core/files/, www-apps/liquid_feedback_core/

2024-02-19 Thread Alfredo Tupone
commit: 5e5f9e054b630fedfeb33d87b0db4e4cd6e2b5c0
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Tue Feb 20 07:32:56 2024 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Tue Feb 20 07:33:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e5f9e05

www-apps/liquid_feedback_core: drop 2.2.6, 3.0.4, 3.2.2

Signed-off-by: Alfredo Tupone  gentoo.org>

 www-apps/liquid_feedback_core/Manifest |  3 --
 .../files/liquid_feedback_core-2.2.3-gentoo.patch  | 24 --
 .../files/liquid_feedback_core-3.2.2-gentoo.patch  | 51 --
 .../liquid_feedback_core/files/postinstall-en.txt  | 22 --
 .../liquid_feedback_core-2.2.6.ebuild  | 43 --
 .../liquid_feedback_core-3.0.4.ebuild  | 38 
 .../liquid_feedback_core-3.2.2.ebuild  | 41 -
 7 files changed, 222 deletions(-)

diff --git a/www-apps/liquid_feedback_core/Manifest 
b/www-apps/liquid_feedback_core/Manifest
index c6a235edc4b7..f397c4a9d85a 100644
--- a/www-apps/liquid_feedback_core/Manifest
+++ b/www-apps/liquid_feedback_core/Manifest
@@ -1,4 +1 @@
-DIST liquid_feedback_core-v2.2.6.tar.gz 127440 BLAKE2B 
d62ecd8c9947259a7213f92ecaf1491a5e858ff2fdaff5e020fc4ec0c433297d8a7701a812de200130a1ed7f08ded1d9f31d42de7fffa2981361efee0e31646c
 SHA512 
6f680398a7d2e529e642dc94ba16bc1b33d25459ddbf629c06387391ef13c0e212a108cc337cd2bc29505f4f6436b6e92994e63eaa09fe1c07733d2821d9b7f1
-DIST liquid_feedback_core-v3.0.4.tar.gz 142983 BLAKE2B 
05e8c1630a8fa3932b4fc291843dd0c45e2333940394a0632309c9041dc850cc894a6cb54fb840329f67812ebcde5d540c338cf27a88ad428aaa066329725409
 SHA512 
baea8a61c94e640557d0169b6171247ff0303ff1a9c8b587c6769e367cf56805c1a1e660aadf7178d984182be6dde326770240b3ffeda42139c4a94445a2bbf8
-DIST liquid_feedback_core-v3.2.2.tar.gz 162505 BLAKE2B 
dc6e9d0b8d1e596150520e068e7743a6e839f7e6ffc3c605d090973a179652858c037c4f12c75774d158adfc60484d1ac321350fa7f8d16329043051ae2cd98c
 SHA512 
60a3548008235822e83c6614e990d87200b342d8e5c5fd1ca1f6092bc48d918f9dbfcc130039f4acf2956a19100cc96187ac1c7f5174f7e69a45f651643ab1d9
 DIST liquid_feedback_core-v4.2.2.tar.gz 226473 BLAKE2B 
4df49d1e1734c72ac439f772dfa1bf2b10d6cfb739f323735c39b2ed1c28ae19a26a00ad5fb3c55ead74e8d35773bbb39112936f5a4bf3321cd5f1847f7721a2
 SHA512 
f2542c3c38aa22cd7b8de4a47afb51e851f7f8e4b791d7bf90648e2e8abc6f71f687386f6aa028717c4ef042f3e3366b5458933e43dcf51476b3514f858eb20d

diff --git 
a/www-apps/liquid_feedback_core/files/liquid_feedback_core-2.2.3-gentoo.patch 
b/www-apps/liquid_feedback_core/files/liquid_feedback_core-2.2.3-gentoo.patch
deleted file mode 100644
index bd5874583e3a..
--- 
a/www-apps/liquid_feedback_core/files/liquid_feedback_core-2.2.3-gentoo.patch
+++ /dev/null
@@ -1,24 +0,0 @@
 a/Makefile
-+++ b/Makefile
-@@ -1,16 +1,10 @@
- all:: lf_update lf_update_suggestion_order
- 
--lf_update: lf_update.c
--  cc  -Wall -O2 \
--  -I "`pg_config --includedir`" \
--  -L "`pg_config --libdir`" \
--  -o lf_update lf_update.c -lpq
--
--lf_update_suggestion_order: lf_update_suggestion_order.c
--  cc  -Wall -O2 \
--  -I "`pg_config --includedir`" \
--  -L "`pg_config --libdir`" \
--  -o lf_update_suggestion_order lf_update_suggestion_order.c -lpq
-+CPPFLAGS=-I `pg_config --includedir`
-+LDFLAGS=-L `pg_config --libdir`
-+CFLAGS=-Wall -O2
-+CC=cc
-+LDLIBS=-lpq
- 
- clean::
-   rm -f lf_update lf_update_suggestion_order

diff --git 
a/www-apps/liquid_feedback_core/files/liquid_feedback_core-3.2.2-gentoo.patch 
b/www-apps/liquid_feedback_core/files/liquid_feedback_core-3.2.2-gentoo.patch
deleted file mode 100644
index 541464723f83..
--- 
a/www-apps/liquid_feedback_core/files/liquid_feedback_core-3.2.2-gentoo.patch
+++ /dev/null
@@ -1,51 +0,0 @@
 a/lf_update_issue_order.c  2021-04-10 18:32:19.101947834 +0200
-+++ b/lf_update_issue_order.c  2021-04-10 18:36:07.377117090 +0200
-@@ -1,3 +1,5 @@
-+#define _GNU_SOURCE
-+
- #include 
- #include 
- #include 
-@@ -417,7 +419,7 @@
-   logging = 1;
- }
- for (i=argb; i
- #include 
- #include 
-@@ -474,7 +476,7 @@
-   logging = 1;
- }
- for (i=argb; i
- #include 
- #include 
-@@ -51,7 +53,7 @@
-   {
- size_t len = 0;
- for (i=1; ihttps://www.public-software-group.org/liquid_feedback";
-SRC_URI="https://www.public-software-group.org/pub/projects/liquid_feedback/backend/v${PV}/${MY_P}.tar.gz";
-
-LICENSE="HPND CC-BY-2.5"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="dev-db/postgresql:="
-DEPEND="${RDEPEND}"
-
-S=${WORKDIR}/${MY_P}
-
-PATCHES=( "${FILESDIR}"/${PN}-2.2.3-gentoo.patch )
-
-src_compile() {
-   emake \
-   CC="$(tc-getCC)" \
-   CFLAGS="${CFLAGS}" \
-   CPPFLAGS="-I $(pg_config --includedir)" \
-   LDFLAGS="${LDFLAGS} -L $(pg_config --libdir)"
-}
-
-src_install() {
-   dobin lf_update lf_update_suggestion_o

[gentoo-commits] repo/gentoo:master commit in: www-apps/liquid_feedback_core/files/, www-apps/liquid_feedback_core/

2024-02-16 Thread Alfredo Tupone
commit: c2aaddd0d81adb6a8697ed159b3ed1c6f1693ba3
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri Feb 16 17:32:04 2024 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Fri Feb 16 17:36:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2aaddd0

www-apps/liquid_feedback_core: add 4.2.2, drop 4.0.0

Signed-off-by: Alfredo Tupone  gentoo.org>

 www-apps/liquid_feedback_core/Manifest |  2 +-
 www-apps/liquid_feedback_core/files/lf_update.sh   |  8 ++
 .../files/liquid_feedback_core.confd   |  2 ++
 .../files/liquid_feedback_core.initd   | 10 +++
 .../files/postinstall-en-4.txt | 32 ++
 0.ebuild => liquid_feedback_core-4.2.2.ebuild} | 16 +++
 6 files changed, 64 insertions(+), 6 deletions(-)

diff --git a/www-apps/liquid_feedback_core/Manifest 
b/www-apps/liquid_feedback_core/Manifest
index 9da9f60aed94..c6a235edc4b7 100644
--- a/www-apps/liquid_feedback_core/Manifest
+++ b/www-apps/liquid_feedback_core/Manifest
@@ -1,4 +1,4 @@
 DIST liquid_feedback_core-v2.2.6.tar.gz 127440 BLAKE2B 
d62ecd8c9947259a7213f92ecaf1491a5e858ff2fdaff5e020fc4ec0c433297d8a7701a812de200130a1ed7f08ded1d9f31d42de7fffa2981361efee0e31646c
 SHA512 
6f680398a7d2e529e642dc94ba16bc1b33d25459ddbf629c06387391ef13c0e212a108cc337cd2bc29505f4f6436b6e92994e63eaa09fe1c07733d2821d9b7f1
 DIST liquid_feedback_core-v3.0.4.tar.gz 142983 BLAKE2B 
05e8c1630a8fa3932b4fc291843dd0c45e2333940394a0632309c9041dc850cc894a6cb54fb840329f67812ebcde5d540c338cf27a88ad428aaa066329725409
 SHA512 
baea8a61c94e640557d0169b6171247ff0303ff1a9c8b587c6769e367cf56805c1a1e660aadf7178d984182be6dde326770240b3ffeda42139c4a94445a2bbf8
 DIST liquid_feedback_core-v3.2.2.tar.gz 162505 BLAKE2B 
dc6e9d0b8d1e596150520e068e7743a6e839f7e6ffc3c605d090973a179652858c037c4f12c75774d158adfc60484d1ac321350fa7f8d16329043051ae2cd98c
 SHA512 
60a3548008235822e83c6614e990d87200b342d8e5c5fd1ca1f6092bc48d918f9dbfcc130039f4acf2956a19100cc96187ac1c7f5174f7e69a45f651643ab1d9
-DIST liquid_feedback_core-v4.0.0.tar.gz 194817 BLAKE2B 
d33c4f60371050664e19425b3e344435c2b35d7e48fa682b9857d0bbc22032e59f4811ce41b8cad2f8d325e26a9adbd573bf205289b6f419c32829392014cbdf
 SHA512 
499a60d4d71e85357ffe45fe0cbcd13bdf131f80c2b24e320b06646e56c7cd422e44306132d7fbe3dc22bf1be9af208ef9bfa143142cd2aa0880382dfe874aa4
+DIST liquid_feedback_core-v4.2.2.tar.gz 226473 BLAKE2B 
4df49d1e1734c72ac439f772dfa1bf2b10d6cfb739f323735c39b2ed1c28ae19a26a00ad5fb3c55ead74e8d35773bbb39112936f5a4bf3321cd5f1847f7721a2
 SHA512 
f2542c3c38aa22cd7b8de4a47afb51e851f7f8e4b791d7bf90648e2e8abc6f71f687386f6aa028717c4ef042f3e3366b5458933e43dcf51476b3514f858eb20d

diff --git a/www-apps/liquid_feedback_core/files/lf_update.sh 
b/www-apps/liquid_feedback_core/files/lf_update.sh
new file mode 100644
index ..5cd452d81153
--- /dev/null
+++ b/www-apps/liquid_feedback_core/files/lf_update.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+while true; do
+  nice /usr/bin/lf_update dbname=$1
+  nice /usr/bin/lf_update_issue_order dbname=$1
+  nice /usr/bin/lf_update_suggestion_order dbname=$1
+  sleep 5m
+done

diff --git a/www-apps/liquid_feedback_core/files/liquid_feedback_core.confd 
b/www-apps/liquid_feedback_core/files/liquid_feedback_core.confd
new file mode 100644
index ..1e1ed6b29296
--- /dev/null
+++ b/www-apps/liquid_feedback_core/files/liquid_feedback_core.confd
@@ -0,0 +1,2 @@
+# name of db for liquid feedback
+dbname=liquid_feedback

diff --git a/www-apps/liquid_feedback_core/files/liquid_feedback_core.initd 
b/www-apps/liquid_feedback_core/files/liquid_feedback_core.initd
new file mode 100644
index ..fe97906ee4ee
--- /dev/null
+++ b/www-apps/liquid_feedback_core/files/liquid_feedback_core.initd
@@ -0,0 +1,10 @@
+#!/sbin/openrc-run
+description="liquid feedback updator"
+
+command="/usr/bin/lf_update.sh"
+command_args="$dbname"
+command_background=yes
+command_user="apache:apache"
+error_log=/var/log/liquid_feedback/lf_update.err
+output_log=/var/log/liquid_feedback/lf_update.log
+pidfile=/run/lqfb_core.pid

diff --git a/www-apps/liquid_feedback_core/files/postinstall-en-4.txt 
b/www-apps/liquid_feedback_core/files/postinstall-en-4.txt
new file mode 100644
index ..1ce7b7431495
--- /dev/null
+++ b/www-apps/liquid_feedback_core/files/postinstall-en-4.txt
@@ -0,0 +1,32 @@
+To use Liquid Feedback you have to follow these
+simple steps, which have to be done as the postgres system user (or
+which ever is the database superuser):
+
+$ createuser -d apache
+
+$ psql 
+postgres=# ALTER USER apache WITH PASSWORD 'the_new_password';
+
+$ createdb -U apache liquid_feedback
+$ psql -U apache liquid_feedback
+\i /usr/share/liquid_feedback_core/core.sql
+\i /usr/share/liquid_feedback_core/geoindex_install.sql
+INSERT INTO system_setting (member_ttl) VALUES ('1 year');
+INSERT INTO contingent (polling, time_frame, text_entry_limit, 
initiative_limit) VALUES (false, '1 hour', 20, 6);
+INSERT IN

[gentoo-commits] repo/gentoo:master commit in: www-apps/liquid_feedback_core/files/, www-apps/liquid_feedback_core/

2024-01-25 Thread Alfredo Tupone
commit: 708167085bbacc7172b0045364883e958f9cef4a
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Thu Jan 25 11:03:57 2024 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Thu Jan 25 11:03:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70816708

www-apps/liquid_feedback_core: add 4.0.0

Signed-off-by: Alfredo Tupone  gentoo.org>

 www-apps/liquid_feedback_core/Manifest |  1 +
 .../files/liquid_feedback_core-4.0.0-gentoo.patch  | 51 ++
 .../liquid_feedback_core-4.0.0.ebuild  | 43 ++
 3 files changed, 95 insertions(+)

diff --git a/www-apps/liquid_feedback_core/Manifest 
b/www-apps/liquid_feedback_core/Manifest
index 11e79310b42a..9da9f60aed94 100644
--- a/www-apps/liquid_feedback_core/Manifest
+++ b/www-apps/liquid_feedback_core/Manifest
@@ -1,3 +1,4 @@
 DIST liquid_feedback_core-v2.2.6.tar.gz 127440 BLAKE2B 
d62ecd8c9947259a7213f92ecaf1491a5e858ff2fdaff5e020fc4ec0c433297d8a7701a812de200130a1ed7f08ded1d9f31d42de7fffa2981361efee0e31646c
 SHA512 
6f680398a7d2e529e642dc94ba16bc1b33d25459ddbf629c06387391ef13c0e212a108cc337cd2bc29505f4f6436b6e92994e63eaa09fe1c07733d2821d9b7f1
 DIST liquid_feedback_core-v3.0.4.tar.gz 142983 BLAKE2B 
05e8c1630a8fa3932b4fc291843dd0c45e2333940394a0632309c9041dc850cc894a6cb54fb840329f67812ebcde5d540c338cf27a88ad428aaa066329725409
 SHA512 
baea8a61c94e640557d0169b6171247ff0303ff1a9c8b587c6769e367cf56805c1a1e660aadf7178d984182be6dde326770240b3ffeda42139c4a94445a2bbf8
 DIST liquid_feedback_core-v3.2.2.tar.gz 162505 BLAKE2B 
dc6e9d0b8d1e596150520e068e7743a6e839f7e6ffc3c605d090973a179652858c037c4f12c75774d158adfc60484d1ac321350fa7f8d16329043051ae2cd98c
 SHA512 
60a3548008235822e83c6614e990d87200b342d8e5c5fd1ca1f6092bc48d918f9dbfcc130039f4acf2956a19100cc96187ac1c7f5174f7e69a45f651643ab1d9
+DIST liquid_feedback_core-v4.0.0.tar.gz 194817 BLAKE2B 
d33c4f60371050664e19425b3e344435c2b35d7e48fa682b9857d0bbc22032e59f4811ce41b8cad2f8d325e26a9adbd573bf205289b6f419c32829392014cbdf
 SHA512 
499a60d4d71e85357ffe45fe0cbcd13bdf131f80c2b24e320b06646e56c7cd422e44306132d7fbe3dc22bf1be9af208ef9bfa143142cd2aa0880382dfe874aa4

diff --git 
a/www-apps/liquid_feedback_core/files/liquid_feedback_core-4.0.0-gentoo.patch 
b/www-apps/liquid_feedback_core/files/liquid_feedback_core-4.0.0-gentoo.patch
new file mode 100644
index ..cb57a08870ec
--- /dev/null
+++ 
b/www-apps/liquid_feedback_core/files/liquid_feedback_core-4.0.0-gentoo.patch
@@ -0,0 +1,51 @@
+--- a/lf_update_issue_order.c  2021-04-10 18:32:19.101947834 +0200
 b/lf_update_issue_order.c  2021-04-10 18:36:07.377117090 +0200
+@@ -1,3 +1,5 @@
++#define _GNU_SOURCE
++
+ #include 
+ #include 
+ #include 
+@@ -417,7 +419,7 @@
+   logging = 1;
+ }
+ for (i=argb; i
+ #include 
+ #include 
+@@ -474,7 +476,7 @@
+   logging = 1;
+ }
+ for (i=argb; i
+ #include 
+ #include 
+@@ -78,7 +78,7 @@
+   }
+   len += seglen;
+ }
+-conninfo = malloc(len * sizeof(char));
++conninfo = malloc(len * sizeof(char) + 1);
+ if (!conninfo) {
+   fprintf(stderr, "Error: Could not allocate memory for conninfo 
string\n");
+   return 1;

diff --git a/www-apps/liquid_feedback_core/liquid_feedback_core-4.0.0.ebuild 
b/www-apps/liquid_feedback_core/liquid_feedback_core-4.0.0.ebuild
new file mode 100644
index ..d80161e4dd89
--- /dev/null
+++ b/www-apps/liquid_feedback_core/liquid_feedback_core-4.0.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+MY_P=${PN}-v${PV}
+
+DESCRIPTION="Internet platforms for proposition development and decision 
making"
+HOMEPAGE="https://www.public-software-group.org/liquid_feedback";
+SRC_URI="https://www.public-software-group.org/pub/projects/liquid_feedback/backend/v${PV}/${MY_P}.tar.gz
+   https://dev.gentoo.org/~tupone/distfiles/${MY_P}.tar.gz";
+
+LICENSE="HPND CC-BY-2.5"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="dev-db/postgresql:="
+RDEPEND="${DEPEND}
+   dev-db/pgLatLon"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.0.4-gentoo.patch
+   "${FILESDIR}"/${P}-gentoo.patch
+)
+
+src_compile() {
+   emake \
+   CC="$(tc-getCC)" \
+   CFLAGS="${CFLAGS}" \
+   CPPFLAGS="-I $(pg_config --includedir)" \
+   LDFLAGS="${LDFLAGS} -L $(pg_config --libdir)"
+}
+
+src_install() {
+   dobin lf_update lf_update_suggestion_order lf_export
+   insinto /usr/share/${PN}
+   doins -r {core,init,demo,test}.sql update
+   dodoc README "${FILESDIR}"/postinstall-en.txt
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/liquid_feedback_core/

2024-01-13 Thread Alfredo Tupone
commit: b9e3bd415caff6e813b8a0c31aed0323ea89ba23
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sat Jan 13 08:41:40 2024 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sat Jan 13 08:43:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9e3bd41

www-apps/liquid_feedback_core: EmptyGlobalAssignment

Signed-off-by: Alfredo Tupone  gentoo.org>

 www-apps/liquid_feedback_core/liquid_feedback_core-2.2.6.ebuild | 3 +--
 www-apps/liquid_feedback_core/liquid_feedback_core-3.0.4.ebuild | 3 +--
 www-apps/liquid_feedback_core/liquid_feedback_core-3.2.2.ebuild | 3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.6.ebuild 
b/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.6.ebuild
index 934fd766bcc6..a847294716dd 100644
--- a/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.6.ebuild
+++ b/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,6 @@ 
SRC_URI="https://www.public-software-group.org/pub/projects/liquid_feedback/back
 LICENSE="HPND CC-BY-2.5"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE=""
 
 RDEPEND="dev-db/postgresql:="
 DEPEND="${RDEPEND}"

diff --git a/www-apps/liquid_feedback_core/liquid_feedback_core-3.0.4.ebuild 
b/www-apps/liquid_feedback_core/liquid_feedback_core-3.0.4.ebuild
index 25dc37a2313f..98e769144c7e 100644
--- a/www-apps/liquid_feedback_core/liquid_feedback_core-3.0.4.ebuild
+++ b/www-apps/liquid_feedback_core/liquid_feedback_core-3.0.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,6 @@ 
SRC_URI="https://www.public-software-group.org/pub/projects/liquid_feedback/back
 LICENSE="HPND CC-BY-2.5"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE=""
 
 RDEPEND="dev-db/postgresql:="
 DEPEND="${RDEPEND}"

diff --git a/www-apps/liquid_feedback_core/liquid_feedback_core-3.2.2.ebuild 
b/www-apps/liquid_feedback_core/liquid_feedback_core-3.2.2.ebuild
index 13d55279376a..a5264bbe9822 100644
--- a/www-apps/liquid_feedback_core/liquid_feedback_core-3.2.2.ebuild
+++ b/www-apps/liquid_feedback_core/liquid_feedback_core-3.2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,6 @@ 
SRC_URI="https://www.public-software-group.org/pub/projects/liquid_feedback/back
 LICENSE="HPND CC-BY-2.5"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE=""
 
 RDEPEND="dev-db/postgresql:="
 DEPEND="${RDEPEND}"



[gentoo-commits] repo/gentoo:master commit in: www-apps/liquid_feedback_core/files/, www-apps/liquid_feedback_core/

2021-04-10 Thread Alfredo Tupone
commit: 7a6e7bdea0fbadbb6a05609271eca7d8a680136e
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sat Apr 10 18:38:56 2021 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sat Apr 10 18:38:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a6e7bde

www-apps/liquid_feedback_core: bump to 3.2.2

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Alfredo Tupone  gentoo.org>

 www-apps/liquid_feedback_core/Manifest |  1 +
 .../files/liquid_feedback_core-3.2.2-gentoo.patch  | 51 ++
 .../liquid_feedback_core/files/postinstall-en.txt  | 17 +++-
 .../liquid_feedback_core-3.2.2.ebuild  | 42 ++
 4 files changed, 101 insertions(+), 10 deletions(-)

diff --git a/www-apps/liquid_feedback_core/Manifest 
b/www-apps/liquid_feedback_core/Manifest
index 39220e2..11e79310b42 100644
--- a/www-apps/liquid_feedback_core/Manifest
+++ b/www-apps/liquid_feedback_core/Manifest
@@ -1,2 +1,3 @@
 DIST liquid_feedback_core-v2.2.6.tar.gz 127440 BLAKE2B 
d62ecd8c9947259a7213f92ecaf1491a5e858ff2fdaff5e020fc4ec0c433297d8a7701a812de200130a1ed7f08ded1d9f31d42de7fffa2981361efee0e31646c
 SHA512 
6f680398a7d2e529e642dc94ba16bc1b33d25459ddbf629c06387391ef13c0e212a108cc337cd2bc29505f4f6436b6e92994e63eaa09fe1c07733d2821d9b7f1
 DIST liquid_feedback_core-v3.0.4.tar.gz 142983 BLAKE2B 
05e8c1630a8fa3932b4fc291843dd0c45e2333940394a0632309c9041dc850cc894a6cb54fb840329f67812ebcde5d540c338cf27a88ad428aaa066329725409
 SHA512 
baea8a61c94e640557d0169b6171247ff0303ff1a9c8b587c6769e367cf56805c1a1e660aadf7178d984182be6dde326770240b3ffeda42139c4a94445a2bbf8
+DIST liquid_feedback_core-v3.2.2.tar.gz 162505 BLAKE2B 
dc6e9d0b8d1e596150520e068e7743a6e839f7e6ffc3c605d090973a179652858c037c4f12c75774d158adfc60484d1ac321350fa7f8d16329043051ae2cd98c
 SHA512 
60a3548008235822e83c6614e990d87200b342d8e5c5fd1ca1f6092bc48d918f9dbfcc130039f4acf2956a19100cc96187ac1c7f5174f7e69a45f651643ab1d9

diff --git 
a/www-apps/liquid_feedback_core/files/liquid_feedback_core-3.2.2-gentoo.patch 
b/www-apps/liquid_feedback_core/files/liquid_feedback_core-3.2.2-gentoo.patch
new file mode 100644
index 000..541464723f8
--- /dev/null
+++ 
b/www-apps/liquid_feedback_core/files/liquid_feedback_core-3.2.2-gentoo.patch
@@ -0,0 +1,51 @@
+--- a/lf_update_issue_order.c  2021-04-10 18:32:19.101947834 +0200
 b/lf_update_issue_order.c  2021-04-10 18:36:07.377117090 +0200
+@@ -1,3 +1,5 @@
++#define _GNU_SOURCE
++
+ #include 
+ #include 
+ #include 
+@@ -417,7 +419,7 @@
+   logging = 1;
+ }
+ for (i=argb; i
+ #include 
+ #include 
+@@ -474,7 +476,7 @@
+   logging = 1;
+ }
+ for (i=argb; i
+ #include 
+ #include 
+@@ -51,7 +53,7 @@
+   {
+ size_t len = 0;
+ for (i=1; ihttps://www.public-software-group.org/liquid_feedback";
+SRC_URI="https://www.public-software-group.org/pub/projects/liquid_feedback/backend/v${PV}/${MY_P}.tar.gz";
+
+LICENSE="HPND CC-BY-2.5"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="dev-db/postgresql:="
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.0.4-gentoo.patch
+   "${FILESDIR}"/${P}-gentoo.patch
+)
+
+src_compile() {
+   emake \
+   CC="$(tc-getCC)" \
+   CFLAGS="${CFLAGS}" \
+   CPPFLAGS="-I $(pg_config --includedir)" \
+   LDFLAGS="${LDFLAGS} -L $(pg_config --libdir)"
+}
+
+src_install() {
+   dobin lf_update lf_update_suggestion_order lf_export
+   insinto /usr/share/${PN}
+   doins -r {core,init,demo,test}.sql update
+   dodoc README "${FILESDIR}"/postinstall-en.txt
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/liquid_feedback_core/

2020-06-28 Thread Aaron Bauman
commit: a3adfb9d485b5e1d0118b1db1c3f5247e7971181
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun Jun 28 15:31:03 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun Jun 28 20:51:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3adfb9d

www-apps/liquid_feedback_core: use HTTPS

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Signed-off-by: Aaron Bauman  gentoo.org>

 www-apps/liquid_feedback_core/liquid_feedback_core-2.2.6.ebuild | 4 ++--
 www-apps/liquid_feedback_core/liquid_feedback_core-3.0.4.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.6.ebuild 
b/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.6.ebuild
index 6980d685f12..934fd766bcc 100644
--- a/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.6.ebuild
+++ b/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.6.ebuild
@@ -8,8 +8,8 @@ inherit toolchain-funcs
 MY_P=${PN}-v${PV}
 
 DESCRIPTION="Internet platforms for proposition development and decision 
making"
-HOMEPAGE="http://www.public-software-group.org/liquid_feedback";
-SRC_URI="http://www.public-software-group.org/pub/projects/liquid_feedback/backend/v${PV}/${MY_P}.tar.gz";
+HOMEPAGE="https://www.public-software-group.org/liquid_feedback";
+SRC_URI="https://www.public-software-group.org/pub/projects/liquid_feedback/backend/v${PV}/${MY_P}.tar.gz";
 
 LICENSE="HPND CC-BY-2.5"
 SLOT="0"

diff --git a/www-apps/liquid_feedback_core/liquid_feedback_core-3.0.4.ebuild 
b/www-apps/liquid_feedback_core/liquid_feedback_core-3.0.4.ebuild
index 0e52e88b06a..25dc37a2313 100644
--- a/www-apps/liquid_feedback_core/liquid_feedback_core-3.0.4.ebuild
+++ b/www-apps/liquid_feedback_core/liquid_feedback_core-3.0.4.ebuild
@@ -8,8 +8,8 @@ inherit toolchain-funcs
 MY_P=${PN}-v${PV}
 
 DESCRIPTION="Internet platforms for proposition development and decision 
making"
-HOMEPAGE="http://www.public-software-group.org/liquid_feedback";
-SRC_URI="http://www.public-software-group.org/pub/projects/liquid_feedback/backend/v${PV}/${MY_P}.tar.gz";
+HOMEPAGE="https://www.public-software-group.org/liquid_feedback";
+SRC_URI="https://www.public-software-group.org/pub/projects/liquid_feedback/backend/v${PV}/${MY_P}.tar.gz";
 
 LICENSE="HPND CC-BY-2.5"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: www-apps/liquid_feedback_core/

2020-05-24 Thread Alfredo Tupone
commit: dd480f0f0262e0f3b7692ec333f7d5d8c2680d11
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sun May 24 18:33:59 2020 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sun May 24 18:33:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd480f0f

www-apps/liquid_feedback_core: move to EAPI 7

Closes: https://bugs.gentoo.org/724178
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alfredo Tupone  gentoo.org>

 .../liquid_feedback_core/liquid_feedback_core-2.2.6.ebuild   | 12 +---
 .../liquid_feedback_core/liquid_feedback_core-3.0.4.ebuild   | 12 +---
 2 files changed, 10 insertions(+), 14 deletions(-)

diff --git a/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.6.ebuild 
b/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.6.ebuild
index a914251c479..6980d685f12 100644
--- a/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.6.ebuild
+++ b/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.6.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
 
 MY_P=${PN}-v${PV}
 
@@ -16,14 +16,12 @@ SLOT="0"
 KEYWORDS="~amd64"
 IUSE=""
 
-RDEPEND="dev-db/postgresql"
+RDEPEND="dev-db/postgresql:="
 DEPEND="${RDEPEND}"
 
 S=${WORKDIR}/${MY_P}
 
-src_prepare() {
-   epatch "${FILESDIR}"/${PN}-2.2.3-gentoo.patch
-}
+PATCHES=( "${FILESDIR}"/${PN}-2.2.3-gentoo.patch )
 
 src_compile() {
emake \

diff --git a/www-apps/liquid_feedback_core/liquid_feedback_core-3.0.4.ebuild 
b/www-apps/liquid_feedback_core/liquid_feedback_core-3.0.4.ebuild
index 982f8b95469..0e52e88b06a 100644
--- a/www-apps/liquid_feedback_core/liquid_feedback_core-3.0.4.ebuild
+++ b/www-apps/liquid_feedback_core/liquid_feedback_core-3.0.4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=7
 
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
 
 MY_P=${PN}-v${PV}
 
@@ -16,14 +16,12 @@ SLOT="0"
 KEYWORDS="~amd64"
 IUSE=""
 
-RDEPEND="dev-db/postgresql"
+RDEPEND="dev-db/postgresql:="
 DEPEND="${RDEPEND}"
 
 S=${WORKDIR}/${MY_P}
 
-src_prepare() {
-   epatch "${FILESDIR}"/${PN}-3.0.4-gentoo.patch
-}
+PATCHES=( "${FILESDIR}"/${PN}-3.0.4-gentoo.patch )
 
 src_compile() {
emake \



[gentoo-commits] repo/gentoo:master commit in: www-apps/liquid_feedback_core/

2019-11-13 Thread Aaron Bauman
commit: 5e8263a9d74dce4fc779627d3f3a5947b8fdd364
Author: Aaron Bauman  gentoo  org>
AuthorDate: Wed Nov 13 19:52:49 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Wed Nov 13 19:58:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e8263a9

www-apps/liquid_feedback_core: drop old EAPI

Signed-off-by: Aaron Bauman  gentoo.org>

 www-apps/liquid_feedback_core/Manifest |  1 -
 .../liquid_feedback_core-2.2.3.ebuild  | 41 --
 2 files changed, 42 deletions(-)

diff --git a/www-apps/liquid_feedback_core/Manifest 
b/www-apps/liquid_feedback_core/Manifest
index d6437334ad6..39220e2 100644
--- a/www-apps/liquid_feedback_core/Manifest
+++ b/www-apps/liquid_feedback_core/Manifest
@@ -1,3 +1,2 @@
-DIST liquid_feedback_core-v2.2.3.tar.gz 124770 BLAKE2B 
ea020095572b2fe9f8c48206c192360f590f20be7cc213ec7dac509416e0b8419b32cc91a0a527a0e39d3f373fcc11250e666dfcd73534fde1320f5da58306a4
 SHA512 
a87af2b4ba218289b679a1ffb5751d29eed0d368233e431123c8ce98c1eab5bf62f516e4beb3177ecb302c9062c86b6f908cff3155783dcfcb2d279804079a87
 DIST liquid_feedback_core-v2.2.6.tar.gz 127440 BLAKE2B 
d62ecd8c9947259a7213f92ecaf1491a5e858ff2fdaff5e020fc4ec0c433297d8a7701a812de200130a1ed7f08ded1d9f31d42de7fffa2981361efee0e31646c
 SHA512 
6f680398a7d2e529e642dc94ba16bc1b33d25459ddbf629c06387391ef13c0e212a108cc337cd2bc29505f4f6436b6e92994e63eaa09fe1c07733d2821d9b7f1
 DIST liquid_feedback_core-v3.0.4.tar.gz 142983 BLAKE2B 
05e8c1630a8fa3932b4fc291843dd0c45e2333940394a0632309c9041dc850cc894a6cb54fb840329f67812ebcde5d540c338cf27a88ad428aaa066329725409
 SHA512 
baea8a61c94e640557d0169b6171247ff0303ff1a9c8b587c6769e367cf56805c1a1e660aadf7178d984182be6dde326770240b3ffeda42139c4a94445a2bbf8

diff --git a/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.3.ebuild 
b/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.3.ebuild
deleted file mode 100644
index e3b9b16d3f0..000
--- a/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.3.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit eutils toolchain-funcs
-
-MY_P=${PN}-v${PV}
-
-DESCRIPTION="Internet platforms for proposition development and decision 
making"
-HOMEPAGE="http://www.public-software-group.org/liquid_feedback";
-SRC_URI="http://www.public-software-group.org/pub/projects/liquid_feedback/backend/v${PV}/${MY_P}.tar.gz";
-
-LICENSE="HPND CC-BY-2.5"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-
-RDEPEND="dev-db/postgresql"
-DEPEND="${RDEPEND}"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
-   epatch "${FILESDIR}"/${PN}-2.2.3-gentoo.patch
-}
-
-src_compile() {
-   emake \
-   CC="$(tc-getCC)" \
-   CFLAGS="${CFLAGS}" \
-   CPPFLAGS="-I $(pg_config --includedir)" \
-   LDFLAGS="${LDFLAGS} -L $(pg_config --libdir)"
-}
-
-src_install() {
-   dobin lf_update lf_update_suggestion_order lf_export
-   insinto /usr/share/${PN}
-   doins -r {core,init,demo,test}.sql update
-   dodoc README "${FILESDIR}"/postinstall-en.txt
-}



[gentoo-commits] repo/gentoo:master commit in: www-apps/liquid_feedback_core/, www-apps/liquid_feedback_core/files/

2018-04-15 Thread Alfredo Tupone
commit: 50864d4144c96089e2324d2f987cc196b7fdb9c9
Author: Marty E. Plummer  startmail  com>
AuthorDate: Sun Apr  8 21:44:27 2018 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sun Apr 15 08:28:53 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50864d41

www-apps/liquid_feedback_core: clean duplicate patches

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 .../files/liquid_feedback_core-2.2.3-gentoo.patch  |  4 ++--
 .../files/liquid_feedback_core-2.2.6-gentoo.patch  | 24 --
 .../files/liquid_feedback_core-3.0.4-gentoo.patch  |  4 ++--
 .../liquid_feedback_core-2.2.3.ebuild  |  4 ++--
 .../liquid_feedback_core-2.2.6.ebuild  |  4 ++--
 .../liquid_feedback_core-3.0.4.ebuild  |  4 ++--
 6 files changed, 10 insertions(+), 34 deletions(-)

diff --git 
a/www-apps/liquid_feedback_core/files/liquid_feedback_core-2.2.3-gentoo.patch 
b/www-apps/liquid_feedback_core/files/liquid_feedback_core-2.2.3-gentoo.patch
index f4d55512174..bd5874583e3 100644
--- 
a/www-apps/liquid_feedback_core/files/liquid_feedback_core-2.2.3-gentoo.patch
+++ 
b/www-apps/liquid_feedback_core/files/liquid_feedback_core-2.2.3-gentoo.patch
@@ -1,5 +1,5 @@
 Makefile.old   2013-03-22 15:26:23.340764442 +0100
-+++ Makefile   2013-03-22 15:36:50.838733773 +0100
+--- a/Makefile
 b/Makefile
 @@ -1,16 +1,10 @@
  all:: lf_update lf_update_suggestion_order
  

diff --git 
a/www-apps/liquid_feedback_core/files/liquid_feedback_core-2.2.6-gentoo.patch 
b/www-apps/liquid_feedback_core/files/liquid_feedback_core-2.2.6-gentoo.patch
deleted file mode 100644
index f4d55512174..000
--- 
a/www-apps/liquid_feedback_core/files/liquid_feedback_core-2.2.6-gentoo.patch
+++ /dev/null
@@ -1,24 +0,0 @@
 Makefile.old   2013-03-22 15:26:23.340764442 +0100
-+++ Makefile   2013-03-22 15:36:50.838733773 +0100
-@@ -1,16 +1,10 @@
- all:: lf_update lf_update_suggestion_order
- 
--lf_update: lf_update.c
--  cc  -Wall -O2 \
--  -I "`pg_config --includedir`" \
--  -L "`pg_config --libdir`" \
--  -o lf_update lf_update.c -lpq
--
--lf_update_suggestion_order: lf_update_suggestion_order.c
--  cc  -Wall -O2 \
--  -I "`pg_config --includedir`" \
--  -L "`pg_config --libdir`" \
--  -o lf_update_suggestion_order lf_update_suggestion_order.c -lpq
-+CPPFLAGS=-I `pg_config --includedir`
-+LDFLAGS=-L `pg_config --libdir`
-+CFLAGS=-Wall -O2
-+CC=cc
-+LDLIBS=-lpq
- 
- clean::
-   rm -f lf_update lf_update_suggestion_order

diff --git 
a/www-apps/liquid_feedback_core/files/liquid_feedback_core-3.0.4-gentoo.patch 
b/www-apps/liquid_feedback_core/files/liquid_feedback_core-3.0.4-gentoo.patch
index fbc91eff246..44062adee91 100644
--- 
a/www-apps/liquid_feedback_core/files/liquid_feedback_core-3.0.4-gentoo.patch
+++ 
b/www-apps/liquid_feedback_core/files/liquid_feedback_core-3.0.4-gentoo.patch
@@ -1,5 +1,5 @@
 Makefile.old   2014-11-29 22:38:43.200509267 +0100
-+++ Makefile   2014-11-29 22:39:16.392199651 +0100
+--- a/Makefile
 b/Makefile
 @@ -1,22 +1,10 @@
  all:: lf_update lf_update_issue_order lf_update_suggestion_order
  

diff --git a/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.3.ebuild 
b/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.3.ebuild
index a40a1a7ca93..e3b9b16d3f0 100644
--- a/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.3.ebuild
+++ b/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=4
@@ -22,7 +22,7 @@ DEPEND="${RDEPEND}"
 S=${WORKDIR}/${MY_P}
 
 src_prepare() {
-   epatch "${FILESDIR}"/${P}-gentoo.patch
+   epatch "${FILESDIR}"/${PN}-2.2.3-gentoo.patch
 }
 
 src_compile() {

diff --git a/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.6.ebuild 
b/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.6.ebuild
index 6310c163ce0..a914251c479 100644
--- a/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.6.ebuild
+++ b/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -22,7 +22,7 @@ DEPEND="${RDEPEND}"
 S=${WORKDIR}/${MY_P}
 
 src_prepare() {
-   epatch "${FILESDIR}"/${P}-gentoo.patch
+   epatch "${FILESDIR}"/${PN}-2.2.3-gentoo.patch
 }
 
 src_compile() {

diff --git a/www-apps/liquid_feedback_core/liquid_feedback_core-3.0.4.ebuild 
b/www-apps/liquid_feedback_core/liquid_feedback_core-3.0.4.ebuild
index a40a1a7ca93..982f8b95469 100644
--- a/www-apps/liquid_feedback_core/liquid_feedback_core-3.0.4.ebuild
+++ b/www-apps/liquid_feedback_core/liquid_feedback_core-3.0.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundat