the makefile for the latest gradm tries to run gradm, which fails when there is no /dev/grsec existing.
Please do not try to execute it, when DESTDIR is not empty. This should be the easiest way to find out if it is being compiled for a distribution.
Thx
Heiko
make[1]: Entering directory `/data/build/tmp/gradm2'
mkdir -p /data/build/tmp/tmp/sbin
/usr/bin/install -c -m 0755 gradm /data/build/tmp/tmp/sbin
/usr/bin/strip /data/build/tmp/tmp/sbin/gradm
/usr/bin/install -c -m 0700 grlearn /data/build/tmp/tmp/sbin
/usr/bin/strip /data/build/tmp/tmp/sbin/grlearn
mkdir -p -m 700 /data/build/tmp/tmp/etc/grsec
mkdir -p /data/build/tmp/tmp/usr/share/man/man8
/usr/bin/install -c -m 0644 gradm.8 /data/build/tmp/tmp/usr/share/man/man8/gradm.8
Could not open /dev/grsec.
open: No such file or directory
@if [ -x $(DESTDIR)/sbin/$(GRADM_BIN) ] ; then \
$(FIND) $(DESTDIR)$(GRSEC_DIR) -type f -name pw -size 48c -exec rm -f $(DESTDIR)$(GRSEC_DIR)/pw \; ; \
if [ ! -f $(DESTDIR)$(GRSEC_DIR)/pw ] ; then \
$(DESTDIR)/sbin/$(GRADM_BIN) -P ; \
fi \
fi