Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Nov 2021 09:32:25 GMT
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 180fcf0dd85e - main - www/xcaddy: add port
Message-ID:  <202111210932.1AL9WP8D076412@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by olgeni:

URL: https://cgit.FreeBSD.org/ports/commit/?id=180fcf0dd85e535b91a02f3cda1cb570ffdd9b5b

commit 180fcf0dd85e535b91a02f3cda1cb570ffdd9b5b
Author:     Jimmy Olgeni <olgeni@FreeBSD.org>
AuthorDate: 2021-11-21 09:29:24 +0000
Commit:     Jimmy Olgeni <olgeni@FreeBSD.org>
CommitDate: 2021-11-21 09:31:18 +0000

    www/xcaddy: add port
    
    This command line tool and associated Go package makes it easy to
    make custom builds of the Caddy Web Server.
    
    Custom caddy builds are required to activate 3rd party plugins.
    
    The resulting 'caddy' executable is not part of the package, and
    you will have to manage it on your own.
---
 www/Makefile         |  1 +
 www/xcaddy/Makefile  | 24 ++++++++++++++++++++++++
 www/xcaddy/distinfo  |  5 +++++
 www/xcaddy/pkg-descr |  7 +++++++
 4 files changed, 37 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index f2d84caaefe9..42a8f0a783d5 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2359,6 +2359,7 @@
     SUBDIR += wwwoffle
     SUBDIR += xapian-omega
     SUBDIR += xapian-omega12
+    SUBDIR += xcaddy
     SUBDIR += xfce4-smartbookmark-plugin
     SUBDIR += xh
     SUBDIR += xist
diff --git a/www/xcaddy/Makefile b/www/xcaddy/Makefile
new file mode 100644
index 000000000000..4c8303858e17
--- /dev/null
+++ b/www/xcaddy/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	xcaddy
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.2.0
+CATEGORIES=	www
+DIST_SUBDIR=	xcaddy
+
+MAINTAINER=	olgeni@FreeBSD.org
+COMMENT=	Command line tool to make custom builds of the Caddy Web Server
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		cpe go:modules
+CPE_VENDOR=	caddyserver
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	caddyserver
+GH_TUPLE=	Masterminds:semver:v3.1.1:masterminds_semver_v3/vendor/github.com/Masterminds/semver/v3
+
+GO_TARGET=	./cmd/xcaddy
+
+PLIST_FILES=	bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/www/xcaddy/distinfo b/www/xcaddy/distinfo
new file mode 100644
index 000000000000..ba7b4d948457
--- /dev/null
+++ b/www/xcaddy/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1637431945
+SHA256 (xcaddy/caddyserver-xcaddy-v0.2.0_GH0.tar.gz) = 20e4994cc52323f8420741efafa78b8d29b1ad600e59671287436e236c2c3be2
+SIZE (xcaddy/caddyserver-xcaddy-v0.2.0_GH0.tar.gz) = 21358
+SHA256 (xcaddy/Masterminds-semver-v3.1.1_GH0.tar.gz) = d029a39800f201d5b95ec5dbf653e5b20aab757783a6876be1b3017d1c4a444f
+SIZE (xcaddy/Masterminds-semver-v3.1.1_GH0.tar.gz) = 24506
diff --git a/www/xcaddy/pkg-descr b/www/xcaddy/pkg-descr
new file mode 100644
index 000000000000..9256593ee0db
--- /dev/null
+++ b/www/xcaddy/pkg-descr
@@ -0,0 +1,7 @@
+Caddy is a powerful, enterprise-ready, open source web server with
+automatic HTTPS written in Go.
+
+This command line tool and associated Go package makes it easy to
+make custom builds of the Caddy Web Server.
+
+WWW: https://github.com/caddyserver/xcaddy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111210932.1AL9WP8D076412>