dca4ca3df8
* replace hard coded user and mode for hping-suid option with SPECIAL_PERMS. * replace remaining of hard coded "man" with ${PKGMANDIR}. * add DESTDIR support. * merge patch-a{e,g}, both for same file. * patch to replace __sun__ with __sun for portability, pkglint(1) said. * also regen other patches with mkpatches(1).
10 lines
260 B
Makefile
10 lines
260 B
Makefile
# $NetBSD: options.mk,v 1.2 2009/02/11 08:06:17 obache Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.hping
|
|
PKG_SUPPORTED_OPTIONS= hping-suid
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mhping-suid)
|
|
SPECIAL_PERMS+= sbin/hping2 ${SETUID_ROOT_PERMS}
|
|
.endif
|