CLEANUP: removed obsolete examples an move a few to better places
The following example files awere removed as irrelevant by this
time :
auth.cfg check.conf ssl.cfg haproxy.spec
The following scripts were removed as having been unused for more
than a decade :
debug2ansi debug2html debugfind check init.haproxy stats_haproxy.sh
seemless_reload.txt was moved to doc/ where it's more suitable.
haproxy.vim was moved to contrib/syntax-highlight/
scripts/create-release was updated not to try to update haproxy.spec
anymore.
diff --git a/scripts/create-release b/scripts/create-release
index 68781b2..4eb1fc1 100755
--- a/scripts/create-release
+++ b/scripts/create-release
@@ -177,17 +177,6 @@
echo '$Format:%ci$' > VERDATE
echo "$DATE" >> VERDATE
-echo "Updating haproxy.spec ..."
-sed -e "s/^Version: .*/Version: $NEW/" < examples/haproxy.spec >examples/haproxy.spec- && mv examples/haproxy.spec- examples/haproxy.spec
-
-(sed -ne '0,/^%changelog/p';
- date -d "$DATE" "+* %a %b %e %Y $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL>"
- echo "- updated to $(cat VERSION)"
- echo
-) < examples/haproxy.spec >examples/haproxy.spec-
-sed -ne '0,/^%changelog/d;p' < examples/haproxy.spec >>examples/haproxy.spec-
-mv examples/haproxy.spec- examples/haproxy.spec
-
# updating branch and date in all modified doc files except the outdated architecture.txt
for file in doc/intro.txt doc/configuration.txt doc/management.txt $(git diff --name-only v${OLD}.. -- doc); do
if [ ! -e "$file" ]; then continue; fi
@@ -207,7 +196,7 @@
-i include/common/version.h
if [ -n "$INTERACTIVE" ]; then
- vi CHANGELOG VERSION VERDATE examples/haproxy*.spec \
+ vi CHANGELOG VERSION VERDATE \
src/haproxy.c doc/configuration.txt \
$(git diff --name-only v${OLD}.. -- doc)
fi