diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-20 11:40:01 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-20 11:40:01 +0000 |
commit | d6ecedbb65041ed35010095376e87dd7de4270c5 (patch) | |
tree | f00964f121a5ec52d2f3d1fd00a8f3eb52f9c756 /www-apps | |
parent | 89a009d7439343e207e8c7e4df1a28adecafeffe (diff) |
gentoo auto-resync : 20:02:2024 - 11:40:01
Diffstat (limited to 'www-apps')
18 files changed, 0 insertions, 1146 deletions
diff --git a/www-apps/Manifest.gz b/www-apps/Manifest.gz Binary files differindex e434fbd208cb..fe3bded53aa1 100644 --- a/www-apps/Manifest.gz +++ b/www-apps/Manifest.gz diff --git a/www-apps/liquid_feedback_core/Manifest b/www-apps/liquid_feedback_core/Manifest index 8e14fabd844c..493937d4984a 100644 --- a/www-apps/liquid_feedback_core/Manifest +++ b/www-apps/liquid_feedback_core/Manifest @@ -1,18 +1,9 @@ AUX lf_update.sh 181 BLAKE2B 165b4ffa438315596e8bace31e7c7ee40db630e13cf490c28433942071c29d619860ccc7951bb6f3c9f66aac09d97467b72196c02d9ab1efacc6c6bfd952a930 SHA512 701069f6edfed72a587d20b7ef245f0f830062558daaea0046f09895b752ecafb0674ab92895a7609a39489e5fcaff3266fa9d75cd42d6efed95dc5fc016b0be -AUX liquid_feedback_core-2.2.3-gentoo.patch 609 BLAKE2B 2e142166f14f755720ed27213c4bbe8c30070dc36f6640c32ce9505614eb438140f7c7ea9c9fc0089ba62a100f5ef634adce107e2218dcb2d14b5584c52aceec SHA512 59058bd2ec5c60c13864b0d928b536ef3222be23eba49427b1c7c76c6e84a0130d802102eb3c14a48c5d60d1b93e8859feec339368e479bae1c08acbaeb2f63d AUX liquid_feedback_core-3.0.4-gentoo.patch 843 BLAKE2B 81b37cf79c20a83db0d5c55df82db93674177b9821781c60605113877ac7c2a5659f38c4466731ccdf3dbce8507ecf2bc2ea758b21dbd08f91b38af7bd1b4aec SHA512 7eb4f00c375f102910d755c3a2896fa4d3f1213c430e6cb1154a7d135f8445580245f93055a1d6f84fa1826f74c226d3bac9ebfd37d5be4c45ec9fd34e05b859 -AUX liquid_feedback_core-3.2.2-gentoo.patch 1636 BLAKE2B 19f82ae7917a8e0a99fbd390ca613872dfd8351b27e4f6500ebfac94672e1dbe715443e1e4cbb55855e34283892eb63d6fbc525c0f549d11cae1abb5bf62b284 SHA512 3e18eb07b99cef073fc4d74a4cc200ca1d37af9bc0df723184e4fed429d7f15e2c44f7b54889ec83bcd47c6bd3953f27b0368db3b4b693b21ace11ead62c2199 AUX liquid_feedback_core-4.0.0-gentoo.patch 1592 BLAKE2B 1f9a331300c6022dbb41c61f9aba453056606c2ccc3a1a4738e73051064431012ba573e2e6a98f7c8e6e679ae2ac36dd8d6680be55ab880ae3e0465d7fdfc65a SHA512 629bc6cbb20b6ed245d942e2a93bc5768166dc4664d1233db22fb25a1fec03fe2b5ba2e5a55a4ed6f01def198ef3cb5e05bc8b579114893c5bbeb738bff70f88 AUX liquid_feedback_core.confd 56 BLAKE2B 3d6c9fecd537ad2cae4b6304a2ec20c3e816495cba703ece67d2e8ec52b0ec5c72762e4b3a376e20fc835ffafc215671bc9b37c9ec54d87ead43f8ad987cfa16 SHA512 ff2d6a8fddca493af161b01dbe748bd72893c632ab21984bea03b00062ddd2bed9f1fa0beaf08471949c61588b1341f1c96538f1f754c22347a4d86948821428 AUX liquid_feedback_core.initd 291 BLAKE2B 004bf6fa73b46a0e4e5f96565359bc722107ccb38dbd6b66f4b5aea08585b585107dc2833de9d6eb6b736a4f47a8f06771274f31e781998f4f2d5c50ca820e05 SHA512 6bdec375eda213d0629f0ecdadb44992e1e77be9689fff69c28a125b670a6af9e0d5b24d2274e04e3480c8b57acdad569651beed0f0037f6a05a50bbdbc4679a AUX postinstall-en-4.txt 1349 BLAKE2B b3bcd60dfb363526c4da7f5dd7c4b8f6a88bea4075236e9d241e27d029113a81a708e7f44a8ba22b9904344637fd1fd1d4fc4a27fc32823c7b8b6f5f55c1f637 SHA512 6086e64682e86cfc8b899c9da390b022e5eb987830146f860a89cddefcff285466d5c0f4657544a5a199c655eba34dee6ffa6840d08a56f484eb23bce1d372b1 -AUX postinstall-en.txt 1108 BLAKE2B 0c717cffa57e8eda86867a86ca4127d9a1ddeed47046d938d6858636f69eb04973f8e38a799b7b5704d63c5a9b32a66cdde83ca39820212a2cfbceba1dc17cdf SHA512 497c1369e245bd072e9757fbe3c866c25e5aa92c37ed5f6f355fdf423b2c5f9608fad0754e6719de23b42eb6696bb88fa6eb48ee39f02ee617d38a7ed8dc346d -DIST liquid_feedback_core-v2.2.6.tar.gz 127440 BLAKE2B d62ecd8c9947259a7213f92ecaf1491a5e858ff2fdaff5e020fc4ec0c433297d8a7701a812de200130a1ed7f08ded1d9f31d42de7fffa2981361efee0e31646c SHA512 6f680398a7d2e529e642dc94ba16bc1b33d25459ddbf629c06387391ef13c0e212a108cc337cd2bc29505f4f6436b6e92994e63eaa09fe1c07733d2821d9b7f1 -DIST liquid_feedback_core-v3.0.4.tar.gz 142983 BLAKE2B 05e8c1630a8fa3932b4fc291843dd0c45e2333940394a0632309c9041dc850cc894a6cb54fb840329f67812ebcde5d540c338cf27a88ad428aaa066329725409 SHA512 baea8a61c94e640557d0169b6171247ff0303ff1a9c8b587c6769e367cf56805c1a1e660aadf7178d984182be6dde326770240b3ffeda42139c4a94445a2bbf8 -DIST liquid_feedback_core-v3.2.2.tar.gz 162505 BLAKE2B dc6e9d0b8d1e596150520e068e7743a6e839f7e6ffc3c605d090973a179652858c037c4f12c75774d158adfc60484d1ac321350fa7f8d16329043051ae2cd98c SHA512 60a3548008235822e83c6614e990d87200b342d8e5c5fd1ca1f6092bc48d918f9dbfcc130039f4acf2956a19100cc96187ac1c7f5174f7e69a45f651643ab1d9 DIST liquid_feedback_core-v4.2.2.tar.gz 226473 BLAKE2B 4df49d1e1734c72ac439f772dfa1bf2b10d6cfb739f323735c39b2ed1c28ae19a26a00ad5fb3c55ead74e8d35773bbb39112936f5a4bf3321cd5f1847f7721a2 SHA512 f2542c3c38aa22cd7b8de4a47afb51e851f7f8e4b791d7bf90648e2e8abc6f71f687386f6aa028717c4ef042f3e3366b5458933e43dcf51476b3514f858eb20d -EBUILD liquid_feedback_core-2.2.6.ebuild 1078 BLAKE2B 57757232c046c43abd135e9f12c0978e5c21667e1b62898cd6b14aab0f4f295d0264fdca451fb84fa8f98f61ec768a2ed71acdb1acc665923811e2c553b7611a SHA512 9a7a32b04f784c602ada1e7caf07dc227c61a96ae0704b07ccff5145e5d0c8cbffa59efca46fcc88e9272125369701dc7333f0705b10637d47aeec54e7587125 -EBUILD liquid_feedback_core-3.0.4.ebuild 941 BLAKE2B 9ffc7582dfe7bd9b14a764d1bc169f9150013c35d2b05ccc6c8153188cb174819ea5105941cd19fb865f162c60c0620ae0c449100ccb16afc6b5a368d722fb10 SHA512 bd669c309bce8e60e142582330106d4049d5764d6c672408d6ee026026cddb074216edb3d9ba3293e523117a0ee19fdf52c33d849b4fd672798ca867bc5fbb83 -EBUILD liquid_feedback_core-3.2.2.ebuild 975 BLAKE2B e915b39195e4952ff83549cf0ff23aeeec482da58b6fc965de071c8024f0478524b2181a429cce387a4a7949292b561624c63ca51396eb64363c09bbbc51945a SHA512 b2dcd1f0137e288a38a4e3f6a40f13cdd4506b8b8004a0d66b662844ce8587d96c55cc8d0b0804336d6fb95493bba8b70ab774a0317afb50b5fbcef089ed070e EBUILD liquid_feedback_core-4.2.2.ebuild 1314 BLAKE2B 2de835e64d743ca3ae8f95c537389ab86d50c60869daeb9a15b2d756366ae4fcc51bd947c02a25d2cf288916dd325685574ee48c095fa852b100110ce8ea130a SHA512 43d1b6e845ed80586e59a350c10dfeb64861d4578fa66f072274f0a5ef8843bee8571c59bf2efbe7ef74d27ab74f786d093b58ca65b795085a39bbf0e235a345 MISC metadata.xml 1100 BLAKE2B 323465e8817bddfd027cc1720a079da1929fd52fda70c42cba5120900371db46d293710df5d289dce7be8a70e901fb8bedafb574b25f419ba8449506ccfa4b6e SHA512 59a091a5999f3bfdaa6e1471e8232ec34ba97572dd8d8eb07c6d9e7e7d412879ffc62f8563c6126000fbfb26e179d5b1c4fc97c0cc2ec915a5f96a9f5d138f5a 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 deleted file mode 100644 index bd5874583e3a..000000000000 --- a/www-apps/liquid_feedback_core/files/liquid_feedback_core-2.2.3-gentoo.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -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.2.2-gentoo.patch b/www-apps/liquid_feedback_core/files/liquid_feedback_core-3.2.2-gentoo.patch deleted file mode 100644 index 541464723f83..000000000000 --- a/www-apps/liquid_feedback_core/files/liquid_feedback_core-3.2.2-gentoo.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- a/lf_update_issue_order.c 2021-04-10 18:32:19.101947834 +0200 -+++ b/lf_update_issue_order.c 2021-04-10 18:36:07.377117090 +0200 -@@ -1,3 +1,5 @@ -+#define _GNU_SOURCE -+ - #include <stdlib.h> - #include <stdio.h> - #include <string.h> -@@ -417,7 +419,7 @@ - logging = 1; - } - for (i=argb; i<argc; i++) len += strlen(argv[i]) + 1; -- conninfo = malloc(len * sizeof(char)); -+ conninfo = malloc(len * sizeof(char) + 1); - if (!conninfo) { - fprintf(stderr, "Error: Could not allocate memory for conninfo string.\n"); - abort(); ---- a/lf_update_suggestion_order.c 2021-04-10 18:38:31.138743181 +0200 -+++ b/lf_update_suggestion_order.c 2021-04-10 18:39:29.851786017 +0200 -@@ -1,3 +1,5 @@ -+#define _GNU_SOURCE -+ - #include <stdlib.h> - #include <stdio.h> - #include <string.h> -@@ -474,7 +476,7 @@ - logging = 1; - } - for (i=argb; i<argc; i++) len += strlen(argv[i]) + 1; -- conninfo = malloc(len * sizeof(char)); -+ conninfo = malloc(len * sizeof(char) + 1); - if (!conninfo) { - fprintf(stderr, "Error: Could not allocate memory for conninfo string.\n"); - abort(); ---- a/lf_update.c 2021-04-10 18:40:48.036510216 +0200 -+++ b/lf_update.c 2021-04-10 18:55:46.869758233 +0200 -@@ -1,3 +1,5 @@ -+#define _GNU_SOURCE -+ - #include <stdlib.h> - #include <stdio.h> - #include <string.h> -@@ -51,7 +53,7 @@ - { - size_t len = 0; - for (i=1; i<argc; i++) len += strlen(argv[i]) + 1; -- conninfo = malloc(len * sizeof(char)); -+ conninfo = malloc(len * sizeof(char) + 1); - if (!conninfo) { - fprintf(stderr, "Error: Could not allocate memory for conninfo string\n"); - return 1; diff --git a/www-apps/liquid_feedback_core/files/postinstall-en.txt b/www-apps/liquid_feedback_core/files/postinstall-en.txt deleted file mode 100644 index e1eb550eeea1..000000000000 --- a/www-apps/liquid_feedback_core/files/postinstall-en.txt +++ /dev/null @@ -1,22 +0,0 @@ -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 -d liquid_feedback - -$ 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_core/core.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); - -and Create an invite code for an admin user: - -$ psql -U liquid_feedback liquid_feedback -liquid_feedback=# INSERT INTO member (invite_code, admin) VALUES ('sesam', true); 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 deleted file mode 100644 index a847294716dd..000000000000 --- a/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.6.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -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/backend/v${PV}/${MY_P}.tar.gz" - -LICENSE="HPND CC-BY-2.5" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND="dev-db/postgresql:=" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${MY_P} - -PATCHES=( "${FILESDIR}"/${PN}-2.2.3-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 deleted file mode 100644 index 98e769144c7e..000000000000 --- a/www-apps/liquid_feedback_core/liquid_feedback_core-3.0.4.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -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/backend/v${PV}/${MY_P}.tar.gz" - -LICENSE="HPND CC-BY-2.5" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND="dev-db/postgresql:=" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${MY_P} - -PATCHES=( "${FILESDIR}"/${PN}-3.0.4-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-3.2.2.ebuild b/www-apps/liquid_feedback_core/liquid_feedback_core-3.2.2.ebuild deleted file mode 100644 index a5264bbe9822..000000000000 --- a/www-apps/liquid_feedback_core/liquid_feedback_core-3.2.2.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -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/backend/v${PV}/${MY_P}.tar.gz" - -LICENSE="HPND CC-BY-2.5" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND="dev-db/postgresql:=" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${MY_P} - -PATCHES=( - "${FILESDIR}"/${PN}-3.0.4-gentoo.patch - "${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_frontend/Manifest b/www-apps/liquid_feedback_frontend/Manifest index e2929958d99d..7168550239c1 100644 --- a/www-apps/liquid_feedback_frontend/Manifest +++ b/www-apps/liquid_feedback_frontend/Manifest @@ -1,8 +1,4 @@ -AUX liquid_feedback.initd 480 BLAKE2B 1deaec9df8842f3f99a6e2f79386477a6b773369290e1f6876bfc505ccde43f0c787c73c03148e62a8741650c73bb06fafa926107fc9880fd322d73fa30d9a3c SHA512 25c426f3cfd8dc641c284a85e5833eb1c57d39b479305bdc2ad36f9092e7e620dd7bbf0e6096cd8b70a28dac7bfde55074b703c979dadafb0a3764fc6b936c12 AUX liquid_feedback_frontend.initd 506 BLAKE2B 4a91769dae023a25b1742411ce85ed978bc06475658f3cc037723e27e8d82c12cfbc0980d577b3e76db0e2d8b2de4dd0f5e724042b3b84b12998e6e12ea973c4 SHA512 dcc2328eb0434af2b1f75af8acc232c2a3bef1562b780f1957d172349094b5ad11f1b4683d01ff6c34906ed003720457e9943518a3d1d092eef109b37c6a02c2 -AUX myconfig-3.lua 17462 BLAKE2B d045bb6846ffbbc856938b09171e4ce3f4cac152bbae30b252bf101ed46038608fb168b10b9b323b991c577e3befab957ef1f4abcd84573a2b52920ad3ad2e76 SHA512 f03fd6c84a0d9947d8c479ae0b21303bdac2b20263b9fb80f64572279ca3666750fa92e8cf2dfa8bcedccf36e296f0c66a57200f0b182fbfb84d0b3afd1d364e -DIST liquid_feedback_frontend-v3.2.1.tar.gz 499832 BLAKE2B 6d9ead85fa7e47c04c4169b85ffa119737a798d94b236dbd7d11ae4c5d38cc072a71a45b52e250effa62dac65c3ebcd723061e395b05d9f31d0bb01f8e82f9b9 SHA512 1b5e5fc390a2a705c99145ea36556f9b14de4c052c4673e2c7f12148efe485feaf1a91781c016015c41465559204e906e3cad78e37f41289abd5ca27c4257bb3 DIST liquid_feedback_frontend-v4.0.0.tar.gz 2498592 BLAKE2B 3f1ac24327cc7e09bc0bc79bd05d8f852c31d453b24deef5f615b1a524ee00980fa7c3fcf7cca10f13cb08a37fdb1115d44d04f66a3425ce4cea47046224b63c SHA512 141cc08127b20a20c4d7b524e47dd96e176d883080fb8a2350a4c217af98bc1b027783e7e6f2c9ba720947d7ece8660190510ba93b5c9266c740e5380aa50845 -EBUILD liquid_feedback_frontend-3.2.1.ebuild 1107 BLAKE2B 8ffd8c1728564bc92465d94efe5b10ec70600f48f7063f9d5f03b793caf524ca47234cd4dd04daf283f524d2a0de384679ca3982c683d80bc56a07b8399331e5 SHA512 be2cccd43b9144ed0be1e3f9dcfc2f883456a5fb546057a154fb46ff2cb179370a8c452d3701467998bcf6e97df70dfed60ca218c421d9c8cbd37d43b223b5e1 EBUILD liquid_feedback_frontend-4.0.0.ebuild 989 BLAKE2B 4b9209ec7db36bab91fc9653c13e359f84a4b1920ef7e5f4cb98187033fee9e79c422d24c8cecb12b7fed2abe492de92918b4e305358e3ab8d3a3934ade7d95f SHA512 0f0185a246b6d73f2b5a36871231252931bf4a03651e903483aac455043714eee11783093cb8f6a90d34130f9af11a0e834aa325e2ff0ec1abd222fb729e02d0 MISC metadata.xml 700 BLAKE2B b3966b69b6fc318cf93b1a7a9fed585106f466a0d68e7a258f3a8df08db4d284b639aea7d1f857e50d5c32a4237e18645dd1f278c6e9069308a79238bc02d4e5 SHA512 7e37b0459dfd9dfe89ac132a2b8e05347cfbffe40dc9b4a9ec7188cc4ffb92088437aada53e72cc47bc54e4565940f36fccd8f614ffd2fa3725f22804ce4b388 diff --git a/www-apps/liquid_feedback_frontend/files/liquid_feedback.initd b/www-apps/liquid_feedback_frontend/files/liquid_feedback.initd deleted file mode 100644 index 0fe14172b52f..000000000000 --- a/www-apps/liquid_feedback_frontend/files/liquid_feedback.initd +++ /dev/null @@ -1,16 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -name="liquid feedback daemon" -description="Liquid Feedback Frontend" -command=/usr/bin/moonbridge -command_args="-l /var/log/liquid_feedback/lqfb.log /usr/lib/webmcp/bin/mcp.lua /usr/lib/webmcp /var/lib/liquid_feedback_frontend main myconfig-3" -pidfile=/run/lqfb.pid -command_user="apache:apache" -command_background=true - -depend() { - need net - need postgresql -} diff --git a/www-apps/liquid_feedback_frontend/files/myconfig-3.lua b/www-apps/liquid_feedback_frontend/files/myconfig-3.lua deleted file mode 100644 index 1a1c51f2ac39..000000000000 --- a/www-apps/liquid_feedback_frontend/files/myconfig-3.lua +++ /dev/null @@ -1,487 +0,0 @@ --- ======================================================================== --- MANDATORY (MUST BE CAREFULLY CHECKED AND PROPERLY SET!) --- ======================================================================== - --- Name of this instance, defaults to name of config file --- ------------------------------------------------------------------------ -config.instance_name = "Instance name" - - --- Information about service provider (HTML) --- ------------------------------------------------------------------------ -config.app_service_provider = "Snake Oil<br/>10000 Berlin<br/>Germany" - - --- A HTML formatted text the user has to accept while registering --- ------------------------------------------------------------------------ -config.use_terms = "<h1>Terms of Use</h1><p>Insert terms here</p>" - - --- 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 register." - }, - { - 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." - } -} ---]] - --- Absolute base url of application --- ------------------------------------------------------------------------ -config.absolute_base_url = "http://example.com/" -config.localhost = false - - --- Connection information for the LiquidFeedback database --- ------------------------------------------------------------------------ -config.database = { engine='postgresql', dbname='liquid_feedback', user='liquid_feedback', password='xxx' } - - --- Location of the rocketwiki binaries --- ------------------------------------------------------------------------ -config.enforce_formatting_engine = "markdown2" -config.formatting_engines = { - { id = "markdown2", - name = "python-markdown2", - executable = "markdown2", - args = {'-s', 'escape', '-x', 'nofollow,wiki-tables'}, - remove_images = true - }, --- { id = "markdown_py", --- name = "Python Markdown", --- executable = "markdown_py", --- args = {'-s', 'escape', '-x', 'extra', '-x', 'nl2br', '-x', 'sane_lists'}, --- remove_images = true --- }, --- { id = "rocketwiki", --- name = "RocketWiki", --- executable = "/opt/rocketwiki-lqfb/rocketwiki-lqfb" --- }, --- { id = "compat", --- name = "Traditional WIKI syntax", --- executable = "/opt/rocketwiki-lqfb/rocketwiki-lqfb-compat" --- }, -} - - --- Public access level --- ------------------------------------------------------------------------ --- Available options: --- "none" --- -> Closed user group, no public access at all --- (except login/registration/password reset) --- "anonymous" --- -> Shows only initiative/suggestions texts and aggregated --- supporter/voter counts --- "authors_pseudonymous" --- -> Like anonymous, but shows screen names of authors --- "all_pseudonymous" --- -> Show everything a member can see, except profile pages --- "everything" --- -> Show everything a member can see, including profile pages --- ------------------------------------------------------------------------ -config.public_access = "none" - - - --- ======================================================================== --- OPTIONAL --- Remove leading -- to use a option --- ======================================================================== - --- Disable registration --- ------------------------------------------------------------------------ --- Available options: --- false: registration is enabled (default) --- true: registration is disabled --- ------------------------------------------------------------------------ --- config.disable_registration = true - - --- List of enabled languages, defaults to available languages --- ------------------------------------------------------------------------ --- config.enabled_languages = { 'en', 'de', 'eo', 'el', 'hu', 'it', 'ka', 'nl', 'zh-Hans', 'zh-TW' } - - --- Default language, defaults to "en" --- ------------------------------------------------------------------------ --- config.default_lang = "en" - - --- after how long is a user considered inactive and the trustee will see warning, --- notation is according to postgresql intervals, default: no warning at all --- ------------------------------------------------------------------------ --- config.delegation_warning_time = '6 months' - - --- after which time a user is advised (_soft) or forced (_hard) to check --- unit and area delegations. default: no check at all --- ------------------------------------------------------------------------ --- config.check_delegations_interval_hard = "6 months" --- config.check_delegations_interval_soft = "3 months" - - --- default option when checking delegations --- available options: "confirm", "revoke" and "none", default: "confirm" --- ------------------------------------------------------------------------ --- config.check_delegations_default = "confirm" - - --- Prefix of all automatic mails, defaults to "[Liquid Feedback] " --- ------------------------------------------------------------------------ --- config.mail_subject_prefix = "[LiquidFeedback] " - - --- Sender of all automatic mails, defaults to system defaults --- ------------------------------------------------------------------------ --- config.mail_envelope_from = "liquidfeedback@example.com" --- config.mail_from = { name = "LiquidFeedback", address = "liquidfeedback@example.com" } --- config.mail_reply_to = { name = "Support", address = "support@example.com" } - - --- Template for digest emails --- #{name} will be replaced by member screen name --- #{digest} will be replaced with the digest content --- ------------------------------------------------------------------------ --- config.notification_digest_template = [[ --- Hello #{name}, --- --- this is your personal digest. --- --- #{digest} --- ]] - - --- Configuration of password hashing algorithm (defaults to "crypt_sha512") --- ------------------------------------------------------------------------ --- config.password_hash_algorithm = "crypt_sha512" --- config.password_hash_algorithm = "crypt_sha256" --- config.password_hash_algorithm = "crypt_md5" - - --- Number of rounds for crypt_sha* algorithms, minimum and maximum --- (defaults to minimum 10000 and maximum 20000) --- ------------------------------------------------------------------------ --- config.password_hash_min_rounds = 10000 --- config.password_hash_max_rounds = 20000 - - --- Supply custom url for avatar/photo delivery --- ------------------------------------------------------------------------ --- config.fastpath_url_func = nil - - --- Local directory for database dumps offered for download --- ------------------------------------------------------------------------ --- config.download_dir = nil - - --- Special use terms for database dump download --- ------------------------------------------------------------------------ --- config.download_use_terms = "=== Download use terms ===\n" - - --- Use custom image conversion, defaults to ImageMagick's convert --- ------------------------------------------------------------------------ ---config.member_image_content_type = "image/jpeg" ---config.member_image_convert_func = { --- avatar = function(data) return extos.pfilter(data, "convert", "jpeg:-", "-thumbnail", "48x48", "jpeg:-") end, --- photo = function(data) return extos.pfilter(data, "convert", "jpeg:-", "-thumbnail", "240x240", "jpeg:-") end ---} - - --- Display a html formatted public message of the day --- ------------------------------------------------------------------------ --- config.motd_public = "<h1>Message of the day (public)</h1><p>The MOTD is formatted with HTML</p>" - - --- Display a html formatted internal message of the day --- ------------------------------------------------------------------------ --- config.motd_intern = "<h1>Message of the day (intern)</h1><p>The MOTD is formatted with HTML</p>" - - --- Integration of Etherpad, disabled by default --- ------------------------------------------------------------------------ ---config.etherpad = { --- base_url = "http://example.com:9001/", --- api_base = "http://localhost:9001/", --- api_key = "mysecretapikey", --- group_id = "mygroupname", --- cookie_path = "/" ---} - - --- Free timings --- ------------------------------------------------------------------------ --- This example expects a date string entered in the free timing field --- by the user creating a poll, interpreting it as target date for then --- poll and splits the remaining time at the ratio of 4:1:2 --- Please note, polling policies never have an admission phase --- The available_func is optional, if not set any target date is allowed - ---[[ -config.free_timing = { - calculate_func = function(policy, timing_string) - local function interval_by_seconds(secs) - local secs_per_day = 60 * 60 * 24 - local days - days = math.floor(secs / secs_per_day) - secs = secs - days * secs_per_day - return days .. " days " .. secs .. " seconds" - end - local target_date = parse.date(timing_string, atom.date) - if not target_date then - return false - end - local target_timestamp = target_date.midday - local now = atom.timestamp:get_current() - trace.debug(target_timestamp, now) - local duration = target_timestamp - now - if duration < 0 then - return false - end - return { - discussion = interval_by_seconds(duration / 7 * 4), - verification = interval_by_seconds(duration / 7 * 1), - voting = interval_by_seconds(duration / 7 * 2) - } - end, - available_func = function(policy) - return { - { name = "End of 2013", id = '2013-12-31' }, - { name = "End of 2014", id = '2014-12-31' }, - { name = "End of 2015", id = '2015-12-31' } - } - end -} ---]] - --- Configuration of lf4rcs --- ------------------------------------------------------------------------ --- config.lf4rc = {} - --- Example configuration for controlling a Git repository ---[[ -config.lf4rcs.git = { - - render_draft_reference = function(url, draft) - if not draft.external_reference then return end - ui.tag{ content = _"Changeset:" } - slot.put(" ") - ui.link{ - text = draft.external_reference, - external = url .. ";a=commit;h=" .. draft.external_reference - } - end, - - get_remote_user = function() - return os.getenv("REMOTE_USER") - end, - - get_branches = function(path, exec) - local branches = {} - for line in io.lines() do - local oldrev, newrev, branch = string.match(line, "([^ ]+) ([^ ]+) refs/heads/(.+)") - if not branch then - return nil, "unexpected format from git hook environment" - end - branches[branch] = { newrev } - end - return branches - end, - - commit = function(path, exec, branch, target_node_id, close_message, merge_message) - if merge_message then - exec("git", "-C", path, "checkout", "-f", "master") - exec("git", "-C", path, "merge", target_node_id, "-m", merge_message) - exec("git", "-C", path, "push", "origin", "master") - end - end - -} - --- Example configuration for controlling a Mercurial repository -config.lf4rcs.hg = { - - working_branch_name = "work", - - render_draft_reference = function(url, draft) - if not draft.external_reference then return end - ui.tag{ content = _"Changeset graph:" } - slot.put(" ") - ui.link{ - text = draft.external_reference, - external = url .. "/graph/" .. draft.external_reference - } - end, - - get_remote_user = function() - return os.getenv("REMOTE_USER") - end, - - get_branches = function(path, exec) - local first_node_id = os.getenv("HG_NODE") - if not first_node_id then - return nil, "internal error, no first node ID available" - end - local hg_log = exec( - "hg", "log", "-R", path, "-r", first_node_id .. ":", "--template", "{branches}\n" - ) - local branches = {} - for branch in hg_log:gmatch("(.-)\n") do - if branch == "" then branch = "default" end - if not branches[branch] then - branches[branch] = {} - local head_lines = exec( - "hg", "heads", "-R", path, "--template", "{node}\n", branch - ) - for node_id in string.gmatch(head_lines, "[^\n]+") do - table.insert(branches[branch], node_id) - end - end - end - return branches - end, - - extra_checks = function(path, exec) - local result = exec("hg", "heads", "-t", "-c") - for branch in string.gmatch(result, "[^\n]+") do - if branch == lf4rcs.config.hg.working_branch_name then - return nil, "open head found for branch " .. lf4rcs.config.hg.working_branch_name - end - end - return true - end, - - commit = function(path, exec, branch, target_node_id, close_message, merge_message) - exec("hg", "up", "-R", path, "-C", "-r", target_node_id) - exec("hg", "commit", "-R", path, "--close-branch", "-m", close_message) - if merge_message then - exec("hg", "up", "-R", path, "-C", "-r", "default") - exec("hg", "merge", "-R", path, "-r", "tip") - exec("hg", "commit", "-R", path, "-m", merge_message) - end - end - -} - --- Grace period after creating an initiative for pushing changes during verification phase --- disabled by default (nil), use PostgreSQL interval notation --- config.lf4rcs.push_grace_period = nil - -lf4rcs.init() ---]] - --- External references --- ------------------------------------------------------------------------ --- Rendering of external references - ---[[ -config.render_external_reference = { - draft = function(draft, wrapper) - wrapper(function() - ui.tag{ content = draft.external_reference) - end) - end, - initiative = function(initiative, wrapper) - wrapper(function() - ui.tag{ content = initiative.external_reference) - end) - end -end ---]] - --- Admin logger --- ------------------------------------------------------------------------ --- Logging administrative activities --- disabled by default - ---[[ -config.admin_logger = function(params) - - local adminid = app.session.member_id - local adminname = app.session.member.name - local url = params._webmcp_path - - -- do something (e.g. calling 'logger' via extos.pfilter) - -end ---]] - - --- Network interface to bind to --- ------------------------------------------------------------------------ --- Available options: --- true: bind to localhost (default) --- false: bind to all interface --- ------------------------------------------------------------------------ --- config.localhost = true - - --- Network port to bind to --- ------------------------------------------------------------------------ --- config.port = 8080 - - --- Serving content via IPV6 --- ------------------------------------------------------------------------ --- Available options: --- nil or false: do not serve via IPv6 (default) --- true: serve via IPv6 --- ------------------------------------------------------------------------ --- config.ipv6 = false - - --- Application server fork configuration --- ------------------------------------------------------------------------ --- config.fork = { --- pre = 2, -- desired number of spare (idle) processes --- min = 4, -- minimum number of processes --- max = 128, -- maximum number of processes (hard limit) --- delay = 0.125, -- delay (seconds) between creation of spare processes --- error_delay = 2, -- delay (seconds) before retry of failed process creation --- exit_delay = 2, -- delay (seconds) between destruction of excessive spare processes --- idle_timeout = 900, -- idle time (seconds) after a fork gets terminated (0 for no timeout) --- memory_limit = 0, -- maximum memory consumption (bytes) before process gets terminated --- min_requests = 50, -- minimum count of requests handled before fork is terminated --- max_requests = 100 -- maximum count of requests handled before fork is terminated --- } - - --- HTTP server options --- ------------------------------------------------------------------------ --- http_options = { --- static_headers = {} -- string or table of static headers to be returned with every request --- request_header_size_limit = 1024*1024, -- maximum size of request body sent by client --- request_body_size_limit = 64*1024*1024, -- maximum size of request body sent by client --- idle_timeout = 65, -- maximum time until receiving the first byte of the request headera --- stall_timeout = 60, -- maximum time a client connection may be stalled --- request_header_timeout = 120, -- maximum time until receiving the remaining bytes of the request header --- response_timeout = 3600, -- time in which request body and response must be sent --- maximum_input_chunk_size = 16384 -- tweaks behavior of request-body parser --- minimum_output_chunk_size = 1024 -- chunk size for chunked-transfer-encoding --- } - - --- WebMCP accelerator --- ------------------------------------------------------------------------ --- uncomment the following line to use C implementations of chosen --- functions: --- ------------------------------------------------------------------------ --- require 'webmcp_accelerator' - - --- Trace debug --- ------------------------------------------------------------------------ --- uncomment the following line to enable debug trace --- ------------------------------------------------------------------------ --- config.enable_debug_trace = true - diff --git a/www-apps/liquid_feedback_frontend/liquid_feedback_frontend-3.2.1.ebuild b/www-apps/liquid_feedback_frontend/liquid_feedback_frontend-3.2.1.ebuild deleted file mode 100644 index 826b035ef72d..000000000000 --- a/www-apps/liquid_feedback_frontend/liquid_feedback_frontend-3.2.1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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" - -RDEPEND="~www-apps/liquid_feedback_core-3.2.2 - ~www-servers/moonbridge-1.0.1 - >=www-apps/webmcp-2.1.0 - acct-user/apache" -DEPEND="${RDEPEND}" - -S="${WORKDIR}"/${MY_P} - -DOCS=( INSTALL.html INSTALL.mkd ) - -src_install() { - default - - insinto /var/lib/${PN} - doins -r app db env fastpath lib locale model static tmp - fowners apache:apache /var/lib/${PN}/tmp - dodir /var/log/liquid_feedback - keepdir /var/log/liquid_feedback - fowners apache:apache /var/log/liquid_feedback - - insinto /etc/${PN} - doins "${FILESDIR}"/myconfig-3.lua config/* - dosym ../../../etc/${PN} /var/lib/${PN}/config - - newinitd "${FILESDIR}"/liquid_feedback.initd liquid_feedback -} diff --git a/www-apps/webmcp/Manifest b/www-apps/webmcp/Manifest index 05b43230728e..3cbeab6b6145 100644 --- a/www-apps/webmcp/Manifest +++ b/www-apps/webmcp/Manifest @@ -1,11 +1,4 @@ -AUX webmcp-1.2.6-gentoo.patch 5156 BLAKE2B 4d0680753a83422483c33909b692bc6a0fdd146216889aa83e6a9b99a15bf92920913330de12f2e2125b976214753ec4853b7dd48dabf8c2a0c88fb9b7d1ada5 SHA512 7e57b4f5f32f280198e8c6e01c21ed1414af3bf87a77022af37e3d144576a7d23c9f912e7f41282ef6d984f4323af1dbdda472cfe076fc62a6ee1a47d0529a7c -AUX webmcp-2.1.0-c99.patch 828 BLAKE2B 722b72202b86efa1b42f6d79294c321b60de7fe0ce6dbd6ae6935ff9fb49051f227fdc311105ddc0b557bdd8f200a411a423d2b460fcd3a1d14003ffb764bcfe SHA512 b76419095184cc54ec8b51f4a79a54c7fe20d241bfb3f3425bc9d4fd51126945eb7e8aef2e60450762c2d781876605060f365b264d7b08ec17fd2a0cd3d64d15 -AUX webmcp-2.1.0-gentoo.patch 2626 BLAKE2B 1e4de0384fcc8b991dcaa919f7cf1f7b10372acd8f769932453a8b0a54dbe272cd523ab2e5ec79080b43007035d25b015322a3559a5702a25f17bc70082187fe SHA512 ba437773d999029fd856c918e0d0f413d15ac082eda2114e0d8e3e971b6bb5d282117fe1a7fcca3def0fb8472cf3e97dc9421031c65d8c8235e9ece7f731293f AUX webmcp-2.2.1-gentoo.patch 369 BLAKE2B 042c4baf083422dcad7df04557fd7a92da09f87e14c3438d11029b73b66b73b43f36478db5b4bf1e4969aa4e5d09958569307379862f801a341123dd3874ab61 SHA512 8d4fd294afcec557816fb6c4cb65a38304cf105722471e2afb1a6c634e9843f47a027273e55a1cbc02b5aeba66aa81f9c2ca4223cca2bfd74a3fb73925890ab0 -DIST webmcp-v1.2.6.tar.gz 132283 BLAKE2B ed5539b91eeb809a1e19b98f2dc8888c055ec547c95c53c0ea9232531bf9b8432ba6a0ad566a1d2fecbdcc056a52e42e99b973741fc44f923ea88369393c5ade SHA512 a233c312f85851c690f9b020e5df1fffb548c708199279021f384a36cf6e2b73a9b7bc2343c886ccc0e18aecf6d205e2a699fa2398b9bf0da587bc4f8a8f8556 -DIST webmcp-v2.1.0.tar.gz 145388 BLAKE2B 233b21ccc2c6ebcd32b847ee49ddf9ced5c15b79a860b484c9e3ad088f9996e9bcc56b43c34a558d134157800f19a9b586c9dbcee3ba61a2252178d0cf6b7cd7 SHA512 6698fab9c23d2fb4122bd79659babbcfed8a98515764deb7fa1519abb3c3d783ccec6fd2f23fc947e5e95cafdd066dde4518eff885cc98f36008785fcc45677f DIST webmcp-v2.2.1.tar.gz 158068 BLAKE2B a1e1ef07aadbb5dc3ab93d993f2f9cff005c404f489ac0eae736f149a20d1376f9b1013ddbcdc831089fdd0d684693a9dbc01b5bdd52e65e814bb0fb9cd254cf SHA512 98b4eb41e312af5733ebb7cd20af7a721dc6392e5345b650706e9747c228ee0dccafbf0ed95c8ece400a80009d94f8e3c33537bbcdb393add915610570d170b8 -EBUILD webmcp-1.2.6-r1.ebuild 1695 BLAKE2B dd9696e9a89459709ad4ef2ad4cb8a22494d03936e03039fba66ed91ccbdb4eb9398fc37e9b30818fbca27b5ae976e1bfca3517d9af0701a3ada210149554566 SHA512 015dafc6e31fe5e40f0a26915f4bedb329de4e27e23b4c922a98deb8babc8c38899d5ee098e85a64bdcf99406ba1bfaab4e0594b7a2cab30451b02b8392a4629 -EBUILD webmcp-2.1.0-r1.ebuild 943 BLAKE2B e40ccd2ef223bc624bc95ba313301148b3fbb2481736b441883d3094c6f9aa186389b3e304bed7a293e920e511355c0ea7cc18c1e60d0a54ef13714de118222b SHA512 a751e78a71a8705889a228c6a559e032fd7459cc00a68975fa63ffef95ffe2d6e154ec717fe0827f8dfb71029e247d766865a2c492eec35842f33d8993faf0e0 EBUILD webmcp-2.2.1.ebuild 974 BLAKE2B a8c56801ae4036e7cc6e6e365b8fed5db6b02386f7b09fa662af864697db4c19d07267b86228e871b91f51c4bccb7771fbec6a18f9556ea321aac15a602cdaed SHA512 57f557136a7fcbd9dbd8ddc98d7757aaa746804ebd5dd73e5f33996491b39e594bed37677840780e0508098ae2c3ffd0bdd012cef4e1e75239debf9c8f6838b3 MISC metadata.xml 822 BLAKE2B d4185bca14b98a89070c71dd10078c9761fdc9d7702d775ddbbb76bda95a20f9b71e24db7d7d6bc669863288a70187caa30bd3e75048a0c43ccce9fc52bcf852 SHA512 616c36db4b5aed1c6a6d28cd57c430c38c67736b8a0559b933bbb4917efbb21b63c5cb0aaa5292ca5292db9d646f69159ab0380298e802f0366919660e634ac4 diff --git a/www-apps/webmcp/files/webmcp-1.2.6-gentoo.patch b/www-apps/webmcp/files/webmcp-1.2.6-gentoo.patch deleted file mode 100644 index 3b399fe96ad9..000000000000 --- a/www-apps/webmcp/files/webmcp-1.2.6-gentoo.patch +++ /dev/null @@ -1,143 +0,0 @@ ---- a/Makefile 2013-03-12 21:49:03.976676966 +0100 -+++ b/Makefile 2013-03-12 21:50:02.888103540 +0100 -@@ -1,11 +1,11 @@ - include Makefile.options - - all:: -- make documentation -- make accelerator -- make libraries -- make symlinks -- make precompile -+ $(MAKE) documentation -+ $(MAKE) accelerator -+ $(MAKE) libraries -+ $(MAKE) symlinks -+ $(MAKE) precompile - - documentation:: - rm -f doc/autodoc.tmp -@@ -14,12 +14,12 @@ - rm -f doc/autodoc.tmp - - accelerator:: -- cd framework/accelerator; make -+ $(MAKE) -C framework/accelerator - - libraries:: -- cd libraries/extos; make -- cd libraries/mondelefant; make -- cd libraries/multirand; make -+ $(MAKE) -C libraries/extos -+ $(MAKE) -C libraries/mondelefant -+ $(MAKE) -C libraries/multirand - - symlinks:: - ln -s -f ../../libraries/atom/atom.lua framework/lib/ ---- a/Makefile.options 2015-05-26 21:43:41.354197822 +0200 -+++ b/Makefile.options 2015-05-26 22:01:34.594735786 +0200 -@@ -14,13 +14,13 @@ - # C compiler flags - # TODO: check alternatives to -D_GNU_SOURCE -fPIC - # using libtool? --CFLAGS = -O2 -D_GNU_SOURCE -fPIC -Wall -I /usr/include -I /usr/local/include -I /usr/local/include/lua52 -+CPPFLAGS = -D_GNU_SOURCE - - # additional C compiler flags for parts which depend on PostgreSQL --CFLAGS_PGSQL = -I /usr/local/include/postgresql -I /usr/local/include/postgresql/server -+CFLAGS_PGSQL = -I /usr/include/postgresql -I /usr/include/postgresql/server - - # linker flags --LDFLAGS = -shared -L /usr/lib -L /usr/local/lib -+LDFLAGS = -shared $(MYLDFLAGS) - - # additional linker flags for parts which depend on PostgreSQL --LDFLAGS_PGSQL = -L /usr/local/lib/postgresql -rpath /usr/local/lib/postgresql -+LDFLAGS_PGSQL = ---- a/libraries/extos/Makefile 2013-03-13 21:49:19.710360750 +0100 -+++ b/libraries/extos/Makefile 2013-03-13 21:49:47.778096460 +0100 -@@ -1,7 +1,7 @@ - include ../../Makefile.options - - extos.so: extos.o -- $(LD) $(LDFLAGS) -lrt -lcrypt -o extos.$(SLIB_EXT) extos.o -+ $(LD) $(LDFLAGS) -o extos.$(SLIB_EXT) extos.o -lrt -lcrypt -llua - - extos.o: extos.c - $(CC) -c $(CFLAGS) -o extos.o extos.c ---- a/libraries/mondelefant/Makefile 2013-03-13 21:52:54.884250479 +0100 -+++ b/libraries/mondelefant/Makefile 2013-03-13 21:53:27.511932686 +0100 -@@ -1,7 +1,7 @@ - include ../../Makefile.options - - mondelefant_native.so: mondelefant_native.o -- $(LD) $(LDFLAGS) $(LDFLAGS_PGSQL) -o mondelefant_native.$(SLIB_EXT) mondelefant_native.o -lpq -+ $(LD) $(LDFLAGS) $(LDFLAGS_PGSQL) -o mondelefant_native.$(SLIB_EXT) mondelefant_native.o -lpq -llua - - mondelefant_native.o: mondelefant_native.c - $(CC) -c $(CFLAGS) $(CFLAGS_PGSQL) -o mondelefant_native.o mondelefant_native.c ---- a/libraries/multirand/Makefile 2013-03-13 21:54:29.399328173 +0100 -+++ b/libraries/multirand/Makefile 2013-03-13 21:54:58.019048434 +0100 -@@ -1,7 +1,7 @@ - include ../../Makefile.options - - multirand.so: multirand.o -- $(LD) $(LDFLAGS) -o multirand.$(SLIB_EXT) multirand.o -+ $(LD) $(LDFLAGS) -o multirand.$(SLIB_EXT) multirand.o -llua - - multirand.o: multirand.c - $(CC) -c $(CFLAGS) -o multirand.o multirand.c ---- a/libraries/extos/extos.c 2013-04-05 23:19:52.028115226 +0200 -+++ b/libraries/extos/extos.c 2013-04-05 23:20:14.819896253 +0200 -@@ -12,6 +12,7 @@ - #include <fcntl.h> - #include <poll.h> - #include <stdlib.h> -+#include <crypt.h> - - #define EXTOS_MAX_ERRLEN 80 - #define EXTOS_EXEC_MAX_ARGS 64 ---- a/framework/accelerator/Makefile 2014-06-21 20:15:21.019918183 +0200 -+++ b/framework/accelerator/Makefile 2014-06-21 20:15:44.700471794 +0200 -@@ -4,7 +4,7 @@ - $(LD) $(LDFLAGS) -o webmcp_accelerator.$(SLIB_EXT) webmcp_accelerator.o - - webmcp_accelerator.o: webmcp_accelerator.c -- $(CC) -c $(CFLAGS) -o webmcp_accelerator.o webmcp_accelerator.c -+ $(CC) -c $(CFLAGS) $(CPPFLAGS) -fPIC -o webmcp_accelerator.o webmcp_accelerator.c - - clean:: - rm -f webmcp_accelerator.so webmcp_accelerator.o ---- a/libraries/extos/Makefile 2014-06-21 20:18:25.594611956 +0200 -+++ b/libraries/extos/Makefile 2014-06-21 20:18:50.457183029 +0200 -@@ -4,7 +4,7 @@ - $(LD) $(LDFLAGS) -o extos.$(SLIB_EXT) extos.o -lrt -lcrypt -llua - - extos.o: extos.c -- $(CC) -c $(CFLAGS) -o extos.o extos.c -+ $(CC) -c $(CFLAGS) $(CPPFLAGS) -fPIC -o extos.o extos.c - - clean:: - rm -f extos.so extos.o ---- a/libraries/mondelefant/Makefile 2014-06-21 20:19:58.218962359 +0200 -+++ b/libraries/mondelefant/Makefile 2014-06-21 20:20:24.527476578 +0200 -@@ -4,7 +4,7 @@ - $(LD) $(LDFLAGS) $(LDFLAGS_PGSQL) -o mondelefant_native.$(SLIB_EXT) mondelefant_native.o -lpq -llua - - mondelefant_native.o: mondelefant_native.c -- $(CC) -c $(CFLAGS) $(CFLAGS_PGSQL) -o mondelefant_native.o mondelefant_native.c -+ $(CC) -c $(CFLAGS) $(CPPFLAGS) -fPIC $(CFLAGS_PGSQL) -o mondelefant_native.o mondelefant_native.c - - test:: mondelefant_native.so mondelefant.lua - lua -l mondelefant ---- a/libraries/multirand/Makefile 2014-06-21 20:21:36.950197127 +0200 -+++ b/libraries/multirand/Makefile 2014-06-21 20:22:04.967703944 +0200 -@@ -4,7 +4,7 @@ - $(LD) $(LDFLAGS) -o multirand.$(SLIB_EXT) multirand.o -llua - - multirand.o: multirand.c -- $(CC) -c $(CFLAGS) -o multirand.o multirand.c -+ $(CC) -c $(CFLAGS) $(CPPFLAGS) -fPIC -o multirand.o multirand.c - - clean:: - rm -f multirand.so multirand.o diff --git a/www-apps/webmcp/files/webmcp-2.1.0-c99.patch b/www-apps/webmcp/files/webmcp-2.1.0-c99.patch deleted file mode 100644 index ac27ebb43295..000000000000 --- a/www-apps/webmcp/files/webmcp-2.1.0-c99.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/libraries/extos/extos.c 2023-12-15 10:12:53.396506457 +0100 -+++ b/libraries/extos/extos.c 2023-12-15 14:32:20.464092779 +0100 -@@ -262,7 +262,7 @@ - if (result != 1) goto extos_pfilter_error_fd_remapping; - do result = dup(pipe_err[1]); while (result < 0 && errno == EINTR); - if (result != 2) goto extos_pfilter_error_fd_remapping; -- execvp(filename, args); -+ execvp(filename, (char * const*)args); - status_buf[0] = errno; - do result = write(pipe_status[1], status_buf, 1); while (result < 0 && errno == EINTR); - _exit(0); -@@ -287,7 +287,7 @@ - lua_settop(L, 0); - lua_newtable(L); // 1 - while (1) { -- readdir_r(dir, &entry_buffer, &entry); -+ entry = readdir(dir); - if (!entry) break; - // Linux doesn't have d_namlen - //lua_pushlstring(L, entry->d_name, entry->d_namlen); diff --git a/www-apps/webmcp/files/webmcp-2.1.0-gentoo.patch b/www-apps/webmcp/files/webmcp-2.1.0-gentoo.patch deleted file mode 100644 index 90bf0992a608..000000000000 --- a/www-apps/webmcp/files/webmcp-2.1.0-gentoo.patch +++ /dev/null @@ -1,73 +0,0 @@ ---- a/Makefile 2021-04-17 13:46:36.321270501 +0200 -+++ b/Makefile 2021-04-17 13:47:26.019424556 +0200 -@@ -2,10 +2,10 @@ - - all:: -- make documentation -- make accelerator -- make libraries -- make symlinks -- make precompile -+ $(MAKE) documentation -+ $(MAKE) accelerator -+ $(MAKE) libraries -+ $(MAKE) symlinks -+ $(MAKE) precompile - - documentation:: - rm -f doc/autodoc.tmp ---- a/libraries/extos/Makefile 2013-03-13 21:49:19.710360750 +0100 -+++ b/libraries/extos/Makefile 2013-03-13 21:49:47.778096460 +0100 -@@ -1,7 +1,7 @@ - include ../../Makefile.options - - extos.so: extos.o -- $(LD) $(LDFLAGS) -lrt -lcrypt -o extos.$(SLIB_EXT) extos.o -+ $(LD) $(LDFLAGS) -o extos.$(SLIB_EXT) extos.o -lrt -lcrypt $(LUALIBS) - - extos.o: extos.c - $(CC) -c $(CFLAGS) -o extos.o extos.c ---- a/libraries/json/Makefile 2021-04-17 16:57:48.351876836 +0200 -+++ b/libraries/json/Makefile 2021-04-17 16:58:27.806190853 +0200 -@@ -1,7 +1,7 @@ - include ../../Makefile.options - - json.so: json.o -- $(LD) $(LDFLAGS) -o json.$(SLIB_EXT) json.o -+ $(LD) $(LDFLAGS) -o json.$(SLIB_EXT) json.o $(LUALIBS) - - json.o: json.c - $(CC) -c $(CFLAGS) -o json.o json.c ---- a/libraries/mondelefant/Makefile 2013-03-13 21:52:54.884250479 +0100 -+++ b/libraries/mondelefant/Makefile 2013-03-13 21:53:27.511932686 +0100 -@@ -1,7 +1,7 @@ - include ../../Makefile.options - - mondelefant_native.so: mondelefant_native.o -- $(LD) $(LDFLAGS) $(LDFLAGS_PGSQL) -o mondelefant_native.$(SLIB_EXT) mondelefant_native.o -lpq -+ $(LD) $(LDFLAGS) $(LDFLAGS_PGSQL) -o mondelefant_native.$(SLIB_EXT) mondelefant_native.o -lpq $(LUALIBS) - - mondelefant_native.o: mondelefant_native.c - $(CC) -c $(CFLAGS) $(CFLAGS_PGSQL) -o mondelefant_native.o mondelefant_native.c ---- a/libraries/multirand/Makefile 2013-03-13 21:54:29.399328173 +0100 -+++ b/libraries/multirand/Makefile 2013-03-13 21:54:58.019048434 +0100 -@@ -1,7 +1,7 @@ - include ../../Makefile.options - - multirand.so: multirand.o -- $(LD) $(LDFLAGS) -o multirand.$(SLIB_EXT) multirand.o -+ $(LD) $(LDFLAGS) -o multirand.$(SLIB_EXT) multirand.o $(LUALIBS) - - multirand.o: multirand.c - $(CC) -c $(CFLAGS) -o multirand.o multirand.c ---- a/framework/accelerator/Makefile 2021-04-17 18:36:56.402722612 +0200 -+++ b/framework/accelerator/Makefile 2021-04-17 18:37:08.605513867 +0200 -@@ -1,7 +1,7 @@ - include ../../Makefile.options - - webmcp_accelerator.so: webmcp_accelerator.o -- $(LD) $(LDFLAGS) -o webmcp_accelerator.$(SLIB_EXT) webmcp_accelerator.o -+ $(LD) $(LDFLAGS) -o webmcp_accelerator.$(SLIB_EXT) webmcp_accelerator.o $(LUALIBS) - - webmcp_accelerator.o: webmcp_accelerator.c - $(CC) -c $(CFLAGS) -o webmcp_accelerator.o webmcp_accelerator.c diff --git a/www-apps/webmcp/webmcp-1.2.6-r1.ebuild b/www-apps/webmcp/webmcp-1.2.6-r1.ebuild deleted file mode 100644 index 5e614d549307..000000000000 --- a/www-apps/webmcp/webmcp-1.2.6-r1.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -LUA_COMPAT=( lua5-{1..4} luajit ) - -inherit lua-single toolchain-funcs - -MY_P=${PN}-v${PV} -DESCRIPTION="Web application framework written in Lua and C" -HOMEPAGE="https://www.public-software-group.org/webmcp" -SRC_URI="https://www.public-software-group.org/pub/projects/${PN}/v${PV}/${MY_P}.tar.gz" - -LICENSE="HPND" -KEYWORDS="~amd64" -SLOT=0 - -RDEPEND=" - ${LUA_DEPS} - dev-db/postgresql:= -" -DEPEND="${RDEPEND}" - -S="${WORKDIR}"/${MY_P} - -PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) - -src_prepare() { - default - - # Use correct LUA version - sed -i \ - -e "s/-llua/$(lua_get_LIBS)/g" \ - libraries/multirand/Makefile \ - libraries/mondelefant/Makefile \ - libraries/extos/Makefile || die -} - -src_compile() { - emake CC="$(tc-getCC) $(lua_get_CFLAGS)" LD="$(tc-getCC)" MYLDFLAGS="${LDFLAGS}" - # Dereference symlinks - cd framework - mkdir lib.link - mv lib/* lib.link - cp lib.link/* lib -} - -src_install() { - into /usr/lib/${PN} - dolib.so framework/lib/*.so - for subdir in "" ".precompiled"; do - MY_DEST=/usr/lib/${PN}/framework${subdir} - - cd framework${subdir} - exeinto ${MY_DEST}/accelerator - doexe accelerator/webmcp_accelerator.so - insinto ${MY_DEST} - doins -r env js - exeinto ${MY_DEST}/cgi-bin - doexe cgi-bin/webmcp*.lua - into ${MY_DEST} - dobin bin/* - insinto ${MY_DEST}/lib - doins lib/*.lua - cd .. - - for file in extos.so mondelefant_native.so multirand.so; do - dosym ../../$(get_libdir)/$file ${MY_DEST}/lib/$file - done - - insinto /usr/share/${PN} - doins -r demo-app${subdir} - done - dodoc doc/*sample.conf libraries/mondelefant/example.lua - docinto html - dodoc doc/autodoc.html -} diff --git a/www-apps/webmcp/webmcp-2.1.0-r1.ebuild b/www-apps/webmcp/webmcp-2.1.0-r1.ebuild deleted file mode 100644 index a44301ee98d0..000000000000 --- a/www-apps/webmcp/webmcp-2.1.0-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -LUA_COMPAT=( lua5-{2,3} ) - -inherit lua-single toolchain-funcs - -MY_P=${PN}-v${PV} -DESCRIPTION="Web application framework written in Lua and C" -HOMEPAGE="https://www.public-software-group.org/webmcp" -SRC_URI="https://www.public-software-group.org/pub/projects/${PN}/v${PV}/${MY_P}.tar.gz" - -LICENSE="HPND" -KEYWORDS="~amd64" -SLOT=0 - -RDEPEND=" - ${LUA_DEPS} - dev-db/postgresql:= -" -DEPEND="${RDEPEND}" - -REQUIRED_USE="${LUA_REQUIRED_USE}" - -S="${WORKDIR}"/${MY_P} - -PATCHES=( - "${FILESDIR}"/${P}-gentoo.patch - "${FILESDIR}"/${P}-c99.patch -) - -src_compile() { - emake CC="$(tc-getCC)" \ - CFLAGS="${CFLAGS} \ - $(lua_get_CFLAGS) -fPIC" \ - LD="$(tc-getCC)" \ - LDFLAGS="${LDFLAGS} -shared" \ - LDFLAGS_PGSQL="-L `pg_config --libdir`" \ - LUALIBS="$(lua_get_LIBS)" -} - -src_install() { - insinto /usr/lib/${PN} - doins -r framework.precompiled/* -} |