{"action":"opened","number":1052,"pull_request":{"url":"https://api.github.com/repos/SpiderLabs/ModSecurity/pulls/1052","id":55831084,"html_url":"https://github.com/SpiderLabs/ModSecurity/pull/1052","diff_url":"https://github.com/SpiderLabs/ModSecurity/pull/1052.diff","patch_url":"https://github.com/SpiderLabs/ModSecurity/pull/1052.patch","issue_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/issues/1052","number":1052,"state":"open","locked":false,"title":"Adds a spec file for building an RPM package","user":{"login":"antonyh","id":848061,"avatar_url":"https://avatars.githubusercontent.com/u/848061?v=3","gravatar_id":"","url":"https://api.github.com/users/antonyh","html_url":"https://github.com/antonyh","followers_url":"https://api.github.com/users/antonyh/followers","following_url":"https://api.github.com/users/antonyh/following{/other_user}","gists_url":"https://api.github.com/users/antonyh/gists{/gist_id}","starred_url":"https://api.github.com/users/antonyh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonyh/subscriptions","organizations_url":"https://api.github.com/users/antonyh/orgs","repos_url":"https://api.github.com/users/antonyh/repos","events_url":"https://api.github.com/users/antonyh/events{/privacy}","received_events_url":"https://api.github.com/users/antonyh/received_events","type":"User","site_admin":false},"body":"I needed to create an RPM file to install ModSecurity in environments where it's not possible to build from source and where there's no available RPM that is suitable. I figured the best place to share this is here so that others can benefit, but also so it can be reviewed and corrected, and I couldn't find any guidelines on what you consider acceptable for pull requests. \r\n\r\nIt's a single RPM spec file, installs/uninstalls cleanly, tested on Centos 6.6. I hope this is a useful addition to ModSecurity, and if there's alterations needed I'm happy to help.","created_at":"2016-01-12T23:04:10Z","updated_at":"2016-01-12T23:04:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"37e67671d407dc8785e29f55aa7f447b698e4610","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/pulls/1052/commits","review_comments_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/pulls/1052/comments","review_comment_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/issues/1052/comments","statuses_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/statuses/0d90c84a7a89d26b9cffb4f987342185fe482118","head":{"label":"antonyh:master","ref":"master","sha":"0d90c84a7a89d26b9cffb4f987342185fe482118","user":{"login":"antonyh","id":848061,"avatar_url":"https://avatars.githubusercontent.com/u/848061?v=3","gravatar_id":"","url":"https://api.github.com/users/antonyh","html_url":"https://github.com/antonyh","followers_url":"https://api.github.com/users/antonyh/followers","following_url":"https://api.github.com/users/antonyh/following{/other_user}","gists_url":"https://api.github.com/users/antonyh/gists{/gist_id}","starred_url":"https://api.github.com/users/antonyh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonyh/subscriptions","organizations_url":"https://api.github.com/users/antonyh/orgs","repos_url":"https://api.github.com/users/antonyh/repos","events_url":"https://api.github.com/users/antonyh/events{/privacy}","received_events_url":"https://api.github.com/users/antonyh/received_events","type":"User","site_admin":false},"repo":{"id":49503754,"name":"ModSecurity","full_name":"antonyh/ModSecurity","owner":{"login":"antonyh","id":848061,"avatar_url":"https://avatars.githubusercontent.com/u/848061?v=3","gravatar_id":"","url":"https://api.github.com/users/antonyh","html_url":"https://github.com/antonyh","followers_url":"https://api.github.com/users/antonyh/followers","following_url":"https://api.github.com/users/antonyh/following{/other_user}","gists_url":"https://api.github.com/users/antonyh/gists{/gist_id}","starred_url":"https://api.github.com/users/antonyh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonyh/subscriptions","organizations_url":"https://api.github.com/users/antonyh/orgs","repos_url":"https://api.github.com/users/antonyh/repos","events_url":"https://api.github.com/users/antonyh/events{/privacy}","received_events_url":"https://api.github.com/users/antonyh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/antonyh/ModSecurity","description":"ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx that is developed by Trustwave's SpiderLabs. It has a robust event-based programming language which provides protection from a range of attacks against web applications and allows for HTTP traffic monitoring, logging and real-time analysis. With over 10,000 deployments world-wide, ModSecurity is the most widely deployed WAF in existence. ","fork":true,"url":"https://api.github.com/repos/antonyh/ModSecurity","forks_url":"https://api.github.com/repos/antonyh/ModSecurity/forks","keys_url":"https://api.github.com/repos/antonyh/ModSecurity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/antonyh/ModSecurity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/antonyh/ModSecurity/teams","hooks_url":"https://api.github.com/repos/antonyh/ModSecurity/hooks","issue_events_url":"https://api.github.com/repos/antonyh/ModSecurity/issues/events{/number}","events_url":"https://api.github.com/repos/antonyh/ModSecurity/events","assignees_url":"https://api.github.com/repos/antonyh/ModSecurity/assignees{/user}","branches_url":"https://api.github.com/repos/antonyh/ModSecurity/branches{/branch}","tags_url":"https://api.github.com/repos/antonyh/ModSecurity/tags","blobs_url":"https://api.github.com/repos/antonyh/ModSecurity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/antonyh/ModSecurity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/antonyh/ModSecurity/git/refs{/sha}","trees_url":"https://api.github.com/repos/antonyh/ModSecurity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/antonyh/ModSecurity/statuses/{sha}","languages_url":"https://api.github.com/repos/antonyh/ModSecurity/languages","stargazers_url":"https://api.github.com/repos/antonyh/ModSecurity/stargazers","contributors_url":"https://api.github.com/repos/antonyh/ModSecurity/contributors","subscribers_url":"https://api.github.com/repos/antonyh/ModSecurity/subscribers","subscription_url":"https://api.github.com/repos/antonyh/ModSecurity/subscription","commits_url":"https://api.github.com/repos/antonyh/ModSecurity/commits{/sha}","git_commits_url":"https://api.github.com/repos/antonyh/ModSecurity/git/commits{/sha}","comments_url":"https://api.github.com/repos/antonyh/ModSecurity/comments{/number}","issue_comment_url":"https://api.github.com/repos/antonyh/ModSecurity/issues/comments{/number}","contents_url":"https://api.github.com/repos/antonyh/ModSecurity/contents/{+path}","compare_url":"https://api.github.com/repos/antonyh/ModSecurity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/antonyh/ModSecurity/merges","archive_url":"https://api.github.com/repos/antonyh/ModSecurity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/antonyh/ModSecurity/downloads","issues_url":"https://api.github.com/repos/antonyh/ModSecurity/issues{/number}","pulls_url":"https://api.github.com/repos/antonyh/ModSecurity/pulls{/number}","milestones_url":"https://api.github.com/repos/antonyh/ModSecurity/milestones{/number}","notifications_url":"https://api.github.com/repos/antonyh/ModSecurity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/antonyh/ModSecurity/labels{/name}","releases_url":"https://api.github.com/repos/antonyh/ModSecurity/releases{/id}","created_at":"2016-01-12T14:05:08Z","updated_at":"2016-01-12T14:05:11Z","pushed_at":"2016-01-12T22:43:55Z","git_url":"git://github.com/antonyh/ModSecurity.git","ssh_url":"git@github.com:antonyh/ModSecurity.git","clone_url":"https://github.com/antonyh/ModSecurity.git","svn_url":"https://github.com/antonyh/ModSecurity","homepage":"www.modsecurity.org","size":14168,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"SpiderLabs:master","ref":"master","sha":"1068da464c4fd7a91e7cf25adb8e028cfd650d53","user":{"login":"SpiderLabs","id":508521,"avatar_url":"https://avatars.githubusercontent.com/u/508521?v=3","gravatar_id":"","url":"https://api.github.com/users/SpiderLabs","html_url":"https://github.com/SpiderLabs","followers_url":"https://api.github.com/users/SpiderLabs/followers","following_url":"https://api.github.com/users/SpiderLabs/following{/other_user}","gists_url":"https://api.github.com/users/SpiderLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/SpiderLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpiderLabs/subscriptions","organizations_url":"https://api.github.com/users/SpiderLabs/orgs","repos_url":"https://api.github.com/users/SpiderLabs/repos","events_url":"https://api.github.com/users/SpiderLabs/events{/privacy}","received_events_url":"https://api.github.com/users/SpiderLabs/received_events","type":"Organization","site_admin":false},"repo":{"id":1320594,"name":"ModSecurity","full_name":"SpiderLabs/ModSecurity","owner":{"login":"SpiderLabs","id":508521,"avatar_url":"https://avatars.githubusercontent.com/u/508521?v=3","gravatar_id":"","url":"https://api.github.com/users/SpiderLabs","html_url":"https://github.com/SpiderLabs","followers_url":"https://api.github.com/users/SpiderLabs/followers","following_url":"https://api.github.com/users/SpiderLabs/following{/other_user}","gists_url":"https://api.github.com/users/SpiderLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/SpiderLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpiderLabs/subscriptions","organizations_url":"https://api.github.com/users/SpiderLabs/orgs","repos_url":"https://api.github.com/users/SpiderLabs/repos","events_url":"https://api.github.com/users/SpiderLabs/events{/privacy}","received_events_url":"https://api.github.com/users/SpiderLabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SpiderLabs/ModSecurity","description":"ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx that is developed by Trustwave's SpiderLabs. It has a robust event-based programming language which provides protection from a range of attacks against web applications and allows for HTTP traffic monitoring, logging and real-time analysis. With over 10,000 deployments world-wide, ModSecurity is the most widely deployed WAF in existence. ","fork":false,"url":"https://api.github.com/repos/SpiderLabs/ModSecurity","forks_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/forks","keys_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/teams","hooks_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/hooks","issue_events_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/issues/events{/number}","events_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/events","assignees_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/assignees{/user}","branches_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/branches{/branch}","tags_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/tags","blobs_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/git/refs{/sha}","trees_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/statuses/{sha}","languages_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/languages","stargazers_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/stargazers","contributors_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/contributors","subscribers_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/subscribers","subscription_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/subscription","commits_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/commits{/sha}","git_commits_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/git/commits{/sha}","comments_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/comments{/number}","issue_comment_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/issues/comments{/number}","contents_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/contents/{+path}","compare_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/merges","archive_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/downloads","issues_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/issues{/number}","pulls_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/pulls{/number}","milestones_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/milestones{/number}","notifications_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/labels{/name}","releases_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/releases{/id}","created_at":"2011-02-02T14:57:01Z","updated_at":"2016-01-12T15:26:06Z","pushed_at":"2016-01-12T23:04:11Z","git_url":"git://github.com/SpiderLabs/ModSecurity.git","ssh_url":"git@github.com:SpiderLabs/ModSecurity.git","clone_url":"https://github.com/SpiderLabs/ModSecurity.git","svn_url":"https://github.com/SpiderLabs/ModSecurity","homepage":"www.modsecurity.org","size":38086,"stargazers_count":806,"watchers_count":806,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":337,"mirror_url":null,"open_issues_count":299,"forks":337,"open_issues":299,"watchers":806,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SpiderLabs/ModSecurity/pulls/1052"},"html":{"href":"https://github.com/SpiderLabs/ModSecurity/pull/1052"},"issue":{"href":"https://api.github.com/repos/SpiderLabs/ModSecurity/issues/1052"},"comments":{"href":"https://api.github.com/repos/SpiderLabs/ModSecurity/issues/1052/comments"},"review_comments":{"href":"https://api.github.com/repos/SpiderLabs/ModSecurity/pulls/1052/comments"},"review_comment":{"href":"https://api.github.com/repos/SpiderLabs/ModSecurity/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SpiderLabs/ModSecurity/pulls/1052/commits"},"statuses":{"href":"https://api.github.com/repos/SpiderLabs/ModSecurity/statuses/0d90c84a7a89d26b9cffb4f987342185fe482118"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":45,"deletions":0,"changed_files":1}}