diff options
Diffstat (limited to 'www-misc/nx_util/nx_util-0.53.1.ebuild')
-rw-r--r-- | www-misc/nx_util/nx_util-0.53.1.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/www-misc/nx_util/nx_util-0.53.1.ebuild b/www-misc/nx_util/nx_util-0.53.1.ebuild new file mode 100644 index 000000000000..3f6c610f4c9a --- /dev/null +++ b/www-misc/nx_util/nx_util-0.53.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="sqlite" +DISTUTILS_SINGLE_IMPL=true + +inherit distutils-r1 versionator + +MY_PV="$(replace_version_separator 2 '-')" + +DESCRIPTION="Whitelist & Reports generation for Naxsi (Web Application Firewall module for Nginx)" +HOMEPAGE="https://github.com/nbs-system/naxsi" +# keep the name in sync with what's in the nginx ebuild to avoid duplication +SRC_URI="https://github.com/nbs-system/naxsi/archive/${MY_PV}.tar.gz -> ngx_http_naxsi-${MY_PV}.tar.gz" + +LICENSE="GPL-2+ Apache-2.0 CC-BY-NC-SA-3.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="" +RDEPEND="www-servers/nginx[nginx_modules_http_naxsi]" + +PATCHES=( "${FILESDIR}/0.52.1-fix-install-paths.patch" ) + +S="${WORKDIR}/naxsi-${MY_PV}/nx_util" + +src_prepare() { + distutils-r1_src_prepare + mv nx_util{.py,} || die "renaming script failed" +} |