git: 5313258935e4 - main - www/angie: New port

From: Wen Heping <wen_at_FreeBSD.org>
Date: Wed, 07 Jun 2023 13:00:41 UTC
The branch main has been updated by wen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5313258935e425a1e43854b7b50252fbe04277d8

commit 5313258935e425a1e43854b7b50252fbe04277d8
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2023-06-07 12:59:51 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2023-06-07 12:59:51 +0000

    www/angie: New port
    
    Angie is an efficient, powerful and scalable web server, that was forked from
    nginx by some of its former core devs, with intention to extend functionality
    far beyond original version.
    
    Angie is a drop-in replacement for nginx, so you can use existing nginx
    configuration without major changes.
---
 www/Makefile        |  1 +
 www/angie/Makefile  | 25 +++++++++++++++++++++++++
 www/angie/distinfo  |  3 +++
 www/angie/pkg-descr |  6 ++++++
 www/angie/pkg-plist | 19 +++++++++++++++++++
 5 files changed, 54 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index e7187c86656f..c685c620d943 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -26,6 +26,7 @@
     SUBDIR += amfora
     SUBDIR += amphetadesk
     SUBDIR += analog
+    SUBDIR += angie
     SUBDIR += anyremote2html
     SUBDIR += apache-mode.el
     SUBDIR += apache24
diff --git a/www/angie/Makefile b/www/angie/Makefile
new file mode 100644
index 000000000000..2b47a5e90f2a
--- /dev/null
+++ b/www/angie/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	angie
+PORTVERSION=	1.2.0
+CATEGORIES=	www
+MASTER_SITES=	https://download.angie.software/files/
+
+MAINTAINER=	wen@FreeBSD.org
+COMMENT=	Efficient, powerful and scalable web server
+WWW=		https://angie.software/en/
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libpcre2-8.so:devel/pcre2
+
+USES=		gmake ssl
+
+HAS_CONFIGURE=	yes
+ALL_TARGET=
+
+CONFIGURE_ARGS=	--with-openssl=${LOCALBASE}
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/angie/sbin/angie
+
+.include <bsd.port.mk>
diff --git a/www/angie/distinfo b/www/angie/distinfo
new file mode 100644
index 000000000000..cd0d20e57762
--- /dev/null
+++ b/www/angie/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1686140577
+SHA256 (angie-1.2.0.tar.gz) = 82f23115c2e8ebf00d5429622ad96e8c7e785e87bc298b292246660cc61e2cff
+SIZE (angie-1.2.0.tar.gz) = 1510159
diff --git a/www/angie/pkg-descr b/www/angie/pkg-descr
new file mode 100644
index 000000000000..affbbd24752a
--- /dev/null
+++ b/www/angie/pkg-descr
@@ -0,0 +1,6 @@
+Angie is an efficient, powerful and scalable web server, that was forked from
+nginx by some of its former core devs, with intention to extend functionality
+far beyond original version.
+
+Angie is a drop-in replacement for nginx, so you can use existing nginx
+configuration without major changes.
diff --git a/www/angie/pkg-plist b/www/angie/pkg-plist
new file mode 100644
index 000000000000..22dc59363791
--- /dev/null
+++ b/www/angie/pkg-plist
@@ -0,0 +1,19 @@
+angie/conf/angie.conf
+angie/conf/angie.conf.default
+angie/conf/fastcgi.conf
+angie/conf/fastcgi.conf.default
+angie/conf/fastcgi_params
+angie/conf/fastcgi_params.default
+angie/conf/koi-utf
+angie/conf/koi-win
+angie/conf/mime.types
+angie/conf/mime.types.default
+angie/conf/scgi_params
+angie/conf/scgi_params.default
+angie/conf/uwsgi_params
+angie/conf/uwsgi_params.default
+angie/conf/win-utf
+angie/html/50x.html
+angie/html/index.html
+angie/sbin/angie
+@dir angie/logs