summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/avahi/PKGBUILD
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2010-09-04 22:50:45 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2010-09-04 22:50:45 (GMT)
commit2f09e5e139a4be5d91782a94c00b9f64d453b0eb (patch)
tree7bdab1d7b490ed8c30a15fe95f5b6addd96bf599 /abs/core-testing/avahi/PKGBUILD
parentd3d70f0555b4f33bafeaf02358ac2fcf0b2dcd10 (diff)
downloadlinhes_pkgbuild-2f09e5e139a4be5d91782a94c00b9f64d453b0eb.zip
linhes_pkgbuild-2f09e5e139a4be5d91782a94c00b9f64d453b0eb.tar.gz
linhes_pkgbuild-2f09e5e139a4be5d91782a94c00b9f64d453b0eb.tar.bz2
avahi:Bumped/Updated for LinHES 7.
Diffstat (limited to 'abs/core-testing/avahi/PKGBUILD')
-rw-r--r--abs/core-testing/avahi/PKGBUILD51
1 files changed, 29 insertions, 22 deletions
diff --git a/abs/core-testing/avahi/PKGBUILD b/abs/core-testing/avahi/PKGBUILD
index c448d16..f3d15bf 100644
--- a/abs/core-testing/avahi/PKGBUILD
+++ b/abs/core-testing/avahi/PKGBUILD
@@ -1,31 +1,37 @@
-# $Id: PKGBUILD 23159 2009-01-04 04:58:11Z douglas $
-# Maintainer: Douglas Soares de Andrade <douglas@archlinux.org>
+# $Id: PKGBUILD 70504 2010-02-27 03:24:54Z dgriffiths $
+# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
pkgname=avahi
-pkgver=0.6.24
-pkgrel=2
+pkgver=0.6.25
+pkgrel=3
pkgdesc="A multicast/unicast DNS-SD framework"
arch=('i686' 'x86_64')
url="http://www.avahi.org/"
license=('LGPL')
-depends=('dbus>=1.1.20-1' 'libcap' 'libdaemon>=0.11' 'gdbm' 'glib2' 'expat')
-optdepends=('qt3:Qt3 UI support' 'libglade:Avahi-discover-standalone'
- 'nss-mdns:NSS support for mDNS')
+depends=('dbus>=1.1.20-1' 'libcap>=2.16' 'libdaemon>=0.11' 'gdbm' 'glib2' 'expat')
+optdepends=('qt3: Qt3 UI support'
+ 'libglade: avahi-discover-standalone'
+ 'nss-mdns: NSS support for mDNS'
+ 'pygtk: avahi-discover'
+ 'dbus-python: avahi-discover')
makedepends=('mono' 'pygtk' 'gtk-sharp-2' 'dbus-python' 'qt3' 'libglade' 'intltool')
-backup=(etc/avahi/avahi-daemon.conf)
+backup=(etc/avahi/avahi-daemon.conf etc/avahi/services/{sftp-,}ssh.service)
install=avahi.install
conflicts=('howl' 'mdnsresponder')
provides=('howl' 'mdnsresponder')
replaces=('howl' 'mdnsresponder')
options=('!libtool')
-source=(http://www.avahi.org/download/avahi-${pkgver}.tar.gz gnome-nettool.png)
+source=(http://www.avahi.org/download/avahi-${pkgver}.tar.gz gnome-nettool.png avahi-daemon-dbus.patch)
build() {
[ -z "${QTDIR}" ] && . /etc/profile.d/qt3.sh
- export MONO_SHARED_DIR=${startdir}/src/.wabi
+ export MONO_SHARED_DIR=${srcdir}/.wabi
mkdir -p ${MONO_SHARED_DIR}
- cd ${startdir}/src/${pkgname}-${pkgver}
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ sed -i 's|Requires.private|Requires|' avahi-qt3.pc.in
+
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
@@ -42,23 +48,24 @@ build() {
--with-autoipd-group=avahi
make || return 1
- make DESTDIR=${startdir}/pkg install
+ make DESTDIR=${pkgdir} install
rm -rf ${MONO_SHARED_DIR}
- #fix capability
- sed -i -e 's|$DAEMON -D |modprobe capability > /dev/null 2>\&1 ; $DAEMON -D |' ${startdir}/pkg/etc/rc.d/avahi-daemon
-
- sed -i -e 's/netdev/network/g' ${startdir}/pkg/etc/dbus-1/system.d/avahi-dbus.conf
+ sed -i -e 's/netdev/network/g' ${pkgdir}/etc/dbus-1/system.d/avahi-dbus.conf
# howl and mdnsresponder compatability
- cd ${startdir}/pkg/usr/include
+ cd ${pkgdir}/usr/include
ln -s avahi-compat-libdns_sd/dns_sd.h dns_sd.h
ln -s avahi-compat-howl howl
- cd ${startdir}/pkg/usr/lib/pkgconfig
+ cd ${pkgdir}/usr/lib/pkgconfig
ln -s avahi-compat-howl.pc howl.pc
- mkdir -p ${startdir}/pkg/usr/share/pixmaps
- install -m 644 ${startdir}/src/gnome-nettool.png ${startdir}/pkg/usr/share/pixmaps/gnome-nettool.png
+ mkdir -p ${pkgdir}/usr/share/pixmaps
+ install -m 644 ${srcdir}/gnome-nettool.png ${pkgdir}/usr/share/pixmaps/gnome-nettool.png
+
+ cd ${pkgdir}
+ patch -p0 < ${srcdir}/avahi-daemon-dbus.patch || return 1
}
-md5sums=('068c1d220b07037e64caf87d4a7a0504'
- '42c2905307c7a5dc6ac4b75f4c3d65a3')
+md5sums=('a83155a6e29e3988f07e5eea3287b21e'
+ '42c2905307c7a5dc6ac4b75f4c3d65a3'
+ '0e1f5900b56fcfa1bffddb4f233f539f')