summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-09-02 10:14:38 +0200
committerMichał Górny <mgorny@gentoo.org>2020-09-02 10:14:38 +0200
commit233113890bf9d581fa05932f209107347c76a57b (patch)
tree3fcd599ab680e82a13900d6745965d515aa25fbe
parentapp-mobilephone/obexftp: Remove last-rited pkg (diff)
downloadgentoo-233113890bf9d581fa05932f209107347c76a57b.tar.gz
gentoo-233113890bf9d581fa05932f209107347c76a57b.tar.bz2
gentoo-233113890bf9d581fa05932f209107347c76a57b.zip
www-misc/nx_util: Remove last-rited pkg
Closes: https://bugs.gentoo.org/735524 Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--profiles/package.mask5
-rw-r--r--www-misc/nx_util/Manifest2
-rw-r--r--www-misc/nx_util/files/0.52.1-fix-install-paths.patch49
-rw-r--r--www-misc/nx_util/metadata.xml9
-rw-r--r--www-misc/nx_util/nx_util-0.52.1.ebuild34
-rw-r--r--www-misc/nx_util/nx_util-0.53.1.ebuild34
6 files changed, 0 insertions, 133 deletions
diff --git a/profiles/package.mask b/profiles/package.mask
index 5b6c21a34b6e..752564e75ef4 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -662,11 +662,6 @@ net-wireless/cpyrit-cuda
net-wireless/cpyrit-opencl
net-wireless/pyrit
-# Aaron Bauman <bman@gentoo.org> (2020-08-02)
-# Py2 only. m-n. Bug #735524
-# Removal in 30 days
-www-misc/nx_util
-
# Mikle Kolyada <zlogene@gentoo.org> (2020-08-02)
# consolekit is abandoned upstream.
# People are encouraged to switch to any logind
diff --git a/www-misc/nx_util/Manifest b/www-misc/nx_util/Manifest
deleted file mode 100644
index 2dc8656ebbe6..000000000000
--- a/www-misc/nx_util/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST ngx_http_naxsi-0.52-1.tar.gz 162044 BLAKE2B 59944e8aff454f8b2b7eb5d548a7c4a43c3009dc3637dd90feea28d3ec28fec127ba47c323142aa9c2f4cff7ecf34f7afd8cd7b17444bf976bbe0ab2a9fdcde8 SHA512 e1d3b4b3284d5b3f44ec5888023e6853c06519f99f3de768d8420d50a8bd50ae4d77c2413e441caa5dedc420f28ab3413d79fe56fc9aee8636a9b20adea7be74
-DIST ngx_http_naxsi-0.53-1.tar.gz 165627 BLAKE2B faef43290a629e3e7b05b0135d50eeb6ad44edfef330b81a7655ad416066aa86e00f75713108d22d874a10a069ac8962c3182bb6647dfa35673857c331e99747 SHA512 33e3a92242304f4e5900cb66915651f1c5ba78f40b27f41c1d81353390ef6baef5a6a03042441c200d4e489e70f251d782efe0644b916a2ff34833be8a8fd385
diff --git a/www-misc/nx_util/files/0.52.1-fix-install-paths.patch b/www-misc/nx_util/files/0.52.1-fix-install-paths.patch
deleted file mode 100644
index 1a2752e3b20b..000000000000
--- a/www-misc/nx_util/files/0.52.1-fix-install-paths.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-diff --git a/nx_util/nx_util.conf b/nx_util/nx_util.conf
-index cd2a591..818daaf 100644
---- a/nx_util/nx_util.conf
-+++ b/nx_util/nx_util.conf
-@@ -1,4 +1,4 @@
- [nx_util]
--data_dir=/usr/local/nx_datas
-+data_dir=/usr/share/nx_datas
- database_dir=
- naxsi_core_rules=/etc/nginx/naxsi_core.rules
-diff --git a/nx_util/nx_util.py b/nx_util/nx_util.py
-old mode 100644
-new mode 100755
-index 0509b51..38be37e
---- a/nx_util/nx_util.py
-+++ b/nx_util/nx_util.py
-@@ -62,8 +62,8 @@ if __name__ == "__main__":
-
- # Configuration
- parser.add_option("-c", "--config", dest="conf_path",
-- help="Path to configuration (defaults to /usr/local/etc/nx_util.conf)",
-- type="string", default="/usr/local/etc/nx_util.conf")
-+ help="Path to configuration (defaults to /etc/nx_util.conf)",
-+ type="string", default="/etc/nx_util.conf")
-
- # Filtering options should go here :)
- parser.add_option("-f", "--filters", dest="usr_filter",
-diff --git a/nx_util/setup.py b/nx_util/setup.py
-index cc48a5c..b855459 100644
---- a/nx_util/setup.py
-+++ b/nx_util/setup.py
-@@ -8,14 +8,14 @@ setup(name='nx_util',
- author='Naxsi Dev Team',
- author_email='thibault.koechlin@nbs-system.com',
- url='naxsi.googlecode.com',
-- scripts=['nx_util.py'],
-+ scripts=['nx_util'],
- packages=['nx_lib'],
-- data_files=[('nx_datas', ['nx_datas/bootstrap.min.css',
-+ data_files=[('/usr/share/nx_datas', ['nx_datas/bootstrap.min.css',
- 'nx_datas/bootstrap-responsive.min.css',
- 'nx_datas/highcharts.js',
- 'nx_datas/map.tpl',
- 'nx_datas/bootstrap.min.js',
- 'nx_datas/country2coords.txt']),
- ('/usr/share/man/man1', ['nx_util.1.gz']),
-- ('/usr/local/etc/', ['nx_util.conf'])]
-+ ('/etc/', ['nx_util.conf'])]
- )
diff --git a/www-misc/nx_util/metadata.xml b/www-misc/nx_util/metadata.xml
deleted file mode 100644
index 57bdd9e71c0d..000000000000
--- a/www-misc/nx_util/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="google-code">naxsi</remote-id>
- <remote-id type="github">nbs-system/naxsi</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/www-misc/nx_util/nx_util-0.52.1.ebuild b/www-misc/nx_util/nx_util-0.52.1.ebuild
deleted file mode 100644
index f0f2265043c8..000000000000
--- a/www-misc/nx_util/nx_util-0.52.1.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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 App 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}/${PV}-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"
-}
diff --git a/www-misc/nx_util/nx_util-0.53.1.ebuild b/www-misc/nx_util/nx_util-0.53.1.ebuild
deleted file mode 100644
index 3ea7c4f0c8a4..000000000000
--- a/www-misc/nx_util/nx_util-0.53.1.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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 App 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"
-}