Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Oct 2002 17:34:16 +0800 (WST)
From:      Dean Hollister <dean@odyssey.apana.org.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44085: Upgraded Port: misc/firestring
Message-ID:  <200210150934.RAA99884@mail.wa.apana.org.au>

next in thread | raw e-mail | index | archive | help

>Number:         44085
>Category:       ports
>Synopsis:       Upgraded Port: misc/firestring
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 15 02:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Dean Hollister
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
Australian Public Access Network Association Inc
>Environment:
System: FreeBSD odyssey.apana.org.au 4.7-STABLE FreeBSD 4.7-STABLE #0: Sat Oct 12 12:02:04 WST 2002 root@odyssey.apana.org.au:/usr/src/sys/compile/ODYSSEY i386
>Description:
Upgraded Port: misc/firestring. New version released by vendor.
Could waiting PR ports/41916 please be committed.
>How-To-Repeat:
>Fix:
diff -ruN firestring.old/Makefile firestring/Makefile
--- firestring.old/Makefile	Tue Oct 15 17:25:32 2002
+++ firestring/Makefile	Tue Oct 15 17:21:48 2002
@@ -1,42 +1,51 @@
-# New ports collection makefile for:	firestring
-# Date created:		Mon 13 May 14:30:00 WST 2002
+# New ports collection makefile for:	firedns
+# Date created:		Sun 12 May 22:30:00 WST 2002
 # Whom:			Dean Hollister <dean@odyssey.apana.org.au>
 #
 # $FreeBSD$
 #
 
 PORTNAME=	firestring
-PORTVERSION=	0.1.19
-CATEGORIES=	misc
+PORTVERSION=	0.1.21
+PORTREVISION=	1
+CATEGORIES=	net
 MASTER_SITES=	http://ares.penguinhosting.net/~ian/projects/ \
 		http://www.wa.apana.org.au/~dean/sources/ \
 		ftp://ftp.wa.apana.org.au/pub/pc/unix/packages/
-DISTNAME=	firestring
-EXTRACT_SUFX=	-0.1.19.tar.gz
+DISTNAME=	${PORTNAME}
+EXTRACT_SUFX=	-${PORTVERSION}.tar.gz
 
 MAINTAINER=	dean@odyssey.apana.org.au
 
-GNU_CONFIGURE=	yes
+HAS_CONFIGURE=	yes
 INSTALLS_SHLIB=	yes
 
-MAN3=		firestring_chomp.3 firestring_chug.3 \
-		firestring_concat.3 firestring_conf_add.3 \
-		firestring_conf_find.3 firestring_conf_find_next.3 \
-		firestring_conf_free.3 firestring_conf_parse.3 \
-      		firestring_estr_0.3 firestring_estr_alloc.3 \
-      		firestring_estr_ends.3 firestring_estr_estrcasecmp.3 \
-       		firestring_estr_estrcat.3 firestring_estr_estrcmp.3 \
-      		firestring_estr_estrcpy.3 firestring_estr_estristr.3 \
-       		firestring_estr_estrncasecmp.3 firestring_estr_estrstr.3 \
-       		firestring_estr_free.3 firestring_estr_read.3 \
-       		firestring_estr_sprintf.3 firestring_estr_starts.3 \
-       		firestring_estr_strcasecmp.3 firestring_estr_strcat.3 \
-       		firestring_estr_strchr.3 firestring_estr_strcmp.3 \
-       		firestring_estr_strcpy.3 firestring_estr_stristr.3 \
-       		firestring_estr_strstr.3 firestring_malloc.3 \
-       		firestring_realloc.3 firestring_snprintf.3 \
-       		firestring_strcasecmp.3 firestring_strdup.3 \
-       		firestring_strncasecmp.3 firestring_strncat.3 \
-      		firestring_strncpy.3 libfirestring.3
+MAN3=		firestring_chomp.3 firestring_chug.3 firestring_concat.3 \
+		firestring_conf_add.3 firestring_conf_find.3 \
+		firestring_conf_find_next.3 firestring_conf_free.3 \
+		firestring_conf_parse.3 firestring_estr_0.3 \
+		firestring_estr_alloc.3 firestring_estr_base64_decode.3 \
+		firestring_estr_base64_encode.3 firestring_estr_ends.3 \
+		firestring_estr_estrcasecmp.3 firestring_estr_estrcat.3 \
+		firestring_estr_estrcmp.3 firestring_estr_estrcpy.3 \
+		firestring_estr_estristr.3 firestring_estr_estrncasecmp.3 \
+		firestring_estr_estrstr.3 firestring_estr_expand.3 \
+		firestring_estr_free.3 firestring_estr_read.3 \
+		firestring_estr_sprintf.3 firestring_estr_starts.3 \
+		firestring_estr_strcasecmp.3 firestring_estr_strcat.3 \
+		firestring_estr_strchr.3 firestring_estr_strcmp.3 \
+		firestring_estr_strcpy.3 firestring_estr_stristr.3 \
+		firestring_estr_strstr.3 firestring_estr_xml_decode.3 \
+		firestring_estr_xml_encode.3 firestring_hextoi.3 \
+		firestring_malloc.3 firestring_realloc.3 \
+		firestring_snprintf.3 firestring_strcasecmp.3 \
+		firestring_strdup.3 firestring_strncasecmp.3 \
+		firestring_strncat.3 firestring_strncpy.3 \
+		libfirestring.3
+
+post-install:
+
+	@cd ${PREFIX}/lib; ${MV} libfirestring.so libfirestring.so.0; \
+	${LN} -s libfirestring.so.0 libfirestring.so
 
 .include <bsd.port.mk>
diff -ruN firestring.old/distinfo firestring/distinfo
--- firestring.old/distinfo	Fri Aug 23 17:56:11 2002
+++ firestring/distinfo	Tue Oct 15 17:10:04 2002
@@ -1 +1 @@
-MD5 (firestring-0.1.19.tar.gz) = 550ca4388b785a1765ca1019d7142152
+MD5 (firestring-0.1.21.tar.gz) = 24373e9973406af7dae65414534e4bed
diff -ruN firestring.old/files/patch-configure firestring/files/patch-configure
--- firestring.old/files/patch-configure	Fri Aug 23 17:56:13 2002
+++ firestring/files/patch-configure	Tue Oct 15 17:28:48 2002
@@ -1,78 +1,56 @@
---- configure.old	Thu Aug 22 12:04:27 2002
-+++ configure	Thu Aug 22 12:08:24 2002
-@@ -518,33 +518,33 @@
+--- configure.orig	Sun Sep 22 06:37:40 2002
++++ configure	Tue Oct 15 17:22:58 2002
+@@ -322,7 +322,7 @@
+ $ECHO "INCLUDEDIR ?= \$(PREFIX)/include" >> Makefile
+ $ECHO "MANDIR ?= \$(PREFIX)/man" >> Makefile
+ $ECHO "CONFDIR ?= \$(PREFIX)/etc" >> Makefile
+-$ECHO "INSTALL_GROUP ?= root" >> Makefile
++$ECHO "INSTALL_GROUP ?= wheel" >> Makefile
+ $ECHO "INSTALL_USER ?= root" >> Makefile
  
- $ECHO -n "	adding rule to install binaries..."
- $ECHO "install-binaries: $BINARIES" >> Makefile
--$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(BINDIR)" >> Makefile
-+$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(PREFIX)/bin" >> Makefile
+ $ECHO "LIBS := \$(LIBS) $INLIBS" >> Makefile
+@@ -517,7 +517,7 @@
  $ECHO "done"
  for BINARY in $BINARIES; do
  	$ECHO -n "	adding rule to install binary $BINARY..."
--	$ECHO "	install -m 0755 -o \$(INSTALL_USER) $BINARY \$(BINDIR)" >> Makefile
-+	$ECHO "	install -m 0755 -o \$(INSTALL_USER) $BINARY \$(PREFIX)/bin" >> Makefile
+-	$ECHO "	./install.sh $BINARY \$(BINDIR) \$(INSTALL_USER) \$(INSTALL_GROUP) 0755" >> Makefile
++	$ECHO "	./install.sh $BINARY \$(PREFIX)/bin \$(INSTALL_USER) \$(INSTALL_GROUP) 0755" >> Makefile
  	$ECHO "done"
  done;
  $ECHO >> Makefile
- 
- $ECHO -n "	adding rule to install static libraries..."
- $ECHO "install-static: $STATIC" >> Makefile
--$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(LIBDIR)" >> Makefile
-+$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(PREFIX)/lib" >> Makefile
+@@ -527,7 +527,7 @@
  $ECHO "done"
  for LIBRARY in $STATIC; do
  	$ECHO -n "	adding rule to install static library $LIBRARY..."
--	$ECHO "	install -m 0755 -o \$(INSTALL_USER) $LIBRARY \$(LIBDIR)" >> Makefile
-+	$ECHO "	install -m 0755 -o \$(INSTALL_USER) $LIBRARY \$(PREFIX)/lib" >> Makefile
+-	$ECHO "	./install.sh $LIBRARY \$(LIBDIR) \$(INSTALL_USER) \$(INSTALL_GROUP) 0755" >> Makefile
++	$ECHO "	./install.sh $LIBRARY \$(PREFIX)/lib \$(INSTALL_USER) \$(INSTALL_GROUP) 0755" >> Makefile
  	$ECHO "done"
  done;
  $ECHO >> Makefile
- 
- $ECHO -n "	adding rule to install shared libraries..."
- $ECHO "install-shared: $STATIC" >> Makefile
--$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(LIBDIR)" >> Makefile
-+$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(PREFIX)/lib" >> Makefile
+@@ -537,7 +537,7 @@
  $ECHO "done"
  for LIBRARY in $SHARED; do
  	$ECHO -n "	adding rule to install shared library $LIBRARY..."
--	$ECHO "	install -m 0755 -o \$(INSTALL_USER) $LIBRARY \$(LIBDIR)" >> Makefile
-+	$ECHO "	install -m 0755 -o \$(INSTALL_USER) $LIBRARY \$(PREFIX)/lib" >> Makefile
- 	$ECHO "done"
- done;
- $ECHO >> Makefile
-@@ -561,10 +561,10 @@
- 	$ECHO "no firemake.headers found"
- fi
- $ECHO "install-headers: $HEADERS" >> Makefile
--$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(INCLUDEDIR)" >> Makefile
-+$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(PREFIX)/include" >> Makefile
- for HEADER in $HEADERS; do
- 	$ECHO -n "	adding rule to install header $HEADER..."
--	$ECHO "	install -m 0644 -o \$(INSTALL_USER) $HEADER \$(INCLUDEDIR)" >> Makefile
-+	$ECHO "	install -m 0644 -o \$(INSTALL_USER) $HEADER \$(PREFIX)/include" >> Makefile
+-	$ECHO "	./install.sh $LIBRARY \$(LIBDIR) \$(INSTALL_USER) \$(INSTALL_GROUP) 0755" >> Makefile
++	$ECHO "	./install.sh $LIBRARY \$(PREFIX)/lib \$(INSTALL_USER) \$(INSTALL_GROUP) 0755" >> Makefile
  	$ECHO "done"
  done;
  $ECHO >> Makefile
-@@ -576,8 +576,8 @@
- 	LS=`ls man/*.$SECTION 2>>configure.log`
+@@ -569,7 +569,7 @@
  	if test "$LS" != ""; then
- 		$ECHO "man/*.$SECTION" >> Makefile
--		$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(MANDIR)/man$SECTION" >> Makefile
--		$ECHO "	install -m 0644 -o \$(INSTALL_USER) man/*.$SECTION \$(MANDIR)/man$SECTION" >> Makefile
-+		$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(PREFIX)/man/man$SECTION" >> Makefile
-+		$ECHO "	install -m 0644 -o \$(INSTALL_USER) man/*.$SECTION \$(PREFIX)/man/man$SECTION" >> Makefile
+ 		$ECHO $LS >> Makefile
+ 		for MANPAGE in $LS; do
+-			$ECHO "	./install.sh $MANPAGE \$(MANDIR)/man$SECTION \$(INSTALL_USER) \$(INSTALL_GROUP) 0644" >> Makefile
++			$ECHO "	./install.sh $MANPAGE \$(PREFIX)/man/man$SECTION \$(INSTALL_USER) \$(INSTALL_GROUP) 0644" >> Makefile
+ 		done;
  		$ECHO "done"
  	else
- 		$ECHO >> Makefile
-@@ -602,9 +602,9 @@
- 		$ECHO -n "conf/$CONF " >> Makefile
+@@ -596,7 +596,7 @@
  	done
  	$ECHO >> Makefile
--	$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(CONFDIR)" >> Makefile
-+	$ECHO "	install -d -m 0755 -o \$(INSTALL_USER) \$(PREFIX)/etc" >> Makefile
  	for CONF in $CONFS; do
--		$ECHO "	if test ! -f \$(CONFDIR)/$CONF; then install -m 0644 -o \$(INSTALL_USER) conf/$CONF \$(CONFDIR); fi" >> Makefile
-+		$ECHO "	if test ! -f \$(PREFIX)/$etc; then install -m 0644 -o \$(INSTALL_USER) conf/$CONF \$(PREFIX)/etc; fi" >> Makefile
+-		$ECHO "	if test ! -f \$(CONFDIR)/$CONF; then ./install.sh conf/$CONF \$(CONFDIR) \$(INSTALL_USER) \$(INSTALL_GROUP) 0644; fi" >> Makefile
++		$ECHO "	if test ! -f \$(PREFIX)/etc/$CONF; then ./install.sh conf/$CONF \$(PREFIX)/etc \$(INSTALL_USER) \$(INSTALL_GROUP) 0644; fi" >> Makefile
  	done
  	$ECHO "done"
  else
diff -ruN firestring.old/pkg-descr firestring/pkg-descr
--- firestring.old/pkg-descr	Thu Aug 22 11:35:39 2002
+++ firestring/pkg-descr	Tue Oct 15 17:20:23 2002
@@ -6,7 +6,7 @@
 libc functions.  libfirestring also provides functions that
 are in most libc's but not provided for by POSIX, enabling
 programmers to write POSIX-compliant code while using such
-safe functions (strcasecmp, strncasecmp, snprintf).
+safe functions (strcasecmp, strncasecmp, snprintf)."
 
 "libfirestring also includes functions for dealing with
 reading configuration files in an easy to program fashion."
diff -ruN firestring.old/pkg-plist firestring/pkg-plist
--- firestring.old/pkg-plist	Thu Aug 22 11:35:39 2002
+++ firestring/pkg-plist	Tue Oct 15 17:09:32 2002
@@ -1,3 +1,4 @@
+include/firestring.h
 lib/libfirestring.so
+lib/libfirestring.so.0
 lib/libfirestring.a
-include/firestring.h
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210150934.RAA99884>