Date: Sun, 21 Sep 2014 15:18:34 +0200 From: Jan Beich <jbeich@vfemail.net> To: freebsd-ports@freebsd.org Subject: require root priveleges for port build Message-ID: <ppep-ru1h-wny@vfemail.net>
next in thread | raw e-mail | index | archive | help
My port[1] needs to execute chroot(8) and mount(8) in order to build a binary fit to be run under linux_base-*. Sometimes there's no .rpm or source needs patching. Looking at bsd.port.mk it has a notion of _SUSEQ targets that are executed within SU_CMD context. However, a port cannot define them because the value may be overriden or ignored by a target already existing in _SEQ. NEED_ROOT seems to an undocumented hack for staging. Can someone suggest a way to force build be performed under root? [1] https://trillian.chruetertee.ch/freebsd-gecko/browser/trunk/www/linux-c6-freshplayerplugin/Makefile ------------------------------------------------- VFEmail.net - http://www.vfemail.net ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ppep-ru1h-wny>