Commits
Jeremy Lavergne authored dc0ad1d8223
1 1 | # -*- 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 |
2 2 | |
3 3 | PortSystem 1.0 |
4 4 | |
5 5 | name dnsmasq |
6 - | version 2.78 |
6 + | version 2.79 |
7 7 | categories net |
8 8 | license GPL |
9 9 | maintainers {snc @nerdling} openmaintainer |
10 10 | description lightweight DNS forwarder and DHCP server |
11 11 | long_description Dnsmasq is lightweight, easy to configure DNS \ |
12 12 | forwarder and DHCP server. It is designed to provide \ |
13 13 | DNS and, optionally, DHCP, to a small network. It can \ |
14 14 | serve the names of local machines which are not in the \ |
15 15 | global DNS. The DHCP server integrates with the DNS \ |
16 16 | server and allows machines with DHCP-allocated \ |
25 25 | notes "A startup item has been generated that will aid in\ |
26 26 | starting ${name} with launchd. You must specify the\ |
27 27 | path to resolv.conf. For your protection, this script\ |
28 28 | is disabled by default. Execute the following command\ |
29 29 | to start it, and to cause it to launch at startup:\ |
30 30 | \n\nsudo port load ${name}" |
31 31 | |
32 32 | master_sites http://www.thekelleys.org.uk/dnsmasq/ |
33 33 | use_xz yes |
34 34 | |
35 - | checksums rmd160 a724387aeb5ea46080b85caac6bddc9bb04a5814 \ |
36 - | sha256 89949f438c74b0c7543f06689c319484bd126cc4b1f8c745c742ab397681252b |
35 + | checksums rmd160 e4cb81b4a08b32c5253520ee146d5f40cd3ff7b3 \ |
36 + | sha256 78ad74f5ca14fd85a8bac93f764cd9d60b27579e90eabd3687ca7b030e67861f |
37 37 | patchfiles patch-src-config.h.diff \ |
38 38 | patch-src-network.c.diff |
39 39 | post-patch { |
40 40 | reinplace "s|#define SMALLDNAME 50|#define SMALLDNAME 255|g" ${worksrcpath}/src/config.h |
41 41 | reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/src/config.h |
42 42 | reinplace s|#resolv-file=|resolv-file=/etc/resolv.conf| \ |
43 43 | ${worksrcpath}/dnsmasq.conf.example |
44 44 | } |
45 45 | |
46 46 | use_configure no |