summaryrefslogtreecommitdiffstats
path: root/abs/core/avahi/install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-06 22:29:02 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-06 22:29:02 (GMT)
commit999d8e68e11f9676c491540601ae0a191e1fab49 (patch)
tree9a6fc38f0ac1e0399f5628717fbf7cb10eb3fb72 /abs/core/avahi/install
parentbed9218f521cfd8631017f995aa5bdb4f2bd67aa (diff)
downloadlinhes_pkgbuild-999d8e68e11f9676c491540601ae0a191e1fab49.zip
linhes_pkgbuild-999d8e68e11f9676c491540601ae0a191e1fab49.tar.gz
linhes_pkgbuild-999d8e68e11f9676c491540601ae0a191e1fab49.tar.bz2
avahi 0.6.31
Diffstat (limited to 'abs/core/avahi/install')
-rw-r--r--abs/core/avahi/install21
1 files changed, 21 insertions, 0 deletions
diff --git a/abs/core/avahi/install b/abs/core/avahi/install
new file mode 100644
index 0000000..7c75c3d
--- /dev/null
+++ b/abs/core/avahi/install
@@ -0,0 +1,21 @@
+post_install() {
+ getent group avahi &>/dev/null || groupadd -r -g 84 avahi >/dev/null
+ getent passwd avahi &>/dev/null || useradd -r -u 84 -g avahi -d / -s /bin/false -c avahi avahi >/dev/null
+
+ cat <<EOF
+==> The following daemons may be added to DAEMONS in /etc/rc.conf:
+==> avahi-daemon: the mdns responder, you probably want this.
+==> dbus needs to be running when you start it.
+==> avahi-dnsconfd: daemon used for peer-to-peer automatic dns
+==> configuration on dhcp-less networks.
+
+==> To use some of the client applications you will have to install python.
+==> In addition, pygtk is required for the graphical ones and
+==> twisted for avahi-bookmarks.
+EOF
+}
+
+post_remove() {
+ getent passwd avahi &>/dev/null && userdel avahi >/dev/null
+ getent group avahi &>/dev/null && groupdel avahi >/dev/null
+}