summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2024-01-05 21:04:56 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2024-01-05 21:04:56 +0100
commiteb31e92c0fc8358d8ca985c7a834b4d744058aea (patch)
tree69434750604aa75eac48872a4a2c944b4918cbf3
parentxrdp removed, changes merged with upstream ace (diff)
downloadg-eb31e92c0fc8358d8ca985c7a834b4d744058aea.tar
g-eb31e92c0fc8358d8ca985c7a834b4d744058aea.tar.gz
g-eb31e92c0fc8358d8ca985c7a834b4d744058aea.tar.bz2
g-eb31e92c0fc8358d8ca985c7a834b4d744058aea.tar.lz
g-eb31e92c0fc8358d8ca985c7a834b4d744058aea.tar.xz
g-eb31e92c0fc8358d8ca985c7a834b4d744058aea.tar.zst
g-eb31e92c0fc8358d8ca985c7a834b4d744058aea.zip
Diffstat (limited to '')
-rw-r--r--README13
l---------acct-group/searc/metadata.xml1
-rw-r--r--acct-group/searc/searc-0.0.0.ebuild6
-rw-r--r--acct-user/searc/metadata.xml8
-rw-r--r--acct-user/searc/searc-0.0.0.ebuild9
-rw-r--r--www-apps/searc/Manifest1
-rw-r--r--www-apps/searc/metadata.xml23
-rw-r--r--www-apps/searc/searc-0.0.25.ebuild31
8 files changed, 92 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>anton@sijanec.eu</email>
+ <name>Anton Luka Šijanec</name>
+ </maintainer>
+</pkgmetadata>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>anton@sijanec.eu</email>
+ <name>Anton Luka Šijanec</name>
+ </maintainer>
+ <use>
+ <flag name="logmem" lang="en">Store all log messages in memory and make them accessible over HTTP on /logs.html</flag>
+ <flag name="logmem" lang="sl">Hrani vsa dnevniška sporočila v spominu in jih naredi dostopna preko HTTP na /logs.html</flag>
+ <flag name="oldstorage" lang="en">Use old storage O(n) simple linked list for search queries instead of O(log n) binary search tree.</flag>
+ <flag name="oldstorage" lang="sl">Uporabi stari algoritem za shrambo iskalnih zahtev s O(n) kompleksnostjo namesto novega tsearch(3) O(log n) binarnega drevesa</flag>
+ </use>
+ <upstream>
+ <maintainer type="person">
+ <email>anton@sijanec.eu</email>
+ <name>Anton Luka Šijanec</name>
+ </maintainer>
+ <changelog>http://git.sijanec.eu/sijanec/sear.c/raw/branch/master/debian/changelog</changelog>
+ <doc>http://git.sijanec.eu/sijanec/sear.c/raw/branch/master/README.md</doc>
+ <bugs-to>mailto:anton+sear.c-ebuild@sijanec.eu</bugs-to>
+ </upstream>
+</pkgmetadata>
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
+}