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 --- README | 13 +++++++++++++ acct-group/searc/metadata.xml | 1 + acct-group/searc/searc-0.0.0.ebuild | 6 ++++++ acct-user/searc/metadata.xml | 8 ++++++++ acct-user/searc/searc-0.0.0.ebuild | 9 +++++++++ www-apps/searc/Manifest | 1 + www-apps/searc/metadata.xml | 23 +++++++++++++++++++++++ www-apps/searc/searc-0.0.25.ebuild | 31 +++++++++++++++++++++++++++++++ 8 files changed, 92 insertions(+) create mode 100644 README create mode 120000 acct-group/searc/metadata.xml create mode 100644 acct-group/searc/searc-0.0.0.ebuild create mode 100644 acct-user/searc/metadata.xml create mode 100644 acct-user/searc/searc-0.0.0.ebuild 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 diff --git a/README b/README new file mode 100644 index 0000000..c5409b4 --- /dev/null +++ b/README @@ -0,0 +1,13 @@ +g + +This is my personal ebuild gentoo overlay repository. +I publish packaged software that I've written to be used on the Gentoo GNU/Linux distribution. +There are also some programs here that I haven't written. +Source tarballs are are checked for integrity with Manifest files. + +My programs: + program ebuild package project homepage + --- + sear.c www-apps/searc http://ni.sijanec.eu/sijanec/sear.c + +Installing packages: emerge --ask www-apps/searc diff --git a/acct-group/searc/metadata.xml b/acct-group/searc/metadata.xml new file mode 120000 index 0000000..3226f7c --- /dev/null +++ b/acct-group/searc/metadata.xml @@ -0,0 +1 @@ +../../acct-user/searc/metadata.xml \ No newline at end of file diff --git a/acct-group/searc/searc-0.0.0.ebuild b/acct-group/searc/searc-0.0.0.ebuild new file mode 100644 index 0000000..9d783ba --- /dev/null +++ b/acct-group/searc/searc-0.0.0.ebuild @@ -0,0 +1,6 @@ +EAPI=8 + +inherit acct-group +ACCT_GROUP_ID=-1 + +DESCRIPTION="Group for www-apps/searc" diff --git a/acct-user/searc/metadata.xml b/acct-user/searc/metadata.xml new file mode 100644 index 0000000..80613d2 --- /dev/null +++ b/acct-user/searc/metadata.xml @@ -0,0 +1,8 @@ + + + + + anton@sijanec.eu + Anton Luka Šijanec + + diff --git a/acct-user/searc/searc-0.0.0.ebuild b/acct-user/searc/searc-0.0.0.ebuild new file mode 100644 index 0000000..7ee71b7 --- /dev/null +++ b/acct-user/searc/searc-0.0.0.ebuild @@ -0,0 +1,9 @@ +EAPI=8 + +inherit acct-user +ACCT_USER_ID=-1 +ACCT_USER_GROUPS=( searc ) + +DESCRIPTION="User for www-apps/searc" + +acct-user_add_deps 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