Commit f699ab95 authored by Michael Sweet's avatar Michael Sweet

Update makesrcdist script, drop old announcements file.

parent b79c23eb
.git* export-ignore
makesrcdist export-ignore
mvalidate.c export-ignore
Mini-XML 2.10 is now available for download from:
http://www.msweet.org/downloads.php/Mini-XML
Mini-XML 2.10 fixes some stack overflow, XML, and API issues. Changes include:
- The version number in mxml.h was wrong (Bug #532)
- The mxml.spec file was out of date (Bug #521)
- Mini-XML no longer allows malformed element names (Bug #509)
- mxmlLoad* and mxmlSAXLoad* did not properly create text nodes when
MXML_TEXT_CALLBACK was specified (Bug #531)
- mxmlDelete used a recursive algorithm which could require large amounts of
stack space depending on the file (Bug #549, CVE-2016-4570)
- mxmlWrite* used a recursive algorithm which could require large amounts of
stack space depending on the file (Bug #549, CVE-2016-4571)
Enjoy!
#!/bin/sh
#
# "$Id$"
#
# makesrcdist - make a source distribution of mxml.
#
echo "Getting distribution..."
if test $# = 0; then
echo -n "Version number for distribution? "
read version
else
version=$1
if test $# != 1; then
echo "Usage: ./makesrcdist version"
exit 1
fi
cd /tmp
if test $version = snapshot; then
url="https://svn.msweet.org/mxml/trunk"
else
url="svn+ssh://msweet.org/var/svn/mxml/tags/release-$version"
svn copy svn+ssh://msweet.org/var/svn/mxml/trunk "$url" \
-m "Tag $version" || exit 1
fi
rm -rf mxml-$version
svn export $url mxml-$version
cd mxml-$version
echo "Removing Subversion files and directories..."
version=$1
rm -f makesrcdist TODO mvalidate.c
rm -rf www
rm -rf doc/mxml-cover* doc/hires
cd ..
echo Creating tag for release...
git tag -m "Tag $version" v$version
git push origin v$version
echo "Making .tar.gz distribution..."
tar czf mxml-$version.tar.gz mxml-$version
echo "Removing distribution directory..."
rm -rf mxml-$version
echo "Done!"
#
# End of "$Id$".
#
echo Creating mxml-$version.tar.gz...
git archive --format tar HEAD | gzip -v9 >mxml-$version.tar.gz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment