summaryrefslogtreecommitdiffstats
path: root/lua-forge
diff options
context:
space:
mode:
authorJustin Boffemmyer2016-04-24 08:58:53 +0900
committerJustin Boffemmyer2016-04-24 08:58:53 +0900
commit979b63e0be184c935b324ec8a35eb4ab8ecbd886 (patch)
treef0be5e8e90257408b3d9f9db5b5a41ec682e93e8 /lua-forge
parent062ee5ee14437660d31b6a894de7a9f286e518db (diff)
lua-forge/luaexpat: updated to 1.3.0
This update includes code for also disabling possible DoS attacks. The website and history don't mention this directly, but other projects that rely on this spell do (prosody, for example), so SECURITY_PATCH was increased.
Diffstat (limited to 'lua-forge')
-rwxr-xr-xlua-forge/luaexpat/DEPENDS2
-rwxr-xr-xlua-forge/luaexpat/DETAILS9
-rw-r--r--lua-forge/luaexpat/HISTORY5
-rwxr-xr-xlua-forge/luaexpat/PRE_BUILD13
4 files changed, 11 insertions, 18 deletions
diff --git a/lua-forge/luaexpat/DEPENDS b/lua-forge/luaexpat/DEPENDS
index ff1092a488..0db28d4716 100755
--- a/lua-forge/luaexpat/DEPENDS
+++ b/lua-forge/luaexpat/DEPENDS
@@ -1,2 +1,2 @@
-depends lua51 &&
+depends LUA &&
depends expat
diff --git a/lua-forge/luaexpat/DETAILS b/lua-forge/luaexpat/DETAILS
index c0f188e011..72cab49184 100755
--- a/lua-forge/luaexpat/DETAILS
+++ b/lua-forge/luaexpat/DETAILS
@@ -1,13 +1,14 @@
SPELL=luaexpat
- VERSION=1.2.0
+ VERSION=1.3.0
SOURCE=$SPELL-$VERSION.tar.gz
- SOURCE_URL[0]=http://matthewwild.co.uk/projects/$SPELL/$SOURCE
- SOURCE_HASH=sha512:4f28e36fabcade14f9ae524b8aea19757ceaca9d4ad50c367fe8f58c14c3850efe252df780641159eeb01e96aaba38a9c9c6fe51d21f54a6c4ce33f80c87033f
+ SOURCE_URL[0]="http://matthewwild.co.uk/projects/$SPELL/$SOURCE"
+ SOURCE_HASH=sha512:91884653310e2dc89ade6d1653875ac8607640a21853d3ccb1fd0f833812e41981fad5c40101732ec249104d2c50c9a332208d1e44423b8428065a223c60b4ae
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
- WEB_SITE=http://www.keplerproject.org/luaexpat
+ WEB_SITE="http://matthewwild.co.uk/projects/$SPELL"
LICENSE[0]=MIT
ENTERED=20080110
SHORT="SAX XML parser based on the Expat library for Lua"
+ SECURITY_PATCH=1
cat << EOF
LuaExpat is a SAX XML parser based on the Expat library.
EOF
diff --git a/lua-forge/luaexpat/HISTORY b/lua-forge/luaexpat/HISTORY
index 66b2b86d0e..99cfe9f3ee 100644
--- a/lua-forge/luaexpat/HISTORY
+++ b/lua-forge/luaexpat/HISTORY
@@ -1,3 +1,8 @@
+2016-04-24 Justin Boffemmyer <flux@sourcemage.org>
+ * DEPENDS: changed lua51 to LUA, since it will build with either now
+ * DETAILS: version++, security_patch++, corrected website
+ * PRE_BUILD: removed, no longer needed
+
2011-12-17 Vlad Glagolev <stealth@sourcemage.org>
* DEPENDS: lua -> lua51
diff --git a/lua-forge/luaexpat/PRE_BUILD b/lua-forge/luaexpat/PRE_BUILD
deleted file mode 100755
index f5eb2d3c9b..0000000000
--- a/lua-forge/luaexpat/PRE_BUILD
+++ /dev/null
@@ -1,13 +0,0 @@
-default_pre_build &&
-cd $SOURCE_DIRECTORY &&
-
-sedit "s:5.0:5.1:g;s:500:501:g;s:/usr/local:$INSTALL_ROOT/usr:g" config &&
-sedit "s#^LUA_LIBDIR=.*#LUA_LIBDIR=$(pkg-config --variable INSTALL_CMOD lua)#" config &&
-sedit "s#^LUA_DIR=.*#LUA_DIR=$(pkg-config --variable INSTALL_LMOD lua)#" config &&
-sedit "s#^LUA_INC=.*#LUA_INC=$(pkg-config --variable INSTALL_INC lua)#" config &&
-sedit "s#^EXPAT_INC=.*#EXPAT_INC=/usr/include#" config &&
-sedit "s#^LUA_VERSION_NUM=.*#LUA_VERSION_NUM=501#" config &&
-if [[ "${SMGL_COMPAT_ARCHS[1]}" = "x86_64" ]]; then
- sedit "s/-ansi/-fPIC -ansi/" config
-fi &&
-patch -p0 < "${SCRIPT_DIRECTORY}/makefile.patch"