From 3e4d446c96505b6f1e68e925d7a8a9f09e5043e0 Mon Sep 17 00:00:00 2001 From: doug Date: Wed, 4 Jan 2017 09:04:09 -0500 Subject: [PATCH] NSM: fix spelling error #1055 --- debian/changelog | 6 ++ debian/patches/NSM:-fix-spelling-error-#1055 | 91 ++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 98 insertions(+) create mode 100644 debian/patches/NSM:-fix-spelling-error-#1055 diff --git a/debian/changelog b/debian/changelog index 9489357..a94de28 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +securityonion-nsmnow-admin-scripts (20120724-0ubuntu0securityonion154) trusty; urgency=medium + + * NSM: fix spelling error #1055 + + -- Doug Burks Wed, 04 Jan 2017 09:02:49 -0500 + securityonion-nsmnow-admin-scripts (20120724-0ubuntu0securityonion153) trusty; urgency=medium * sguild-add-user and sguild-changepasswd are now in /usr/sbin/ diff --git a/debian/patches/NSM:-fix-spelling-error-#1055 b/debian/patches/NSM:-fix-spelling-error-#1055 new file mode 100644 index 0000000..2dbb304 --- /dev/null +++ b/debian/patches/NSM:-fix-spelling-error-#1055 @@ -0,0 +1,91 @@ +Description: + TODO: Put a short summary on the line above and replace this paragraph + with a longer explanation of this change. Complete the meta-information + with other relevant fields (see below for details). To make it easier, the + information below has been extracted from the changelog. Adjust it or drop + it. + . + securityonion-nsmnow-admin-scripts (20120724-0ubuntu0securityonion154) trusty; urgency=medium + . + * NSM: fix spelling error #1055 +Author: Doug Burks + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: , +Bug: +Bug-Debian: http://bugs.debian.org/ +Bug-Ubuntu: https://launchpad.net/bugs/ +Forwarded: +Reviewed-By: +Last-Update: + +--- securityonion-nsmnow-admin-scripts-20120724.orig/usr/lib/nsmnow/lib-nsm-common-utils ++++ securityonion-nsmnow-admin-scripts-20120724/usr/lib/nsmnow/lib-nsm-common-utils +@@ -2392,7 +2392,7 @@ apparmor_del() + # Update an existing entry in the specified profile file. + # + # Arguments: +-# profile (string) profile containing the entry to udpate ++# profile (string) profile containing the entry to update + # entry_old (string) entry to be replaced + # entry_new (string) entry to be inserted + # +--- securityonion-nsmnow-admin-scripts-20120724.orig/usr/sbin/nsm_sensor_add ++++ securityonion-nsmnow-admin-scripts-20120724/usr/sbin/nsm_sensor_add +@@ -581,7 +581,7 @@ fi + #chmod 775 "/nsm/sensor_data/$SENSOR_NAME" "/nsm/sensor_data/$SENSOR_NAME/dailylogs" "/nsm/sensor_data/$SENSOR_NAME/portscans" "/nsm/sensor_data/$SENSOR_NAME/sancp" "/etc/nsm/$SENSOR_NAME" "/etc/nsm/$SENSOR_NAME/rules" + chmod 775 "/nsm/sensor_data/$SENSOR_NAME" "/nsm/sensor_data/$SENSOR_NAME/dailylogs" "/nsm/sensor_data/$SENSOR_NAME/portscans" "/nsm/sensor_data/$SENSOR_NAME/sancp" "/etc/nsm/$SENSOR_NAME" + +-# udpate sensortab ++# update sensortab + sensortab_entry_add $SENSOR_NAME $SENSOR_AUTO $SENSOR_BARNYARD2_PORT $SENSOR_INTERFACE + if [ "$?" -ne 0 ] + then +--- securityonion-nsmnow-admin-scripts-20120724.orig/usr/sbin/nsm_sensor_del ++++ securityonion-nsmnow-admin-scripts-20120724/usr/sbin/nsm_sensor_del +@@ -189,7 +189,7 @@ then + fi + fi + +-# udpate sensortab ++# update sensortab + echo_msg_begin 1 "updating the sensor table" + sensortab_entry_del $SENSOR_NAME + echo_msg_end "$?" +--- securityonion-nsmnow-admin-scripts-20120724.orig/usr/sbin/nsm_sensor_edit ++++ securityonion-nsmnow-admin-scripts-20120724/usr/sbin/nsm_sensor_edit +@@ -522,7 +522,7 @@ input unified2 + output sguil: sensor_name=$NEW_SENSOR_NAME agent_port=$NEW_SENSOR_BARNYARD2_PORT + EOF_BARNYARD2 + +-# udpate sensortab (remove old and add the new) ++# update sensortab (remove old and add the new) + sensortab_entry_del $SENSOR_NAME + if [ "$?" -ne 0 ] + then +--- securityonion-nsmnow-admin-scripts-20120724.orig/usr/sbin/nsm_server_del ++++ securityonion-nsmnow-admin-scripts-20120724/usr/sbin/nsm_server_del +@@ -196,7 +196,7 @@ echo_msg_begin 1 "removing database" + server_sguil_database_drop "$SERVER_DB_NAME" "$SERVER_DB_USER" + echo_msg_end "$?" + +-# udpate servertab ++# update servertab + echo_msg_begin 1 "updating the server table" + servertab_entry_del $SERVER_NAME + echo_msg_end "$?" +--- securityonion-nsmnow-admin-scripts-20120724.orig/usr/sbin/nsm_server_edit ++++ securityonion-nsmnow-admin-scripts-20120724/usr/sbin/nsm_server_edit +@@ -411,7 +411,7 @@ then + fi + fi + +-# udpate servertab ++# update servertab + servertab_entry_del $SERVER_NAME + if [ "$?" -ne 0 ] + then diff --git a/debian/patches/series b/debian/patches/series index e64e4e8..ec7cc8f 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -146,3 +146,4 @@ update-copyright-date-in-nsm_sensor_clean NSM:-create-usrsbinbroctl-#1043 usrsbinbroctl---check-for-root-privileges sguild-add-user-and-sguild-changepasswd-are-now-in-usrsbin +NSM:-fix-spelling-error-#1055