cvs commit: ports/sysutils/smartmontools Makefile pkg-plist
ports/sysutils/smartmontools/files smartd.in
Doug Barton
dougb at FreeBSD.org
Wed Feb 15 08:46:58 UTC 2012
dougb 2012-02-15 08:46:57 UTC
FreeBSD ports repository
Modified files:
sysutils/smartmontools Makefile pkg-plist
sysutils/smartmontools/files smartd.in
Log:
This change has various simplifications/improvements for
the port. Most importantly, it's currently installing the rc.d
script from the source, rather than the fixed one in files/.
1. Remove 6.x compatibility hack
2. Use the PORTDOCS macro
3. Actually install the rc.d script in files/
4. Simplify pkg-plist
5. For the rc.d script:
a. Move it to the standard location, after LOGIN
b. Add KEYWORD nojail per the script in the distfiles
c. Put the standard arguments in their usual order/formats
d. Simplify the assignments of pidfile and required_files
e. Use command_args for required arguments, don't abuse _flags
f. The test for -p in smartd_flags should be a start_precmd,
we frown on running any code unconditionally.
Also, improve this check if -p is first.
g. Bring the reload and report options from the distfile version,
and simplify them.
PR: ports/165167
Submitted by: me
Approved by: Alex Samorukov <samm at os2.kiev.ua> (maintainer)
Revision Changes Path
1.57 +4 -4 ports/sysutils/smartmontools/Makefile
1.4 +51 -25 ports/sysutils/smartmontools/files/smartd.in
1.8 +1 -19 ports/sysutils/smartmontools/pkg-plist
More information about the cvs-ports
mailing list