File tree Expand file tree Collapse file tree 3 files changed +52
-3
lines changed Expand file tree Collapse file tree 3 files changed +52
-3
lines changed Original file line number Diff line number Diff line change 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+
Original file line number Diff line number Diff line change 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+
Original file line number Diff line number Diff line change 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+
2957typedef struct {
3058 ngx_str_t name;
3159 ngx_str_t value;
You can’t perform that action at this time.
0 commit comments