From nobody Mon Aug 11 06:54:03 2025 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4c0ljR6gn8z64MvP; Mon, 11 Aug 2025 06:54:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c0ljR55b6z3Vm4; Mon, 11 Aug 2025 06:54:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754895243; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9OCtFYVePOrv+Tk3puXOoZ0oIujiSoD+zIma1rbKDP0=; b=fuZw28ZvB5xkbVjrpjnHKf1uHeB0I5yHFIsmJ6hKan7bdf4PkEDxP0CWErl3fDmJ/wLVY4 sz9H7cJbd2PJ9Zc9PL/KZQ8IvIz8+hRE77igzOxYk1aOMBOgzm16BLNn/iVqUTRWq0ciok miQRhxcHte5kwrwiTCtvZpztOqQz/6L1RLK+yXx7TJJoVOkB23a3eu+Zo47EOOm+zVSvCs tEf/5zc5S0uiZEA8MHDjCX5i+XIFaMW8rr6phEj9C8CdpUn5XoL9XXcsgC5+7jnJzGMaMP u02i2Wg4YrF0BijT/iCY6qUT4Y0Qzz4Yqhjz6Yxh1B8e1rAAFXeqk/tzsMUplA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754895243; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9OCtFYVePOrv+Tk3puXOoZ0oIujiSoD+zIma1rbKDP0=; b=MiIMikYOk3QOztpgnApcAXv7wQweN4lE8N3rnApeMlLeFLX9fNIJ1VWfA5IJgzE0ZB19Fn 0pGgNPA0QB4psUSGFjWj3Zlsh7eMoJNb4ergko2WhQxnEAqBgm/aPDkBDpacR5BkB+p2vz IEAhUER+2vm0xV6817Z/DOKlDinHTqrC/PW8YhPWl2VSrIxgcu83fj1Rr6APV+ogFeAR0G JseIOlfXLYNsWdBTW/2ZLGCIkNAAissDAB6p3xQ06KFJndiq2nopgEecT0UjxdHEPN/gKd 37Bmg5jiiHM8Rx+WoaQXyGWW6cQZM1EWDMkoF7qA7tghgzQteje3kayjRvWpeQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1754895243; a=rsa-sha256; cv=none; b=sUAKUYi3dP2cOXIJHoVCkurmE0HG1FJqSFSgkD5hwSayjPAX4u7neF0SaFNBIZnot02aQo gLBJ7v/RzVa8xZ82PfDyMg6hjm/QZsMGVEUGPDJn+AzuK3aoaQN0RF9RaJ4pn37E4l4qOS hD9y6xqI40NCHdfy30MKTr6amdowSg7YeKuK/kFHeg9x45pkb6f1GSkK6xPyNGMPi5xfOo aAYnj14xW5oAXlxwHmdK4DLKP/MMSXcvF7nurlbxQLij5mUOr7W7+UTLfpivzDO6G/0e2c pUsgI1C0BrSanr4B7a2K6m9xAaBeMJ3biFlZwIS2keQVcsaboyYTZlpxipj/LQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4c0ljR4d8pzj1W; Mon, 11 Aug 2025 06:54:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 57B6s3W3098534; Mon, 11 Aug 2025 06:54:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 57B6s3vv098531; Mon, 11 Aug 2025 06:54:03 GMT (envelope-from git) Date: Mon, 11 Aug 2025 06:54:03 GMT Message-Id: <202508110654.57B6s3vv098531@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Jes=C3=BAs?= Daniel Colmenares Oviedo Subject: git: 6b771b3b9ecb - main - www/github-release-monitor: New port: Self-hostable application to monitor GitHub repository releases List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dtxdf X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6b771b3b9ecbc3561d4c88bba292a800458eaf3c Auto-Submitted: auto-generated The branch main has been updated by dtxdf: URL: https://cgit.FreeBSD.org/ports/commit/?id=6b771b3b9ecbc3561d4c88bba292a800458eaf3c commit 6b771b3b9ecbc3561d4c88bba292a800458eaf3c Author: Jesús Daniel Colmenares Oviedo AuthorDate: 2025-08-11 06:33:58 +0000 Commit: Jesús Daniel Colmenares Oviedo CommitDate: 2025-08-11 06:53:29 +0000 www/github-release-monitor: New port: Self-hostable application to monitor GitHub repository releases Github Release Monitor is a powerful, self-hostable application to automatically monitor GitHub repository releases and receive instant email or Apprise notifications. Keep track of your favorite projects without manually checking for updates. Approved by: acm (mentor) --- www/Makefile | 1 + www/github-release-monitor/Makefile | 42 + www/github-release-monitor/distinfo | 3 + .../files/github-release-monitor.env | 8 + .../files/github-release-monitor.in | 33 + www/github-release-monitor/files/pkg-message.in | 21 + www/github-release-monitor/pkg-descr | 4 + www/github-release-monitor/pkg-plist | 2026 ++++++++++++++++++++ 8 files changed, 2138 insertions(+) diff --git a/www/Makefile b/www/Makefile index f7c7223f0123..cfe75dc07690 100644 --- a/www/Makefile +++ b/www/Makefile @@ -220,6 +220,7 @@ SUBDIR += ghostunnel SUBDIR += gist SUBDIR += gitea + SUBDIR += github-release-monitor SUBDIR += gitlab SUBDIR += gitlab-pages SUBDIR += gitlab-workhorse diff --git a/www/github-release-monitor/Makefile b/www/github-release-monitor/Makefile new file mode 100644 index 000000000000..fd0bd3ea6bd6 --- /dev/null +++ b/www/github-release-monitor/Makefile @@ -0,0 +1,42 @@ +PORTNAME= github-release-monitor +DISTVERSIONPREFIX= v +DISTVERSION= 1.2.2 +CATEGORIES= www +MASTER_SITES= LOCAL/dtxdf/${PORTNAME}/ + +MAINTAINER= dtxdf@FreeBSD.org +COMMENT= Self-hostable application to monitor GitHub repository releases +WWW= https://github.com/iamspido/${PORTNAME} + +LICENSE= AGPLv3 + +USES= nodejs:current,run + +USE_RC_SUBR= ${PORTNAME} + +NO_ARCH= yes +NO_BUILD= yes +SUB_FILES= pkg-message +SUB_LIST= HOMEDIR=${GRM_HOMEDIR} \ + USER=${GRM_USER} + +WRKSRC= ${WRKDIR}/${PORTNAME}-files + +PLIST_SUB= GROUP=${GRM_GROUP} \ + HOMEDIR=${GRM_HOMEDIR} \ + USER=${GRM_USER} + +GRM_HOMEDIR= ${WWWDIR} +GRM_USER= www +GRM_GROUP= www + +do-install: + @${MKDIR} ${STAGEDIR}${GRM_HOMEDIR} + @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${GRM_HOMEDIR} + +post-install: + ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.env ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.env + @${MKDIR} ${STAGEDIR}${GRM_HOMEDIR}/data + @${MKDIR} ${STAGEDIR}${GRM_HOMEDIR}/.next/cache + +.include diff --git a/www/github-release-monitor/distinfo b/www/github-release-monitor/distinfo new file mode 100644 index 000000000000..567f9202192e --- /dev/null +++ b/www/github-release-monitor/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1754874690 +SHA256 (github-release-monitor-v1.2.2.tar.gz) = 3521aadf4bb9908780a8fe6763a6c717ac7e20835799fbef8e41fa63d9224ad3 +SIZE (github-release-monitor-v1.2.2.tar.gz) = 7257792 diff --git a/www/github-release-monitor/files/github-release-monitor.env b/www/github-release-monitor/files/github-release-monitor.env new file mode 100644 index 000000000000..fd45a3bded85 --- /dev/null +++ b/www/github-release-monitor/files/github-release-monitor.env @@ -0,0 +1,8 @@ +NEXT_TELEMETRY_DISABLED=1 +NODE_ENV=production +HOSTNAME=0.0.0.0 +PORT=3000 +HTTPS=false +AUTH_SECRET=this_is_an_insecure_password_please_change_me +AUTH_USERNAME=admin +AUTH_PASSWORD=admin diff --git a/www/github-release-monitor/files/github-release-monitor.in b/www/github-release-monitor/files/github-release-monitor.in new file mode 100644 index 000000000000..0c47e7495ffb --- /dev/null +++ b/www/github-release-monitor/files/github-release-monitor.in @@ -0,0 +1,33 @@ +#!/bin/sh + +# PROVIDE: github_release_monitor +# REQUIRE: LOGIN +# KEYWORD: shutdown +# +# Configuration settings for Github Release Monitor in /etc/rc.conf +# +# github_release_monitor_enable (bool): Enable Github Release Monitor. +# github_release_monitor_log (str): Log output. +# github_release_monitor_runas (str): User to run Github Release Monitor as. +# + +. /etc/rc.subr + +name="github_release_monitor" +desc="Self-hostable application to monitor GitHub repository releases" +rcvar="${name}_enable" + +load_rc_config $name + +: ${github_release_monitor_enable:="NO"} +: ${github_release_monitor_env_file:="%%PREFIX%%/etc/github-release-monitor.env"} +: ${github_release_monitor_log:="/var/log/github_release_monitor.log"} +: ${github_release_monitor_runas:="%%USER%%"} + +github_release_monitor_chdir="%%HOMEDIR%%" +pidfile="/var/run/${name}.pid" +procname="%%LOCALBASE%%/bin/node" +command="/usr/sbin/daemon" +command_args="-u '${github_release_monitor_runas}' -p '${pidfile}' -t '${desc}' -o '${github_release_monitor_log}' '${procname}' server.js" + +run_rc_command "$1" diff --git a/www/github-release-monitor/files/pkg-message.in b/www/github-release-monitor/files/pkg-message.in new file mode 100644 index 000000000000..8500015261bb --- /dev/null +++ b/www/github-release-monitor/files/pkg-message.in @@ -0,0 +1,21 @@ +[ +{ type: install + message: <