git: 3920c5dda033 - main - sysutils/am-utils: Default amd_enable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 14 Jan 2022 15:57:37 UTC
The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=3920c5dda033a80a1bd0776bddac292d65d8cac2 commit 3920c5dda033a80a1bd0776bddac292d65d8cac2 Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2022-01-14 15:07:26 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2022-01-14 15:57:15 +0000 sysutils/am-utils: Default amd_enable Fix WARNING: $amd_enable is not set properly PR: 261193 Reported by: Graham Perrin <grahamperrin@gmail.com> MFH: 2022Q1 --- sysutils/am-utils/Makefile | 2 +- sysutils/am-utils/files/amd.in | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sysutils/am-utils/Makefile b/sysutils/am-utils/Makefile index ef0ec8839b8d..090525c7864f 100644 --- a/sysutils/am-utils/Makefile +++ b/sysutils/am-utils/Makefile @@ -2,7 +2,7 @@ PORTNAME= am-utils PORTVERSION= 6.2 -PORTREVISION= 9 +PORTREVISION= 10 PORTEPOCH= 1 CATEGORIES= sysutils net MASTER_SITES= ftp://ftp.am-utils.org/pub/am-utils/ \ diff --git a/sysutils/am-utils/files/amd.in b/sysutils/am-utils/files/amd.in index 025aa012eed8..25c3a8cbbda0 100644 --- a/sysutils/am-utils/files/amd.in +++ b/sysutils/am-utils/files/amd.in @@ -7,6 +7,8 @@ # BEFORE: DAEMON # KEYWORD: nojail shutdown +amd_enable=${nut_enable:-"NO"} + . /etc/rc.subr name="amd"