summaryrefslogtreecommitdiff
path: root/www-apps/liquid_feedback_core
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /www-apps/liquid_feedback_core
reinit the tree, so we can have metadata
Diffstat (limited to 'www-apps/liquid_feedback_core')
-rw-r--r--www-apps/liquid_feedback_core/Manifest13
-rw-r--r--www-apps/liquid_feedback_core/files/liquid_feedback_core-2.2.3-gentoo.patch24
-rw-r--r--www-apps/liquid_feedback_core/files/liquid_feedback_core-2.2.6-gentoo.patch24
-rw-r--r--www-apps/liquid_feedback_core/files/liquid_feedback_core-3.0.4-gentoo.patch30
-rw-r--r--www-apps/liquid_feedback_core/files/postinstall-en.txt25
-rw-r--r--www-apps/liquid_feedback_core/liquid_feedback_core-2.2.3.ebuild41
-rw-r--r--www-apps/liquid_feedback_core/liquid_feedback_core-2.2.6.ebuild46
-rw-r--r--www-apps/liquid_feedback_core/liquid_feedback_core-3.0.4.ebuild41
-rw-r--r--www-apps/liquid_feedback_core/metadata.xml14
9 files changed, 258 insertions, 0 deletions
diff --git a/www-apps/liquid_feedback_core/Manifest b/www-apps/liquid_feedback_core/Manifest
new file mode 100644
index 000000000000..1973e0790621
--- /dev/null
+++ b/www-apps/liquid_feedback_core/Manifest
@@ -0,0 +1,13 @@
+AUX liquid_feedback_core-2.2.3-gentoo.patch 681 SHA256 068ffb3ac24ecae864f7dd3f883ab39a4f91671cd6ec89b99a15b75fce4c8759 SHA512 2d4d8adbb624e7e9bdc531b69e94931e1e65309ba88e53c5cc09ffe9adb68d87b2288cb850512bc4527f24915a34b89658d96928791f8d94d409342edcc3a657 WHIRLPOOL f51685a9c9a98cd3f39c8b5e8eb14ea57aa957f55f3f73ec22b657f087f9b02514fbf19d83862b9067204ea81cb2aeff308b5c4e2bd68aa3e8c2749d83dcfb7b
+AUX liquid_feedback_core-2.2.6-gentoo.patch 681 SHA256 068ffb3ac24ecae864f7dd3f883ab39a4f91671cd6ec89b99a15b75fce4c8759 SHA512 2d4d8adbb624e7e9bdc531b69e94931e1e65309ba88e53c5cc09ffe9adb68d87b2288cb850512bc4527f24915a34b89658d96928791f8d94d409342edcc3a657 WHIRLPOOL f51685a9c9a98cd3f39c8b5e8eb14ea57aa957f55f3f73ec22b657f087f9b02514fbf19d83862b9067204ea81cb2aeff308b5c4e2bd68aa3e8c2749d83dcfb7b
+AUX liquid_feedback_core-3.0.4-gentoo.patch 915 SHA256 985b22af376e0805d1e336f19ff851838d2b86afc5bfbe154988a987fee519d1 SHA512 126ff6b3451e8877d2bd7e77c8408c445c4ad9db2a36f5774ceec8f8dd5efad081c0ecae6ec5304654e1488a3e8e40f29a9008c852cec2dd77ead650b53382ae WHIRLPOOL d7c116a2ed42211760b53e4def64adc802feb45edbf70e89311f1a7c2c6ee21fbaad91b2964f177867afad93be507508136a1be86781f503b06000555f52df7b
+AUX postinstall-en.txt 1498 SHA256 aeb950d964e9ebdbd91d510cb2967f7f4bcfa35495ce8daf68046e6506a0e66a SHA512 cd1488337b3faae08a1d7c326b4c1445863fb07b3d39b63460703467ad85524acf0fc14a19278a9cf995304e3a79c1b90ecdc0098f984d106d484f79d315b8e2 WHIRLPOOL 5dea5e716132d8d94d892a0f94347e4e93f42944bc1fd2ef82594d4b93bbc2144add84e3c59a2c645253a64602297457804e1cc0ce412dcda77a8e289fad2672
+DIST liquid_feedback_core-v2.2.3.tar.gz 124770 SHA256 51884d4aea59f7bde407aed5e75129fa63e6630cbddac9e4daa1937ea91eed9d SHA512 a87af2b4ba218289b679a1ffb5751d29eed0d368233e431123c8ce98c1eab5bf62f516e4beb3177ecb302c9062c86b6f908cff3155783dcfcb2d279804079a87 WHIRLPOOL 8d4733b853f0d61ddf5bae61ce02d29455bddd79bb08ca93b79e954b51a111ac59665d8e42ff4ddf8574564fb0d5f10c78b81cd1b0585bd959bdbf47dc90d9e3
+DIST liquid_feedback_core-v2.2.6.tar.gz 127440 SHA256 d57f797e8539d253859971fdcce9853c5db31ab3e6b6288a416e6590522f5dc8 SHA512 6f680398a7d2e529e642dc94ba16bc1b33d25459ddbf629c06387391ef13c0e212a108cc337cd2bc29505f4f6436b6e92994e63eaa09fe1c07733d2821d9b7f1 WHIRLPOOL 8e44997655b03182ab830e87122244339923972c16cdfc2f2958179cb57ea991b9a3e049d49380e2eaf4b5e20d7fc647cbcb5f4059450eb98ae32b27a201bc3b
+DIST liquid_feedback_core-v3.0.4.tar.gz 142983 SHA256 20b1840716980e7c5a0e6f959c4c26881bfe77a9fae9666542ee8d06a51fe637 SHA512 baea8a61c94e640557d0169b6171247ff0303ff1a9c8b587c6769e367cf56805c1a1e660aadf7178d984182be6dde326770240b3ffeda42139c4a94445a2bbf8 WHIRLPOOL 3b528eaeaee828dc5661844917af258cb89387cccb85f03eeb83d28f1ddd32ffe0a54655f099c719293c3b9bfb7b10b4dd84f598f1f4217a59e2dcdf829f77fa
+EBUILD liquid_feedback_core-2.2.3.ebuild 962 SHA256 4449c61a072d106e1d819aeced8ff251b227d6d6379bf22c7f3b6342c52a7e3e SHA512 13fa9ad204ae30a5c669c770332fcf7a9924616f2ce7c90c14a6508c2a18d8040c5f8e8f568707c341a2564f5bd6c78324cafd3e132a44a0a01a26360bba79d6 WHIRLPOOL ece5864c296ee9532e479d903306a1c144b0c171b3ee2b674510369244bb58b09f880f151ab0204510f7cf0fa897309f9f4235a2e5d1d3646709dc19ae891c65
+EBUILD liquid_feedback_core-2.2.6.ebuild 1099 SHA256 b3c914b428511c568ceb9f22d810f7ea4c378402ff8534e19776cbd4f293570b SHA512 a6a9fc6b59b81853c783b74b813c301b2cce4e1a60edda5872593801d0f869c0537fcadb8dabf1e7f2a50f386ddc8ebc68eceeff47780ca1ddd50c8bc8a3d972 WHIRLPOOL 910c576d4d27210bb775e412e8f3bf547385572e958b565bb6e5e322a5d969fa16568b90f1da18c3d0c71eeb7305b55d5f6c848e677a5cfc16dce32bc16c0cab
+EBUILD liquid_feedback_core-3.0.4.ebuild 962 SHA256 4449c61a072d106e1d819aeced8ff251b227d6d6379bf22c7f3b6342c52a7e3e SHA512 13fa9ad204ae30a5c669c770332fcf7a9924616f2ce7c90c14a6508c2a18d8040c5f8e8f568707c341a2564f5bd6c78324cafd3e132a44a0a01a26360bba79d6 WHIRLPOOL ece5864c296ee9532e479d903306a1c144b0c171b3ee2b674510369244bb58b09f880f151ab0204510f7cf0fa897309f9f4235a2e5d1d3646709dc19ae891c65
+MISC ChangeLog 2550 SHA256 41c186f70ff26180429fad865f94712a7c4ee20c26af0e6b3ee247c1d46f8c6b SHA512 38cf50c5a49d1e62d0ea488aee0712c78e486100b0942c4df5253578ebbec62408d3dc8bf30ca6e47e76cd1ee9c0b3193fd0e200b496d21431a8c7fd286d58e8 WHIRLPOOL 0eded702d65fad5e2a15daa2882b6db4d21cb0b5d751901873fda0427651c2ced0079d2214e91bb5494fc53e3b0b8fb78b4aa99dd21cffdcc0315bd6b0db0e9a
+MISC ChangeLog-2015 1477 SHA256 5590d0a0ec95c72bef584bd3ef8ddddbd1310833b4526137c76503e6c3359394 SHA512 623f14ebc122b39a48be01a4057fc1884e9e2d352fdf43d0735d0bb3ef6f6cfcfd240efd9023a9f21de117d112cb390a2f54a45430ac0509ed1fe941018f6e5b WHIRLPOOL 4d611344e71f2eac9ded1f69e09ddfceb1317c54d80cc52ba09d33c381f5fc7f7350f266a831231195729c3bc048787ba5375a2773cdd182277acd1462517217
+MISC metadata.xml 1099 SHA256 9814b7b706fbbc2dcda1f9ccd85cec507295807fefb7cf4955c021018d0112ba SHA512 1fbc5d0f4eff2085665038a48155b652d434ec42019a5343fe1c1ef34a7b863aa2f21636145d105cf9052ef0756400f29098f3017f948d3aa0fb854f89cd6ff0 WHIRLPOOL 81e3a33401fef841d5a0eaccc067392e8ac5ce935674380056160c9396b50ff90b4f356e416830697a0050bd259d8c25be2225f06008625a6574aeb3d2c616a7
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
new file mode 100644
index 000000000000..f4d555121745
--- /dev/null
+++ b/www-apps/liquid_feedback_core/files/liquid_feedback_core-2.2.3-gentoo.patch
@@ -0,0 +1,24 @@
+--- 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-2.2.6-gentoo.patch b/www-apps/liquid_feedback_core/files/liquid_feedback_core-2.2.6-gentoo.patch
new file mode 100644
index 000000000000..f4d555121745
--- /dev/null
+++ b/www-apps/liquid_feedback_core/files/liquid_feedback_core-2.2.6-gentoo.patch
@@ -0,0 +1,24 @@
+--- 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
new file mode 100644
index 000000000000..fbc91eff2467
--- /dev/null
+++ b/www-apps/liquid_feedback_core/files/liquid_feedback_core-3.0.4-gentoo.patch
@@ -0,0 +1,30 @@
+--- Makefile.old 2014-11-29 22:38:43.200509267 +0100
++++ Makefile 2014-11-29 22:39:16.392199651 +0100
+@@ -1,22 +1,10 @@
+ all:: lf_update lf_update_issue_order 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_issue_order: lf_update_issue_order.c
+- cc -Wall -O2 \
+- -I "`pg_config --includedir`" \
+- -L "`pg_config --libdir`" \
+- -o lf_update_issue_order lf_update_issue_order.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_issue_order lf_update_suggestion_order
diff --git a/www-apps/liquid_feedback_core/files/postinstall-en.txt b/www-apps/liquid_feedback_core/files/postinstall-en.txt
new file mode 100644
index 000000000000..128c7b20ee7d
--- /dev/null
+++ b/www-apps/liquid_feedback_core/files/postinstall-en.txt
@@ -0,0 +1,25 @@
+Merge info from README file with these.
+
+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 liquid_feedback
+and answer the following
+Shall the new role be a superuser? (y/n) n
+Shall the new role be allowed to create databases? (y/n) y
+Shall the new role be allowed to create more new roles? (y/n) n
+
+$ psql
+postgres=# ALTER USER liquid_feedback WITH PASSWORD 'the_new_password';
+
+$ createdb -U liquid_feedback liquid_feedback
+$ psql -U liquid_feedback liquid_feedback
+liquid_feedback=# \i /usr/share/liquid_feedback_code/core.sql
+liquid_feedback=# \i /usr/share/liquid_feedback_code/init.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 INTO contingent (polling, time_frame, text_entry_limit, initiative_limit) VALUES (false, '1 day', 80, 12);
+INSERT INTO contingent (polling, time_frame, text_entry_limit, initiative_limit) VALUES (true, '1 hour', 200, 60);
+INSERT INTO contingent (polling, time_frame, text_entry_limit, initiative_limit) VALUES (true, '1 day', 800, 120);
+INSERT INTO policy (index, name, admission_time, discussion_time, verification_time, voting_time, issue_quorum_num, issue_quorum_den, initiative_quorum_num, initiative_quorum_den) VALUES (1, 'Default policy', '8 days', '15 days', '8 days', '15 days', 10, 100, 10, 100);
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
new file mode 100644
index 000000000000..a40a1a7ca93a
--- /dev/null
+++ b/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 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}"/${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
+}
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
new file mode 100644
index 000000000000..6310c163ce09
--- /dev/null
+++ b/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.6.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+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}"/${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
+}
+
+pkg_postinst() {
+ elog "If you just upgraded, remember to update database schema"
+ elog "with the scripts in /usr/share/${PN}/update"
+}
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
new file mode 100644
index 000000000000..a40a1a7ca93a
--- /dev/null
+++ b/www-apps/liquid_feedback_core/liquid_feedback_core-3.0.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 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}"/${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
+}
diff --git a/www-apps/liquid_feedback_core/metadata.xml b/www-apps/liquid_feedback_core/metadata.xml
new file mode 100644
index 000000000000..6caeedfd5a1e
--- /dev/null
+++ b/www-apps/liquid_feedback_core/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>tupone@gentoo.org</email>
+<name>Alfredo Tupone</name>
+</maintainer>
+<longdescription lang="en">
+LiquidFeedback is an open-source software, powering internet platforms for proposition development and decision making.
+LiquidFeedback is an independent open source project published under MIT license by the Public Software Group of Berlin, Germany.
+The developers of LiquidFeedback have joined together in the Interaktive Demokratie association to promote the use of electronic media for democratic processes.
+The core consists of a database scheme for the PostgreSQL database, including the algorithms for delegations, feedback and the voting procedure implemented as SQL views and database procedures written in PL/pgSQL. As it is licensed under the liberal MIT/X11-License you can include it in any software project you like, as long as there is PostgreSQL support for your programming language available.
+</longdescription>
+</pkgmetadata>