Added avahi-0.6.25 build template.
--HG-- extra : convert_revision : ddfec312cf9657158ba3af47f902c9d2441c7e15
This commit is contained in:
parent
e330f85add
commit
54658e4cc5
|
@ -0,0 +1 @@
|
|||
avahi
|
|
@ -0,0 +1 @@
|
|||
avahi
|
|
@ -0,0 +1 @@
|
|||
avahi
|
|
@ -0,0 +1 @@
|
|||
avahi
|
|
@ -0,0 +1 @@
|
|||
avahi
|
|
@ -0,0 +1 @@
|
|||
avahi
|
|
@ -0,0 +1 @@
|
|||
avahi
|
|
@ -0,0 +1 @@
|
|||
avahi
|
|
@ -0,0 +1 @@
|
|||
avahi
|
|
@ -0,0 +1 @@
|
|||
avahi
|
|
@ -0,0 +1 @@
|
|||
avahi
|
|
@ -0,0 +1 @@
|
|||
avahi
|
|
@ -0,0 +1 @@
|
|||
avahi
|
|
@ -0,0 +1 @@
|
|||
avahi
|
|
@ -0,0 +1,35 @@
|
|||
#
|
||||
# This script creates the avahi and netdev system user/group.
|
||||
#
|
||||
|
||||
case "${ACTION}" in
|
||||
pre)
|
||||
;;
|
||||
post)
|
||||
if ! getent group netdev >/dev/null; then
|
||||
groupadd -r netdev 2>&1 >/dev/null
|
||||
[ $? -ne 0 ] && exit $?
|
||||
echo "Created netdev system group."
|
||||
fi
|
||||
if ! getent passwd netdev >/dev/null; then
|
||||
useradd -c "Network device user" \
|
||||
-d / -s /sbin/nologin -g netdev -r netdev && \
|
||||
passwd -l netdev 2>&1 >/dev/null
|
||||
[ $? -ne 0 ] && exit $?
|
||||
echo "Created netdev system user."
|
||||
fi
|
||||
if ! getent group avahi >/dev/null; then
|
||||
groupadd -r avahi 2>&1 >/dev/null
|
||||
[ $? -ne 0 ] && exit $?
|
||||
echo "Created avahi system group."
|
||||
fi
|
||||
if ! getent passwd avahi >/dev/null; then
|
||||
useradd -c "Avahi daemon" \
|
||||
-d / -s /sbin/nologin -g avahi -r avahi && \
|
||||
passwd -l avahi 2>&1 >/dev/null
|
||||
[ $? -ne 0 ] && exit $?
|
||||
echo "Created avahi system user."
|
||||
fi
|
||||
|
||||
;;
|
||||
esac
|
|
@ -0,0 +1,13 @@
|
|||
#
|
||||
# This script removes the avahi and netdev user/group.
|
||||
#
|
||||
case "${ACTION}" in
|
||||
pre)
|
||||
userdel avahi &>/dev/null
|
||||
[ $? -eq 0 ] && echo "Removed avahi system user/group."
|
||||
userdel netdev &>/dev/null
|
||||
[ $? -eq 0 ] && echo "Removed netdev system user/group."
|
||||
;;
|
||||
post)
|
||||
;;
|
||||
esac
|
|
@ -0,0 +1,27 @@
|
|||
# Template file for 'avahi-autoipd'.
|
||||
#
|
||||
short_desc="Avahi IPv4LL network address configuration daemon"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This tool implements IPv4LL, Dynamic Configuration of IPv4 Link-Local
|
||||
Addresses (IETF RFC3927), a protocol for automatic IP address configuration
|
||||
from the link-local 169.254.0.0/16 range without the need for a central
|
||||
server. It is primarily intended to be used in ad-hoc networks which lack a
|
||||
DHCP server."
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libssp
|
||||
Add_dependency run libdaemon
|
||||
Add_dependency run net-tools
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/sbin
|
||||
mkdir -p ${DESTDIR}/usr/share/man/man8
|
||||
mkdir -p ${DESTDIR}/etc/avahi
|
||||
|
||||
mv ${SRCPKGDESTDIR}/usr/sbin/avahi-autoipd ${DESTDIR}/usr/sbin
|
||||
mv ${SRCPKGDESTDIR}/usr/share/man/man8/avahi-autoipd* \
|
||||
${DESTDIR}/usr/share/man/man8
|
||||
mv ${SRCPKGDESTDIR}/etc/avahi/avahi-autoipd.action ${DESTDIR}/etc/avahi
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
# Template file for 'avahi-compat-libs-devel'.
|
||||
#
|
||||
short_desc="Avahi compat libraries (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains development files for the HOWL compatibility
|
||||
libraries provided by Avahi."
|
||||
|
||||
Add_dependency run avahi-libs-devel
|
||||
Add_dependency run avahi-compat-libs
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/include
|
||||
|
||||
mv ${SRCPKGDESTDIR}/usr/include/avahi-compat* ${DESTDIR}/usr/include
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/libhowl.so ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/libhowl.a ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/libdns_sd.so ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/libdns_sd.a ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig/avahi-compat* \
|
||||
${DESTDIR}/usr/lib/pkgconfig
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
# Template file for 'avahi-compat-libs'.
|
||||
#
|
||||
short_desc="Avahi compatiblity shared libraries"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains howl/mDNSResponder compatibility shared
|
||||
libraries provided by Avahi."
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libssp
|
||||
Add_dependency run dbus-libs
|
||||
Add_dependency run avahi-libs
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/libhowl.so.* ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/libdns_sd.so.* ${DESTDIR}/usr/lib
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
# Template file for 'avahi-discover'.
|
||||
#
|
||||
short_desc="Service discover user interface for avahi"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains a user interface for discovering services."
|
||||
|
||||
Add_dependency run avahi
|
||||
Add_dependency run python
|
||||
Add_dependency run avahi-python
|
||||
Add_dependency run dbus-python
|
||||
Add_dependency run pygtk
|
||||
|
||||
noarch=yes
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/bin
|
||||
mkdir -p ${DESTDIR}/usr/share/man/man1
|
||||
mkdir -p ${DESTDIR}/usr/share/applications
|
||||
mkdir -p ${DESTDIR}/usr/share/avahi/interfaces
|
||||
mkdir -p ${DESTDIR}/usr/lib/python2.6/site-packages
|
||||
|
||||
mv ${SRCPKGDESTDIR}/usr/bin/avahi-discover ${DESTDIR}/usr/bin
|
||||
mv ${SRCPKGDESTDIR}/usr/share/man/man1/avahi-discover* \
|
||||
${DESTDIR}/usr/share/man/man1
|
||||
mv ${SRCPKGDESTDIR}/usr/share/applications/avahi-discover.desktop \
|
||||
${DESTDIR}/usr/share/applications
|
||||
mv ${SRCPKGDESTDIR}/usr/share/avahi/interfaces/avahi-discover.glade \
|
||||
${DESTDIR}/usr/share/avahi/interfaces
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/python2.6/site-packages/avahi_discover \
|
||||
${DESTDIR}/usr/lib/python2.6/site-packages
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
# Template file for 'avahi-glib-libs-devel'.
|
||||
#
|
||||
short_desc="Avahi glib libraries (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains development files for the glib libraries
|
||||
provided by Avahi."
|
||||
|
||||
Add_dependency run glibc-devel
|
||||
Add_dependency run avahi-libs-devel
|
||||
Add_dependency run glib-devel
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/include
|
||||
|
||||
mv ${SRCPKGDESTDIR}/usr/include/avahi-g* ${DESTDIR}/usr/include
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/libavahi-g*.so ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/libavahi-g*.a ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig/avahi-g* \
|
||||
${DESTDIR}/usr/lib/pkgconfig
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
# Template file for 'avahi-glib-libs'.
|
||||
#
|
||||
short_desc="Avahi glib shared libraries"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains the glib shared libraries provided by Avahi."
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run avahi-libs
|
||||
Add_dependency run glib
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/libavahi-glib.so.* ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/libavahi-gobject.so.* ${DESTDIR}/usr/lib
|
||||
}
|
|
@ -0,0 +1,29 @@
|
|||
# Template file for 'avahi-libs-devel'.
|
||||
#
|
||||
short_desc="Avahi core libraries (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains development files for the core libraries
|
||||
provided by Avahi."
|
||||
|
||||
Add_dependency run glibc-devel
|
||||
Add_dependency run libssp-devel
|
||||
Add_dependency run dbus-devel
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/include
|
||||
|
||||
for f in common client core; do
|
||||
mv ${SRCPKGDESTDIR}/usr/include/avahi-${f} \
|
||||
${DESTDIR}/usr/include
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/libavahi-${f}.so \
|
||||
${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/libavahi-${f}.a \
|
||||
${DESTDIR}/usr/lib
|
||||
done
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig/avahi-core.pc \
|
||||
${DESTDIR}/usr/lib/pkgconfig
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig/avahi-client.pc \
|
||||
${DESTDIR}/usr/lib/pkgconfig
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
# Template file for 'avahi-libs'.
|
||||
#
|
||||
short_desc="Avahi shared libraries"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains core shared libraries provided by Avahi."
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libssp
|
||||
Add_dependency run dbus-libs
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/libavahi-client.so.* ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/libavahi-core.so.* ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/libavahi-common.so.* ${DESTDIR}/usr/lib
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
# Template file for 'avahi-python-utils'.
|
||||
#
|
||||
short_desc="Avahi python utils"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains the python utilities provided by Avahi."
|
||||
|
||||
Add_dependency run avahi-python
|
||||
|
||||
noarch=yes
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/bin ${DESTDIR}/usr/share/man/man1
|
||||
mv ${SRCPKGDESTDIR}/usr/bin/avahi-bookmarks ${DESTDIR}/usr/bin
|
||||
mv ${SRCPKGDESTDIR}/usr/share/man/man1/avahi-bookmarks* \
|
||||
${DESTDIR}/usr/share/man/man1
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
# Template file for 'avahi-python'.
|
||||
#
|
||||
short_desc="Python utility package for Avahi"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains utility modules to talk to Avahi with Python easier."
|
||||
|
||||
Add_dependency run python
|
||||
Add_dependency run dbus-python
|
||||
|
||||
noarch=yes
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/python* ${DESTDIR}/usr/lib
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
# Template file for 'avahi-ui-libs-devel'.
|
||||
#
|
||||
short_desc="Avahi UI libraries (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains development files for the UI libraries
|
||||
provided by Avahi."
|
||||
|
||||
Add_dependency run glibc-devel
|
||||
Add_dependency run avahi-libs-devel
|
||||
Add_dependency run gtk+-devel
|
||||
Add_dependency run gdbm-devel
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/include
|
||||
|
||||
mv ${SRCPKGDESTDIR}/usr/include/avahi-ui ${DESTDIR}/usr/include
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/libavahi-ui.so ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/libavahi-ui.a ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
# Template file for 'avahi-ui-libs'.
|
||||
#
|
||||
short_desc="Avahi UI shared libraries"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains the UI shared libraries provided by Avahi."
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run avahi-libs
|
||||
Add_dependency run gtk+
|
||||
Add_dependency run gdbm
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/libavahi-ui.so.* ${DESTDIR}/usr/lib
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
# Template file for 'avahi-ui-utils'.
|
||||
#
|
||||
short_desc="Avahi GTK+ utilities"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains some small GTK+ utilities to discover services."
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run avahi-glib-libs
|
||||
Add_dependency run avahi-ui-libs
|
||||
Add_dependency run avahi
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/bin ${DESTDIR}/usr/share/man/man1
|
||||
|
||||
mv ${SRCPKGDESTDIR}/usr/bin/b* ${DESTDIR}/usr/bin
|
||||
mv ${SRCPKGDESTDIR}/usr/share/man/man1/b* ${DESTDIR}/usr/share/man/man1
|
||||
mv ${SRCPKGDESTDIR}/usr/share/applications ${DESTDIR}/usr/share
|
||||
mv ${SRCPKGDESTDIR}/usr/bin/avahi-discover-standalone \
|
||||
${DESTDIR}/usr/bin
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
# Template file for 'avahi-utils'.
|
||||
#
|
||||
short_desc="Avahi browsing, publishing and discovery utilities"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains several utilities that allow you to interact with the
|
||||
Avahi daemon, including publish, browsing and discovering services."
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libssp
|
||||
Add_dependency run dbus-libs
|
||||
Add_dependency run gdbm
|
||||
Add_dependency run avahi-libs
|
||||
Add_dependency run avahi
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/bin ${DESTDIR}/usr/share/man/man1
|
||||
|
||||
for f in browse publish resolve set-host-name; do
|
||||
mv ${SRCPKGDESTDIR}/usr/bin/avahi-${f}* ${DESTDIR}/usr/bin
|
||||
mv ${SRCPKGDESTDIR}/usr/share/man/man1/avahi-${f}* \
|
||||
${DESTDIR}/usr/share/man/man1
|
||||
done
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
abi_depends=">=0.6.25"
|
||||
api_depends="${abi_depends}"
|
|
@ -0,0 +1,49 @@
|
|||
# Template file for 'avahi'
|
||||
pkgname=avahi
|
||||
version=0.6.25
|
||||
distfiles="http://www.avahi.org/download/avahi-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
configure_args="--disable-qt3 --disable-qt4 --disable-mono --disable-monodoc
|
||||
--disable-doxygen-doc --enable-compat-libdns_sd --enable-compat-howl
|
||||
--with-xml=expat --with-avahi-user=avahi --with-avahi-group=avahi
|
||||
--with-avahi-priv-access-group=netdev --with-autoipd-user=avahi
|
||||
--with-autoipd-group=avahi --with-distro=gentoo --disable-xmltoman
|
||||
--disable-dbm --localstatedir=/var"
|
||||
short_desc="Multicast DNS Service Discovery"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=9220d974f5515b8ccfa3900cd72cedcac0fa4cc87ca3c64405f7c55346cbba59
|
||||
long_desc="
|
||||
Avahi is a fully LGPL framework for Multicast DNS Service Discovery.
|
||||
It allows programs to publish and discover services and hosts running on a
|
||||
local network with no specific configuration. For example you can plug into
|
||||
a network and instantly find printers to print to, files to look at and
|
||||
people to talk to."
|
||||
|
||||
openrc_services="avahi-daemon default avahi-dnsconfd default"
|
||||
conf_files="/etc/avahi/avahi-daemon.conf /etc/avahi/hosts.conf"
|
||||
|
||||
subpackages="$pkgname-autoipd $pkgname-discover $pkgname-compat-libs"
|
||||
subpackages="$subpackages $pkgname-compat-libs-devel $pkgname-libs"
|
||||
subpackages="$subpackages $pkgname-libs-devel $pkgname-glib-libs"
|
||||
subpackages="$subpackages $pkgname-glib-libs-devel $pkgname-ui-libs"
|
||||
subpackages="$subpackages $pkgname-ui-libs-devel $pkgname-utils"
|
||||
subpackages="$subpackages $pkgname-ui-utils $pkgname-python-utils"
|
||||
subpackages="$subpackages $pkgname-python"
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run dbus
|
||||
Add_dependency run expat
|
||||
Add_dependency run libcap
|
||||
Add_dependency run libdaemon
|
||||
Add_dependency run avahi-libs
|
||||
|
||||
Add_dependency build dbus-devel
|
||||
Add_dependency build libcap-devel
|
||||
Add_dependency build libdaemon-devel
|
||||
Add_dependency build gdbm-devel
|
||||
Add_dependency build glib-devel
|
||||
Add_dependency build expat-devel
|
||||
Add_dependency build pygtk
|
||||
Add_dependency build dbus-python
|
||||
Add_dependency build libglade
|
||||
Add_dependency build intltool
|
Loading…
Reference in New Issue