diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2017-12-27 17:58:08 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2017-12-27 18:10:33 -0600 |
commit | 064e99737370b15c1685b67e088806f1983e883e (patch) | |
tree | 7c3d992d3e38d127c42b2336171692833a34ca22 /network/awstats/awstats.SlackBuild | |
parent | d8f337bb0a5367786ac391c3cd942613b9cd333f (diff) | |
download | slackbuilds-064e99737370b15c1685b67e088806f1983e883e.tar.gz |
network/awstats: Included some security patches from git
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/awstats/awstats.SlackBuild')
-rw-r--r-- | network/awstats/awstats.SlackBuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/network/awstats/awstats.SlackBuild b/network/awstats/awstats.SlackBuild index 428254e1d1..44e2cb0432 100644 --- a/network/awstats/awstats.SlackBuild +++ b/network/awstats/awstats.SlackBuild @@ -31,7 +31,7 @@ PRGNAM="awstats" VERSION=${VERSION:-7.6} # hardcode ARCH ARCH=noarch -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} DOCROOT=${DOCROOT:-/var/www/htdocs} @@ -59,6 +59,12 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Include some security patches from git +patch -p1 < $CWD/patches/0001-Fix-to-window.opener-vulnerability-in-external-refer.patch +patch -p1 < $CWD/patches/0001-Fix-to-window.opener-vulnerability-in-browser-OS-and.patch +patch -p1 < $CWD/patches/0001-FIX-Security-reported-by-cPanel-Security-Team-can-ex.patch +patch -p1 < $CWD/patches/0001-Fix-another-vulnerability-reported-by-cPanel-Securit.patch + # Patch httpd_conf file supplied by awstats to correct paths sed s:@DOCROOT@:$DOCROOT: $CWD/patches/httpd-awstats.conf.patch | patch -p0 # Patch awstats_configure.pl file -- see patch header for details |