[Pkg-ossec-devel] [pkg-ossec] 16/18: Refreshed patch #02.

Jose Antonio Quevedo Muñoz jaqm-guest at alioth.debian.org
Tue Aug 13 15:24:53 UTC 2013


This is an automated email from the git hooks/post-receive script.

jaqm-guest pushed a commit to branch debian
in repository pkg-ossec.

commit ba968b3bee1c585ea9a18010dd81400cfecb8eb1
Author: Jose Antonio Quevedo <joseantonio.quevedo at gmail.com>
Date:   Tue Aug 13 16:45:55 2013 +0200

    Refreshed patch #02.
---
 debian/patches/02-add-chroot-option.patch |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/debian/patches/02-add-chroot-option.patch b/debian/patches/02-add-chroot-option.patch
index 92f495d..e776092 100644
--- a/debian/patches/02-add-chroot-option.patch
+++ b/debian/patches/02-add-chroot-option.patch
@@ -242,7 +242,7 @@ Last-Update: 2012-08-26
      /* Changing user */
 --- a/src/addagent/main.c
 +++ b/src/addagent/main.c
-@@ -73,6 +73,7 @@
+@@ -71,6 +71,7 @@
      char *user_msg;
  
      int c = 0, cmdlist = 0;
@@ -250,7 +250,7 @@ Last-Update: 2012-08-26
      char *cmdexport = NULL;
      char *cmdimport = NULL;
      char *cmdbulk = NULL;
-@@ -88,7 +89,7 @@
+@@ -86,7 +87,7 @@
      OS_SetName(ARGV0);
  
  
@@ -259,7 +259,7 @@ Last-Update: 2012-08-26
          switch(c){
  	        case 'V':
  		        print_version();
-@@ -127,6 +128,12 @@
+@@ -125,6 +126,12 @@
              case 'l':
                  cmdlist = 1;
                  break;
@@ -272,7 +272,7 @@ Last-Update: 2012-08-26
              default:
                  helpmsg();
                  break;
-@@ -158,16 +165,18 @@
+@@ -156,16 +163,18 @@
  
  
      /* Chrooting to the default directory */
@@ -464,7 +464,7 @@ Last-Update: 2012-08-26
      /* Inserting server info into the db */
 --- a/src/remoted/main.c
 +++ b/src/remoted/main.c
-@@ -69,6 +69,17 @@
+@@ -68,6 +68,17 @@
                  if(!optarg)
                      ErrorExit("%s: -D needs an argument",ARGV0);
                  dir = optarg;
@@ -482,7 +482,7 @@ Last-Update: 2012-08-26
          }
      }
  
-@@ -115,11 +126,13 @@
+@@ -114,11 +125,13 @@
              ErrorExit(SETGID_ERROR, ARGV0, group);
  
      /* Going on chroot */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ossec/pkg-ossec.git



More information about the Pkg-ossec-devel mailing list