Ticket #15551: patch-Portfile.2.diff
File patch-Portfile.2.diff, 1.1 KB (added by davidgilman1+macports@…, 16 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 5 5 name dnsmasq 6 version 2. 326 version 2.42 7 7 categories net 8 8 platforms darwin 9 9 maintainers nomaintainer … … 18 18 either in each host or in a central configuration \ 19 19 file. Dnsmasq supports static and dynamic DHCP leases \ 20 20 and BOOTP for network booting of diskless machines. 21 22 21 homepage http://www.thekelleys.org.uk/dnsmasq/doc.html 23 22 master_sites http://www.thekelleys.org.uk/dnsmasq/ 24 checksums sha1 f07c090922777f061fbe52aea464b1e43b3988d323 checksums sha1 85c371ab8951715fbdab01e337e5649705f0b221 25 24 patchfiles patch-config.h.diff patch-Makefile.diff 26 25 27 26 configure { … … 34 33 build.args-append CC=/usr/bin/gcc-4.0 35 34 } 36 35 36 post-activate { 37 # Make sure initial conf files are present and setup correctly 38 foreach f { dnsmasq.conf } { 39 if {![file exists ${prefix}/etc/${f}]} { 40 file copy ${prefix}/etc/${f}.example \ 41 ${prefix}/etc/${f} 42 } 43 } 44 } 45 46 47 startupitem.create yes 48 startupitem.name dnsmasq 49 startupitem.executable ${prefix}/sbin/dnsmasq -k