[82973] trunk/dports/net/avahi

pixilla at macports.org pixilla at macports.org
Mon Aug 22 16:53:29 PDT 2011


Revision: 82973
          http://trac.macports.org/changeset/82973
Author:   pixilla at macports.org
Date:     2011-08-22 16:53:29 -0700 (Mon, 22 Aug 2011)
Log Message:
-----------
net/avahi:
- Change patch names to pass "port lint --nitpick".
- Whitespace edit.

Modified Paths:
--------------
    trunk/dports/net/avahi/Portfile

Added Paths:
-----------
    trunk/dports/net/avahi/files/patch-initscript_darwin_org.freedesktop.avahi-daemon.plist.in.diff
    trunk/dports/net/avahi/files/patch-initscript_darwin_org.freedesktop.avahi-dnsconfd.plist.in.diff

Removed Paths:
-------------
    trunk/dports/net/avahi/files/patch-initscript_darwin_org.freedesktop.avahi-daemon.plist.in
    trunk/dports/net/avahi/files/patch-initscript_darwin_org.freedesktop.avahi-dnsconfd.plist.in

Modified: trunk/dports/net/avahi/Portfile
===================================================================
--- trunk/dports/net/avahi/Portfile	2011-08-22 23:40:20 UTC (rev 82972)
+++ trunk/dports/net/avahi/Portfile	2011-08-22 23:53:29 UTC (rev 82973)
@@ -1,66 +1,59 @@
-# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem      1.0
+PortSystem          1.0
 
-name            avahi
-version         0.6.30
+name                avahi
+version             0.6.30
 revision            1
-categories      net devel
-maintainers     pixilla openmaintainer
-platforms       darwin
-description     A system which facilitates service discovery on a local network
+categories          net devel
+maintainers         pixilla openmaintainer
+platforms           darwin
+description         Avahi is an Implementation of the DNS Service Discovery and Multicast DNS \
+                    specifications for Zeroconf Networking.
 
-long_description \
-    Avahi is a system which facilitates service discovery on a local \
-    network. This means that you can plug your laptop or computer into \
-    a network and instantly be able to view other people who you can \
-    chat with, find printers to print to or find files being shared. \
-    This kind of technology is already found in Mac OS X (branded \
-    Rendezvous, Bonjour and sometimes Zeroconf) and is very convenient. \
-    Avahi is mainly based on Lennart Poettering's flexmdns mDNS \
-    implementation for Linux which has been discontinued in favour \
-    of Avahi.
+long_description    ${description} It uses D-Bus for communication between user applications and a \
+                    system daemon. The daemon is used to coordinate application efforts in caching \
+                    replies, necessary to minimize the traffic imposed on networks.
 
-homepage        http://avahi.org/
-master_sites    ${homepage}download/
+homepage            http://avahi.org/
+master_sites        ${homepage}download/
 
-checksums           rmd160  99dbc4f5711fd2962ac657811bebdb63947bd2c1 \
-                    sha256  f9e4316c2339d0020726edd846d01bee0c39980906db0c247479e5807457ff1f
+checksums           sha1    31d556bd1659fb10e5edb45bab8951911151bbfb \
+                    rmd160  2c0edd03aba7935e6db18af1384a26bf0b5b432e
 
-patchfiles      patch-avahi-utils-Makefile.in-nls.diff \
-                patch-avahi-daemon-Makefile.in-nls.diff \
-                patch-avahi-dnsconfd-Makefile.in-nls.diff \
-                patch-initscript_darwin_org.freedesktop.avahi-daemon.plist.in \
-                patch-initscript_darwin_org.freedesktop.avahi-dnsconfd.plist.in
+patchfiles          patch-avahi-utils-Makefile.in-nls.diff \
+                    patch-avahi-daemon-Makefile.in-nls.diff \
+                    patch-avahi-dnsconfd-Makefile.in-nls.diff \
+                    patch-initscript_darwin_org.freedesktop.avahi-daemon.plist.in.diff \
+                    patch-initscript_darwin_org.freedesktop.avahi-dnsconfd.plist.in.diff
 
 post-patch {
-    # This preprocessor macro causes a lot of things to be undefined inside netinet/in.h system header.
+# This preprocessor macro causes a lot of things to be undefined inside netinet/in.h system header.
     reinplace "s/-D_XOPEN_SOURCE=500//" ${worksrcpath}/configure
-
     reinplace "s|/System|${destroot}|g" ${worksrcpath}/initscript/darwin/Makefile.in
 }
 
-depends_build   port:pkgconfig
+depends_build       port:pkgconfig
 
-depends_run     port:intltool
+depends_run         port:intltool
 
-depends_lib     port:libdaemon \
-                port:libglade2 \
-                port:expat \
-                port:gdbm \
-                port:gettext
+depends_lib         port:libdaemon \
+                    port:libglade2 \
+                    port:expat \
+                    port:gdbm \
+                    port:gettext
 
-configure.args  --disable-autoipd \
-                --disable-qt3 \
-                --disable-qt4 \
-                --disable-mono \
-                --disable-monodoc \
-                --with-distro=darwin \
-                --enable-compat-libdns_sd \
-                --disable-gtk3 \
-                --disable-xmltoman \
-                --enable-introspection=no
+configure.args      --disable-autoipd \
+                    --disable-qt3 \
+                    --disable-qt4 \
+                    --disable-mono \
+                    --disable-monodoc \
+                    --with-distro=darwin \
+                    --enable-compat-libdns_sd \
+                    --disable-gtk3 \
+                    --disable-xmltoman \
+                    --enable-introspection=no
 
 # __APPLE_USE_RFC_2292 should be removed once avhi is updated to support RFC 3542
 configure.cppflags-append   -L${prefix}/lib -D__APPLE_USE_RFC_2292
