summaryrefslogtreecommitdiff
path: root/libraries/ocaml-ounit
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/ocaml-ounit')
-rw-r--r--libraries/ocaml-ounit/ocaml-ounit.SlackBuild8
-rw-r--r--libraries/ocaml-ounit/ocaml-ounit.info6
2 files changed, 9 insertions, 5 deletions
diff --git a/libraries/ocaml-ounit/ocaml-ounit.SlackBuild b/libraries/ocaml-ounit/ocaml-ounit.SlackBuild
index b8b2994c88..7a57709ebf 100644
--- a/libraries/ocaml-ounit/ocaml-ounit.SlackBuild
+++ b/libraries/ocaml-ounit/ocaml-ounit.SlackBuild
@@ -21,7 +21,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ocaml-ounit
-VERSION=1.1.1
+VERSION=${VERSION:-1.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,7 +63,11 @@ rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
diff --git a/libraries/ocaml-ounit/ocaml-ounit.info b/libraries/ocaml-ounit/ocaml-ounit.info
index 446027ab9d..cac30ad1b9 100644
--- a/libraries/ocaml-ounit/ocaml-ounit.info
+++ b/libraries/ocaml-ounit/ocaml-ounit.info
@@ -1,8 +1,8 @@
PRGNAM="ocaml-ounit"
-VERSION="1.1.1"
+VERSION="1.1.2"
HOMEPAGE="http://ounit.forge.ocamlcore.org/"
-DOWNLOAD="http://forge.ocamlcore.org/frs/download.php/762/ounit-1.1.1.tar.gz"
-MD5SUM="b28e4c25ad5fc9080639d47fd51c7c24"
+DOWNLOAD="https://forge.ocamlcore.org/frs/download.php/886/ounit-1.1.2.tar.gz"
+MD5SUM="14e4d8ee551004dbcc1607f438ef7d83"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ocaml-findlib"