Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to stable-0.62 grimoire by Vlad Glagolev (b87abac4d25cb0d01ca1fac8391b7ccfa1039a0f)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to stable-0.62 grimoire by Vlad Glagolev (b87abac4d25cb0d01ca1fac8391b7ccfa1039a0f)
  • Date: Thu, 26 Mar 2015 04:34:44 -0500

GIT changes to stable-0.62 grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

ChangeLog | 4 ++++
FUNCTIONS | 21 +++++++++++++++++++++
net/openntpd/DETAILS | 12 ++++++------
net/openntpd/HISTORY | 3 +++
video/ffmpeg/BUILD | 3 ++-
video/ffmpeg/HISTORY | 3 +++
wm-addons/xxkb/BUILD | 2 ++
wm-addons/xxkb/HISTORY | 3 +++
x11/tightvnc/BUILD | 5 ++++-
x11/tightvnc/HISTORY | 3 +++
x11/tightvnc/INSTALL | 1 -
11 files changed, 51 insertions(+), 9 deletions(-)

New commits:
commit b87abac4d25cb0d01ca1fac8391b7ccfa1039a0f
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

ffmpeg: use check_tmp_noexec()

(cherry picked from commit 4721fa54279c0aa923099f0a1ea8d7302fab93da)

commit b2b1df039502a4268b840ecaaa093d6406f20c0d
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

tightvnc: use check_tmp_noexec()

(cherry picked from commit 6a9ca358406683ced314ad090fa0e8463f833b8c)

commit feef67d95ff5636430a701e66f883153b47b1628
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

xxkb: use check_tmp_noexec()

(cherry picked from commit 262f1b51fabc74eef4fe862dbb02e1c9a1358226)

Conflicts:
wm-addons/xxkb/HISTORY

commit 7408c761baf150682a3a9303b2d311a620a5d4e3
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

added missing space in check_tmp_noexec()

(cherry picked from commit 5f9e40cf83c7e80b35010c9ebe12bdc19ddf714f)

commit 34d481566b41f6b2387117bbccbf63ae1be54a00
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

openntpd: => 5.7p4

(cherry picked from commit ac64cf36d5f3c7e2aaaccca9bcf7b5a1d28f1aa7)

commit ac407a8fcf3f2203bf3d51d110b238abea1f2910
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

added check_tmp_noexec() to check secured /tmp partitions

(cherry picked from commit fdc090a104659fbbe649b7536f77209d818dc404)

diff --git a/ChangeLog b/ChangeLog
index 62decc5..211dbc1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-26 Vlad Glagolev <stealth AT sourcemage.org>
+ * FUNCTIONS: added check_tmp_noexec to fix build on the systems with
+ secure options for /tmp (at least)
+
2015-03-20 Thomas Orgis <sobukus AT sourcemage.org>
* FUNCTIONS: added get_spell_provider_file

diff --git a/FUNCTIONS b/FUNCTIONS
index b991bae..383d62e 100755
--- a/FUNCTIONS
+++ b/FUNCTIONS
@@ -712,6 +712,27 @@ function is_version_less() {
}

#---
+## Check sanity of a temporary partition
+## @param $1 - the partition to check for
+#---
+function check_tmp_noexec() {
+ if [[ -z $1 ]]; then
+ message "${PROBLEM_COLOR}Partition name cannot be empty${DEFAULT_COLOR}"
&&
+ return 1
+ fi &&
+
+ if awk -v tmp=$1 '{ if ($2 == tmp) print $4 }' < /proc/mounts | grep -q
noexec; then
+ message -n "${MESSAGE_COLOR}Remounting $1 with exec option (required for
build)... " &&
+ mount -o exec,remount $1 &&
+ message "done${DEFAULT_COLOR}"
+ else
+ message -n "${MESSAGE_COLOR}Restoring $1 mount options... " &&
+ mount -o noexec,remount $1 &&
+ message "done${DEFAULT_COLOR}"
+ fi
+}
+
+#---
## Simple version check with force depends
## @params $1 - the spell to check the version of
## @params $2 - the simple version to check against
diff --git a/net/openntpd/DETAILS b/net/openntpd/DETAILS
index d85e95b..0908f33 100755
--- a/net/openntpd/DETAILS
+++ b/net/openntpd/DETAILS
@@ -1,12 +1,12 @@
SPELL=openntpd
- VERSION=5.7p3
+ VERSION=5.7p4
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_URL[0]=ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/$SOURCE
- SOURCE_URL[1]=http://obsd.cec.mtu.edu/pub/OpenBSD/OpenNTPD/$SOURCE
- SOURCE_URL[2]=ftp://rt.fm/pub/OpenBSD/OpenNTPD/$SOURCE
- SOURCE_URL[3]=http://www.obsd.si/pub/OpenBSD/OpenNTPD/$SOURCE
- SOURCE_URL[4]=ftp://ftp.tw.openbsd.org/pub/OpenBSD/OpenNTPD/$SOURCE
-
SOURCE_HASH=sha512:289cdc60413f35a91468f914b44a97d782d700dac150fe2570f31b8eccb4e7060764b5867bd188df3b0fe7598f57685078571685f14e0cc3353ca108bb7d640f
+ SOURCE_URL[1]=http://ftp.eu.openbsd.org/pub/OpenBSD/OpenNTPD/$SOURCE
+ SOURCE_URL[2]=http://mirror.switch.ch/ftp/pub/OpenBSD/OpenNTPD/$SOURCE
+ SOURCE_URL[3]=http://mirror.ox.ac.uk/pub/OpenBSD/OpenNTPD/$SOURCE
+ SOURCE_URL[4]=http://mirror.aarnet.edu.au/pub/OpenBSD/OpenNTPD/$SOURCE
+
SOURCE_HASH=sha512:2a185139c915482086069fa19dd3070884a415137d1688059559d2da892928afbbe2fa0a8ade70d474809710265dcc05906abaf261892d7894e70272e2e516ef
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
WEB_SITE=http://www.openntpd.org/
LICENSE[0]=BSD
diff --git a/net/openntpd/HISTORY b/net/openntpd/HISTORY
index f3dee66..09e86f8 100644
--- a/net/openntpd/HISTORY
+++ b/net/openntpd/HISTORY
@@ -1,3 +1,6 @@
+2015-03-25 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: updated spell to 5.7p4; updated mirrors
+
2015-02-05 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 5.7p3

