parent
b79c23ebb4
commit
f699ab9558
@ -0,0 +1,3 @@ |
|||||||
|
.git* export-ignore |
||||||
|
makesrcdist export-ignore |
||||||
|
mvalidate.c export-ignore |
@ -1,17 +0,0 @@ |
|||||||
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! |
|
@ -1,51 +1,18 @@ |
|||||||
#!/bin/sh |
#!/bin/sh |
||||||
# |
# |
||||||
# "$Id$" |
|
||||||
# |
|
||||||
# makesrcdist - make a source distribution of mxml. |
# makesrcdist - make a source distribution of mxml. |
||||||
# |
# |
||||||
|
|
||||||
echo "Getting distribution..." |
if test $# != 1; then |
||||||
|
echo "Usage: ./makesrcdist version" |
||||||
if test $# = 0; then |
exit 1 |
||||||
echo -n "Version number for distribution? " |
|
||||||
read version |
|
||||||
else |
|
||||||
version=$1 |
|
||||||
fi |
fi |
||||||
|
|
||||||
cd /tmp |
version=$1 |
||||||
|
|
||||||
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..." |
|
||||||
|
|
||||||
rm -f makesrcdist TODO mvalidate.c |
echo Creating tag for release... |
||||||
rm -rf www |
git tag -m "Tag $version" v$version |
||||||
rm -rf doc/mxml-cover* doc/hires |
git push origin v$version |
||||||
cd .. |
|
||||||
|
|
||||||
echo "Making .tar.gz distribution..." |
echo Creating mxml-$version.tar.gz... |
||||||
|
git archive --format tar HEAD | gzip -v9 >mxml-$version.tar.gz |
||||||
tar czf mxml-$version.tar.gz mxml-$version |
|
||||||
|
|
||||||
echo "Removing distribution directory..." |
|
||||||
|
|
||||||
rm -rf mxml-$version |
|
||||||
|
|
||||||
echo "Done!" |
|
||||||
|
|
||||||
# |
|
||||||
# End of "$Id$". |
|
||||||
# |
|
||||||
|
Loading…
Reference in new issue