[33650] trunk/dports/net/checkdns
ryandesign at macports.org
ryandesign at macports.org
Sat Feb 2 07:24:30 PST 2008
Revision: 33650
http://trac.macosforge.org/projects/macports/changeset/33650
Author: ryandesign at macports.org
Date: 2008-02-02 07:24:13 -0800 (Sat, 02 Feb 2008)
Log Message:
-----------
checkdns: rename patchfiles to match guidelines
Modified Paths:
--------------
trunk/dports/net/checkdns/Portfile
Added Paths:
-----------
trunk/dports/net/checkdns/files/patch-Makefile.diff
trunk/dports/net/checkdns/files/patch-dns.c.diff
trunk/dports/net/checkdns/files/patch-main.c.diff
Removed Paths:
-------------
trunk/dports/net/checkdns/files/patch-Makefile
trunk/dports/net/checkdns/files/patch-dns.c
trunk/dports/net/checkdns/files/patch-main.c
Modified: trunk/dports/net/checkdns/Portfile
===================================================================
--- trunk/dports/net/checkdns/Portfile 2008-02-02 14:56:27 UTC (rev 33649)
+++ trunk/dports/net/checkdns/Portfile 2008-02-02 15:24:13 UTC (rev 33650)
@@ -13,7 +13,7 @@
homepage http://www.enderunix.org/checkdns/
master_sites http://www.enderunix.org/checkdns/
checksums md5 7420cc7a01217391bb3eb4a2e7da1e96
-patchfiles patch-dns.c patch-main.c patch-Makefile
+patchfiles patch-dns.c.diff patch-main.c.diff patch-Makefile.diff
configure {
reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/checkdns.conf-dist
Deleted: trunk/dports/net/checkdns/files/patch-Makefile
===================================================================
--- trunk/dports/net/checkdns/files/patch-Makefile 2008-02-02 14:56:27 UTC (rev 33649)
+++ trunk/dports/net/checkdns/files/patch-Makefile 2008-02-02 15:24:13 UTC (rev 33650)
@@ -1,11 +0,0 @@
---- Makefile 2005-01-15 21:40:27.000000000 +0100
-+++ Makefile 2005-11-24 21:34:17.000000000 +0100
-@@ -6,7 +6,7 @@
- OBJS = loadconfig.o langcfg.o dns.o html.o tools.o main.o
-
- compile: $(OBJS)
-- $(CC) -o checkdns $(OBJS)
-+ $(CC) -o checkdns $(OBJS) -lresolv
-
- install:
- cp checkdns /usr/local/bin/checkdns
Copied: trunk/dports/net/checkdns/files/patch-Makefile.diff (from rev 33646, trunk/dports/net/checkdns/files/patch-Makefile)
===================================================================
--- trunk/dports/net/checkdns/files/patch-Makefile.diff (rev 0)
+++ trunk/dports/net/checkdns/files/patch-Makefile.diff 2008-02-02 15:24:13 UTC (rev 33650)
@@ -0,0 +1,11 @@
+--- Makefile 2005-01-15 21:40:27.000000000 +0100
++++ Makefile 2005-11-24 21:34:17.000000000 +0100
+@@ -6,7 +6,7 @@
+ OBJS = loadconfig.o langcfg.o dns.o html.o tools.o main.o
+
+ compile: $(OBJS)
+- $(CC) -o checkdns $(OBJS)
++ $(CC) -o checkdns $(OBJS) -lresolv
+
+ install:
+ cp checkdns /usr/local/bin/checkdns
Deleted: trunk/dports/net/checkdns/files/patch-dns.c
===================================================================
--- trunk/dports/net/checkdns/files/patch-dns.c 2008-02-02 14:56:27 UTC (rev 33649)
+++ trunk/dports/net/checkdns/files/patch-dns.c 2008-02-02 15:24:13 UTC (rev 33650)
@@ -1,11 +0,0 @@
---- dns.c 2005-05-11 15:31:34.000000000 +0200
-+++ dns.c 2005-11-24 21:32:09.000000000 +0100
-@@ -11,6 +11,8 @@
- #include <arpa/inet.h>
- #include <arpa/nameser.h>
- #include <resolv.h>
-+#include <string.h>
-+#include <nameser8_compat.h>
-
- #include "defs.h"
- #include "tools.h"
Copied: trunk/dports/net/checkdns/files/patch-dns.c.diff (from rev 33646, trunk/dports/net/checkdns/files/patch-dns.c)
===================================================================
--- trunk/dports/net/checkdns/files/patch-dns.c.diff (rev 0)
+++ trunk/dports/net/checkdns/files/patch-dns.c.diff 2008-02-02 15:24:13 UTC (rev 33650)
@@ -0,0 +1,11 @@
+--- dns.c 2005-05-11 15:31:34.000000000 +0200
++++ dns.c 2005-11-24 21:32:09.000000000 +0100
+@@ -11,6 +11,8 @@
+ #include <arpa/inet.h>
+ #include <arpa/nameser.h>
+ #include <resolv.h>
++#include <string.h>
++#include <nameser8_compat.h>
+
+ #include "defs.h"
+ #include "tools.h"
Deleted: trunk/dports/net/checkdns/files/patch-main.c
===================================================================
--- trunk/dports/net/checkdns/files/patch-main.c 2008-02-02 14:56:27 UTC (rev 33649)
+++ trunk/dports/net/checkdns/files/patch-main.c 2008-02-02 15:24:13 UTC (rev 33650)
@@ -1,11 +0,0 @@
---- main.c 2005-03-02 09:29:40.000000000 +0100
-+++ main.c 2005-11-24 21:44:21.000000000 +0100
-@@ -20,7 +20,7 @@
- FILE *fd;
- char *tmp, *tmp1;
-
-- (void) strncpy(conf_file, "/usr/local/etc/checkdns.conf", TINYBUFSIZE-1);
-+ (void) strncpy(conf_file, "__PREFIX__/etc/checkdns/checkdns.conf", TINYBUFSIZE-1);
-
- while((c = getopt(argc, argv, "c:hv")) != -1) {
- switch(c) {
Copied: trunk/dports/net/checkdns/files/patch-main.c.diff (from rev 33646, trunk/dports/net/checkdns/files/patch-main.c)
===================================================================
--- trunk/dports/net/checkdns/files/patch-main.c.diff (rev 0)
+++ trunk/dports/net/checkdns/files/patch-main.c.diff 2008-02-02 15:24:13 UTC (rev 33650)
@@ -0,0 +1,11 @@
+--- main.c 2005-03-02 09:29:40.000000000 +0100
++++ main.c 2005-11-24 21:44:21.000000000 +0100
+@@ -20,7 +20,7 @@
+ FILE *fd;
+ char *tmp, *tmp1;
+
+- (void) strncpy(conf_file, "/usr/local/etc/checkdns.conf", TINYBUFSIZE-1);
++ (void) strncpy(conf_file, "__PREFIX__/etc/checkdns/checkdns.conf", TINYBUFSIZE-1);
+
+ while((c = getopt(argc, argv, "c:hv")) != -1) {
+ switch(c) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080202/1cef623f/attachment-0001.html
More information about the macports-changes
mailing list