diff --git a/video/ffmpeg/BUILD b/video/ffmpeg/BUILD
index 932ec8c..0d38a09 100755
--- a/video/ffmpeg/BUILD
+++ b/video/ffmpeg/BUILD
@@ -39,6 +39,7 @@ fi &&

LDFLAGS=${LDFLAGS//-Wl,--as-needed/} &&

+check_tmp_noexec /tmp &&
./configure --prefix=${INSTALL_ROOT}/usr \
--mandir=${INSTALL_ROOT}/usr/share/man \
--enable-shared \
@@ -47,6 +48,6 @@ LDFLAGS=${LDFLAGS//-Wl,--as-needed/} &&
--enable-postproc \
--enable-gpl \
$OPTS &&
-
+check_tmp_noexec /tmp &&
make V=1 &&
make V=1 tools/qt-faststart
diff --git a/video/ffmpeg/HISTORY b/video/ffmpeg/HISTORY
index 95d72a9..bc641bb 100644
--- a/video/ffmpeg/HISTORY
+++ b/video/ffmpeg/HISTORY
@@ -1,3 +1,6 @@
+2015-03-26 Vlad Glagolev <stealth AT sourcemage.org>
+ * BUILD: use check_tmp_noexec
+
2014-12-03 Eric Sandall <sandalle AT sourcemage.org>
* DEPENDS: SSL flag is --enable-openssl not --enable-SSL

diff --git a/wm-addons/xxkb/BUILD b/wm-addons/xxkb/BUILD
index bca2bbb..a76d0ea 100755
--- a/wm-addons/xxkb/BUILD
+++ b/wm-addons/xxkb/BUILD
@@ -1,2 +1,4 @@
+check_tmp_noexec /tmp &&
xmkmf $OPTS &&
+check_tmp_noexec /tmp &&
make
diff --git a/wm-addons/xxkb/HISTORY b/wm-addons/xxkb/HISTORY
index 102e836..8cce2d3 100644
--- a/wm-addons/xxkb/HISTORY
+++ b/wm-addons/xxkb/HISTORY
@@ -1,3 +1,6 @@
+2015-03-26 Vlad Glagolev <stealth AT sourcemage.org>
+ * BUILD: use check_tmp_noexec
+
2012-11-23 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: PATCHLEVEL++
* PRE_BUILD: apply the patch
diff --git a/x11/tightvnc/BUILD b/x11/tightvnc/BUILD
index ee6d000..5be2339 100755
--- a/x11/tightvnc/BUILD
+++ b/x11/tightvnc/BUILD
@@ -1,6 +1,9 @@
+check_tmp_noexec /tmp &&
xmkmf &&
make_single &&
make World &&
cd Xvnc &&
./configure &&
-make
+check_tmp_noexec /tmp &&
+make &&
+make_normal
diff --git a/x11/tightvnc/HISTORY b/x11/tightvnc/HISTORY
index dfc085e..a9cc98e 100644
--- a/x11/tightvnc/HISTORY
+++ b/x11/tightvnc/HISTORY
@@ -1,3 +1,6 @@
+2015-03-26 Vlad Glagolev <stealth AT sourcemage.org>
+ * BUILD: moved make_normal here (from INSTALL); use check_tmp_noexec
+
2010-11-03 Ladislav Hagara <hgr AT vabo.cz>
* DEPENDS: jpeg -> JPEG

diff --git a/x11/tightvnc/INSTALL b/x11/tightvnc/INSTALL
index 22f8d2c..a482099 100755
--- a/x11/tightvnc/INSTALL
+++ b/x11/tightvnc/INSTALL
@@ -1,4 +1,3 @@
-make_normal &&
cd $SOURCE_DIRECTORY &&
# lower bit depth to 16, fix some paths
sedit 's/depth = 24/depth = 16/' vncserver &&



  • [SM-Commit] GIT changes to stable-0.62 grimoire by Vlad Glagolev (b87abac4d25cb0d01ca1fac8391b7ccfa1039a0f), Vlad Glagolev, 03/26/2015

Archive powered by MHonArc 2.6.24.

Top of Page