GitHub PullRequestReviewCommentEvent at 2014-10-07 14:00:51
Repository: ossec-hids
Actor: cgzones
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/ossec/ossec-hids/pulls/comments/18520485","id":18520485,"diff_hunk":"@@ -1,99 +1,1050 @@\n-# Makefile\n-# Daniel B. Cid <dcid@sourcefire.com>||<daniel@underlinux.com.br>\n-# http://www.ossec.net/hids/\n-\n-none:\n-\t\t@echo \"Nothing selected ...\"\n-\t\t@echo \"\\\"make all\\\" to compile everything.\"\n-\t\t@echo \"\\\"make server\\\" to build the server.\"\n-\t\t@echo \"\\\"make local\\\" to build the local.\"\n-\t\t@echo \"\\\"make agent\\\" to build the agent.\"\n-\t\t@echo \"\\\"make libs\\\" to build the libraries only.\"\n-\t\t@echo \"\\\"make clean\\\" to clean anything built.\"\n-\t\t@echo \"\\\"make setagent\\\" to set agent install.\"\n-\t\t@echo \"\\\"make setlocal\\\" to set local install.\"\n-\t\t@echo \"\\\"make setclang\\\" to use clang for building ossec.\"\n-\t\t@echo \"\\\"make unsetclang\\\" to use gcc for building ossec.\"\n-\t\t@echo \"\\\"make setprelude\\\" to enable prelude output.\"\n-\t\t@echo \"\\\"make setdb\\\" to enable database support.\"\n-\t\t@echo \"\\\"make unsetdb\\\" to disable database support.\"\n-\t\t@echo \"\\\"make setoneway\\\" to enable one-way connection to the manager.\"\n-\t\t@echo \"\\\"make setgeoip\\\" to enable source IP geolocalization.\"\n-\n-clean:\n-\t\t@/bin/sh ./Makeall clean\n-\t\trm -f ../bin/*\n-\t\trmdir ../bin/\n-\t\trm -f isbigendian\n-\t\trm -rf win-pkg/\n-\t\trm -f Config.OS\n-\t\trm -f win32/LICENSE.txt\n-\t\trm -f win32/help_win.txt\n-\t\trm -f win32/internal_options-win.conf\n-\t\trm -f win32/local_internal_options-win.conf\n-\t\trm -f win32/ossec-win.conf\n-\t\trm -f win32/restart-ossec.cmd\n-\t\trm -f win32/route-null.cmd\n-\n-all:\n-\t\t@/bin/sh ./Makeall all\n-\t\t\n-test:\n-\t\t@/bin/sh ./Makeall test\n-\n-build:\n-\t\t@/bin/sh ./Makeall build\n-\n-libs:\n-\t\t@/bin/sh ./Makeall libs\n-\n-server:\n-\t\t@/bin/sh ./InstallServer.sh\n-\n-local:\n-\t\t@/bin/sh ./InstallServer.sh local\n-\n-agent:\n-\t\t@/bin/sh ./InstallAgent.sh\n-\n-windows_agent:\n-\t\t( cd win32 && /bin/sh ./gen_win.sh )\n-\t\t( cd win-pkg && /bin/sh ./make.sh )\n-\n-setagent:\n-\t\t@echo \"CEXTRA=-DCLIENT\" >> ./Config.OS\n-\n-setclang:\n-\t\t@mv Config.Make Config.Make.backup\n-\t\t@sed -e \"s/^CC?=.*/CC=clang/g\" Config.Make.backup > Config.Make\n-\t\t@rm Config.Make.backup\n-\n-unsetclang:\n-\t\t@mv Config.Make Config.Make.backup\n-\t\t@sed -e \"s/^CC=clang/CC?=cc/g\" Config.Make.backup > Config.Make\n-\t\t@rm Config.Make.backup\n-\n-setprelude:\n-\t\t@echo \"CPRELUDE=-DPRELUDE -lprelude `libprelude-config --pthread-cflags` `libprelude-config --libs`\" >> ./Config.OS\n-\n-setgeoip:\n-\t\t@echo \"CGEOIP=-DGEOIP\" >> ./Config.OS\n-\t\t@echo \"CGEOIPLIB=-I/usr/local/include -L/usr/local/lib -lGeoIP\" >> ./Config.OS\n-\n-setdb:\n-\t\t@cd ./os_dbd; echo \"CDB=`./dbmake.sh`\" >> ../Config.OS;\n-setmaxagents:\n-\t\t@/bin/sh ./Makeall setmaxagents\n-unsetdb:\n-\t\t@echo \"CDB=\" >> ./Config.OS;\n-setlocal:\n-\t\t@echo \"CEXTRA=-DLOCAL\" >> ./Config.OS\n-\n-setfullsubject:\n-\t\t@echo \"FEXTRA=-DCLEANFULL\" >> ./Config.OS\n-\n-setoneway:\n-\t\t@echo \"FEXTRA=-DONEWAY\" >> ./Config.OS\n-\n-setzeromq:\n-\t\t@echo \"CZEROMQ_OUTPUT=-DZEROMQ_OUTPUT -lzmq -lczmq\" >> ./Config.OS\n+\n+# II: mysql and postgresql\n+\n+uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')\n+\n+\n+\n+\n+\n+\n+EXTERNAL_JSON=external/cJSON/\n+EXTERNAL_LUA=external/lua/\n+EXTERNAL_ZLIB=external/zlib-1.2.8/\n+LUA_PLAT=posix\n+MAXAGENTS?=2048\n+# XXX Becareful NO EXTRA Spaces here\n+PREFIX?=/var/ossec\n+PG_CONFIG?=pg_config\n+MY_CONFIG?=mysql_config\n+PRELUDE_CONFIG?=libprelude-config\n+OSSEC_GROUP?=ossec\n+OSSEC_USER?=ossec\n+OSSEC_USER_MAIL?=ossecm\n+OSSEC_USER_REM?=ossecr\n+\n+USE_PRELUDE?=0\n+USE_ZEROMQ?=0\n+USE_GEOIP?=0\n+\n+DEFINES=-DMAX_AGENTS=${MAXAGENTS} -DOSSECHIDS\n+DEFINES+=-DDEFAULTDIR=\\\"${PREFIX}\\\"\n+DEFINES+=-DUSER=\\\"${OSSEC_USER}\\\"\n+DEFINES+=-DREMUSER=\\\"${OSSEC_USER_REM}\\\"\n+DEFINES+=-DGROUPGLOBAL=\\\"${OSSEC_GROUP}\\\"\n+DEFINES+=-DMAILUSER=\\\"${OSSEC_USER_MAIL}\\\"\n+\n+ifeq (${uname_S},Linux)\n+\t\tDEFINES+=-DUSEINOTIFY\n+#\t\tDEFINES+=-DUSE_MAGIC\n+\t\tLDFLAGS+=-lpthread\n+#\t\tLDFLAGS+=-lmagic\n+else\n+ifeq (${uname_S},AIX)\n+\t\tDEFINES+=-DAIX\n+\t\tDEFINES+=-DHIGHFIRST\n+\t\tPATH=${PATH}:/usr/vac/bin\n+else\n+ifeq (${uname_S},SunOS)\n+\t\tDEFINES+=-DSOLARIS\n+\t\tDEFINES+=-DHIGHFIRST\n+\t\tLDFLAGS+=-lsocket -lnsl -lresolv\n+\t\tLUA_PLAT=solaris\n+\t\tPATH=${PATH}:/usr/ccs/bin:/usr/xpg4/bin:/opt/csw/gcc3/bin:/opt/csw/bin:/usr/sfw/bin\n+\n+else\n+ifeq (${uname_S},Darwin)\n+\t\tDEFINES+=-DDarwin\n+\t\tDEFINES+=-DHIGHFIRST\n+\t\tLUA_PLAT=macosx\n+\n+else\n+ifeq (${uname_S},FreeBSD)\n+\t\tDEFINES+=-DFreeBSD\n+\t\tLDFLAGS+=-pthread\n+\t\tLUA_PLAT=freebsd\n+else\n+ifeq (${uname_S},OpenBSD) \n+#\t\tDEFINES+=-DOpenBSD\n+\t\tDEFINES+=-pthread \n+\t\tLUA_PLAT=posix \n+else\n+ifeq (${uname_S},HP-UX)\n+\t\tDEFINES+=-DHPUX\n+\t\tDEFINES+=-D_XOPEN_SOURCE_EXTENDED\n+\t\tDEFINES+=-DHIGHFIRST\n+\t\tDEFINES+=-D_REENTRANT\n+else\n+\t    # Unknow platform\n+endif # HPUX\n+endif # OpenBSD\n+endif # FreeBSD\n+endif # Darwin\n+endif # SunOS\n+endif # AIX\n+endif # Linux\n+\n+ifdef DEBUGAD\n+\tDEFINES+=+DDEBUGAD\n+endif\n+\n+ifdef DEBUG\n+\tCFLAGS+=-g\n+endif #DEBUG\n+\n+ifdef CLEANFULL\n+\tDEFINES+=-DCLEANFULL\n+endif\n+\n+ifdef ONEWAY\n+\tDEFINES+=-DONEWAY\n+endif\n+\n+CFLAGS+=${DEFINES}\n+CFLAGS+=-Wall -Wextra -O2\n+CFLAGS+=-I./ -I./headers/\n+\n+\n+BUILDLIB=ar -crus\n+\n+\n+CCCOLOR=\"\\033[34m\"\n+LINKCOLOR=\"\\033[34;1m\"\n+SRCCOLOR=\"\\033[33m\"\n+BINCOLOR=\"\\033[37;1m\"\n+MAKECOLOR=\"\\033[32;1m\"\n+ENDCOLOR=\"\\033[0m\"\n+\n+ifndef V\n+\tQUIET_CC      = @printf '    %b %b\\n' ${CCCOLOR}CC${ENDCOLOR} ${SRCCOLOR}$@${ENDCOLOR} 1>&2;\n+\tQUIET_LINK    = @printf '    %b %b\\n' ${LINKCOLOR}LINK${ENDCOLOR} ${BINCOLOR}$@${ENDCOLOR} 1>&2;\n+\tQUIET_CCBIN   = @printf '    %b %b\\n' ${LINKCOLOR}CC${ENDCOLOR} ${BINCOLOR}$@${ENDCOLOR} 1>&2;\n+\tQUIET_INSTALL = @printf '    %b %b\\n' ${LINKCOLOR}INSTALL${ENDCOLOR} ${BINCOLOR}$@${ENDCOLOR} 1>&2;\n+\tQUIET_RANLIB  = @printf '    %b %b\\n' ${LINKCOLOR}RANLIB${ENDCOLOR} ${BINCOLOR}$@${ENDCOLOR} 1>&2;\n+\tQUIET_NOTICE  = @printf '%b' ${MAKECOLOR} 1>&2;\n+\tQUIET_ENDCOLOR= @printf '%b' ${ENDCOLOR} 1>&2;\n+endif\n+\n+OSSEC_CC     :=${QUIET_CC}${CC}\n+OSSEC_CCBIN  :=${QUIET_CCBIN}${CC}\n+OSSEC_LINK   :=${QUIET_LINK}${BUILDLIB}\n+OSSEC_RANLIB :=${QUIET_RANLIB}ranlib\n+\n+\n+ifeq (${USE_PRELUDE},1)\n+\tDEFINES+=-DPRELUDE\n+\tLDFLAGS+=-lprelude\n+\tLDFLAGS+=$(shell sh -c '${PRELUDE_CONFIG} --pthread-cflags')\n+\tLDFLAGS+=$(shell sh -c '${PRELUDE_CONFIG} --libs')\n+endif # USE_PRELUDE\n+\n+ifeq (${USE_ZEROMQ},1)\n+\tDEFINES+=-DZEROMQ_OUTPUT\n+\tLDFLAGS+=-lzmq -lczmq\n+endif # USE_ZEROMQ\n+\n+ifeq (${USE_GEOIP},1)\n+\tDEFINES+=-DGEOIP\n+\tLDFLAGS+=-lGeoIP\n+endif # USE_GEOIP\n+\n+\n+MI :=\n+PI :=\n+ifdef DATABASE\n+\n+\tifeq (${DATABASE},mysql)\n+\t\tDEFINES+=-DUMYSQL\n+\n+\t\tifdef MYSQL_CFLAGS\n+\t\t\tMI = ${MYSQL_CFLAGS}\n+\t\telse\n+\t\t\tMI := $(shell sh -c '${MY_CONFIG} --include 2>/dev/null || echo ')\n+\n+\t\t\tifeq (${MI},) # BEGIN MI manula detection\n+\t\t\t\tifneq (,$(wildcard /usr/include/mysql/mysql.h))\n+\t\t\t\t\tMI=\"-I/usr/include/mysql/\"\n+\t\t\t\telse\n+\t\t\t\t\tifneq (,$(wildcard /usr/local/include/mysql/mysql.h))\n+\t\t\t\t\t\tMI=\"-I/usr/local/include/mysql/\"\n+\t\t\t\t\tendif  #\n+\t\t\t\tendif  #MI\n+\n+\t\t\tendif\n+\t\tendif # MYSQL_CFLAGS\n+\n+\t\tifdef MYSQL_LIBS\n+\t\t\tML = ${MYSQL_LIBS}\n+\t\telse\n+\t\t\tML := $(shell sh -c '${MY_CONFIG} --libs 2>/dev/null || echo ')\n+\n+\t\t\tifeq (${ML},)\n+\t\t\t\tifneq (,$(wildcard /usr/lib/mysql/*))\n+\t\t\t\t\tML=\"-L/usr/lib/mysql -lmysqlclient\"\n+\t\t\t\telse\n+\t\t\t\t\tifneq (,$(wildcard /usr/lib64/mysql/*))\n+\t\t\t\t\t\tML=\"-L/usr/lib64/mysql -lmysqlclient\"\n+\t\t\t\t\telse\n+\t\t\t\t\t\tifneq (,$(wildcard /usr/local/lib/mysql/*))\n+\t\t\t\t\t\t\tML=\"-L/usr/local/lib/mysql -lmysqlclient\"\n+\t\t\t\t\t\telse\n+\t\t\t\t\t\t\tifneq (,$(wildcard /usr/local/lib64/mysql/*))\n+\t\t\t\t\t\t\t\tML=\"-L/usr/local/lib64/mysql -lmysqlclient\"\n+\t\t\t\t\t\t\tendif # local/lib64\n+\t\t\t\t\t\tendif # local/lib\n+\t\t\t\t\tendif # lib54\n+\t\t\t\tendif # lib\n+\t\t\tendif\n+\t\tendif # MYSQL_LIBS\n+\n+\t\tLDFLAGS+=${ML}\n+\n+\telse # DATABASE\n+\n+\t\tifeq (${DATABASE}, pgsql)\n+\t\t\tDEFINES+=-DUPOSTGRES\n+\n+\t\t\tifneq (${PGSQL_LIBS},)\n+\t\t\t\tPL:=${PGSQL_LIBS}\n+\t\t\telse\n+\t\t\t\tPL:=$(shell sh -c '(${PG_CONFIG} --libdir --pkglibdir 2>/dev/null | sed \"s/^/-L/g\" | xargs ) || echo ')\n+\t\t\tendif\n+\n+\t\t\tifneq (${PGSQL_CFLAGS},)\n+\t\t\t\tPI:=${PGSQL_CFLAGS}\n+\t\t\telse\n+\t\t\t\tPI:=$(shell sh -c '(${PG_CONFIG} --includedir --pkgincludedir 2>/dev/null | sed \"s/^/-I/g\" | xargs ) || echo ')\n+\t\t\tendif\n+\n+\t\t\t# XXX need some basic autodetech stuff here.\n+\n+\t\t\tLDFLAGS+=${PL}\n+\t\t\tLDFLAGS+=-lpq\n+\n+\t\tendif # pgsql\n+\tendif # mysql\n+endif # DATABASE\n+\n+\n+# openssl\n+ifneq (,$(wildcard /usr/include/openssl/ssl.h))\n+\tDEFINES+=-DUSE_OPENSSL\n+\tLDFLAGS+=-lssl -lcrypto\n+else\n+\tifneq (,$(wildcard /usr/local/include/openssl/ssl.h))\n+\t\tDEFINES+=-DUSE_OPENSSL\n+\t\tLDFLAGS+=-lssl -lcrypto\n+\tendif\n+endif\n+\n+####################\n+#### Target ########\n+####################\n+\n+OSSEC_CONTROL_SRC=./init/ossec-server.sh\n+OSSEC_CONF_SRC=../etc/ossec-server.conf\n+\n+ifndef TARGET\n+\tTARGET=failtarget\n+endif # TARGET\n+\n+ifeq (${TARGET},agent)\n+\tDEFINES+=-DCLIENT\n+\tOSSEC_CONTROL_SRC=./init/ossec-client.sh\n+\tOSSEC_CONF_SRC=../etc/ossec-agent.conf\n+endif\n+\n+ifeq (${TARGET},local)\n+\tDEFINES+=-DLOCAL\n+\tOSSEC_CONTROL_SRC=./init/ossec-local.sh\n+\tOSSEC_CONF_SRC=../etc/ossec-local.conf\n+endif\n+\n+\n+.PHONY: build\n+build:: ${TARGET}\n+\t@echo\n+\t${QUIET_NOTICE}\n+\t@echo \"Done building ${TARGET}\"\n+\t${QUIET_ENDCOLOR}\n+\t@echo\n+\n+\n+.PHONY: install install-agent install-server install-local install-hybrid\n+install: install-${TARGET}\n+\n+install-agent: install-common\n+\tinstall -m 0550 -o root -g root ossec-agentd ${PREFIX}/bin","path":"src/Makefile","position":376,"original_position":376,"commit_id":"e444c583f4c873fcb769ed482aa4cb40050c54f5","original_commit_id":"e444c583f4c873fcb769ed482aa4cb40050c54f5","user":{"login":"cgzones","id":6131885,"avatar_url":"https://avatars.githubusercontent.com/u/6131885?v=2","gravatar_id":"","url":"https://api.github.com/users/cgzones","html_url":"https://github.com/cgzones","followers_url":"https://api.github.com/users/cgzones/followers","following_url":"https://api.github.com/users/cgzones/following{/other_user}","gists_url":"https://api.github.com/users/cgzones/gists{/gist_id}","starred_url":"https://api.github.com/users/cgzones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgzones/subscriptions","organizations_url":"https://api.github.com/users/cgzones/orgs","repos_url":"https://api.github.com/users/cgzones/repos","events_url":"https://api.github.com/users/cgzones/events{/privacy}","received_events_url":"https://api.github.com/users/cgzones/received_events","type":"User","site_admin":false},"body":"Are there any OS's with no group root?","created_at":"2014-10-07T14:00:51Z","updated_at":"2014-10-07T14:00:51Z","html_url":"https://github.com/ossec/ossec-hids/pull/334#discussion_r18520485","pull_request_url":"https://api.github.com/repos/ossec/ossec-hids/pulls/334","_links":{"self":{"href":"https://api.github.com/repos/ossec/ossec-hids/pulls/comments/18520485"},"html":{"href":"https://github.com/ossec/ossec-hids/pull/334#discussion_r18520485"},"pull_request":{"href":"https://api.github.com/repos/ossec/ossec-hids/pulls/334"}}},"pull_request":{"url":"https://api.github.com/repos/ossec/ossec-hids/pulls/334","id":22238870,"html_url":"https://github.com/ossec/ossec-hids/pull/334","diff_url":"https://github.com/ossec/ossec-hids/pull/334.diff","patch_url":"https://github.com/ossec/ossec-hids/pull/334.patch","issue_url":"https://api.github.com/repos/ossec/ossec-hids/issues/334","number":334,"state":"closed","locked":false,"title":"Makefile need love too","user":{"login":"jrossi","id":58556,"avatar_url":"https://avatars.githubusercontent.com/u/58556?v=2","gravatar_id":"","url":"https://api.github.com/users/jrossi","html_url":"https://github.com/jrossi","followers_url":"https://api.github.com/users/jrossi/followers","following_url":"https://api.github.com/users/jrossi/following{/other_user}","gists_url":"https://api.github.com/users/jrossi/gists{/gist_id}","starred_url":"https://api.github.com/users/jrossi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrossi/subscriptions","organizations_url":"https://api.github.com/users/jrossi/orgs","repos_url":"https://api.github.com/users/jrossi/repos","events_url":"https://api.github.com/users/jrossi/events{/privacy}","received_events_url":"https://api.github.com/users/jrossi/received_events","type":"User","site_admin":false},"body":"Lots of discussion has take place in #320 \r\n\r\nNew make build system.  This **REQURES** **gmake** to work and with this we have pushed almost all the logic about build the code into a single file src/Makefile \r\n\r\n* The Makefile is designed for developers other people that like playing with pointy dangerous things. \r\n* install.sh is designed for users and should be the supported method for install. \r\n\r\nI am sure it will need more work and I am creating the Pull Request to get more people to try it out and report back.  \r\n\r\n","created_at":"2014-10-04T02:00:04Z","updated_at":"2014-10-07T14:00:51Z","closed_at":"2014-10-07T13:29:14Z","merged_at":"2014-10-07T13:29:14Z","merge_commit_sha":"03f15632e00718ea56c3b0f62d895c403b4fad9a","assignee":null,"milestone":{"url":"https://api.github.com/repos/ossec/ossec-hids/milestones/3","labels_url":"https://api.github.com/repos/ossec/ossec-hids/milestones/3/labels","id":593396,"number":3,"title":"ossec-hids-2.9","description":"","creator":{"login":"jrossi","id":58556,"avatar_url":"https://avatars.githubusercontent.com/u/58556?v=2","gravatar_id":"","url":"https://api.github.com/users/jrossi","html_url":"https://github.com/jrossi","followers_url":"https://api.github.com/users/jrossi/followers","following_url":"https://api.github.com/users/jrossi/following{/other_user}","gists_url":"https://api.github.com/users/jrossi/gists{/gist_id}","starred_url":"https://api.github.com/users/jrossi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrossi/subscriptions","organizations_url":"https://api.github.com/users/jrossi/orgs","repos_url":"https://api.github.com/users/jrossi/repos","events_url":"https://api.github.com/users/jrossi/events{/privacy}","received_events_url":"https://api.github.com/users/jrossi/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":52,"state":"open","created_at":"2014-03-11T00:51:28Z","updated_at":"2014-10-07T13:55:39Z","due_on":null},"commits_url":"https://api.github.com/repos/ossec/ossec-hids/pulls/334/commits","review_comments_url":"https://api.github.com/repos/ossec/ossec-hids/pulls/334/comments","review_comment_url":"https://api.github.com/repos/ossec/ossec-hids/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ossec/ossec-hids/issues/334/comments","statuses_url":"https://api.github.com/repos/ossec/ossec-hids/statuses/e444c583f4c873fcb769ed482aa4cb40050c54f5","head":{"label":"jrossi:makefile-need-love-too","ref":"makefile-need-love-too","sha":"e444c583f4c873fcb769ed482aa4cb40050c54f5","user":{"login":"jrossi","id":58556,"avatar_url":"https://avatars.githubusercontent.com/u/58556?v=2","gravatar_id":"","url":"https://api.github.com/users/jrossi","html_url":"https://github.com/jrossi","followers_url":"https://api.github.com/users/jrossi/followers","following_url":"https://api.github.com/users/jrossi/following{/other_user}","gists_url":"https://api.github.com/users/jrossi/gists{/gist_id}","starred_url":"https://api.github.com/users/jrossi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrossi/subscriptions","organizations_url":"https://api.github.com/users/jrossi/orgs","repos_url":"https://api.github.com/users/jrossi/repos","events_url":"https://api.github.com/users/jrossi/events{/privacy}","received_events_url":"https://api.github.com/users/jrossi/received_events","type":"User","site_admin":false},"repo":{"id":16236860,"name":"ossec-hids","full_name":"jrossi/ossec-hids","owner":{"login":"jrossi","id":58556,"avatar_url":"https://avatars.githubusercontent.com/u/58556?v=2","gravatar_id":"","url":"https://api.github.com/users/jrossi","html_url":"https://github.com/jrossi","followers_url":"https://api.github.com/users/jrossi/followers","following_url":"https://api.github.com/users/jrossi/following{/other_user}","gists_url":"https://api.github.com/users/jrossi/gists{/gist_id}","starred_url":"https://api.github.com/users/jrossi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrossi/subscriptions","organizations_url":"https://api.github.com/users/jrossi/orgs","repos_url":"https://api.github.com/users/jrossi/repos","events_url":"https://api.github.com/users/jrossi/events{/privacy}","received_events_url":"https://api.github.com/users/jrossi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jrossi/ossec-hids","description":"","fork":true,"url":"https://api.github.com/repos/jrossi/ossec-hids","forks_url":"https://api.github.com/repos/jrossi/ossec-hids/forks","keys_url":"https://api.github.com/repos/jrossi/ossec-hids/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jrossi/ossec-hids/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jrossi/ossec-hids/teams","hooks_url":"https://api.github.com/repos/jrossi/ossec-hids/hooks","issue_events_url":"https://api.github.com/repos/jrossi/ossec-hids/issues/events{/number}","events_url":"https://api.github.com/repos/jrossi/ossec-hids/events","assignees_url":"https://api.github.com/repos/jrossi/ossec-hids/assignees{/user}","branches_url":"https://api.github.com/repos/jrossi/ossec-hids/branches{/branch}","tags_url":"https://api.github.com/repos/jrossi/ossec-hids/tags","blobs_url":"https://api.github.com/repos/jrossi/ossec-hids/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jrossi/ossec-hids/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jrossi/ossec-hids/git/refs{/sha}","trees_url":"https://api.github.com/repos/jrossi/ossec-hids/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jrossi/ossec-hids/statuses/{sha}","languages_url":"https://api.github.com/repos/jrossi/ossec-hids/languages","stargazers_url":"https://api.github.com/repos/jrossi/ossec-hids/stargazers","contributors_url":"https://api.github.com/repos/jrossi/ossec-hids/contributors","subscribers_url":"https://api.github.com/repos/jrossi/ossec-hids/subscribers","subscription_url":"https://api.github.com/repos/jrossi/ossec-hids/subscription","commits_url":"https://api.github.com/repos/jrossi/ossec-hids/commits{/sha}","git_commits_url":"https://api.github.com/repos/jrossi/ossec-hids/git/commits{/sha}","comments_url":"https://api.github.com/repos/jrossi/ossec-hids/comments{/number}","issue_comment_url":"https://api.github.com/repos/jrossi/ossec-hids/issues/comments/{number}","contents_url":"https://api.github.com/repos/jrossi/ossec-hids/contents/{+path}","compare_url":"https://api.github.com/repos/jrossi/ossec-hids/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jrossi/ossec-hids/merges","archive_url":"https://api.github.com/repos/jrossi/ossec-hids/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jrossi/ossec-hids/downloads","issues_url":"https://api.github.com/repos/jrossi/ossec-hids/issues{/number}","pulls_url":"https://api.github.com/repos/jrossi/ossec-hids/pulls{/number}","milestones_url":"https://api.github.com/repos/jrossi/ossec-hids/milestones{/number}","notifications_url":"https://api.github.com/repos/jrossi/ossec-hids/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jrossi/ossec-hids/labels{/name}","releases_url":"https://api.github.com/repos/jrossi/ossec-hids/releases{/id}","created_at":"2014-01-25T18:20:58Z","updated_at":"2014-07-13T17:19:01Z","pushed_at":"2014-10-07T13:48:57Z","git_url":"git://github.com/jrossi/ossec-hids.git","ssh_url":"git@github.com:jrossi/ossec-hids.git","clone_url":"https://github.com/jrossi/ossec-hids.git","svn_url":"https://github.com/jrossi/ossec-hids","homepage":null,"size":21555,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ossec:master","ref":"master","sha":"35181178ceb31b8c19d1c55d20e310b747983cda","user":{"login":"ossec","id":5479983,"avatar_url":"https://avatars.githubusercontent.com/u/5479983?v=2","gravatar_id":"","url":"https://api.github.com/users/ossec","html_url":"https://github.com/ossec","followers_url":"https://api.github.com/users/ossec/followers","following_url":"https://api.github.com/users/ossec/following{/other_user}","gists_url":"https://api.github.com/users/ossec/gists{/gist_id}","starred_url":"https://api.github.com/users/ossec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ossec/subscriptions","organizations_url":"https://api.github.com/users/ossec/orgs","repos_url":"https://api.github.com/users/ossec/repos","events_url":"https://api.github.com/users/ossec/events{/privacy}","received_events_url":"https://api.github.com/users/ossec/received_events","type":"Organization","site_admin":false},"repo":{"id":12901559,"name":"ossec-hids","full_name":"ossec/ossec-hids","owner":{"login":"ossec","id":5479983,"avatar_url":"https://avatars.githubusercontent.com/u/5479983?v=2","gravatar_id":"","url":"https://api.github.com/users/ossec","html_url":"https://github.com/ossec","followers_url":"https://api.github.com/users/ossec/followers","following_url":"https://api.github.com/users/ossec/following{/other_user}","gists_url":"https://api.github.com/users/ossec/gists{/gist_id}","starred_url":"https://api.github.com/users/ossec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ossec/subscriptions","organizations_url":"https://api.github.com/users/ossec/orgs","repos_url":"https://api.github.com/users/ossec/repos","events_url":"https://api.github.com/users/ossec/events{/privacy}","received_events_url":"https://api.github.com/users/ossec/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ossec/ossec-hids","description":"OSSEC is an Open Source Host-based Intrusion Detection System that performs log analysis, file integrity checking, policy monitoring, rootkit detection, real-time alerting and active response.","fork":false,"url":"https://api.github.com/repos/ossec/ossec-hids","forks_url":"https://api.github.com/repos/ossec/ossec-hids/forks","keys_url":"https://api.github.com/repos/ossec/ossec-hids/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ossec/ossec-hids/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ossec/ossec-hids/teams","hooks_url":"https://api.github.com/repos/ossec/ossec-hids/hooks","issue_events_url":"https://api.github.com/repos/ossec/ossec-hids/issues/events{/number}","events_url":"https://api.github.com/repos/ossec/ossec-hids/events","assignees_url":"https://api.github.com/repos/ossec/ossec-hids/assignees{/user}","branches_url":"https://api.github.com/repos/ossec/ossec-hids/branches{/branch}","tags_url":"https://api.github.com/repos/ossec/ossec-hids/tags","blobs_url":"https://api.github.com/repos/ossec/ossec-hids/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ossec/ossec-hids/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ossec/ossec-hids/git/refs{/sha}","trees_url":"https://api.github.com/repos/ossec/ossec-hids/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ossec/ossec-hids/statuses/{sha}","languages_url":"https://api.github.com/repos/ossec/ossec-hids/languages","stargazers_url":"https://api.github.com/repos/ossec/ossec-hids/stargazers","contributors_url":"https://api.github.com/repos/ossec/ossec-hids/contributors","subscribers_url":"https://api.github.com/repos/ossec/ossec-hids/subscribers","subscription_url":"https://api.github.com/repos/ossec/ossec-hids/subscription","commits_url":"https://api.github.com/repos/ossec/ossec-hids/commits{/sha}","git_commits_url":"https://api.github.com/repos/ossec/ossec-hids/git/commits{/sha}","comments_url":"https://api.github.com/repos/ossec/ossec-hids/comments{/number}","issue_comment_url":"https://api.github.com/repos/ossec/ossec-hids/issues/comments/{number}","contents_url":"https://api.github.com/repos/ossec/ossec-hids/contents/{+path}","compare_url":"https://api.github.com/repos/ossec/ossec-hids/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ossec/ossec-hids/merges","archive_url":"https://api.github.com/repos/ossec/ossec-hids/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ossec/ossec-hids/downloads","issues_url":"https://api.github.com/repos/ossec/ossec-hids/issues{/number}","pulls_url":"https://api.github.com/repos/ossec/ossec-hids/pulls{/number}","milestones_url":"https://api.github.com/repos/ossec/ossec-hids/milestones{/number}","notifications_url":"https://api.github.com/repos/ossec/ossec-hids/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ossec/ossec-hids/labels{/name}","releases_url":"https://api.github.com/repos/ossec/ossec-hids/releases{/id}","created_at":"2013-09-17T17:07:58Z","updated_at":"2014-10-02T22:42:27Z","pushed_at":"2014-10-07T13:29:15Z","git_url":"git://github.com/ossec/ossec-hids.git","ssh_url":"git@github.com:ossec/ossec-hids.git","clone_url":"https://github.com/ossec/ossec-hids.git","svn_url":"https://github.com/ossec/ossec-hids","homepage":"http://ossec.net ","size":25127,"stargazers_count":256,"watchers_count":256,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":93,"mirror_url":null,"open_issues_count":49,"forks":93,"open_issues":49,"watchers":256,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ossec/ossec-hids/pulls/334"},"html":{"href":"https://github.com/ossec/ossec-hids/pull/334"},"issue":{"href":"https://api.github.com/repos/ossec/ossec-hids/issues/334"},"comments":{"href":"https://api.github.com/repos/ossec/ossec-hids/issues/334/comments"},"review_comments":{"href":"https://api.github.com/repos/ossec/ossec-hids/pulls/334/comments"},"review_comment":{"href":"https://api.github.com/repos/ossec/ossec-hids/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ossec/ossec-hids/pulls/334/commits"},"statuses":{"href":"https://api.github.com/repos/ossec/ossec-hids/statuses/e444c583f4c873fcb769ed482aa4cb40050c54f5"}}}}