diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2010-07-31 08:16:15 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2010-07-31 08:16:15 +0000 |
commit | f67100a98bc6c9dc048fb51ba96b7bdbf45fcb50 (patch) | |
tree | 7498692bd53432d022f2d4197bf0a1f7a65652e4 /net/avahi-app | |
parent | ae3ec3a77f997c4e2e6ee0c70e97b37f8d9ce420 (diff) | |
download | ports-f67100a98bc6c9dc048fb51ba96b7bdbf45fcb50.tar.gz ports-f67100a98bc6c9dc048fb51ba96b7bdbf45fcb50.zip |
Notes
Diffstat (limited to 'net/avahi-app')
-rw-r--r-- | net/avahi-app/Makefile | 4 | ||||
-rw-r--r-- | net/avahi-app/files/org.freedesktop.Avahi.service | 24 |
2 files changed, 27 insertions, 1 deletions
diff --git a/net/avahi-app/Makefile b/net/avahi-app/Makefile index e28b36891f69..44e40f90eb26 100644 --- a/net/avahi-app/Makefile +++ b/net/avahi-app/Makefile @@ -8,7 +8,7 @@ PORTNAME= avahi PORTVERSION= 0.6.27 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= net dns MASTER_SITES= http://www.avahi.org/download/ PKGNAMESUFFIX?= -app @@ -160,6 +160,8 @@ avahi-post-install: ${PREFIX}/etc/avahi; \ fi .endfor + ${INSTALL_DATA} ${FILESDIR}/org.freedesktop.Avahi.service \ + ${LOCALBASE}/share/dbus-1/system-services .if !defined(PACKAGE_BUILDING) && (${AVAHI_SLAVE}=="no" || ${AVAHI_SLAVE}=="autoipd") @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .endif diff --git a/net/avahi-app/files/org.freedesktop.Avahi.service b/net/avahi-app/files/org.freedesktop.Avahi.service new file mode 100644 index 000000000000..7030ab4cb6dd --- /dev/null +++ b/net/avahi-app/files/org.freedesktop.Avahi.service @@ -0,0 +1,24 @@ +# This file is part of avahi. +# +# avahi is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# avahi is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public +# License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with avahi; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +# USA. + +[D-BUS Service] +Name=org.freedesktop.Avahi +#SystemdService=avahi-daemon.service + +# This service should not be bus activated if systemd isn't running, +# so that activation won't conflict with the init script startup. +Exec=/usr/bin/false |