commit:     fca566ef8b92459424c1ce6d9157726773992ed3
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 13 03:48:45 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Apr 13 03:48:45 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fca566ef

www-servers/nginx: add pax-mark for USE=pax-mark

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 .../nginx/{nginx-1.14.2-r3.ebuild => nginx-1.14.2-r4.ebuild}        | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/www-servers/nginx/nginx-1.14.2-r3.ebuild 
b/www-servers/nginx/nginx-1.14.2-r4.ebuild
similarity index 99%
rename from www-servers/nginx/nginx-1.14.2-r3.ebuild
rename to www-servers/nginx/nginx-1.14.2-r4.ebuild
index c7c8f616f3a..dde537f4fa2 100644
--- a/www-servers/nginx/nginx-1.14.2-r3.ebuild
+++ b/www-servers/nginx/nginx-1.14.2-r4.ebuild
@@ -165,7 +165,7 @@ NJS_MODULE_WD="${WORKDIR}/njs-${NJS_MODULE_PV}"
 SSL_DEPS_SKIP=1
 AUTOTOOLS_AUTO_DEPEND="no"
 
-inherit autotools ssl-cert toolchain-funcs perl-module flag-o-matic user 
systemd versionator multilib
+inherit autotools ssl-cert toolchain-funcs perl-module flag-o-matic user 
systemd versionator multilib pax-utils
 
 DESCRIPTION="Robust, small and high performance http and reverse proxy server"
 HOMEPAGE="https://nginx.org";
@@ -751,6 +751,10 @@ src_install() {
        insinto /etc/logrotate.d
        newins "${FILESDIR}"/nginx.logrotate-r1 nginx
 
+       if use luajit; then
+               pax-mark m "${ED%/}/usr/sbin/nginx"
+       fi
+
        if use nginx_modules_http_perl; then
                cd "${S}"/objs/src/http/modules/perl/ || die
                emake DESTDIR="${D}" INSTALLDIRS=vendor

Reply via email to