mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
network/avahi: Updated for version 0.6.27.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
parent
dc39d4e94d
commit
46a013f84c
2 changed files with 14 additions and 15 deletions
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=avahi
|
||||
VERSION=0.6.25
|
||||
VERSION=0.6.27
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -54,16 +54,16 @@ warn_accounts() {
|
|||
echo " Something like this should suffice for most systems: "
|
||||
echo " # groupadd -g 214 avahi"
|
||||
echo " # useradd -u 214 -g 214 -c "Avahi" -d /dev/null -s /bin/false avahi"
|
||||
exit 1
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Bail if user and/or group isn't valid on your system
|
||||
if ! grep -q "^avahi:" /etc/passwd; then
|
||||
warn_accounts
|
||||
fi
|
||||
fi
|
||||
if ! grep -q "^avahi:" /etc/group ; then
|
||||
warn_accounts
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${ARCH}" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
|
@ -83,7 +83,7 @@ set -e
|
|||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
|
@ -108,6 +108,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--enable-dbus \
|
||||
--enable-python \
|
||||
--enable-gtk \
|
||||
--disable-gtk3 \
|
||||
--enable-qt4 \
|
||||
--disable-qt3 \
|
||||
--enable-core-docs \
|
||||
|
@ -116,12 +117,12 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--with-dbus-sys=/etc/dbus-1/system.d \
|
||||
--with-avahi-user=avahi \
|
||||
--with-avahi-group=avahi \
|
||||
--with-avahi-priv-access-group=root \
|
||||
--with-avahi-priv-access-group=netdev \
|
||||
--with-distro=slackware \
|
||||
--program-prefix= \
|
||||
--program-suffix= \
|
||||
--build=$ARCH-slackware-linux \
|
||||
$MONO
|
||||
$MONO
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
@ -129,10 +130,8 @@ make install DESTDIR=$PKG
|
|||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
( cd $PKG/usr/man || exit 1
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
)
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
for i in $(find $PKG/usr/man -type l); do ln -s $(readlink $i).gz $i.gz; rm $i; done
|
||||
|
||||
mv $PKG/etc/rc.d/rc.avahidaemon $PKG/etc/rc.d/rc.avahidaemon.new
|
||||
mv $PKG/etc/rc.d/rc.avahidnsconfd $PKG/etc/rc.d/rc.avahidnsconfd.new
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="avahi"
|
||||
VERSION="0.6.25"
|
||||
VERSION="0.6.27"
|
||||
HOMEPAGE="http://avahi.org/"
|
||||
DOWNLOAD="http://avahi.org/download/avahi-0.6.25.tar.gz"
|
||||
MD5SUM="a83155a6e29e3988f07e5eea3287b21e"
|
||||
DOWNLOAD="http://avahi.org/download/avahi-0.6.27.tar.gz"
|
||||
MD5SUM="74b40f87aeab07fc77af25f725b32f04"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="David Somero"
|
||||
EMAIL="dsomero@hotmail.com"
|
||||
APPROVED="rworkman"
|
||||
APPROVED="Erik Hanson"
|
||||
|
|
Loading…
Reference in a new issue