diff options
-rw-r--r-- | academic/sage/sage-build-root.patch | 33 | ||||
-rw-r--r-- | academic/sage/sage.SlackBuild | 5 | ||||
-rw-r--r-- | academic/sage/sage.info | 6 |
3 files changed, 40 insertions, 4 deletions
diff --git a/academic/sage/sage-build-root.patch b/academic/sage/sage-build-root.patch new file mode 100644 index 0000000000..40e1572605 --- /dev/null +++ b/academic/sage/sage-build-root.patch @@ -0,0 +1,33 @@ +--- sage-6.5/configure.old 2015-02-19 08:11:31.873711070 +0700 ++++ sage-6.5/configure 2015-02-19 08:12:00.982710447 +0700 +@@ -2942,19 +2942,19 @@ + + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for root user" >&5 +-$as_echo_n "checking for root user... " >&6; } ++#{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for root user" >&5 ++#$as_echo_n "checking for root user... " >&6; } + +-uid=`id -u` +-if test "x$uid" == "x0"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +- as_fn_error $? "You cannot build Sage as root, switch to a unpriviledged user" "$LINENO" 5 +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++#uid=`id -u` ++#if test "x$uid" == "x0"; then ++# { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++#$as_echo "yes" >&6; } ++# as_fn_error $? "You cannot build Sage as root, switch to a unpriviledged user" "$LINENO" 5 ++#else ++# { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++#$as_echo "no" >&6; } + +-fi; ++#fi; + + + #--------------------------------------------------------- diff --git a/academic/sage/sage.SlackBuild b/academic/sage/sage.SlackBuild index aa9d103d19..430a67037e 100644 --- a/academic/sage/sage.SlackBuild +++ b/academic/sage/sage.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=sage -VERSION=${VERSION:-6.4.1} +VERSION=${VERSION:-6.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -63,6 +63,9 @@ mkdir -p $PKG/$SAGEROOT $PKG/usr/share/{applications,pixmaps} \ # Added freeBSD patch to build as root, thanks to Heinz for pointing it patch -p0 < $CWD/pynac.patch +# Added more patch to build as root. +patch -p1 < $CWD/sage-build-root.patch + make # test all examples in the documentation (over 93,000 line of input) diff --git a/academic/sage/sage.info b/academic/sage/sage.info index b884dcc2e6..39c23d45d0 100644 --- a/academic/sage/sage.info +++ b/academic/sage/sage.info @@ -1,8 +1,8 @@ PRGNAM="sage" -VERSION="6.4.1" +VERSION="6.5" HOMEPAGE="http://www.sagemath.org" -DOWNLOAD="http://boxen.math.washington.edu/home/sagemath/sage-mirror/src/sage-6.4.1.tar.gz" -MD5SUM="9e64f198f791577555344b9aaa6768a9" +DOWNLOAD="http://boxen.math.washington.edu/home/sagemath/sage-mirror/src/sage-6.5.tar.gz" +MD5SUM="ec9195561ffa2bcbc02391ac5af4e7ed" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |