From nobody Sun Dec 29 21:44:22 2024 X-Original-To: dev-commits-ports-main@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 4YLt6b1FMrz5jrhT; Sun, 29 Dec 2024 21:44:23 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YLt6b0hb8z4Wtg; Sun, 29 Dec 2024 21:44:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735508663; 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=pcJKqM+YnVFxO1nqDoHjNfNnzf6tRYQByv/Ki5/p/D8=; b=RYQyu6bM0KZhIy4+z20ENimv35RzQV/o3ni0ruyFYz0PNEjUN5dGCnbKK+n0BVhkKrmRTV FVqz+czdB4lnfBZJainkO0z0pXGk1PIR3SvxsglSp54+CmlLnPZS47VY7r0ZYV6FFokAlu 34HUDbMuEPHoXu46MifhCDcPlN5xx/qpgFGhziQgAUzfaT9l73C7YDD9GtDYHcR7LZ6QR6 KE1IcsfItFXcj1Mj3wUVsYwpPUev7klPjUhnuUEz8WcsDgf95E5GZf8wbP9JbHSsm30BQg LD79+zkMs4iMrNxhQTuuB69Q23NB1kMynyBlNqwN+NamMpTli9MKbkH3AXqkpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735508663; 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=pcJKqM+YnVFxO1nqDoHjNfNnzf6tRYQByv/Ki5/p/D8=; b=knKNdKSMfykUwHsNiX5i8UtQfKxGDqpUkps2DXe3f6J1QNzLhOa3X3+v1QehgM5iVz8LPN oAS2SS6NMs5y+t8+Y/vYsEMYnLuHhWKMNeZEeEeGEtQDkgHhsyDJChhm3HfRJVKUVON3pg 6PsZuXc5FXv0UjVzTOkjpExAH6mNDMnJfeZO/Xd6pdwSE/BkT7VwNxVDYfgnvlxSb1rMgt EBrDs4qApv95ZIqXQPOorQxmG8vVSmWxBG4+hvGi1l2WYI2i7XR3KE2YeLYnpSDSqcIKMI p9Jo2BVTrekPPPGy8tYoGHOIV3ALWwn/Bl/n+gfnjEDv11DYRUo7ByAOKHEJbA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735508663; a=rsa-sha256; cv=none; b=bpXS+6fVX11IL8newDFpzMUBiDW2O0QMtuP2EkQ4QB5vOx/Sm6TF2hcfO6NznFxpYy24L2 ajClkZA5C5wjaYbMuEdqOPbryujlPlU6IKOit8uU7wT3lhHfkBHg6aGHVwBLkDNeY8KnEc X9037InDm4/rJHDE/DdUnKElCpw+XBf22zMcO730P7UvOWysbyBVlmc5pri+x9umQ94s8k 8rLOC8GaPAnKSNsiEo9YcsLU36GyRlQofTZtc52C+mMoemOXkVW6PcJdbPmntVZq0OmSYF /2w3Q0CRIai4tNlt/Sb3V78ll8L4sfsSdl3mXGGu+FN8x7js4Cqc+GMiSi6+qg== 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 4YLt6b0HtVzRNq; Sun, 29 Dec 2024 21:44:23 +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 4BTLiMUx046122; Sun, 29 Dec 2024 21:44:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BTLiMkm046119; Sun, 29 Dec 2024 21:44:22 GMT (envelope-from git) Date: Sun, 29 Dec 2024 21:44:22 GMT Message-Id: <202412292144.4BTLiMkm046119@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Gleb Smirnoff Subject: git: c56f2a7ef8c8 - main - net/minidlna: rescan/rebuild support in rc script List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: glebius X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c56f2a7ef8c8ce8d11277f12343fd2dee1358ec9 Auto-Submitted: auto-generated The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/ports/commit/?id=c56f2a7ef8c8ce8d11277f12343fd2dee1358ec9 commit c56f2a7ef8c8ce8d11277f12343fd2dee1358ec9 Author: Gleb Smirnoff AuthorDate: 2024-12-29 21:42:09 +0000 Commit: Gleb Smirnoff CommitDate: 2024-12-29 21:42:09 +0000 net/minidlna: rescan/rebuild support in rc script Fix the rescan command to actually send rescan signal to minidlnad, instead of doing a rebuild. Add rebuild command. Submitted by: gerrit@weinberg2.de PR: 259953 --- net/minidlna/Makefile | 2 +- net/minidlna/files/minidlna.in | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/net/minidlna/Makefile b/net/minidlna/Makefile index 84312f3d116d..909617bd413b 100644 --- a/net/minidlna/Makefile +++ b/net/minidlna/Makefile @@ -1,6 +1,6 @@ PORTNAME= minidlna PORTVERSION= 1.3.3 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= net multimedia www diff --git a/net/minidlna/files/minidlna.in b/net/minidlna/files/minidlna.in index 4329e9c00927..55e51d10ef36 100644 --- a/net/minidlna/files/minidlna.in +++ b/net/minidlna/files/minidlna.in @@ -25,7 +25,8 @@ command_args="-P $pidfile -u $minidlna_uid -f %%PREFIX%%/etc/minidlna.conf" start_precmd="install -d -o $minidlna_uid ${pidfile%/*} /var/db/minidlna" stop_postcmd="rm -f $pidfile" -extra_commands=rescan -rescan_cmd="$command -R -u $minidlna_uid -f %%PREFIX%%/etc/minidlna.conf" +extra_commands="rescan rebuild" +rescan_cmd="$command -r -u $minidlna_uid -f %%PREFIX%%/etc/minidlna.conf" +rebuild_cmd="$command -R -u $minidlna_uid -f %%PREFIX%%/etc/minidlna.conf" run_rc_command $1