@@ -91,8 +84,8 @@
 }
 
 
-test.run        yes
-test.target     check
+test.run            yes
+test.target         check
 
 pre-test {
     if {![variant_isset test]} {
@@ -146,6 +139,6 @@
                             --disable-pygtk
 }
 
-livecheck.type  regex
-livecheck.url   [lindex ${master_sites} 0]
-livecheck.regex ${name}-(\[0-9.\]+)\\.tar
+livecheck.type      regex
+livecheck.url       [lindex ${master_sites} 0]
+livecheck.regex     ${name}-(\[0-9.\]+)\\.tar

Deleted: trunk/dports/net/avahi/files/patch-initscript_darwin_org.freedesktop.avahi-daemon.plist.in
===================================================================
--- trunk/dports/net/avahi/files/patch-initscript_darwin_org.freedesktop.avahi-daemon.plist.in	2011-08-22 23:40:20 UTC (rev 82972)
+++ trunk/dports/net/avahi/files/patch-initscript_darwin_org.freedesktop.avahi-daemon.plist.in	2011-08-22 23:53:29 UTC (rev 82973)
@@ -1,11 +0,0 @@
---- initscript/darwin/org.freedesktop.avahi-daemon.plist.in.orig	2008-06-17 17:13:44.000000000 -0600
-+++ initscript/darwin/org.freedesktop.avahi-daemon.plist.in	2008-12-03 22:15:03.000000000 -0700
-@@ -2,6 +2,8 @@
- <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- <plist version="1.0">
- <dict>
-+	<key>Disabled</key>
-+	<true/>
- 	<key>Label</key>
- 	<string>org.freedesktop.avahi-daemon</string>
- 	<key>OnDemand</key>

Copied: trunk/dports/net/avahi/files/patch-initscript_darwin_org.freedesktop.avahi-daemon.plist.in.diff (from rev 82970, trunk/dports/net/avahi/files/patch-initscript_darwin_org.freedesktop.avahi-daemon.plist.in)
===================================================================
--- trunk/dports/net/avahi/files/patch-initscript_darwin_org.freedesktop.avahi-daemon.plist.in.diff	                        (rev 0)
+++ trunk/dports/net/avahi/files/patch-initscript_darwin_org.freedesktop.avahi-daemon.plist.in.diff	2011-08-22 23:53:29 UTC (rev 82973)
@@ -0,0 +1,11 @@
+--- initscript/darwin/org.freedesktop.avahi-daemon.plist.in.orig	2008-06-17 17:13:44.000000000 -0600
++++ initscript/darwin/org.freedesktop.avahi-daemon.plist.in	2008-12-03 22:15:03.000000000 -0700
+@@ -2,6 +2,8 @@
+ <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+ <plist version="1.0">
+ <dict>
++	<key>Disabled</key>
++	<true/>
+ 	<key>Label</key>
+ 	<string>org.freedesktop.avahi-daemon</string>
+ 	<key>OnDemand</key>

Deleted: trunk/dports/net/avahi/files/patch-initscript_darwin_org.freedesktop.avahi-dnsconfd.plist.in
===================================================================
--- trunk/dports/net/avahi/files/patch-initscript_darwin_org.freedesktop.avahi-dnsconfd.plist.in	2011-08-22 23:40:20 UTC (rev 82972)
+++ trunk/dports/net/avahi/files/patch-initscript_darwin_org.freedesktop.avahi-dnsconfd.plist.in	2011-08-22 23:53:29 UTC (rev 82973)
@@ -1,11 +0,0 @@
---- initscript/darwin/org.freedesktop.avahi-dnsconfd.plist.in.orig	2008-06-17 17:13:44.000000000 -0600
-+++ initscript/darwin/org.freedesktop.avahi-dnsconfd.plist.in	2008-12-03 22:15:24.000000000 -0700
-@@ -2,6 +2,8 @@
- <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- <plist version="1.0">
- <dict>
-+	<key>Disabled</key>
-+	<true/>
- 	<key>Label</key>
- 	<string>org.freedesktop.avahi-dnsconfd</string>
- 	<key>OnDemand</key>

Copied: trunk/dports/net/avahi/files/patch-initscript_darwin_org.freedesktop.avahi-dnsconfd.plist.in.diff (from rev 82970, trunk/dports/net/avahi/files/patch-initscript_darwin_org.freedesktop.avahi-dnsconfd.plist.in)
===================================================================
--- trunk/dports/net/avahi/files/patch-initscript_darwin_org.freedesktop.avahi-dnsconfd.plist.in.diff	                        (rev 0)
+++ trunk/dports/net/avahi/files/patch-initscript_darwin_org.freedesktop.avahi-dnsconfd.plist.in.diff	2011-08-22 23:53:29 UTC (rev 82973)
@@ -0,0 +1,11 @@
+--- initscript/darwin/org.freedesktop.avahi-dnsconfd.plist.in.orig	2008-06-17 17:13:44.000000000 -0600
++++ initscript/darwin/org.freedesktop.avahi-dnsconfd.plist.in	2008-12-03 22:15:24.000000000 -0700
+@@ -2,6 +2,8 @@
+ <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+ <plist version="1.0">
+ <dict>
++	<key>Disabled</key>
++	<true/>
+ 	<key>Label</key>
+ 	<string>org.freedesktop.avahi-dnsconfd</string>
+ 	<key>OnDemand</key>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110822/b964bb46/attachment-0001.html>


More information about the macports-changes mailing list