On Wed, 24 Aug 2016 10:59:21 -0400
[email protected] wrote:

>   These things get left in forever.  I once filed a bug report
> https://bugs.gentoo.org/show_bug.cgi?id=569056 because the warning that
> English word lists in vim had been removed was still present *TWO YEARS*
> after the fact.
> 
>   How flexible is the ewarn option?  Can printing the warning be made
> conditional?  I suggest warning only if there are any hits on...
> 
> grep -l '^#!/sbin/runscript' /etc/init.d/*
> 
>   Note the single-quote around the expression.  Otherwise "#" can be a
> special character for grep.  Furthermore, "grep -l" output can be used
> to tell the enduser which specific scripts are non-compliant.

There's a few other options we can use here as well ... 

1. GLEP 65, but I'm still not entirely sure how all this works.

https://wiki.gentoo.org/wiki/GLEP:65

2. pkg_postinst

3. pkg_info

https://devmanual.gentoo.org/ebuild-writing/functions/pkg_info/index.html

With #3 that means 

emerge --info sys-devel/openrc 

Could fire up a quick grep and tell users which specific things need fixing 
still.

Attachment: pgparr6t_xYT_.pgp
Description: OpenPGP digital signature

Reply via email to