diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /www-apps/liquid_feedback_core/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'www-apps/liquid_feedback_core/files')
4 files changed, 103 insertions, 0 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 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); |