[Pkg-ossec-devel] [SCM] Git repository for pkg-ossec branch, upstream, updated. 323182e18c48135ccb8acda25bde0b7a4723215e

Jose Antonio Quevedo joseantonio.quevedo at gmail.com
Fri Jul 29 17:13:01 UTC 2011


The following commit has been merged in the upstream branch:
commit 323182e18c48135ccb8acda25bde0b7a4723215e
Author: Jose Antonio Quevedo <joseantonio.quevedo at gmail.com>
Date:   Fri Jul 29 19:12:36 2011 +0200

    Revert "You don't need to be root to build the package."
    
    This reverts commit 80a8aef9e9678c2f3421d73496c2700d21019957.
    
    Conflicts:
    
    	install.sh

diff --git a/install.sh b/install.sh
index 7b2f590..ff0320e 100755
--- a/install.sh
+++ b/install.sh
@@ -12,7 +12,6 @@
 # New function AddTable to add support for OpenBSD pf rules in firewall-drop active response
 
 
-
 ### Looking up for the execution directory
 cd `dirname $0`
 
@@ -77,9 +76,6 @@ Install()
 
     echo "CEXTRA=${CEXTRA}" >> ./src/Config.OS
 
-  # If only-building
-  if [ "X${BUILD}" = "Xyes" ]; then
-
     # Makefile
 	echo " - ${runningmake}"
     cd ./src
@@ -100,11 +96,6 @@ Install()
         fi
     fi
 
-    exit 0
-
-  else # End of building
-
-
     # If update, stop ossec
     if [ "X${update_only}" = "Xyes" ]; then
         UpdateStopOSSEC
@@ -155,7 +146,7 @@ Install()
             notmodified="yes"
         fi
     fi
-  fi
+
 }
 
 
@@ -934,13 +925,10 @@ main()
         catError "0x1-location";
     fi
 
-
-  if [ ! "X$BUILD" = "Xyes" ]; then
     # Must be root
     if [ ! "X$ME" = "Xroot" ]; then
         catError "0x2-beroot";
     fi
-  fi
 
     # Checking dependencies
     checkDependencies

-- 
Git repository for pkg-ossec



More information about the Pkg-ossec-devel mailing list