commit: 2c9230b9847c3539f9f0d5bacafa79279368757a
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail
<DOT> com>
AuthorDate: Wed Feb 15 16:50:45 2017 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sat Feb 18 04:45:31 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c9230b9
www-misc/nx_util: remove unused patch
www-misc/nx_util/files/0.3-fix-install-paths.patch | 47 ----------------------
1 file changed, 47 deletions(-)
diff --git a/www-misc/nx_util/files/0.3-fix-install-paths.patch
b/www-misc/nx_util/files/0.3-fix-install-paths.patch
deleted file mode 100644
index 919c94ac4e..0000000000
--- a/www-misc/nx_util/files/0.3-fix-install-paths.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-diff --git a/nx_util.conf b/nx_util.conf
-index cd2a591..818daaf 100644
---- a/nx_util.conf
-+++ b/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.py b/nx_util.py
-index 81c5030..eb7e888 100755
---- a/nx_util.py
-+++ b/nx_util.py
-@@ -61,8 +61,8 @@ nginx/naxsi log parser, whitelist and report generator.
-
- # 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/setup.py b/setup.py
-index c08f4e6..7b15fd8 100644
---- a/setup.py
-+++ b/setup.py
-@@ -8,14 +8,14 @@ setup(name='nx_util',
- author='Naxsi Dev Team',
- author_email='[email protected]',
- 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'])]
- )