net/gmid: Update to 1.7.1 (bugfix release)
ChangeLog: https://github.com/omar-polo/gmid/releases/tag/1.7.1 PR: 257098
This commit is contained in:
parent
7beb0458bf
commit
3ebebb3ca8
4 changed files with 25 additions and 16 deletions
|
@ -1,7 +1,7 @@
|
|||
PORTNAME= gmid
|
||||
DISTVERSION= v1.6.1
|
||||
PORTREVISION= 1
|
||||
DISTVERSION= 1.7.1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= https://github.com/omar-polo/gmid/releases/download/${DISTVERSION}/
|
||||
|
||||
MAINTAINER= freebsd@omarpolo.com
|
||||
COMMENT= Simple and secure Gemini server
|
||||
|
@ -13,14 +13,14 @@ LIB_DEPENDS= libevent.so:devel/libevent \
|
|||
libtls.so:security/libressl
|
||||
|
||||
USES= localbase pkgconfig ssl
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= omar-polo
|
||||
USE_RC_SUBR= gmid
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
|
||||
TEST_TARGET= regress
|
||||
|
||||
LDFLAGS+= -lcrypto -lssl
|
||||
|
||||
USERS= _gmid
|
||||
GROUPS= _gmid
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1619421708
|
||||
SHA256 (omar-polo-gmid-v1.6.1_GH0.tar.gz) = bdbc8f184812554f3574791dfe43e435fa6c4cafcbd70b4e1e7a48b2407a54a2
|
||||
SIZE (omar-polo-gmid-v1.6.1_GH0.tar.gz) = 59388
|
||||
TIMESTAMP = 1625991476
|
||||
SHA256 (gmid-1.7.1.tar.gz) = cb4ef2c1ed9950017ce51b0de97971a77124beed1eb2205de6118da0f2ebdbd1
|
||||
SIZE (gmid-1.7.1.tar.gz) = 78154
|
||||
|
|
|
@ -3,13 +3,22 @@ user "_gmid"
|
|||
|
||||
# it's a good idea to enable chroot, but
|
||||
# beware that can make CGI scripting harder
|
||||
#
|
||||
#chroot "/var/gemini"
|
||||
chroot "/var/gemini"
|
||||
|
||||
# An example of a server block:
|
||||
#
|
||||
#server "localhost" {
|
||||
# root "/var/gemini/localhost"
|
||||
# cert "/usr/local/etc/ssl/gmid/gmid.crt"
|
||||
# key "/usr/local/etc/ssl/gmid/gmid.key"
|
||||
#}
|
||||
server "localhost" {
|
||||
# set the directory to serve; it's relative to the
|
||||
# chroot (if enabled)
|
||||
root "/localhost"
|
||||
|
||||
# Set self-signed TLS cert and key. It's better to keep
|
||||
# the keys outside the chroot.
|
||||
#
|
||||
# You should generate them manually, for example:
|
||||
# openssl req -x509 -newkey rsa:4096 -nodes \
|
||||
# -out /usr/local/etc/ssl/gmid/localhost.crt \
|
||||
# -keyout /usr/local/etc/ssl/gmid/localhost.key \
|
||||
# -subj "/CN=localhost"
|
||||
cert "/usr/local/etc/ssl/gmid/localhost.crt"
|
||||
key "/usr/local/etc/ssl/gmid/localhost.key"
|
||||
}
|
||||
|
|
|
@ -3,4 +3,4 @@ features, among which Capsicum support and a "config-less"
|
|||
mode akin to "python -m http.server" to quickly serve local
|
||||
directories from the shell.
|
||||
|
||||
WWW: https://github.com/omar-polo/gmid
|
||||
WWW: https://gmid.omarpolo.com
|
||||
|
|
Loading…
Reference in a new issue