From eb31e92c0fc8358d8ca985c7a834b4d744058aea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Fri, 5 Jan 2024 21:04:56 +0100 Subject: searc --- www-apps/searc/Manifest | 1 + www-apps/searc/metadata.xml | 23 +++++++++++++++++++++++ www-apps/searc/searc-0.0.25.ebuild | 31 +++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 www-apps/searc/Manifest create mode 100644 www-apps/searc/metadata.xml create mode 100644 www-apps/searc/searc-0.0.25.ebuild (limited to 'www-apps') diff --git a/www-apps/searc/Manifest b/www-apps/searc/Manifest new file mode 100644 index 0000000..635fe42 --- /dev/null +++ b/www-apps/searc/Manifest @@ -0,0 +1 @@ +DIST searc-0.0.25.tar.gz 30875 BLAKE2B d2e0da32c28e9b62d245755bd48f97aadab45f5cddc9cdc0777dda2050cc2cefa3fde7e45c6df6dcfad3459ad3a5efa223301b19aba13d8c36f4dec2faaea4c2 SHA512 cf32b2586a39f0acee39b5fae21333619163cc336b243d4340b2ad64296c03734f90302f372410e33299630af8e3a44f2969fa02cb2bf8d15097e2c4c798affc diff --git a/www-apps/searc/metadata.xml b/www-apps/searc/metadata.xml new file mode 100644 index 0000000..1480530 --- /dev/null +++ b/www-apps/searc/metadata.xml @@ -0,0 +1,23 @@ + + + + + anton@sijanec.eu + Anton Luka Šijanec + + + Store all log messages in memory and make them accessible over HTTP on /logs.html + Hrani vsa dnevniška sporočila v spominu in jih naredi dostopna preko HTTP na /logs.html + Use old storage O(n) simple linked list for search queries instead of O(log n) binary search tree. + Uporabi stari algoritem za shrambo iskalnih zahtev s O(n) kompleksnostjo namesto novega tsearch(3) O(log n) binarnega drevesa + + + + anton@sijanec.eu + Anton Luka Šijanec + + http://git.sijanec.eu/sijanec/sear.c/raw/branch/master/debian/changelog + http://git.sijanec.eu/sijanec/sear.c/raw/branch/master/README.md + mailto:anton+sear.c-ebuild@sijanec.eu + + diff --git a/www-apps/searc/searc-0.0.25.ebuild b/www-apps/searc/searc-0.0.25.ebuild new file mode 100644 index 0000000..3bf3282 --- /dev/null +++ b/www-apps/searc/searc-0.0.25.ebuild @@ -0,0 +1,31 @@ +EAPI=8 + +# max 80 chars +DESCRIPTION="scraper for search results of popular engines, caches them and creates a HTML UI" +HOMEPAGE="http://ni.sijanec.eu./sijanec/sear.c" +SRC_URI="http://ni.sijanec.eu./sijanec/sear.c/snapshot/sear.c-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="" +SLOT="0" +IUSE="oldstorage logmem" + +# vsi moji programi so nestabilni (: +KEYWORDS="*" + +DEPEND="dev-libs/libxml2 net-libs/libmicrohttpd acct-user/searc acct-group/searc" +RDEPEND="${DEPEND}" +BDEPEND="" + +# do not use mirrors to download +RESTRICT="mirror" + +src_unpack() { + unpack ${A} + mv sear.c searc-${PV} +} + +src_compile() { + use oldstorage && append-flags "-DSC_OLD_STORAGE" + use logmem && append-flags "-DSC_LOGMEM" + emake +} -- cgit v1.2.3