summaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
Diffstat (limited to 'office')
-rw-r--r--office/SOGo/SOGo.SlackBuild16
1 files changed, 5 insertions, 11 deletions
diff --git a/office/SOGo/SOGo.SlackBuild b/office/SOGo/SOGo.SlackBuild
index 6336472f63..fe87ab6f58 100644
--- a/office/SOGo/SOGo.SlackBuild
+++ b/office/SOGo/SOGo.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=SOGo
VERSION=${VERSION:-4.0.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -93,14 +93,6 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
-# The symbolic links created to libSOGo.so are broken; remove them and create
-# symbolic links that work
-( cd $PKG/usr/lib${LIBDIRSUFFIX}/sogo
- ln -sf ../../lib/GNUstep/Frameworks/SOGo.framework/Versions/Current/sogo/libSOGo.so libSOGo.so
- ln -sf ../../lib/GNUstep/Frameworks/SOGo.framework/Versions/Current/sogo/libSOGo.so.4 libSOGo.so.4
- ln -sf ../../lib/GNUstep/Frameworks/SOGo.framework/Versions/Current/sogo/libSOGo.so.4.0.2 libSOGo.so.4.0.2
-)
-
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -128,11 +120,13 @@ cat Scripts/logrotate > $PKG/etc/logrotate.d/sogo.new
# Install configuration files
mkdir -p $PKG/etc/{sogo,sysconfig}
cat Scripts/sogo.conf > $PKG/etc/sogo/sogo.conf.new
-sed -e "s,USER=sogo,USER=$PRGUSR,g" Scripts/sogo-default > $PKG/etc/sysconfig/sogo.new
+sed -e "s,USER=sogo,USER=$PRGUSR,g" \
+ Scripts/sogo-default > $PKG/etc/sysconfig/sogo.new
# Install example SOGo Apache configuration files
mkdir -p $PKG/etc/httpd/extra
-cat Apache/SOGo.conf > $PKG/etc/httpd/extra/httpd-sogo.conf.new
+sed -e "s,/lib/GNUstep,/lib${LIBDIRSUFFIX}/GNUstep,g" \
+ Apache/SOGo.conf > $PKG/etc/httpd/extra/httpd-sogo.conf.new
# Install documentation
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION