Changeset 39895


Ignore:
Timestamp:
Sep 10, 2008, 9:33:39 PM (11 years ago)
Author:
ryandesign@…
Message:

dnsmasq: update to 2.45; closes #16158

Location:
trunk/dports/net/dnsmasq
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/net/dnsmasq/Portfile

    r37899 r39895  
    44
    55name            dnsmasq
    6 version         2.42
     6version         2.45
    77categories      net
    88platforms       darwin
     
    2121homepage        http://www.thekelleys.org.uk/dnsmasq/doc.html
    2222master_sites    http://www.thekelleys.org.uk/dnsmasq/
    23 checksums       sha1 85c371ab8951715fbdab01e337e5649705f0b221
     23checksums       sha1 12f8cffd657f674fbf4bf4f670a0dcb65ea4a5ae
    2424patchfiles      patch-config.h.diff patch-Makefile.diff
    2525
     
    2929
    3030destroot.args   PREFIX=${prefix}
     31destroot.keepdirs   ${destroot}${prefix}/var/run
    3132
    3233platform darwin 8 {
  • trunk/dports/net/dnsmasq/files/patch-Makefile.diff

    r37899 r39895  
    1 --- Makefile.orig       2008-06-08 00:22:47.000000000 -0500
    2 +++ Makefile    2008-06-08 00:24:34.000000000 -0500
    3 @@ -17,6 +17,7 @@
     1--- Makefile.orig       2008-06-06 07:04:47.000000000 -0400
     2+++ Makefile    2008-07-16 23:56:35.000000000 -0400
     3@@ -17,13 +17,14 @@
    44 BINDIR = ${PREFIX}/sbin
    55 MANDIR = ${PREFIX}/share/man
     
    99 SRC = src
    1010 PO = po
     11 MAN = man
     12 
     13 PKG_CONFIG = pkg-config
     14-AWK = nawk
     15+AWK = awk
     16 INSTALL = install
     17 
     18 DBUS_MINOR=" `echo $(COPTS) | ../bld/pkg-wrapper $(PKG_CONFIG) --modversion dbus-1 | $(AWK) -F . -- '{ if ($$(NF-1)) print \"-DDBUS_MINOR=\"$$(NF-1) }'`"
    1119@@ -53,6 +54,7 @@
    1220        $(INSTALL) -d $(DESTDIR)$(BINDIR) -d $(DESTDIR)$(MANDIR)/man8
  • trunk/dports/net/dnsmasq/files/patch-config.h.diff

    r37899 r39895  
    1 --- ./src/config.h.orig 2008-06-08 00:25:15.000000000 -0500
    2 +++ ./src/config.h      2008-06-15 21:58:11.000000000 -0500
    3 @@ -32,22 +32,30 @@
    4  #define HOSTSFILE "/etc/hosts"
    5  #define ETHERSFILE "/etc/ethers"
    6  #ifdef __uClinux__
    7 -#  define RESOLVFILE "/etc/config/resolv.conf"
    8 +#  define RESOLVFILE "__PREFIX__/etc/config/resolv.conf"
     1--- src/config.h.old    2008-08-01 00:43:35.000000000 -0400
     2+++ src/config.h        2008-08-01 00:44:07.000000000 -0400
     3@@ -37,18 +37,26 @@
    94 #else
    10 -#  define RESOLVFILE "/etc/resolv.conf"
    11 +#  define RESOLVFILE "__PREFIX__/etc/resolv.conf"
    12 +#endif
     5 #  define RESOLVFILE "/etc/resolv.conf"
     6 #endif
     7-#define RUNFILE "/var/run/dnsmasq.pid"
    138+#ifdef __APPLE__
    149+#  define RUNFILE "__PREFIX__/var/run/dnsmasq.pid"
    1510+#else
    16 +#  define RUNFILE "__PREFIX__/var/run/dnsmasq.pid"
    17  #endif
    18 -#define RUNFILE "/var/run/dnsmasq.pid"
     11+#define RUNFILE "__PREFIX__/var/run/dnsmasq.pid"
     12+#endif
    1913 #if defined(__FreeBSD__) || defined (__OpenBSD__) || defined(__DragonFly__)
    2014-#   define LEASEFILE "/var/db/dnsmasq.leases"
     
    2216+#elif __APPLE__
    2317+#   define LEASEFILE "__PREFIX__/var/db/dnsmasq.leases"
    24  #elif defined(__sun__)
     18 #elif defined(__sun__) || defined (__sun)
    2519-#   define LEASEFILE "/var/cache/dnsmasq.leases"
    2620+#   define LEASEFILE "__PREFIX__/var/cache/dnsmasq.leases"
Note: See TracChangeset for help on using the changeset viewer.