diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /www-apps/liquid_feedback_core | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'www-apps/liquid_feedback_core')
9 files changed, 251 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..3075cda00803 --- /dev/null +++ b/www-apps/liquid_feedback_core/Manifest @@ -0,0 +1,3 @@ +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 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..1412ba3c04fa --- /dev/null +++ b/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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..6b672f48c05d --- /dev/null +++ b/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.6.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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..1412ba3c04fa --- /dev/null +++ b/www-apps/liquid_feedback_core/liquid_feedback_core-3.0.4.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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..d97438322755 --- /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> +<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> |