openbsd-ports/net/pdnsd/patches/patch-Makefile_in
sthen 4258a3d762 SECURITY update to 1.2.7; fixes crash on long replies, randomises source
ports.  Other bug and portability fixes (now works on !i386).  Upstream now
using GPLv3; update license marker.  From Brad.
2009-01-02 22:28:21 +00:00

22 lines
670 B
Plaintext

$OpenBSD: patch-Makefile_in,v 1.5 2009/01/02 22:28:21 sthen Exp $
--- Makefile.in.orig Thu Sep 4 12:20:38 2008
+++ Makefile.in Fri Sep 12 04:41:24 2008
@@ -546,7 +546,7 @@ info-am:
install-data-am:
@$(NORMAL_INSTALL)
- $(MAKE) $(AM_MAKEFLAGS) install-data-hook
+ $(MAKE) $(AM_MAKEFLAGS)
install-exec-am:
@@ -599,7 +599,7 @@ install-data-hook:
$(mkinstalldirs) $(DESTDIR)$(cachedir)
test -f $(DESTDIR)$(cachedir)/pdnsd.cache || \
touch $(DESTDIR)$(cachedir)/pdnsd.cache
- if test `whoami` = "root"; then \
+ if test `userinfo -e _pdnsd`; then \
chown $(def_id) $(DESTDIR)$(cachedir)/pdnsd.cache; \
chown $(def_id) $(DESTDIR)$(cachedir); \
fi