Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 2021 06:37:22 GMT
From:      Olivier Cochard <olivier@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d25dee7a6fd0 - main - www/mohawk: Various port fixes
Message-ID:  <202109270637.18R6bMVu081408@gitrepo.freebsd.org>

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

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

commit d25dee7a6fd08144ec6e382fb4e1acb7ff8075a7
Author:     Olivier Cochard <olivier@FreeBSD.org>
AuthorDate: 2021-09-27 06:29:21 +0000
Commit:     Olivier Cochard <olivier@FreeBSD.org>
CommitDate: 2021-09-27 06:37:18 +0000

    www/mohawk: Various port fixes
    
    PR:             258735
    Reported by:    diizzy
    Approved by:    Freddy Dissaux <dsx@bsdsx.fr> (maintainer)
---
 www/mohawk/Makefile                   | 17 ++++++++---------
 www/mohawk/distinfo                   |  6 +++---
 www/mohawk/files/patch-man5__Makefile |  9 +++++----
 www/mohawk/files/patch-man8__Makefile |  9 +++++----
 4 files changed, 21 insertions(+), 20 deletions(-)

diff --git a/www/mohawk/Makefile b/www/mohawk/Makefile
index e4d6fa45d6a1..2b3d6816f9a0 100644
--- a/www/mohawk/Makefile
+++ b/www/mohawk/Makefile
@@ -1,8 +1,7 @@
 PORTNAME=	mohawk
-PORTVERSION=	2.0.21
+DISTVERSION=	2.0.21
 CATEGORIES=	www
-MASTER_SITES=	http://fossil.bsdsx.fr/mohawk/tarball/
-DISTFILES=	${DISTNAME}.tar.gz?uuid=${PORTVERSION}
+MASTER_SITES=	https://fossil.bsdsx.fr/mohawk/tarball/?r=${DISTVERSION}&name=/
 
 MAINTAINER=	dsx+mohawk@bsdsx.fr
 COMMENT=	Simple and lightweight HTTP daemon
@@ -11,19 +10,19 @@ LICENSE=	BSD2CLAUSE
 
 LIB_DEPENDS=	libevent.so:devel/libevent
 
-PLIST_FILES+=	bin/mhtpasswd \
+USES=		localbase uidfix
+USE_RC_SUBR=	mohawk
+
+CFLAGS+=	-I${LOCALBASE}/include/event2/compat
+
+PLIST_FILES=	bin/mhtpasswd \
 		man/man5/mohawk.conf.5.gz \
 		man/man8/mhtpasswd.8.gz \
 		man/man8/mohawk.8.gz \
 		sbin/mohawk \
 		etc/mohawk.conf.sample
 
-USES=	uidfix
-
 PORTEXAMPLES=	*
-USE_RC_SUBR=	mohawk
-
-CFLAGS+=	-I${LOCALBASE}/include/event2/compat -I${LOCALBASE}/include
 
 OPTIONS_DEFINE=	EXAMPLES
 
diff --git a/www/mohawk/distinfo b/www/mohawk/distinfo
index 245a36f57e25..9d5f802a8cb5 100644
--- a/www/mohawk/distinfo
+++ b/www/mohawk/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1632555938
-SHA256 (mohawk-2.0.21.tar.gz?uuid=2.0.21) = 28270f604ca707d7084e37eb77c1cd07fd3a0846fe5c7f1fb28869cf13b25825
-SIZE (mohawk-2.0.21.tar.gz?uuid=2.0.21) = 44319
+TIMESTAMP = 1632665713
+SHA256 (mohawk-2.0.21.tar.gz) = 92b20038d4f26fbe79e3deb229a065f82e916394e4c42c573b1f9191f5ff1944
+SIZE (mohawk-2.0.21.tar.gz) = 44308
diff --git a/www/mohawk/files/patch-man5__Makefile b/www/mohawk/files/patch-man5__Makefile
index 0da51ff81de4..3dac07424ee4 100644
--- a/www/mohawk/files/patch-man5__Makefile
+++ b/www/mohawk/files/patch-man5__Makefile
@@ -1,7 +1,8 @@
---- ./man5/Makefile.orig	2012-05-28 13:26:48.000000000 +0200
-+++ ./man5/Makefile	2012-05-28 13:27:02.000000000 +0200
-@@ -1,3 +1,4 @@
-+SHAREDIR=	${PREFIX}
+--- man5/Makefile.orig	2021-09-25 06:45:21 UTC
++++ man5/Makefile
+@@ -1,4 +1,5 @@
  MAN= mohawk.conf.5
++SHAREDIR=	${PREFIX}
+ NO_OBJ=
  
  .include <bsd.prog.mk>
diff --git a/www/mohawk/files/patch-man8__Makefile b/www/mohawk/files/patch-man8__Makefile
index e6363babda12..1170f1108b86 100644
--- a/www/mohawk/files/patch-man8__Makefile
+++ b/www/mohawk/files/patch-man8__Makefile
@@ -1,7 +1,8 @@
---- ./man8/Makefile.orig	2012-05-28 13:27:10.000000000 +0200
-+++ ./man8/Makefile	2012-05-28 13:27:22.000000000 +0200
-@@ -1,3 +1,4 @@
+--- man8/Makefile.orig	2021-09-25 06:45:21 UTC
++++ man8/Makefile
+@@ -1,4 +1,5 @@
+ MAN= mhtpasswd.8 mohawk.8
 +SHAREDIR=	${PREFIX}
- MAN8= mhtpasswd.8 mohawk.8
+ NO_OBJ=
  
  .include <bsd.prog.mk>



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