Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c0ae166

Browse files
author
Felipe Zimmerle
committed
Updates the CHANGES files
1 parent 9fbcc24 commit c0ae166

File tree

3 files changed

+52
-3
lines changed

3 files changed

+52
-3
lines changed

‎CHANGES‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
DD mmm YYYY - 1.0.0
1+
2+
v1.0.0 - 2017-Dec-20
23
--------------------
34

4-
* First version of the ModSecurity-nginx
5-
[Felipe Zimmerle]
5+
- First version of ModSecurity-nginx connector
6+

‎release.sh‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/bash
2+
3+
git clean -xfdi
4+
git submodule foreach --recursive git clean -xfdi
5+
6+
VERSION=`git describe --tags`
7+
DIR_NAME="modsecurity-nginx-$VERSION"
8+
TAR_NAME="modsecurity-nginx-$VERSION.tar.gz"
9+
10+
MY_DIR=${PWD##*/}
11+
12+
cd ..
13+
tar --transform "s/^$MY_DIR/$DIR_NAME/" -cvzf $TAR_NAME --exclude .git $MY_DIR
14+
15+
sha256sum $TAR_NAME > $TAR_NAME.sha256
16+
gpg --detach-sign -a $TAR_NAME
17+
18+
cd -
19+
echo $TAR_NAME ": done."
20+

‎src/ngx_http_modsecurity_common.h‎

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,34 @@
2626
#include <modsecurity/transaction.h>
2727
#include <modsecurity/rules.h>
2828

29+
30+
/**
31+
* TAG_NUM:
32+
*
33+
* Alpha - 001
34+
* Beta - 002
35+
* Dev - 010
36+
* Rc1 - 051
37+
* Rc2 - 052
38+
* ... - ...
39+
* Release- 100
40+
*
41+
*/
42+
43+
#define MODSECURITY_NGINX_MAJOR "1"
44+
#define MODSECURITY_NGINX_MINOR "0"
45+
#define MODSECURITY_NGINX_PATCHLEVEL "0"
46+
#define MODSECURITY_NGINX_TAG ""
47+
#define MODSECURITY_NGINX_TAG_NUM "100"
48+
49+
#define MODSECURITY_NGINX_VERSION MODSECURITY_NGINX_MAJOR "." \
50+
MODSECURITY_NGINX_MINOR "." MODSECURITY_NGINX_PATCHLEVEL \
51+
MODSECURITY_NGINX_TAG
52+
53+
#define MODSECURITY_NGINX_VERSION_NUM MODSECURITY_NGINX_MAJOR \
54+
MODSECURITY_NGINX_MINOR MODSECURITY_NGINX_PATCHLEVEL \
55+
MODSECURITY_NGINX_TAG_NUM
56+
2957
typedef struct {
3058
ngx_str_t name;
3159
ngx_str_t value;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /