summarylogtreecommitdiffstats
diff options
context:
space:
mode:
author4le34n2017-08-14 19:10:52 +1100
committer4le34n2017-08-14 19:10:52 +1100
commit7c115487fc9d955e5b27b2250986acd3b8375d57 (patch)
treead48a1290b5544fa8d4ef2c39b210ae032920f10
parentb2687bfc809dda63bce6afa953af81ce9982266e (diff)
downloadaur-7c115487fc9d955e5b27b2250986acd3b8375d57.tar.gz
Update file: README.pkg
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD5
-rw-r--r--README.pkg30
-rw-r--r--install47
4 files changed, 39 insertions, 49 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 58070b8a14dc..89a9922d7132 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Mon Aug 14 07:52:22 UTC 2017
+# Mon Aug 14 08:10:29 UTC 2017
pkgbase = nfsen
pkgdesc = Netflow visualisation and investigation tool
pkgver = 1.3.8
- pkgrel = 18
+ pkgrel = 20
url = https://sourceforge.net/projects/nfsen
install = install
arch = i686
@@ -38,7 +38,7 @@ pkgbase = nfsen
md5sums = e8ffd8c767aca866050d679b609a0db9
md5sums = 69d219f123963071f89f3d55cda489d9
md5sums = ad1b4a004dacd0508033fcfca763a2fe
- md5sums = 22b95f9cb8f2cf3aa340d2c468a0fafd
+ md5sums = 19e7acd1c98f32009de6541f4e5e39f9
md5sums = ba000ec98e02b4baec2afd9aa5f52854
md5sums = 69898397995d35b1d53d6a61b16b24a8
md5sums = d60d7334fb00e85ea3230f059ae660aa
diff --git a/PKGBUILD b/PKGBUILD
index 54e51e48629b..bb260873c21a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=nfsen
pkgver=1.3.8
-pkgrel=18
+pkgrel=20
pkgdesc="Netflow visualisation and investigation tool"
arch=('i686' 'x86_64')
url="https://sourceforge.net/projects/nfsen"
@@ -54,6 +54,7 @@ package() {
install -Dm755 "$srcdir/create_top_protocols" "$pkgdir/opt/$pkgname/bin/create_top_protocols"
}
+
md5sums=('fc45b3f44a66c2ed65d1269e479c2414'
'7ce142a55af2e18d5db8e419dcc85d3d'
'106f4e354e42d44e64d24d7e16ca8b4a'
@@ -61,7 +62,7 @@ md5sums=('fc45b3f44a66c2ed65d1269e479c2414'
'e8ffd8c767aca866050d679b609a0db9'
'69d219f123963071f89f3d55cda489d9'
'ad1b4a004dacd0508033fcfca763a2fe'
- '22b95f9cb8f2cf3aa340d2c468a0fafd'
+ '19e7acd1c98f32009de6541f4e5e39f9'
'ba000ec98e02b4baec2afd9aa5f52854'
'69898397995d35b1d53d6a61b16b24a8'
'd60d7334fb00e85ea3230f059ae660aa')
diff --git a/README.pkg b/README.pkg
index 179d5d00d93e..3b5688ebc37a 100644
--- a/README.pkg
+++ b/README.pkg
@@ -2,14 +2,24 @@
# README.pkg
#
+#
+# INSTALL:
+#
To complete the installation, run:
cd /usr/share/webapps/nfsen
su -c "./install.pl /etc/nfsen/nfsen.conf"
+#
+# UPDATES:
+#
If you edited /etc/nfsen.conf you also need to run:
cd /usr/share/webapps/nfsen
su -c "./install.pl /etc/nfsen/nfsen.conf"
+
+#
+# WEB:
+#
If you want to use the nginx to access the web, run:
sudo pacman -S nginx php-fpm
Edit /etc/php/php.ini:
@@ -22,11 +32,27 @@ If you want to use the nginx to access the web, run:
If you are using a web server Apache you know what to do :)
+#
+# PROFILES:
+#
To build a profile by protocols, run:
sudo create_top_protocols --consumers 8 --divide-up-down --profile-name top_8_protocols
To build a profile in the directions, run:
sudo create_top_directions --consumers 10 --divide-up-down --profile-name top_10_directions
- WARNING!!! - Required file /etc/nfsen/asnum.desc
+WARNING!!! - Required file /etc/nfsen/asnum.desc
+It should look something like this:
+ cat /etc/nfsen/asnum.desc
+42140 DISPLAY-AS
+42141 GERMES-TELECOM-AS
+42142 ANPM
+42144 NTIK-AS
+42145 BSTV-AS
+42146 UNICA-BRANCH
+42147 GISADTELEKOM
+42148 BEIREL-AS
+
+
+#
+# End README.pkg:
-# End:
diff --git a/install b/install
index d3cfe543cadc..0a8a717c6e21 100644
--- a/install
+++ b/install
@@ -11,55 +11,18 @@ post_install() {
note " cd /usr/share/webapps/nfsen"
note " su -c "./install.pl /etc/nfsen/nfsen.conf""
note ""
- note "If you edited /etc/nfsen.conf you also need to run:"
- note " cd /usr/share/webapps/nfsen"
- note " su -c "./install.pl /etc/nfsen/nfsen.conf""
- note ""
- note "If you want to use the nginx to access the web, run:"
- note " sudo pacman -S nginx php-fpm"
- note " Edit /etc/php/php.ini:"
- note " Remove comment from ";extension=sockets.so" string"
- note " Set up virtualhost in nginx"
- note " An example of the setting for nginx is in the file /usr/share/doc/nfsen/vhost-nginx.conf "
- note " And run:"
- note " sudo systemctl start nginx php-fpm"
- note ""
- note "If you are using a web server Apache you know what to do :)"
- note ""
- note ""
- note "To build a profile by protocols, run:"
- note " sudo create_top_protocols --consumers 8 --divide-up-down --profile-name top_8_protocols"
- note ""
- note "To build a profile in the directions, run:"
- note " sudo create_top_directions --consumers 10 --divide-up-down --profile-name top_10_directions"
+ note "For more information on installation and configuration, see:"
+ note " /usr/share/doc/nfsen/README.pkg and others"
note ""
}
post_upgrade() {
- note "To complete the update, run:"
- note " cd /usr/share/webapps/nfsen"
- note " su -c "./install.pl /etc/nfsen/nfsen.conf""
note ""
- note "If you edited /etc/nfsen.conf you also need to run:"
+ note "To complete the update, run:"
note " cd /usr/share/webapps/nfsen"
note " su -c "./install.pl /etc/nfsen/nfsen.conf""
note ""
- note "If you want to use the nginx to access the web, run:"
- note " sudo pacman -S nginx php-fpm"
- note " Edit /etc/php/php.ini:"
- note " Remove comment from ";extension=sockets.so" string"
- note " Set up virtualhost in nginx"
- note " An example of the setting for nginx is in the file /usr/share/doc/nfsen/vhost-nginx.conf "
- note " And run:"
- note " sudo systemctl start nginx php-fpm"
- note ""
- note "If you are using a web server Apache you know what to do :)"
- note ""
- note ""
- note "To build a profile by protocols, run:"
- note " sudo create_top_protocols --consumers 8 --divide-up-down --profile-name top_8_protocols"
- note ""
- note "To build a profile in the directions, run:"
- note " sudo create_top_directions --consumers 10 --divide-up-down --profile-name top_10_directions"
+ note "For more information on installation and configuration, see:"
+ note " /usr/share/doc/nfsen/README.pkg and others"
note ""
}