From 84f380794857296db32a36ee24cecdfbf0d32081 Mon Sep 17 00:00:00 2001 From: sijanec Date: Sun, 4 Apr 2021 15:50:25 +0200 Subject: 0.0.3 --- debian/README.Debian | 30 ++++++++++++++++++++++++++++++ debian/changelog | 23 +++++++++++++++++++++++ debian/compat | 1 + debian/control | 14 ++++++++++++++ debian/copyright | 7 +++++++ debian/rules | 3 +++ debian/sear.c.service | 13 +++++++++++++ 7 files changed, 91 insertions(+) create mode 100644 debian/README.Debian create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/sear.c.service (limited to 'debian') diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..76cabab --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,30 @@ +sear.c for Debian + +sear.c is used as a lightweight replacement for SearX that proxies and caches +search results from the Google web search engine. The main advantages over +SearX are speed and simplicity. + +* run the daemon - it starts listening on HTTP port 7327 (remember it by + picturing phone keyboard buttons with letters SEAR (; ) +* optional: create a reverse proxy for HTTPS +* navigate to http://localhost:7327 and do a couple of searches to see if + everything works +* the horseshoe button redirects directly to the first result without wasting + time on the results page. use if you feel lucky. (BP) +* check logs by navigating to /logs.html + +It's not recommended to run a public instance of sear.c yet, as google likes +to prevent spam by using a captcha. + +It's expected that I'll write a simple captcha forwarder so that users of public +instances will solve captchas that are presented and keep the instance healthy. + +Currently it's recommended to run private instances, protected by a password +using a reverse HTTP proxy. + +systemd users can start with service sear.c start + +please also read the README.md file in the git repository or via web: + http://git.sijanec.eu/sijanec/sear.c/src/branch/master/README.md + + -- Anton Luka Šijanec Sun, 04 Apr 2021 16:00:00 +0200 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..cefa09e --- /dev/null +++ b/debian/changelog @@ -0,0 +1,23 @@ +sear.c (0.0.3-1) stable; urgency=low + + * fixed systemd service and added other debian files + + -- Anton Luka Šijanec Sun, 04 Apr 2021 15:30:00 +0200 + +sear.c (0.0.2-1) stable; urgency=low + + * Fixed systemd file path + + -- Anton Luka Šijanec Sun, 04 Apr 2021 15:00:00 +0200 + +sear.c (0.0.1-1) stable; urgency=low + + * Fixed package for debian + + -- Anton Luka Šijanec Sun, 04 Apr 2021 14:00:00 +0200 + +sear.c (0.0.0-1) stable; urgency=low + + * Initial release. + + -- Anton Luka Šijanec Sat, 03 Apr 2021 23:33:41 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +11 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..f315f85 --- /dev/null +++ b/debian/control @@ -0,0 +1,14 @@ +Source: sear.c +Section: web +Priority: optional +Maintainer: Anton Luka Šijanec +Build-Depends: debhelper (>=11~), libmicrohttpd-dev, libxml2-dev, dh-systemd (>=1.5) +Standards-Version: 4.1.4 +Homepage: http://git.sijanec.eu/sijanec/sear.c + +Package: sear.c +Architecture: any +Multi-Arch: foreign +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: scrapes search results of popular engines, + caches them and creates a simple HTML UI on HTTP port 7327 diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..5a0b54f --- /dev/null +++ b/debian/copyright @@ -0,0 +1,7 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: sear.c +Upstream-Contact: Anton Luka Šijanec +Source: http://git.sijanec.eu/sijanec/sear.c +Copyright: 2021 Anton Luka Šijanec +Disclaimer: This package is not licensed under any license. +Comment: At least in current version of this program, no licensing information was published. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..4d587f6 --- /dev/null +++ b/debian/rules @@ -0,0 +1,3 @@ +#!/usr/bin/make -f +%: + dh --with systemd $@ diff --git a/debian/sear.c.service b/debian/sear.c.service new file mode 100644 index 0000000..88b05ec --- /dev/null +++ b/debian/sear.c.service @@ -0,0 +1,13 @@ +[Unit] +Description=scrapes search results of popular engines, caches them and creates a simple HTML UI on HTTP port 7327 +After=network.target + +[Service] +Type=simple +User=nobody +RuntimeDirectory=sear.c +ExecStart=/usr/bin/sear.c +Restart=no + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3