summaryrefslogtreecommitdiffstats
path: root/network/owncloud-server
diff options
context:
space:
mode:
Diffstat (limited to 'network/owncloud-server')
-rw-r--r--network/owncloud-server/README25
-rw-r--r--network/owncloud-server/owncloud-server.SlackBuild16
-rw-r--r--network/owncloud-server/owncloud-server.info2
3 files changed, 27 insertions, 16 deletions
diff --git a/network/owncloud-server/README b/network/owncloud-server/README
index 3e3e9ce0d6..89fde57bca 100644
--- a/network/owncloud-server/README
+++ b/network/owncloud-server/README
@@ -1,8 +1,7 @@
-ownCloud gives you universal access to your files through a web interface
-or WebDAV. It also provides a platform to easily view & sync your contacts,
-calendars and bookmarks across all your devices and enables basic editing
-right on the web.
-
+ownCloud gives you universal access to your files through a web
+interface or WebDAV. It also provides a platform to easily view & sync
+your contacts, calendars and bookmarks across all your devices and
+enables basic editing right on the web.
SlackBuild defaults
-------------------
@@ -34,13 +33,15 @@ Configuration
"LoadModule rewrite_module ..." and "Include /etc/httpd/mod_php.conf",
then restart httpd.
-(3) After installation, you must set up the names that clients will use to
-access the server as "trusted domains".
+(3) After installation, you must set up the names that clients will
+use to access the server as "trusted domains".
-You must also do this if you are upgrading an older owncloud installation.
+You must also do this if you are upgrading an older owncloud
+installation.
-To do this, you will need to edit /srv/httpd/htdocs/owncloud/config/config.php
-as follows (please use your own server name instead of myserver.local or
+To do this, you will need to edit
+/srv/httpd/htdocs/owncloud/config/config.php as follows
+(please use your own server name instead of myserver.local or
owncloud.example.com):
'trusted_domains' =>
@@ -50,7 +51,7 @@ owncloud.example.com):
2 => 'owncloud.example.com',
),
-(4) After installation, **and after every upgrade**, you need to complete
-setup by visiting this page:
+(4) After installation, **and after every upgrade**, you need to
+complete setup by visiting this page:
http://localhost/owncloud/
diff --git a/network/owncloud-server/owncloud-server.SlackBuild b/network/owncloud-server/owncloud-server.SlackBuild
index 49d2565176..bcb6c71e09 100644
--- a/network/owncloud-server/owncloud-server.SlackBuild
+++ b/network/owncloud-server/owncloud-server.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Owncloud server
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=owncloud-server
SRCNAM=owncloud
VERSION=${VERSION:-8.2.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
@@ -34,7 +37,14 @@ DOCROOT=${DOCROOT:-/srv/httpd/htdocs}
PHPUSER=${PHPUSER:-root}
PHPGROUP=${PHPGROUP:-apache}
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -70,4 +80,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/owncloud-server/owncloud-server.info b/network/owncloud-server/owncloud-server.info
index ecd6605907..da1e51b1ff 100644
--- a/network/owncloud-server/owncloud-server.info
+++ b/network/owncloud-server/owncloud-server.info
@@ -1,7 +1,7 @@
PRGNAM="owncloud-server"
VERSION="8.2.11"
HOMEPAGE="https://owncloud.org/"
-DOWNLOAD="https://download.owncloud.org/community/owncloud-8.2.11.tar.bz2"
+DOWNLOAD="https://attic.owncloud.com/server/stable/owncloud-8.2.11.tar.bz2"
MD5SUM="43e3b4c53d4e819f612296c032cd2d37"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""