On Sat, Sep 15, 2018 at 09:19:33AM +0200, Sebastien Marie wrote:
> Hi,
> 
> Here an update for sysclean.

Committed, thanks :-)


> 
> It was mostly a release with some stuff waiting in my local
> repository... thanks to aja@ and jmc@ for help and contributions.
> 
> ChangeLog:
> 
> - add new expected/ignored files
>   - letsencrypt-privkey.pem and letsencrypt-staging-privkey.pem
>   - pubkeys/ directories for iked an isakmpd (when enabled)
>   - run/ and zones/ directory for nsd (when enabled)
> 
> - reorder options in man page
> 
> 
> And while here, a small recall about stuff for iked(8), isakmpd(8) and
> nsd(8): some files are *conditionally* considered in order to let users
> to have simple sysclean.ignore file.
> 
> Currently, several base daemons has such configuration in sysclean:
> - accounting (ok, it isn't a daemon)
> - apmd
> - hotplugd
> - iked
> - isakmpd
> - lpd
> - nsd
> - smptd
> - unbound
> - xendom
> 
> It means several files or directories for these daemons will, by
> default, not be reported, if the daemon is enabled with rcctl(8).
> 
> For example, if you have hotplugd(8) enabled, you will have
> /etc/hotplug/attach or /etc/hotplug/detach automatically skipped in
> sysclean processing (and as soon you disable hotplugd(8), the files
> will be reported).
> 
> But it isn't magical ! The list of files per daemon is static and no
> processing of configuration files is done. So if you call
> /etc/my-hotplug-script.sh from /etc/hotplug/attach,
> /etc/my-hotplug-script.sh will be reported. It is only a help for users
> having simple configuration, and /etc/sysclean.ignore should (must ?)
> still be used.
> 
> For files/directories from ports, if the port's PLIST is correctly
> configured, sysclean should be aware that some file belong to the port
> and not report them. See @extra and @sample annotation from
> pkg_create(1) man page. But again, nothing magical: some port will need
> manual addition in /etc/sysclean.ignore.
> 
> Have fun !
> -- 
> Sebastien Marie
> 
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/sysutils/sysclean/Makefile,v
> retrieving revision 1.17
> diff -u -p -r1.17 Makefile
> --- Makefile  27 Feb 2018 14:05:06 -0000      1.17
> +++ Makefile  15 Sep 2018 05:25:20 -0000
> @@ -2,9 +2,8 @@
>  
>  COMMENT =    list obsolete files between OpenBSD upgrades
>  
> -V =          2.6
> +V =          2.7
>  DISTNAME =   sysclean-${V}
> -REVISION =   0
>  
>  CATEGORIES = sysutils
>  HOMEPAGE =   https://github.com/semarie/sysclean/
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/sysutils/sysclean/distinfo,v
> retrieving revision 1.15
> diff -u -p -r1.15 distinfo
> --- distinfo  6 Nov 2017 09:26:48 -0000       1.15
> +++ distinfo  15 Sep 2018 05:25:26 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (sysclean-2.6.tar.gz) = PYTQH8gS0D4inwSknz50b9PtWErX2AhmgrHPgkQ3qjs=
> -SIZE (sysclean-2.6.tar.gz) = 5855
> +SHA256 (sysclean-2.7.tar.gz) = 4Ga47353LKWMVodxVYfm85SyZye3ulhcmUZW04LQD0g=
> +SIZE (sysclean-2.7.tar.gz) = 5945
> 

-- 
Antoine

Reply via email to