git: 60f3664284cb - main - www/tinyauth: Update to 5.1.2

From: Jesús Daniel Colmenares Oviedo <dtxdf_at_FreeBSD.org>
Date: Sun, 26 Jul 2026 22:42:13 UTC
The branch main has been updated by dtxdf:

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

commit 60f3664284cb255415ae8a9faa29b34165eba3ad
Author:     Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
AuthorDate: 2026-07-26 22:37:20 +0000
Commit:     Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
CommitDate: 2026-07-26 22:39:35 +0000

    www/tinyauth: Update to 5.1.2
    
    * Add newsyslog.conf(5) file.
    
    ChangeLogs:
    
    - https://github.com/tinyauthapp/tinyauth/releases/tag/v5.1.0
    - https://github.com/tinyauthapp/tinyauth/releases/tag/v5.1.1
    - https://github.com/tinyauthapp/tinyauth/releases/tag/v5.1.2
---
 www/tinyauth/Makefile             | 10 ++++++----
 www/tinyauth/distinfo             | 14 +++++++-------
 www/tinyauth/files/newsyslog.conf |  6 ++++++
 www/tinyauth/files/tinyauth.in    |  3 ++-
 4 files changed, 21 insertions(+), 12 deletions(-)

diff --git a/www/tinyauth/Makefile b/www/tinyauth/Makefile
index e285eb2ad26e..d1121f100870 100644
--- a/www/tinyauth/Makefile
+++ b/www/tinyauth/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	tinyauth
 DISTVERSIONPREFIX=	v
-DISTVERSION=	5.0.7
-PORTREVISION=	3
+DISTVERSION=	5.1.2
 CATEGORIES=	www
 MASTER_SITES=	LOCAL/dtxdf/${PORTNAME}/:assets
 # For instructions on how to create assets:
@@ -39,11 +38,12 @@ USERS=		${TINYAUTH_USER}
 GROUPS=		${TINYAUTH_GROUP}
 
 PLIST_FILES=	bin/${PORTNAME} \
-		"@dir(${TINYAUTH_USER},${TINYAUTH_GROUP},0750) /var/db/${PORTNAME}"
+		"@dir(${TINYAUTH_USER},${TINYAUTH_GROUP},0750) /var/db/${PORTNAME}" \
+		"@sample etc/newsyslog.conf.d/${PORTNAME}.conf.sample"
 
 # Run 'git checkout ${DISTVERSIONPREFIX}${DISTVERSION} && git rev-parse HEAD'
 # in the Tinyauth repository to get the value of GITID.
-GITID=		479f1657812b7bf01438607464dedaa148155301
+GITID=		c7077a7c845dc71f9cbab55dc15151920887881e
 
 BUILD_DATE=	$$(date -u '+%Y-%m-%dT%H:%M:%S')
 
@@ -58,5 +58,7 @@ post-extract:
 
 post-install:
 	@${MKDIR} ${STAGEDIR}/var/db/${PORTNAME}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d
+	${INSTALL_DATA} ${FILESDIR}/newsyslog.conf ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/${PORTNAME}.conf.sample
 
 .include <bsd.port.mk>
diff --git a/www/tinyauth/distinfo b/www/tinyauth/distinfo
index f44ac63d1205..e6dc0b89fffc 100644
--- a/www/tinyauth/distinfo
+++ b/www/tinyauth/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1776447798
-SHA256 (tinyauth-v5.0.7.frontend.tar.gz) = 0094e98a41f9936416a92b36f86a32a55ea274bd1c78719727ed238ddbdd5546
-SIZE (tinyauth-v5.0.7.frontend.tar.gz) = 988230
-SHA256 (tinyauth-v5.0.7.vendor.tar.gz) = f79834df38daa8cfdd5d9c78fe564846a6b262fc8af7e33e1edd309cb8eefcdc
-SIZE (tinyauth-v5.0.7.vendor.tar.gz) = 58190053
-SHA256 (steveiliop56-tinyauth-v5.0.7_GH0.tar.gz) = a1e76e26b964d1888ac7c07b95e3c9adba18840de066fc11a363207d28809611
-SIZE (steveiliop56-tinyauth-v5.0.7_GH0.tar.gz) = 4789501
+TIMESTAMP = 1785101963
+SHA256 (tinyauth-v5.1.2.frontend.tar.gz) = 3e92b322f85f9db0e83c0e0154aa5e4595af36e8902df21a531de6cfdee1dfce
+SIZE (tinyauth-v5.1.2.frontend.tar.gz) = 1004510
+SHA256 (tinyauth-v5.1.2.vendor.tar.gz) = b72ad659f124d527ae7e12f454817bc07556ce1ce52f3f4985a1ab1d2d973e53
+SIZE (tinyauth-v5.1.2.vendor.tar.gz) = 39593562
+SHA256 (steveiliop56-tinyauth-v5.1.2_GH0.tar.gz) = 4753242daf3ef02368c3e5c3536a6cb293cf09508c3efcf090fee6ebc4fd403a
+SIZE (steveiliop56-tinyauth-v5.1.2_GH0.tar.gz) = 4945950
diff --git a/www/tinyauth/files/newsyslog.conf b/www/tinyauth/files/newsyslog.conf
new file mode 100644
index 000000000000..7723d7cfce8e
--- /dev/null
+++ b/www/tinyauth/files/newsyslog.conf
@@ -0,0 +1,6 @@
+# configuration file for newsyslog for tinyauth
+#
+# see newsyslog.conf(5) for details
+#
+# logfilename          [owner:group]    mode count size when  flags [/pid_file] [sig_num]
+/var/log/tinyauth.log			644  7	  1000 *      JC    /var/run/tinyauthd.pid
diff --git a/www/tinyauth/files/tinyauth.in b/www/tinyauth/files/tinyauth.in
index 35d0d05f8687..287061014968 100644
--- a/www/tinyauth/files/tinyauth.in
+++ b/www/tinyauth/files/tinyauth.in
@@ -29,11 +29,12 @@ load_rc_config $name
 : ${tinyauth_env_file:="%%PREFIX%%/etc/tinyauth.env"}
 : ${tinyauth_logfile:="/var/log/tinyauth.log"}
 : ${tinyauth_pidfile:="/var/run/tinyauth.pid"}
+: ${tinyauth_supervisor_pidfile:="/var/run/tinyauthd.pid"}
 : ${tinyauth_runas:="%%USER%%"}
 
 pidfile="${tinyauth_pidfile}"
 procname="%%LOCALBASE%%/bin/tinyauth"
 command="/usr/sbin/daemon"
-command_args="-o '${tinyauth_logfile}' -p '${pidfile}' -u '${tinyauth_runas}' -t '${desc}' -- '${procname}'"
+command_args="-o '${tinyauth_logfile}' -P '${tinyauth_supervisor_pidfile}' -p '${pidfile}' -u '${tinyauth_runas}' -t '${name}: ${desc}' -- '${procname}'"
 
 run_rc_command "$1"