-
-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate CentOS Versions of the blocker
- Loading branch information
1 parent
875807a
commit bc31adf
Showing
20 changed files
with
630 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# ******************************************************** | ||
# PRINT VERSION INFORMATION INTO CentOS6 README.md | ||
# ******************************************************** | ||
|
||
printf '%s\n%s%s\n%s%s\n%s%s\n%s' "${startmarker}" "#### Version: " "${my_git_tag}" "#### Bad Referrer Count: " "${bad_referrers}" "#### Bad Bot Count: " "${bad_bots}" "${endmarker}" >> "${tmpapacheA}" | ||
mv ${tmpapacheA} ${inputdbA} | ||
ed -s ${inputdbA}<<\IN | ||
1,/_______________/d | ||
/____________________/,$d | ||
,d | ||
.r /home/travis/build/mitchellkrogza/apache-ultimate-bad-bot-blocker/_other_distros/CentOS6/README.md | ||
/_______________/x | ||
.t. | ||
.,/____________________/-d | ||
w /home/travis/build/mitchellkrogza/apache-ultimate-bad-bot-blocker/_other_distros/CentOS6/README.md | ||
q | ||
IN | ||
rm ${inputdbA} | ||
|
||
# ******************************************************** | ||
# PRINT VERSION INFORMATION INTO CentOS6 CONFIGURATION.md | ||
# ******************************************************** | ||
|
||
printf '%s\n%s%s\n%s%s\n%s%s\n%s' "${startmarker}" "#### Version: " "${my_git_tag}" "#### Bad Referrer Count: " "${bad_referrers}" "#### Bad Bot Count: " "${bad_bots}" "${endmarker}" >> "${tmpapacheA}" | ||
mv ${tmpapacheA} ${inputdbA} | ||
ed -s ${inputdbA}<<\IN | ||
1,/_______________/d | ||
/____________________/,$d | ||
,d | ||
.r /home/travis/build/mitchellkrogza/apache-ultimate-bad-bot-blocker/_other_distros/CentOS6/CONFIGURATION.md | ||
/_______________/x | ||
.t. | ||
.,/____________________/-d | ||
w /home/travis/build/mitchellkrogza/apache-ultimate-bad-bot-blocker/_other_distros/CentOS6/CONFIGURATION.md | ||
q | ||
IN | ||
rm ${inputdbA} | ||
|
||
# ******************************************************** | ||
# PRINT VERSION INFORMATION INTO CentOS7 README.md | ||
# ******************************************************** | ||
|
||
printf '%s\n%s%s\n%s%s\n%s%s\n%s' "${startmarker}" "#### Version: " "${my_git_tag}" "#### Bad Referrer Count: " "${bad_referrers}" "#### Bad Bot Count: " "${bad_bots}" "${endmarker}" >> "${tmpapacheA}" | ||
mv ${tmpapacheA} ${inputdbA} | ||
ed -s ${inputdbA}<<\IN | ||
1,/_______________/d | ||
/____________________/,$d | ||
,d | ||
.r /home/travis/build/mitchellkrogza/apache-ultimate-bad-bot-blocker/_other_distros/CentOS7/README.md | ||
/_______________/x | ||
.t. | ||
.,/____________________/-d | ||
w /home/travis/build/mitchellkrogza/apache-ultimate-bad-bot-blocker/_other_distros/CentOS7/README.md | ||
q | ||
IN | ||
rm ${inputdbA} | ||
|
||
# ******************************************************** | ||
# PRINT VERSION INFORMATION INTO CentOS7 CONFIGURATION.md | ||
# ******************************************************** | ||
|
||
printf '%s\n%s%s\n%s%s\n%s%s\n%s' "${startmarker}" "#### Version: " "${my_git_tag}" "#### Bad Referrer Count: " "${bad_referrers}" "#### Bad Bot Count: " "${bad_bots}" "${endmarker}" >> "${tmpapacheA}" | ||
mv ${tmpapacheA} ${inputdbA} | ||
ed -s ${inputdbA}<<\IN | ||
1,/_______________/d | ||
/____________________/,$d | ||
,d | ||
.r /home/travis/build/mitchellkrogza/apache-ultimate-bad-bot-blocker/_other_distros/CentOS7/CONFIGURATION.md | ||
/_______________/x | ||
.t. | ||
.,/____________________/-d | ||
w /home/travis/build/mitchellkrogza/apache-ultimate-bad-bot-blocker/_other_distros/CentOS7/CONFIGURATION.md | ||
q | ||
IN | ||
rm ${inputdbA} |