Package Details: gmid 1.8.3-2

Git Clone URL: https://aur.archlinux.org/gmid.git (read-only, click to copy)
Package Base: gmid
Description: Fast Gemini server written with security in mind.
Upstream URL: https://gmid.omarpolo.com
Licenses: ISC
Conflicts: gmid-bin, gmid-git
Submitter: andreafeletto
Maintainer: andreafeletto
Last Packager: andreafeletto
Votes: 3
Popularity: 0.56
First Submitted: 2021-04-24 15:57 (UTC)
Last Updated: 2022-04-05 15:04 (UTC)

Latest Comments

dreamLogic commented on 2022-06-01 02:15 (UTC)

That fixed it, thank you.

andreafeletto commented on 2022-05-31 10:05 (UTC)

The binary should link to libtls.so.25. Could you try to recompile the package? If you're using yay:

yay -S gmid --answerclean a

dreamLogic commented on 2022-05-31 04:07 (UTC) (edited on 2022-05-31 04:21 (UTC) by dreamLogic)

The systemd service kept failing and restarting, journald shows this error.

error while loading shared libraries: libtls.so.22: cannot open shared object file: No such file or directory

I have both libbsd and libretls installed

andreafeletto commented on 2022-03-14 18:14 (UTC)

Upsie

strajder commented on 2022-03-14 18:08 (UTC)

There is a typo in the current PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index 644ef2d..cb0b0a5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,7 @@ license=('ISC')
 depends=('libretls')
 conflicts=('gmid-git' 'gmid-bin')
 source=(
-       "https://git.omerpolo.com/$pkgname/snapshot/$pkgname-$pkgver.tar.gz"
+       "https://git.omarpolo.com/$pkgname/snapshot/$pkgname-$pkgver.tar.gz"
        "gmid.service"
        "gmid.conf"
 )

eniehack commented on 2022-03-09 17:48 (UTC) (edited on 2022-03-10 06:52 (UTC) by eniehack)

Thanks for add files andreafeletto! btw, using upstream's .service file is crashed on this package. so, I'd recommend to change it below:

--- gmid.service.orig   2022-03-10 02:46:53.360052542 +0900
+++ gmid.service        2022-03-10 02:47:02.870025241 +0900
@@ -8,7 +8,7 @@
 Type=simple
 User=gmid
 Group=nobody
-ExecStart=/usr/local/bin/gmid -f -c /etc/gmid.conf
+ExecStart=/usr/bin/gmid -f -c /etc/gmid.conf
 ExecStop=/bin/kill -TERM $MAINPID
 ExecReload=/bin/kill -HUP $MAINPID
 Restart=on-failure

andreafeletto commented on 2022-03-06 14:48 (UTC)

Thanks for the patch eniehack. I added the vim files and the systemd service file. I suggest you propose the modifications to the systemd file and the addition of the sysuser file to the upstream author.

eniehack commented on 2022-03-04 14:24 (UTC)

this patch installs some features:

  • config files of syntax highlight for vim
  • systemd's .service file
  • systemd-sysusers' .conf file for generating user who named "gmid".
  • helper scripts about certificate files(gencert, renew-certs)