Hi,

could you please review and commit the attached patch to update
www/unit ports to their recent version.

Thank you.

-- 
Sergey A. Osokin
Index: Makefile.inc
===================================================================
RCS file: /cvs/ports/www/unit/Makefile.inc,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile.inc
--- Makefile.inc	26 Apr 2023 15:57:28 -0000	1.7
+++ Makefile.inc	15 May 2023 23:00:43 -0000
@@ -1,4 +1,4 @@
-VERSION?=	1.29.1
+VERSION?=	1.30.0
 DISTNAME=	unit-${VERSION}
 
 CATEGORIES=	www
@@ -20,12 +20,14 @@ CFLAGS+=	-I${LOCALBASE}/include
 CONFIGURE_ARGS=	--prefix=${PREFIX} \
 		--ld-opt="-L${LOCALBASE}/lib" \
 		--log=${LOCALSTATEDIR}/log/unit/unit.log \
+		--logdir=${LOCALSTATEDIR}/log/unit \
 		--mandir=${PREFIX}/man \
-		--modules=lib/unit/modules \
+		--modulesdir=${PREFIX}/lib/unit/modules \
 		--control=unix:${LOCALSTATEDIR}/run/unit/control.unit.sock \
 		--pid=${LOCALSTATEDIR}/run/unit/unit.pid \
-		--state=${LOCALSTATEDIR}/db/unit \
-		--tmp=${LOCALSTATEDIR}/tmp/unit \
+		--runstatedir=${LOCALSTATEDIR}/run/unit \
+		--statedir=${LOCALSTATEDIR}/db/unit \
+		--tmpdir=${LOCALSTATEDIR}/tmp/unit \
 		--openssl \
 		--user=_unit \
 		--group=_unit
@@ -43,6 +45,6 @@ ALL_TARGET=	${UNIT_MODNAME}
 
 do-install:
 	${INSTALL_DATA_DIR} ${PREFIX}/lib/unit/modules/
-	${INSTALL_DATA} ${WRKSRC}/build/${UNIT_MODNAME}.unit.so \
+	${INSTALL_DATA} ${WRKSRC}/build/lib/unit/modules/${UNIT_MODNAME}.unit.so \
 	    ${PREFIX}/lib/unit/modules/
 .endif
Index: unit/distinfo
===================================================================
RCS file: /cvs/ports/www/unit/unit/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- unit/distinfo	26 Apr 2023 15:57:28 -0000	1.5
+++ unit/distinfo	15 May 2023 23:00:43 -0000
@@ -1,2 +1,2 @@
-SHA256 (unit-1.29.1.tar.gz) = fXVs/4waQLOMMT/b6HSDM//OA0o5FvobUC1jzBBiNDc=
-SIZE (unit-1.29.1.tar.gz) = 906654
+SHA256 (unit-1.30.0.tar.gz) = Epuhs8TjPfrb04aD8GNBUtjs93DKzzr1DuULVoPcSYs=
+SIZE (unit-1.30.0.tar.gz) = 894843
Index: unit-perl/distinfo
===================================================================
RCS file: /cvs/ports/www/unit/unit-perl/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- unit-perl/distinfo	26 Apr 2023 15:57:28 -0000	1.5
+++ unit-perl/distinfo	15 May 2023 23:00:43 -0000
@@ -1,2 +1,2 @@
-SHA256 (unit-1.29.1.tar.gz) = fXVs/4waQLOMMT/b6HSDM//OA0o5FvobUC1jzBBiNDc=
-SIZE (unit-1.29.1.tar.gz) = 906654
+SHA256 (unit-1.30.0.tar.gz) = Epuhs8TjPfrb04aD8GNBUtjs93DKzzr1DuULVoPcSYs=
+SIZE (unit-1.30.0.tar.gz) = 894843
Index: unit-php/distinfo
===================================================================
RCS file: /cvs/ports/www/unit/unit-php/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- unit-php/distinfo	26 Apr 2023 15:57:28 -0000	1.5
+++ unit-php/distinfo	15 May 2023 23:00:43 -0000
@@ -1,2 +1,2 @@
-SHA256 (unit-1.29.1.tar.gz) = fXVs/4waQLOMMT/b6HSDM//OA0o5FvobUC1jzBBiNDc=
-SIZE (unit-1.29.1.tar.gz) = 906654
+SHA256 (unit-1.30.0.tar.gz) = Epuhs8TjPfrb04aD8GNBUtjs93DKzzr1DuULVoPcSYs=
+SIZE (unit-1.30.0.tar.gz) = 894843
Index: unit-python/distinfo
===================================================================
RCS file: /cvs/ports/www/unit/unit-python/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- unit-python/distinfo	26 Apr 2023 15:57:29 -0000	1.5
+++ unit-python/distinfo	15 May 2023 23:00:43 -0000
@@ -1,2 +1,2 @@
-SHA256 (unit-1.29.1.tar.gz) = fXVs/4waQLOMMT/b6HSDM//OA0o5FvobUC1jzBBiNDc=
-SIZE (unit-1.29.1.tar.gz) = 906654
+SHA256 (unit-1.30.0.tar.gz) = Epuhs8TjPfrb04aD8GNBUtjs93DKzzr1DuULVoPcSYs=
+SIZE (unit-1.30.0.tar.gz) = 894843
Index: unit-ruby/distinfo
===================================================================
RCS file: /cvs/ports/www/unit/unit-ruby/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- unit-ruby/distinfo	26 Apr 2023 15:57:29 -0000	1.5
+++ unit-ruby/distinfo	15 May 2023 23:00:43 -0000
@@ -1,2 +1,2 @@
-SHA256 (unit-1.29.1.tar.gz) = fXVs/4waQLOMMT/b6HSDM//OA0o5FvobUC1jzBBiNDc=
-SIZE (unit-1.29.1.tar.gz) = 906654
+SHA256 (unit-1.30.0.tar.gz) = Epuhs8TjPfrb04aD8GNBUtjs93DKzzr1DuULVoPcSYs=
+SIZE (unit-1.30.0.tar.gz) = 894843

Reply via email to