summaryrefslogtreecommitdiff
path: root/staging/avahi/install
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-24 11:07:35 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-24 11:07:35 -0300
commit8d32e471d53634b308adf93007922a6ccbd2b830 (patch)
tree606fdcd5508936ffdfc7cf510a16b7324c2792e2 /staging/avahi/install
parent4c9d76f582ae64854e30113e7f7dc621af3db820 (diff)
parent1e1e4927b05d9b242bfe83794e3a98ab2c8f79ef (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/augeas/PKGBUILD community/chmsee/PKGBUILD community/cupsddk/PKGBUILD community/optipng/PKGBUILD community/pcb/PKGBUILD community/taglib-rcc/PKGBUILD community/wmctrl/PKGBUILD extra/c-ares/PKGBUILD multilib/lib32-freetype2/PKGBUILD
Diffstat (limited to 'staging/avahi/install')
-rw-r--r--staging/avahi/install21
1 files changed, 21 insertions, 0 deletions
diff --git a/staging/avahi/install b/staging/avahi/install
new file mode 100644
index 000000000..7c75c3dd4
--- /dev/null
+++ b/staging/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
+}