[Bug 280135] security/clamav: fix filename of the rc script to comply to the rc scripting recommendations
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 05 Jul 2024 08:19:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280135 Bug ID: 280135 Summary: security/clamav: fix filename of the rc script to comply to the rc scripting recommendations Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: yasu@freebsd.org Reporter: netchild@FreeBSD.org Flags: maintainer-feedback?(yasu@freebsd.org) Assignee: yasu@freebsd.org Created attachment 251878 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=251878&action=edit rename clamav rc scripts Hi, The attached patch fixes some issues with the rc script. A generic discussion about the rc scripts in the ports collection which contains a lot more background information about the "why" of this patch is at https://lists.freebsd.org/archives/freebsd-ports/2024-July/006342.html Short: - the filename shall be the same as the content of the name variable inside the script - (already OK) PROVIDE shall be the same as the content of the name variable inside the script - this fixes the use of the script with service jails (new feature in -current) Additionally to what is discussed there and fixed in the patch, I made the following additional changes: - add an UPATING entry (date needs to be adapted, this may conflict at the time when you apply/commit) You may want to run the following before applying the patch: git mv security/clamav-lts/files/clamav-clamd.in security/clamav-lts/files/clamav_clamd.in git mv security/clamav-lts/files/clamav-freshclam.in security/clamav-lts/files/clamav_freshclam.in git mv security/clamav-lts/files/clamav-milter.in security/clamav-lts/files/clamav_milter.in git mv security/clamav/files/clamav-freshclam.in security/clamav/files/clamav_freshclam.in git mv security/clamav/files/clamav-clamd.in security/clamav/files/clamav_clamd.in git mv security/clamav/files/clamav-milter.in security/clamav/files/clamav_milter.in This was run-tested with security/clamav (clamd+freshclam) inside service jails. Bye, Alexander. -- You are receiving this mail because: You are the assignee for the bug.