View | Details | Raw Unified | Return to bug 61820
Collapse All | Expand All

(-)firedns/Makefile (-11 / +14 lines)
Lines 6-14 Link Here
6
#
6
#
7
7
8
PORTNAME=	firedns
8
PORTNAME=	firedns
9
PORTVERSION=	0.1.30
9
PORTVERSION=	0.9.7
10
CATEGORIES=	dns devel
10
CATEGORIES=	dns devel
11
MASTER_SITES=	http://www.wa.apana.org.au/~dean/sources/ \
11
MASTER_SITES=	http://firestuff.org/projects/ \
12
		http://www.wa.apana.org.au/~dean/sources/ \
12
		ftp://ftp.wa.apana.org.au/pub/pc/unix/packages/
13
		ftp://ftp.wa.apana.org.au/pub/pc/unix/packages/
13
DISTNAME=	${PORTNAME}
14
DISTNAME=	${PORTNAME}
14
EXTRACT_SUFX=	-${PORTVERSION}.tar.gz
15
EXTRACT_SUFX=	-${PORTVERSION}.tar.gz
Lines 22-39 Link Here
22
INSTALLS_SHLIB=	yes
23
INSTALLS_SHLIB=	yes
23
USE_REINPLACE=	yes
24
USE_REINPLACE=	yes
24
25
25
MAN3=		firedns_aton4.3 firedns_aton6.3 firedns_dnsbl_lookup.3 \
26
MAN3=		firedns_aton4.3 firedns_aton6.3 \
26
		firedns_getip4.3 firedns_getip6.3 firedns_getmx.3 \
27
		firedns_dnsbl_lookup.3 firedns_getip4.3 \
27
		firedns_getname4.3 firedns_getname6.3 \
28
		firedns_getip6.3 firedns_getmx.3 \
28
		firedns_getresult.3 firedns_gettxt.3 firedns_ntoa4.3 \
29
		firedns_getmxlist.3 firedns_getname4.3 \
30
		firedns_getname6.3 firedns_getresult.3 \
31
		firedns_gettxt.3 firedns_ntoa4.3 \
29
		firedns_ntoa6.3 firedns_resolveip4.3 \
32
		firedns_ntoa6.3 firedns_resolveip4.3 \
30
		firedns_resolveip6.3  firedns_resolvemx.3 \
33
		firedns_resolveip6.3 firedns_resolvemx.3 \
31
		firedns_resolvename4.3 firedns_resolvename6.3 \
34
		firedns_resolvemxlist.3 firedns_resolvename4.3 \
32
		firedns_resolvetxt.3 libfiredns.3
35
		firedns_resolvename6.3 firedns_resolvetxt.3 \
36
		libfiredns.3
33
37
34
post-patch:
38
post-patch:
35
	${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
39
	${RM} ${WRKSRC}/firemake/*.orig
36
		${WRKSRC}/firemake.cflags ${WRKSRC}/firemake.ldflags
37
40
38
post-install:
41
post-install:
39
	@cd ${PREFIX}/lib; ${MV} libfiredns.so libfiredns.so.0; \
42
	@cd ${PREFIX}/lib; ${MV} libfiredns.so libfiredns.so.0; \
(-)firedns/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (firedns-0.1.30.tar.gz) = 0e18e14615036555183ee01b43fffd3c
1
MD5 (firedns-0.9.7.tar.gz) = dd6fbf0e3a5fbdf5761c7139987d7657
(-)firedns/files/patch-binaries (+26 lines)
Line 0 Link Here
1
--- firemake/binaries.orig	Sat Jan 24 12:56:05 2004
2
+++ firemake/binaries	Sat Jan 24 12:57:04 2004
3
@@ -52,9 +52,9 @@
4
 				disp "	skipping $BINARY"
5
 			else
6
 				dispn "	$BINARY..."
7
-				$ECHO "	$INSTALL $BINARY \$(BINDIR) $INSTALL_USER $INSTALL_GROUP 0755"
8
+				$ECHO "	$INSTALL $BINARY \$(PREFIX)/bin $INSTALL_USER $INSTALL_GROUP 0755"
9
 				if test "$STRIP" != ""; then
10
-					$ECHO "	$STRIP \$(BINDIR)/$BINARY"
11
+					$ECHO "	$STRIP \$(PREFIX)/bin/$BINARY"
12
 				fi
13
 				disp "done"
14
 			fi
15
@@ -65,9 +65,9 @@
16
 				disp "	skipping $BINARY"
17
 			else
18
 				dispn "	$BINARY..."
19
-				$ECHO "	$INSTALL $BINARY \$(SBINDIR) $INSTALL_USER $INSTALL_GROUP 0755"
20
+				$ECHO "	$INSTALL $BINARY \$(PREFIX)/sbin $INSTALL_USER $INSTALL_GROUP 0755"
21
 				if test "$STRIP" != ""; then
22
-					$ECHO "	$STRIP \$(SBINDIR)/$BINARY"
23
+					$ECHO "	$STRIP \$(PREFIX)/sbin/$BINARY"
24
 				fi
25
 				disp "done"
26
 			fi
(-)firedns/files/patch-configure (-78 lines)
Lines 1-78 Link Here
1
--- configure.orig	Thu Oct 31 09:47:26 2002
2
+++ configure	Thu Oct 31 10:30:36 2002
3
@@ -534,33 +534,33 @@
4
 
5
 $ECHO -n "	adding rule to install binaries..."
6
 $ECHO "install-binaries: $BINARIES" >> Makefile
7
-$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(BINDIR)" >> Makefile
8
+$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(PREFIX)/bin" >> Makefile
9
 $ECHO "done"
10
 for BINARY in $BINARIES; do
11
 	$ECHO -n "	adding rule to install binary $BINARY..."
12
-	$ECHO "	install -m 0755 -o \$(INSTALL_USER) $BINARY \$(BINDIR)" >> Makefile
13
+	$ECHO "	install -m 0755 -o \$(INSTALL_USER) $BINARY \$(PREFIX)/bin" >> Makefile
14
 	$ECHO "done"
15
 done;
16
 $ECHO >> Makefile
17
 
18
 $ECHO -n "	adding rule to install static libraries..."
19
 $ECHO "install-static: $STATIC" >> Makefile
20
-$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(LIBDIR)" >> Makefile
21
+$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(PREFIX)/lib" >> Makefile
22
 $ECHO "done"
23
 for LIBRARY in $STATIC; do
24
 	$ECHO -n "	adding rule to install static library $LIBRARY..."
25
-	$ECHO "	install -m 0755 -o \$(INSTALL_USER) $LIBRARY \$(LIBDIR)" >> Makefile
26
+	$ECHO "	install -m 0755 -o \$(INSTALL_USER) $LIBRARY \$(PREFIX)/lib" >> Makefile
27
 	$ECHO "done"
28
 done;
29
 $ECHO >> Makefile
30
 
31
 $ECHO -n "	adding rule to install shared libraries..."
32
 $ECHO "install-shared: $STATIC" >> Makefile
33
-$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(LIBDIR)" >> Makefile
34
+$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(PREFIX)/lib" >> Makefile
35
 $ECHO "done"
36
 for LIBRARY in $SHARED; do
37
 	$ECHO -n "	adding rule to install shared library $LIBRARY..."
38
-	$ECHO "	install -m 0755 -o \$(INSTALL_USER) $LIBRARY \$(LIBDIR)" >> Makefile
39
+	$ECHO "	install -m 0755 -o \$(INSTALL_USER) $LIBRARY \$(PREFIX)/lib" >> Makefile
40
 	$ECHO "done"
41
 done;
42
 $ECHO >> Makefile
43
@@ -577,10 +577,10 @@
44
 	$ECHO "no firemake.headers found"
45
 fi
46
 $ECHO "install-headers: $HEADERS" >> Makefile
47
-$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(INCLUDEDIR)" >> Makefile
48
+$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(PREFIX)/include" >> Makefile
49
 for HEADER in $HEADERS; do
50
 	$ECHO -n "	adding rule to install header $HEADER..."
51
-	$ECHO "	install -m 0644 -o \$(INSTALL_USER) $HEADER \$(INCLUDEDIR)" >> Makefile
52
+	$ECHO "	install -m 0644 -o \$(INSTALL_USER) $HEADER \$(PREFIX)/include" >> Makefile
53
 	$ECHO "done"
54
 done;
55
 $ECHO >> Makefile
56
@@ -592,8 +592,8 @@
57
 	LS=`ls man/*.$SECTION 2>>configure.log`
58
 	if test "$LS" != ""; then
59
 		$ECHO "man/*.$SECTION" >> Makefile
60
-		$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(MANDIR)/man$SECTION" >> Makefile
61
-		$ECHO "	install -m 0644 -o \$(INSTALL_USER) man/*.$SECTION \$(MANDIR)/man$SECTION" >> Makefile
62
+		$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(PREFIX)/man/man$SECTION" >> Makefile
63
+		$ECHO "	install -m 0644 -o \$(INSTALL_USER) man/*.$SECTION \$(PREFIX)/man/man$SECTION" >> Makefile
64
 		$ECHO "done"
65
 	else
66
 		$ECHO >> Makefile
67
@@ -618,9 +618,9 @@
68
 		$ECHO -n "conf/$CONF " >> Makefile
69
 	done
70
 	$ECHO >> Makefile
71
-	$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(CONFDIR)" >> Makefile
72
+	$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(PREFIX)/etc" >> Makefile
73
 	for CONF in $CONFS; do
74
-		$ECHO "	if test ! -f \$(CONFDIR)/$CONF; then install -m 0644 -o \$(INSTALL_USER) conf/$CONF \$(CONFDIR); fi" >> Makefile
75
+		$ECHO "	if test ! -f \$(PREFIX)/etc/$CONF; then install -m 0644 -o \$(INSTALL_USER) conf/$CONF \$(PREFIX)/etc; fi" >> Makefile
76
 	done
77
 	$ECHO "done"
78
 else
(-)firedns/files/patch-firemake.libs (-5 lines)
Lines 1-5 Link Here
1
--- firemake.libs.orig	Sat Nov 16 10:00:14 2002
2
+++ firemake.libs	Sat Nov 16 10:00:23 2002
3
@@ -1 +1 @@
4
--lfirestring -lpthread
5
+-lfirestring -pthread
(-)firedns/files/patch-headers (+11 lines)
Line 0 Link Here
1
--- firemake/headers.orig	Sat Jan 24 12:50:07 2004
2
+++ firemake/headers	Sat Jan 24 12:50:42 2004
3
@@ -16,7 +16,7 @@
4
 		$ECHO "install_headers:"
5
 
6
 		for HEADER in $HEADERS; do
7
-			$ECHO "	$INSTALL $HEADER \$(INCLUDEDIR) $INSTALL_USER $INSTALL_GROUP 0644"
8
+			$ECHO "	$INSTALL $HEADER \$(PREFIX)/include $INSTALL_USER $INSTALL_GROUP 0644"
9
 		done
10
 		$ECHO
11
 
(-)firedns/files/patch-libraries (+23 lines)
Line 0 Link Here
1
--- firemake/libraries.orig	Sat Jan 24 12:53:09 2004
2
+++ firemake/libraries	Sat Jan 24 12:54:09 2004
3
@@ -1,4 +1,4 @@
4
-#!/bin/sh
5
+!/bin/sh
6
 #require prefix
7
 #require compiletest
8
 #require cflags
9
@@ -94,10 +94,10 @@
10
 		$ECHO "install_libraries: $LIBRARYLIST"
11
 		for LIBRARY in $LIBRARIES; do
12
 			dispn "	$LIBRARY..."
13
-			$ECHO "	$INSTALL ${LIBRARY}.a \$(LIBDIR) $INSTALL_USER $INSTALL_GROUP 0755"
14
-			$ECHO "	$INSTALL ${LIBRARY}.so.$VERSION \$(LIBDIR) $INSTALL_USER $INSTALL_GROUP 0755"
15
-			$ECHO "	ln -sf ${LIBRARY}.so.$VERSION \$(LIBDIR)/${LIBRARY}.so.$VERSION2"
16
-			$ECHO "	ln -sf ${LIBRARY}.so.$VERSION \$(LIBDIR)/${LIBRARY}.so"
17
+			$ECHO "	$INSTALL ${LIBRARY}.a \$(PREFIX)/lib $INSTALL_USER $INSTALL_GROUP 0755"
18
+			$ECHO "	$INSTALL ${LIBRARY}.so.$VERSION \$(PREFIX)/lib $INSTALL_USER $INSTALL_GROUP 0755"
19
+			$ECHO "	ln -sf ${LIBRARY}.so.$VERSION \$(PREFIX)/lib/${LIBRARY}.so.$VERSION2"
20
+			$ECHO "	ln -sf ${LIBRARY}.so.$VERSION \$(PREFIX)/lib/${LIBRARY}.so"
21
 			disp "done"
22
 		done
23
 		$ECHO
(-)firedns/files/patch-man (+56 lines)
Line 0 Link Here
1
--- firemake/man.orig	Sat Jan 24 12:52:52 2004
2
+++ firemake/man	Sat Jan 24 12:55:43 2004
3
@@ -38,7 +38,7 @@
4
 		if test "$MAN1" != ""; then
5
 			dispn "	Section 1..."
6
 			for MAN in $MAN1; do
7
-				$ECHO "	$INSTALL $MAN \$(MANDIR)/man1 $INSTALL_USER $INSTALL_GROUP 0644"
8
+				$ECHO "	$INSTALL $MAN \$(PREFIX)/man/man1 $INSTALL_USER $INSTALL_GROUP 0644"
9
 			done
10
 			disp "done"
11
 		fi
12
@@ -46,7 +46,7 @@
13
 		if test "$MAN3" != ""; then
14
 			dispn "	Section 3..."
15
 			for MAN in $MAN3; do
16
-				$ECHO "	$INSTALL $MAN \$(MANDIR)/man3 $INSTALL_USER $INSTALL_GROUP 0644"
17
+				$ECHO "	$INSTALL $MAN \$(PREFIX)/man/man3 $INSTALL_USER $INSTALL_GROUP 0644"
18
 			done
19
 			disp "done"
20
 		fi
21
@@ -54,7 +54,7 @@
22
 		if test "$MAN5" != ""; then
23
 			dispn "	Section 5..."
24
 			for MAN in $MAN5; do
25
-				$ECHO "	$INSTALL $MAN \$(MANDIR)/man5 $INSTALL_USER $INSTALL_GROUP 0644"
26
+				$ECHO "	$INSTALL $MAN \$(PREFIX)/man/man5 $INSTALL_USER $INSTALL_GROUP 0644"
27
 			done
28
 			disp "done"
29
 		fi
30
@@ -62,7 +62,7 @@
31
 		if test "$MAN6" != ""; then
32
 			dispn "	Section 6..."
33
 			for MAN in $MAN6; do
34
-				$ECHO "	$INSTALL $MAN \$(MANDIR)/man6 $INSTALL_USER $INSTALL_GROUP 0644"
35
+				$ECHO "	$INSTALL $MAN \$(PREFIX)/man/man6 $INSTALL_USER $INSTALL_GROUP 0644"
36
 			done
37
 			disp "done"
38
 		fi
39
@@ -70,7 +70,7 @@
40
 		if test "$MAN7" != ""; then
41
 			dispn "	Section 7..."
42
 			for MAN in $MAN7; do
43
-				$ECHO "	$INSTALL $MAN \$(MANDIR)/man7 $INSTALL_USER $INSTALL_GROUP 0644"
44
+				$ECHO "	$INSTALL $MAN \$(PREFIX)/man/man7 $INSTALL_USER $INSTALL_GROUP 0644"
45
 			done
46
 			disp "done"
47
 		fi
48
@@ -78,7 +78,7 @@
49
 		if test "$MAN8" != ""; then
50
 			dispn "	Section 8..."
51
 			for MAN in $MAN8; do
52
-				$ECHO "	$INSTALL $MAN \$(MANDIR)/man8 $INSTALL_USER $INSTALL_GROUP 0644"
53
+				$ECHO "	$INSTALL $MAN \$(PREFIX)/man/man8 $INSTALL_USER $INSTALL_GROUP 0644"
54
 			done
55
 			disp "done"
56
 		fi
(-)firedns/pkg-plist (-2 / +5 lines)
Lines 1-8 Link Here
1
@comment $FreeBSD: ports/dns/firedns/pkg-plist,v 1.3 2002/11/09 00:37:57 edwin Exp $
1
@comment $FreeBSD: ports/dns/firedns/pkg-plist,v 1.3 2002/11/09 00:37:57 edwin Exp $
2
include/firedns.h
2
lib/libfiredns.so.0.9
3
lib/libfiredns.so
3
lib/libfiredns.so
4
lib/libfiredns.so.0
5
lib/libfiredns.a
4
lib/libfiredns.a
5
lib/libfiredns.so.0.9.7
6
bin/fdnsip
6
bin/fdnsip
7
bin/fdnstxt
7
bin/fdnstxt
8
bin/fdnsname
8
bin/fdnsname
9
bin/fdnsmxlist
10
bin/fdnsmx
11
include/firedns.h

Return to bug 61820