mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
system/freeswitch: Maintainer info update + minor fixes
This commit is contained in:
parent
d84fccba2c
commit
a5bdeab3eb
5 changed files with 15 additions and 17 deletions
|
@ -8,8 +8,8 @@ can be developed using a wide range of free tools.
|
|||
Unlike other SlackBuilds which have a /usr installation prefix, this
|
||||
script will install FreeSWITCH to /opt/freeswitch instatead. This is done
|
||||
to simplify the build process since FreeSWITCH attemps to install itself
|
||||
into many non-standard directories in the prefix directory. Therefore, it
|
||||
is installed as a self-contained and easily-removable location in /opt.
|
||||
into many non-standard directories in the prefix directory. Therefore,
|
||||
it is installed as a self-contained and easily-removable location in /opt.
|
||||
|
||||
This script also expects there to be a user and group called "freeswitch",
|
||||
with uid and gid of 269 (see http://slackbuilds.org/uid_gid.txt):
|
||||
|
|
|
@ -25,7 +25,6 @@ preserve_perms() {
|
|||
preserve_perms etc/rc.d/rc.freeswitch.new
|
||||
config etc/logrotate.d/freeswitch.new
|
||||
|
||||
for i in $(find opt/freeswitch/conf -type f -name '*.new'); do
|
||||
config $i
|
||||
done
|
||||
find opt/freeswitch/conf -type f -name '*.new' \
|
||||
| while read new ; do config $new ; done
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for FreeSWITCH
|
||||
|
||||
# Copyright 2013, mario <mario@slackverse.org>
|
||||
# Copyright 2013, 2015 Mario Preksavec, Zagreb, HR
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -68,8 +68,6 @@ case "$PGSQL" in
|
|||
*) PGSQL="--without-pgsql --disable-core-pgsql-support" ;;
|
||||
esac
|
||||
|
||||
set -e
|
||||
|
||||
# Bail if user or group isn't valid on your system
|
||||
if ! grep ^freeswitch: /etc/passwd 2>&1 > /dev/null; then
|
||||
|
||||
|
@ -96,6 +94,8 @@ EOF
|
|||
exit
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
|
@ -104,10 +104,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
|||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
\( -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 {} \;
|
||||
|
||||
# Prepare some things
|
||||
./rebootstrap.sh
|
||||
|
|
|
@ -22,5 +22,5 @@ MD5SUM="64b60dffd99f4a7f9799bb2865945258 \
|
|||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="mario"
|
||||
EMAIL="mario@slackverse.org"
|
||||
MAINTAINER="Mario Preksavec"
|
||||
EMAIL="mario at slackware dot hr"
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Start/stop/restart FreeSWITCH for Slackware
|
||||
#
|
||||
# Copyright 2013, mario <mario@slackverse.org>
|
||||
# Start/stop/restart the FreeSWITCH daemon
|
||||
# Written by Mario Preksavec <mario@slackware.hr>
|
||||
|
||||
USER=freeswitch
|
||||
GROUP=freeswitch
|
||||
|
|
Loading…
Reference in a new issue