From owner-dev-commits-ports-all@freebsd.org Sun Jul 11 12:17:24 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5D66D666CB2; Sun, 11 Jul 2021 12:17:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GN5W81znsz4q2J; Sun, 11 Jul 2021 12:17:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2CF911B7AF; Sun, 11 Jul 2021 12:17:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 16BCHOo1006603; Sun, 11 Jul 2021 12:17:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 16BCHODa006602; Sun, 11 Jul 2021 12:17:24 GMT (envelope-from git) Date: Sun, 11 Jul 2021 12:17:24 GMT Message-Id: <202107111217.16BCHODa006602@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nuno Teixeira Subject: git: 3ebebb3ca8f2 - main - net/gmid: Update to 1.7.1 (bugfix release) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: eduardo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3ebebb3ca8f29a03c58be0d9df45060977183e48 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jul 2021 12:17:24 -0000 The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=3ebebb3ca8f29a03c58be0d9df45060977183e48 commit 3ebebb3ca8f29a03c58be0d9df45060977183e48 Author: Omar Polo AuthorDate: 2021-07-11 12:13:16 +0000 Commit: Nuno Teixeira CommitDate: 2021-07-11 12:16:31 +0000 net/gmid: Update to 1.7.1 (bugfix release) ChangeLog: https://github.com/omar-polo/gmid/releases/tag/1.7.1 PR: 257098 --- net/gmid/Makefile | 8 ++++---- net/gmid/distinfo | 6 +++--- net/gmid/files/gmid.conf.sample | 25 +++++++++++++++++-------- net/gmid/pkg-descr | 2 +- 4 files changed, 25 insertions(+), 16 deletions(-) diff --git a/net/gmid/Makefile b/net/gmid/Makefile index 6107ff1600f7..69f56c6a77c5 100644 --- a/net/gmid/Makefile +++ b/net/gmid/Makefile @@ -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 diff --git a/net/gmid/distinfo b/net/gmid/distinfo index 13b38ee14981..89c7d66e05eb 100644 --- a/net/gmid/distinfo +++ b/net/gmid/distinfo @@ -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 diff --git a/net/gmid/files/gmid.conf.sample b/net/gmid/files/gmid.conf.sample index 1443c67c961e..b4680f8d2acf 100644 --- a/net/gmid/files/gmid.conf.sample +++ b/net/gmid/files/gmid.conf.sample @@ -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" +} diff --git a/net/gmid/pkg-descr b/net/gmid/pkg-descr index 6e2c141ad413..63a83cac173d 100644 --- a/net/gmid/pkg-descr +++ b/net/gmid/pkg-descr @@ -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