diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-08-11 00:33:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-08-11 00:33:31 +0100 |
commit | ff5dd7b3704b9e8f9f606d4929f95694ec84ddf3 (patch) | |
tree | 393b3bd8a65eb3ec464babab42da8d9ec88851c3 /www-apps/liquid_feedback_frontend | |
parent | 4c05e04608db666140daaa94499f5f90521a2cc4 (diff) |
cleanup
Diffstat (limited to 'www-apps/liquid_feedback_frontend')
9 files changed, 0 insertions, 301 deletions
diff --git a/www-apps/liquid_feedback_frontend/ChangeLog b/www-apps/liquid_feedback_frontend/ChangeLog deleted file mode 100644 index d8094d94..00000000 --- a/www-apps/liquid_feedback_frontend/ChangeLog +++ /dev/null @@ -1,12 +0,0 @@ -# ChangeLog for www-apps/liquid_feedback_frontend -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/liquid_feedback_frontend/ChangeLog,v 1.1 2013/05/28 12:51:56 tupone Exp $ - -*liquid_feedback_frontend-2.2.2 (28 May 2013) - - 28 May 2013; Alfredo Tupone <tupone@gentoo.org> - +liquid_feedback_frontend-2.2.2.ebuild, +files/lqfb.example.com.conf, - +files/lqfb-apache.conf, +files/myconfig.lua, +files/postinstall-en.txt, - +metadata.xml: - New package - diff --git a/www-apps/liquid_feedback_frontend/Manifest b/www-apps/liquid_feedback_frontend/Manifest deleted file mode 100644 index dee5069e..00000000 --- a/www-apps/liquid_feedback_frontend/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST liquid_feedback_frontend-italian-2.2.2.tar.gz 7496 SHA256 c894a8c9ca2d628e50ff9836ded017e37e68a87be50032ebb298e55556815a62 SHA512 e58e8efa1c68d35dd23e286eb5720516e2f9ccf21be9697376e3c263eea50bfc80d68497959d07c26482317d6787d53ac19be68c21d0a3b5b65cbe457fbbb322 WHIRLPOOL 0e85294ffa3de77fb6179aebf806aaa03ae505c60d8a6932ee391b3bfff30bed7ba9978c6143ff1a9de9a20413ecfee8eba150a97cbe781536cfee1d2812acd3 -DIST liquid_feedback_frontend-v2.2.2.tar.gz 356003 SHA256 83ca1f019078ddde8e034521545b95182a500d0c8a49cf6de4706eab81f29643 SHA512 0b145130814b9e6969189733ce9ccd523672e605f1cd8d4b2a8b931607ffe6b0110b142197ca50ec81326f381fdd4479c929b9eac0e92a5713749df72518962b WHIRLPOOL f08a9906d872dd322befeab769436d0a6387fa3676b698ea5736e8ea01633569fc46cfd97edae3e22c25e8caeab9599cc6594d106a73870c633e76d55c3b6892 -DIST liquid_feedback_frontend-v2.2.5.tar.gz 361783 SHA256 df80ea4ae7832a2ae1ed6f147efde12fcce80ffa20ec7b2670aad8841c72d30b SHA512 08dbeebfc87db0f151e40f978edeae373df080be421cfda3d59fff738c7898be3296edb943e41f0b0cd44181164a59e5e15b4a621378b933798d4514a579e9e8 WHIRLPOOL cb5b48f6a59af9adaeb0d566aae033dac86ef2cafbd1ae77a9857c23b5dad3c4706bc54ecd30e041b73e444f5629ac7167435acfabf5c30077b8d1e862e9f6a6 diff --git a/www-apps/liquid_feedback_frontend/files/lqfb-apache.conf b/www-apps/liquid_feedback_frontend/files/lqfb-apache.conf deleted file mode 100644 index 3f1924b6..00000000 --- a/www-apps/liquid_feedback_frontend/files/lqfb-apache.conf +++ /dev/null @@ -1,41 +0,0 @@ -RewriteEngine on - -RewriteRule ^/$ /lf/ [R] - -RewriteRule ^/lf/static/(.*)$ /lf/static/$1 [L,PT] - -RewriteCond %{QUERY_STRING} (.*)? -RewriteRule ^/lf/$ /lf/webmcp-wrapper.lua?_webmcp_urldepth=0&_webmcp_module=index&_webmcp_view=index&%1 [PT] - -RewriteCond %{QUERY_STRING} (.*)? -RewriteRule ^/lf/([^/]+)/$ /lf/webmcp-wrapper.lua?_webmcp_urldepth=1&_webmcp_module=$1&_webmcp_view=index&%1 [PT] - -RewriteCond %{QUERY_STRING} (.*)? -RewriteRule ^/lf/([^/]+)/([^/\.]+)$ /lf/webmcp-wrapper.lua?_webmcp_urldepth=1&_webmcp_module=$1&_webmcp_action=$2&%1 [PT] - -RewriteCond %{QUERY_STRING} (.*)? -RewriteRule ^/lf/([^/]+)/([^/\.]+)\.([^/]+)$ /lf/webmcp-wrapper.lua?_webmcp_urldepth=1&_webmcp_module=$1&_webmcp_view=$2&_webmcp_suffix=$3&%1 [PT] - -RewriteCond %{QUERY_STRING} (.*)? -RewriteRule ^/lf/([^/]+)/([^/]+)/([^/\.]+)\.([^/]+)$ /lf/webmcp-wrapper.lua?_webmcp_urldepth=2&_webmcp_module=$1&_webmcp_view=$2&_webmcp_id=$3&_webmcp_suffix=$4&%1 [PT] - -Alias /lf/static /var/lib/liquid_feedback_frontend/static - -ScriptAlias /lf/ /usr/lib/webmcp/framework/cgi-bin/ - -<Directory "/var/lib/liquid_feedback_frontend/static"> - AllowOverride None - Order allow,deny - Allow from all -</Directory> - -<Directory "/usr/lib/webmcp/framework/cgi-bin"> - AllowOverride None - Options ExecCGI -MultiViews +SymLinksIfOwnerMatch - Order allow,deny - Allow from all -</Directory> - -<Location /lf> - SetEnv WEBMCP_APP_BASEPATH '/var/lib/liquid_feedback_frontend' -</Location> diff --git a/www-apps/liquid_feedback_frontend/files/lqfb.example.com.conf b/www-apps/liquid_feedback_frontend/files/lqfb.example.com.conf deleted file mode 100644 index 14908413..00000000 --- a/www-apps/liquid_feedback_frontend/files/lqfb.example.com.conf +++ /dev/null @@ -1,24 +0,0 @@ -<VirtualHost *:80> - ServerName lqfb.example.com - - RewriteEngine On - RewriteRule (.*) https://lqfb.example.com%{REQUEST_URI} -</VirtualHost> - -<VirtualHost *:443> - ServerName lqfb.example.com - - SSLEngine on - SSLProtocol all -SSLv2 - SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM - SSLCertificateFile /etc/ssl/apache2/wildcard/server.crt - SSLCertificateKeyFile /etc/ssl/apache2/wildcard/server.key - - include /usr/share/liquid_feedback_frontend/lqfb-apache.conf - - <Location /lf> - SetEnv WEBMCP_CONFIG_NAME 'myconfig' - </Location> - - ErrorLog /var/log/apache2/lqfb.example.com-error.log -</VirtualHost> diff --git a/www-apps/liquid_feedback_frontend/files/myconfig.lua b/www-apps/liquid_feedback_frontend/files/myconfig.lua deleted file mode 100644 index 19c259cd..00000000 --- a/www-apps/liquid_feedback_frontend/files/myconfig.lua +++ /dev/null @@ -1,29 +0,0 @@ -config.absolute_base_url = "https://lqfb.example.com/lf" -config.instance_name = "lf" -config.database = { engine='postgresql', dbname='liquid_feedback', user='liquid_feedback', password='xxx'} -config.enable_debug_trace = true - -execute.config("init") - -config.formatting_engine_executeables = { - rocketwiki= "rocketwiki-lqfb", - compat = "rocketwiki-lqfb-compat" -} - --- Checkbox(es) the user has to accept while registering --- --- ----- --------------------------------------------------------------------------- -config.use_terms_checkboxes = { - { - name = "terms_of_use_v1", - html = "I accept the terms of use.", - not_accepted_error = "You have to accept the terms of use to be able to regi ster." - }, --- { --- name = "extra_terms_of_use_v1", --- html = "I accept the extra terms of use.", --- not_accepted_error = "You have to accept the extra terms of use to be able to register." --- } -} diff --git a/www-apps/liquid_feedback_frontend/files/postinstall-en.txt b/www-apps/liquid_feedback_frontend/files/postinstall-en.txt deleted file mode 100644 index 688f693c..00000000 --- a/www-apps/liquid_feedback_frontend/files/postinstall-en.txt +++ /dev/null @@ -1,52 +0,0 @@ -0. DATABASE SETUP - -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 ${MY_INSTALLDIR}/liquid_feedback_core/core.sql -liquid_feedback=# \i ${MY_INSTALLDIR}/liquid_feedback_core/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); - -cd /var/liquid_feedback_frontend -/usr/lib/webmcp/framework/bin/webmcp_shell myconfig -Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio -> member = Member:by_id(1) -> member:set_password("type-password-here") -> member:save() -> os.exit() - -Ensure that "lf_update dbname=liquid_feedback" and -"lf_update_suggestion_order dbname=liquid_feedback" are called -regularly! It is required to run these commands regularly -(i.e. every 5 minutes via cron) to update cached supporter counts, -to change the state of issues when neccessary, to calculate the -result of votings, etc. If you wish, copy the created lf_update -and lf_update_suggestion_order files to /usr/local/bin or a -similar directory. - -It is possible to run these two commands in parallel, if a setup -requires splitting the load to multiple processor cores. In other -cases it is recommended to run "lf_update" first, and then -"lf_update_suggestion_order". - -To create an export file, which is containing all but private data, -you may use the lf_export shell-script: -$ lf_export liquid_feedback export.sql.gz - diff --git a/www-apps/liquid_feedback_frontend/liquid_feedback_frontend-2.2.2.ebuild b/www-apps/liquid_feedback_frontend/liquid_feedback_frontend-2.2.2.ebuild deleted file mode 100644 index 772104cd..00000000 --- a/www-apps/liquid_feedback_frontend/liquid_feedback_frontend-2.2.2.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/liquid_feedback_frontend/liquid_feedback_frontend-2.2.2.ebuild,v 1.1 2013/05/28 12:51:56 tupone Exp $ - -EAPI=4 - -inherit eutils toolchain-funcs - -PN_F=${PN} -PV_F=v${PV} -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/frontend/v${PV}/${MY_P}.tar.gz -linguas_it? ( mirror://gentoo/${PN}-italian-${PV}.tar.gz )" - -LICENSE="HPND CC-BY-2.5" -SLOT="0" -KEYWORDS="~amd64" -IUSE="linguas_de linguas_el linguas_en linguas_eo linguas_it" - -RDEPEND="" -DEPEND="www-apps/rocketwiki-lqfb - ${RDEPEND}" - -S=${WORKDIR}/${MY_P} - -src_prepare () { - for lang in zh-Hans zh-TW ; do - rm -f locale/help/*.${lang}.txt - done - for lang in de el en eo it ; do - if ! use linguas_${lang}; then - rm -f locale/help/*.${lang}.txt - fi - done -} - -src_compile() { - emake -C locale -} - -src_install() { - dodoc README - dodoc "${FILESDIR}"/lqfb.example.com.conf - dodoc "${FILESDIR}"/postinstall-en.txt - - insinto /var/lib/${PN} - doins -r app db env model static tmp utils - insinto /var/lib/${PN}/locale - doins locale/*.lua - insinto /var/lib/${PN}/locale/help - doins locale/help/*html - - insinto /etc/${PN} - doins "${FILESDIR}"/myconfig.lua config/* - dosym /etc/${PN} /var/lib/${PN}/config - - insinto /usr/share/${PN} - doins "${FILESDIR}"/lqfb-apache.conf - - fowners apache:apache /var/lib/${PN}/tmp -} diff --git a/www-apps/liquid_feedback_frontend/liquid_feedback_frontend-2.2.5.ebuild b/www-apps/liquid_feedback_frontend/liquid_feedback_frontend-2.2.5.ebuild deleted file mode 100644 index 56601784..00000000 --- a/www-apps/liquid_feedback_frontend/liquid_feedback_frontend-2.2.5.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/liquid_feedback_frontend/liquid_feedback_frontend-2.2.2.ebuild,v 1.1 2013/05/28 12:51:56 tupone Exp $ - -EAPI=4 - -inherit eutils toolchain-funcs - -PN_F=${PN} -PV_F=v${PV} -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/frontend/v${PV}/${MY_P}.tar.gz" - -LICENSE="HPND CC-BY-2.5" -SLOT="0" -KEYWORDS="~amd64" -IUSE="linguas_de linguas_el linguas_en linguas_eo linguas_it linguas_ro" - -RDEPEND="" -DEPEND="www-apps/rocketwiki-lqfb - ${RDEPEND}" - -S=${WORKDIR}/${MY_P} - -src_prepare () { - for lang in zh-Hans zh-TW ; do - rm -f locale/help/*.${lang}.txt - done - for lang in de el en eo it ; do - if ! use linguas_${lang}; then - rm -f locale/help/*.${lang}.txt - fi - done -} - -src_compile() { - emake -C locale -} - -src_install() { - dodoc README - dodoc "${FILESDIR}"/lqfb.example.com.conf - dodoc "${FILESDIR}"/postinstall-en.txt - - insinto /var/lib/${PN} - doins -r app db env model static tmp utils - insinto /var/lib/${PN}/locale - doins locale/*.lua - insinto /var/lib/${PN}/locale/help - doins locale/help/*html - - insinto /etc/${PN} - doins "${FILESDIR}"/myconfig.lua config/* - dosym /etc/${PN} /var/lib/${PN}/config - - insinto /usr/share/${PN} - doins "${FILESDIR}"/lqfb-apache.conf - - fowners apache:apache /var/lib/${PN}/tmp -} diff --git a/www-apps/liquid_feedback_frontend/metadata.xml b/www-apps/liquid_feedback_frontend/metadata.xml deleted file mode 100644 index 19713331..00000000 --- a/www-apps/liquid_feedback_frontend/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?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. -</longdescription> -</pkgmetadata> |