summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2021-04-27 17:35:49 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2021-04-27 17:38:56 -0400
commitc2c8603440b7554e3e8bc13fcd87e271b14d7db7 (patch)
treedd9996aa01b34af156229dc82a6ea8a88497bbb7
parent5e3953bc7db3864c86648fb3b2669ddf4a9b2a42 (diff)
downloadabslibre-c2c8603440b7554e3e8bc13fcd87e271b14d7db7.tar.gz
abslibre-c2c8603440b7554e3e8bc13fcd87e271b14d7db7.tar.bz2
abslibre-c2c8603440b7554e3e8bc13fcd87e271b14d7db7.zip
[gophernicus]: add .install file
-rw-r--r--pcr-testing/gophernicus/PKGBUILD3
-rw-r--r--pcr-testing/gophernicus/gophernicus.install11
2 files changed, 13 insertions, 1 deletions
diff --git a/pcr-testing/gophernicus/PKGBUILD b/pcr-testing/gophernicus/PKGBUILD
index d869e4b76..d01c74125 100644
--- a/pcr-testing/gophernicus/PKGBUILD
+++ b/pcr-testing/gophernicus/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=gophernicus
pkgver=3.1.1
-pkgrel=1
+pkgrel=2
pkgdesc="Modern, full-featured (and hopefully) secure gopher daemon"
arch=('armv7h' 'i686' 'x86_64')
url="https://github.com/gophernicus/gophernicus"
@@ -12,6 +12,7 @@ license=('BSD2')
backup=(etc/xinetd.d/gophernicus
srv/gopher/gophermap)
+install=${pkgname}.install
depends=('libwrap' 'xinetd')
optdepends=("xinetd-openrc: openrc init-script")
diff --git a/pcr-testing/gophernicus/gophernicus.install b/pcr-testing/gophernicus/gophernicus.install
new file mode 100644
index 000000000..ad4be4589
--- /dev/null
+++ b/pcr-testing/gophernicus/gophernicus.install
@@ -0,0 +1,11 @@
+post_install() {
+ echo "==> to start the gophernicus service:"
+ echo " systemd:"
+ echo " # systemctl start xinetd.service"
+ echo " openrc:"
+ echo " # rc-service xinetd start"
+ echo "==> configuration is:"
+ echo " /etc/xinetd.d/gophernicus"
+ echo "==> server root is:"
+ echo " /srv/gopher"
+}