summaryrefslogtreecommitdiffstats
path: root/usr.bin/keyinfo/Makefile
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2000-08-10 22:53:49 +0000
committerimp <imp@FreeBSD.org>2000-08-10 22:53:49 +0000
commita0197881962d5923c553f55278bbad4a174d1ca8 (patch)
tree04cdc85cf41beb28b159739428c7a2491206ea39 /usr.bin/keyinfo/Makefile
parent6c05154b7af6c0f9f67f10fa34be1aab93ca1793 (diff)
downloadFreeBSD-src-a0197881962d5923c553f55278bbad4a174d1ca8.zip
FreeBSD-src-a0197881962d5923c553f55278bbad4a174d1ca8.tar.gz
Eliminate the only setuid perl script in the tree.
Original 'C' progam submitted by Juriy Goloveshkin. A different 'C' program also submitted by dima. I merged and rewrote them to include error handling, use getlogin for user name and only the BSD boilerplate license remained from the original code. We also only allow root to get other user's keys. Review, bikeshed and bdelint(1): myself, kris, dima, markm
Diffstat (limited to 'usr.bin/keyinfo/Makefile')
-rw-r--r--usr.bin/keyinfo/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/usr.bin/keyinfo/Makefile b/usr.bin/keyinfo/Makefile
index 1fdd57c..dfe130c 100644
--- a/usr.bin/keyinfo/Makefile
+++ b/usr.bin/keyinfo/Makefile
@@ -1,11 +1,10 @@
# @(#)Makefile 5.5 (Berkeley) 7/1/90
+# $FreeBSD$
BINMODE=4555
-
-MAN1= keyinfo.1
-
-beforeinstall:
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
- ${.CURDIR}/keyinfo.pl ${DESTDIR}${BINDIR}/keyinfo
+PROG= keyinfo
+LDFLAGS=-lskey -lcrypt -lmd
+DPADD= ${LIBSKEY} ${LIBCRYPT} ${LIBMD}
+CFLAGS+=-Wall
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud