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
This commit is contained in:
Alan Somers 2020-04-19 02:20:39 +00:00
parent 1796400d62
commit 72a600a7a1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=360088
4 changed files with 9 additions and 3 deletions

View File

@ -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

View File

@ -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 ,

View File

@ -18,6 +18,7 @@ SRCS= auditd_lib.c
CFLAGS+= -I${OPENBSMDIR} -I${_LIBBSMDIR}
WARNS?= 3
PRIVATELIB= true
MAN=

View File

@ -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 \