Date: Sun, 19 Apr 2020 02:20:40 +0000 (UTC) From: Alan Somers <asomers@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r360088 - in head: . contrib/openbsm/bin/auditd lib/libauditd share/mk Message-ID: <202004190220.03J2Kemi043069@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: asomers Date: Sun Apr 19 02:20:39 2020 New Revision: 360088 URL: https://svnweb.freebsd.org/changeset/base/360088 Log: libauditd: make it a PRIVATELIB According to the upstream man page (which we don't install), none of libauditd's symbols are intended to be public. Also, I can't find any evidence for a port that uses libauditd. Therefore, we should treat it like other such libraries and use PRIVATELIB. Reported by: phk Reviewed by: cem, emaste MFC after: 2 weeks Modified: head/ObsoleteFiles.inc head/contrib/openbsm/bin/auditd/auditd.8 head/lib/libauditd/Makefile head/share/mk/src.libnames.mk Modified: head/ObsoleteFiles.inc ============================================================================== --- head/ObsoleteFiles.inc Sun Apr 19 02:18:40 2020 (r360087) +++ head/ObsoleteFiles.inc Sun Apr 19 02:20:39 2020 (r360088) @@ -36,6 +36,12 @@ # xargs -n1 | sort | uniq -d; # done +# 20200418: Make libauditd private +OLD_FILES+=usr/lib/libauditd.a +OLD_FILES+=usr/lib/libauditd.so +OLD_LIBS+=usr/lib/libauditd.so.5 +OLD_FILES+=usr/lib/libauditd_p.a + # 20200418: Remove bogus man links OLD_FILES+=usr/share/man/man3/getauusernam_R.3.gz OLD_FILES+=usr/share/man/man3/getauclassnam_3.3.gz Modified: head/contrib/openbsm/bin/auditd/auditd.8 ============================================================================== --- head/contrib/openbsm/bin/auditd/auditd.8 Sun Apr 19 02:18:40 2020 (r360087) +++ head/contrib/openbsm/bin/auditd/auditd.8 Sun Apr 19 02:20:39 2020 (r360088) @@ -25,7 +25,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd July 25, 2015 +.Dd April 18, 2020 .Dt AUDITD 8 .Os .Sh NAME @@ -113,7 +113,6 @@ and are no longer available as arguments to .Nm . .Sh SEE ALSO .Xr asl 3 , -.Xr libauditd 3 , .Xr audit 4 , .Xr audit_class 5 , .Xr audit_control 5 , Modified: head/lib/libauditd/Makefile ============================================================================== --- head/lib/libauditd/Makefile Sun Apr 19 02:18:40 2020 (r360087) +++ head/lib/libauditd/Makefile Sun Apr 19 02:20:39 2020 (r360088) @@ -18,6 +18,7 @@ SRCS= auditd_lib.c CFLAGS+= -I${OPENBSMDIR} -I${_LIBBSMDIR} WARNS?= 3 +PRIVATELIB= true MAN= Modified: head/share/mk/src.libnames.mk ============================================================================== --- head/share/mk/src.libnames.mk Sun Apr 19 02:18:40 2020 (r360087) +++ head/share/mk/src.libnames.mk Sun Apr 19 02:20:39 2020 (r360088) @@ -15,6 +15,7 @@ __<src.libnames.mk>__: _PRIVATELIBS= \ atf_c \ atf_cxx \ + auditd \ bsdstat \ devdctl \ event \ @@ -72,7 +73,6 @@ _LIBRARIES= \ alias \ archive \ asn1 \ - auditd \ avl \ be \ begemot \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004190220.03J2Kemi043069>