diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2021-04-22 08:22:21 +0200 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2021-04-22 08:22:21 +0200 |
commit | 890d14659f3f8e36c6d03d948d3e6f2f109b27bf (patch) | |
tree | 0587670f2db273558f2f6ec38373e4f00b3f414f /www-apps/liquid_feedback_frontend | |
parent | www-apps/liquid_feedback_frontend: remove unnecessary executable bit (diff) | |
download | gentoo-890d14659f3f8e36c6d03d948d3e6f2f109b27bf.tar.gz gentoo-890d14659f3f8e36c6d03d948d3e6f2f109b27bf.tar.bz2 gentoo-890d14659f3f8e36c6d03d948d3e6f2f109b27bf.zip |
www-apps/liquid_feedback_frontend: remove old version
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'www-apps/liquid_feedback_frontend')
7 files changed, 0 insertions, 264 deletions
diff --git a/www-apps/liquid_feedback_frontend/Manifest b/www-apps/liquid_feedback_frontend/Manifest index 862e9f0e6bc9..86e967542568 100644 --- a/www-apps/liquid_feedback_frontend/Manifest +++ b/www-apps/liquid_feedback_frontend/Manifest @@ -1,4 +1 @@ -DIST liquid_feedback_frontend-italian-2.2.7.tar.gz 7670 BLAKE2B 8131613849efdea1eaa1eda4f5620d7418d6b32c0f57b0aebb07c7dbe17afda2eee814733eada0656a159a93dda97a5a21e17db71baf3ca84e708caf502a4247 SHA512 63cfcb4a565fa570777c2f3d2dcec2e98f16415ad9f8a6d62076f4e2cdf0ddae95610688b6b7751a865344acb7b65f78e7cb1ae4103b24dacf63e3e346405918 -DIST liquid_feedback_frontend-v2.2.7.tar.gz 362509 BLAKE2B 980e261ac9bddfb0f87757457fe58e93481e6d56dc0199b9fc72308e094aec21730f6d901f2e5c1b18a7f5993d1704cc91f64870c16c6215cbbf806095aabe12 SHA512 aa8c99e53c329dbf4659dabe617938d63b2aa42bab99ff4e200d4e15be8ed8ef5f64a71293fa796adde47525d1a76ece3b04cff982474eb2307a3fcd4f269d78 -DIST liquid_feedback_frontend-v3.0.6.tar.gz 497521 BLAKE2B a9e7e7944b418a707a459093b41798818644e2d8aed47a48808c2bf7800acdcde61a04e07483dbb387264df2236b1b02f2410cb34f62bdec6244405db0cf3474 SHA512 d283d277cf6836c53398480c566158481fc65400e128bc4817975fd39c41e6e56b17f7f789a74b1b2a89f84aaf315101e9aa86a474c1817362443d03610fe6e9 DIST liquid_feedback_frontend-v3.2.1.tar.gz 499832 BLAKE2B 6d9ead85fa7e47c04c4169b85ffa119737a798d94b236dbd7d11ae4c5d38cc072a71a45b52e250effa62dac65c3ebcd723061e395b05d9f31d0bb01f8e82f9b9 SHA512 1b5e5fc390a2a705c99145ea36556f9b14de4c052c4673e2c7f12148efe485feaf1a91781c016015c41465559204e906e3cad78e37f41289abd5ca27c4257bb3 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 3f1924b6ae3a..000000000000 --- 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 149084138683..000000000000 --- 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 19c259cd7cbd..000000000000 --- 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 80758792d817..000000000000 --- 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/lib/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.7.ebuild b/www-apps/liquid_feedback_frontend/liquid_feedback_frontend-2.2.7.ebuild deleted file mode 100644 index a7499d4ea063..000000000000 --- a/www-apps/liquid_feedback_frontend/liquid_feedback_frontend-2.2.7.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit estack toolchain-funcs - -PN_F=${PN} -PV_F=v${PV} -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/frontend/v${PV}/${MY_P}.tar.gz -l10n_it? ( mirror://gentoo/${PN}-italian-${PV}.tar.gz )" - -LICENSE="HPND CC-BY-2.5" -SLOT="0" -KEYWORDS="~amd64" -IUSE="l10n_de l10n_el l10n_en l10n_eo l10n_it" - -RDEPEND=">=www-apps/liquid_feedback_core-2.2.6" -DEPEND="www-apps/rocketwiki-lqfb - www-servers/apache - ${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 l10n_${lang}; then - rm -f locale/help/*.${lang}.txt - fi - done - default -} - -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 - eshopts_push -s nullglob - for helpFile in locale/help/*.html ; do - doins $helpFile - done - eshopts_pop - - 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-3.0.6.ebuild b/www-apps/liquid_feedback_frontend/liquid_feedback_frontend-3.0.6.ebuild deleted file mode 100644 index 657b3f1fabe8..000000000000 --- a/www-apps/liquid_feedback_frontend/liquid_feedback_frontend-3.0.6.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -PN_F=${PN} -PV_F=v${PV} -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/frontend/v${PV}/${MY_P}.tar.gz" - -LICENSE="HPND CC-BY-2.5" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -RDEPEND=">=www-apps/liquid_feedback_core-3.0.4" -DEPEND="www-apps/rocketwiki-lqfb - www-servers/apache - >=www-apps/webmcp-1.2.6 - ${RDEPEND}" - -S=${WORKDIR}/${MY_P} - -src_install() { - dodoc "${FILESDIR}"/lqfb.example.com.conf - dodoc "${FILESDIR}"/postinstall-en.txt - - insinto /var/lib/${PN} - doins -r app db env model static tmp - insinto /var/lib/${PN}/locale - doins locale/*.lua - - 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 -} |