aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-mgmt/jffnms/Makefile1
-rw-r--r--net-mgmt/jffnms/files/jffnms_db.sh2
-rw-r--r--net/jffnms/Makefile1
-rw-r--r--net/jffnms/files/jffnms_db.sh2
4 files changed, 4 insertions, 2 deletions
diff --git a/net-mgmt/jffnms/Makefile b/net-mgmt/jffnms/Makefile
index 6090d54ca8d0..44e9e69c6a2d 100644
--- a/net-mgmt/jffnms/Makefile
+++ b/net-mgmt/jffnms/Makefile
@@ -7,6 +7,7 @@
PORTNAME= jffnms
PORTVERSION= 0.8.1
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=${PORTNAME}
diff --git a/net-mgmt/jffnms/files/jffnms_db.sh b/net-mgmt/jffnms/files/jffnms_db.sh
index aa6c14df53ee..fbad3589fb2d 100644
--- a/net-mgmt/jffnms/files/jffnms_db.sh
+++ b/net-mgmt/jffnms/files/jffnms_db.sh
@@ -6,6 +6,6 @@
echo "CREATE DATABASE jffnms;
GRANT ALL PRIVILEGES ON jffnms.* TO jffnms@localhost
IDENTIFIED BY 'jffnms';
- FLUSH PRIVILEGES;"
+ FLUSH PRIVILEGES; use jffnms;"
cat %JFFNMSDIR%/docs/%JFFNMS%.mysql
} | mysql ${*}
diff --git a/net/jffnms/Makefile b/net/jffnms/Makefile
index 6090d54ca8d0..44e9e69c6a2d 100644
--- a/net/jffnms/Makefile
+++ b/net/jffnms/Makefile
@@ -7,6 +7,7 @@
PORTNAME= jffnms
PORTVERSION= 0.8.1
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=${PORTNAME}
diff --git a/net/jffnms/files/jffnms_db.sh b/net/jffnms/files/jffnms_db.sh
index aa6c14df53ee..fbad3589fb2d 100644
--- a/net/jffnms/files/jffnms_db.sh
+++ b/net/jffnms/files/jffnms_db.sh
@@ -6,6 +6,6 @@
echo "CREATE DATABASE jffnms;
GRANT ALL PRIVILEGES ON jffnms.* TO jffnms@localhost
IDENTIFIED BY 'jffnms';
- FLUSH PRIVILEGES;"
+ FLUSH PRIVILEGES; use jffnms;"
cat %JFFNMSDIR%/docs/%JFFNMS%.mysql
} | mysql ${*}