On Sunday 23 August 2009 16:04:32 Stefan Sperling wrote: > Update totd to 1.5.1. > > Also: > - set MAINTAINER to ports@ (RIP itojun, I wish I had gotten to know you!) > - fix homepage link > - fix small errors in totd.8 > - make it compile with -Werror > - compile with support for 6to4 PTR rewriting (disabled by default, > has to be enabled in config using keyword "stf") > > comments, testing, ok? > > Stefan
I had a similar update sitting around for awhile. - The way MAINTAINER is set is wrong. Just remove that line. - Add the license marker above the licensing info.. "# BSD/ISC". - Remove using -Werror for the compile. - Run update-plist to get the @bin marker in the PLIST. > Index: Makefile > =================================================================== > RCS file: /cvs/ports/net/totd/Makefile,v > retrieving revision 1.19 > diff -u -p -r1.19 Makefile > --- Makefile 15 Sep 2007 22:36:59 -0000 1.19 > +++ Makefile 23 Aug 2009 19:46:37 -0000 > @@ -3,12 +3,12 @@ > > COMMENT= DNS proxy that supports IPv6 <==> IPv4 record translation > > -DISTNAME= totd-1.3 > +DISTNAME= totd-1.5.1 > CATEGORIES= net > MASTER_SITES= ftp://ftp.pasta.cs.uit.no/pub/Vermicelli/ > > -MAINTAINER= Jun-ichiro itojun Hagino <ito...@itojun.org> > -HOMEPAGE= http://www.vermicelli.pasta.cs.uit.no/ipv6/software.html > +MAINTAINER= The OpenBSD ports mailing-list <ports@openbsd.org> > +HOMEPAGE= http://www.vermicelli.pasta.cs.uit.no/software/totd.html > > PERMIT_PACKAGE_CDROM= Yes > PERMIT_PACKAGE_FTP= Yes > @@ -17,6 +17,7 @@ PERMIT_DISTFILES_FTP= Yes > WANTLIB= c > > CONFIGURE_STYLE= gnu > +CONFIGURE_ARGS += --enable-stf > > NO_REGRESS= Yes > > Index: distinfo > =================================================================== > RCS file: /cvs/ports/net/totd/distinfo,v > retrieving revision 1.4 > diff -u -p -r1.4 distinfo > --- distinfo 5 Apr 2007 16:20:16 -0000 1.4 > +++ distinfo 23 Aug 2009 19:30:02 -0000 > @@ -1,5 +1,5 @@ > -MD5 (totd-1.3.tar.gz) = vGuFpb3bcvw/sg+p/lDToA== > -RMD160 (totd-1.3.tar.gz) = 6E0Kc/auRu1l/2D1AaxXtGma7bM= > -SHA1 (totd-1.3.tar.gz) = vXeXlxaIgMmoJYLbnFmY5DJZaDs= > -SHA256 (totd-1.3.tar.gz) = 4c7SfDLmlJcC5zD3rG8JwT2DvJ8fzWk5qG4OkJW0dSs= > -SIZE (totd-1.3.tar.gz) = 82133 > +MD5 (totd-1.5.1.tar.gz) = ftrtrp9qylkS3WwSNYLPCA== > +RMD160 (totd-1.5.1.tar.gz) = O4CTGDfu0b2eXN+oo+1wjW7UBCk= > +SHA1 (totd-1.5.1.tar.gz) = z51Is4ay8hgDK4mX4otG5kkh1Z4= > +SHA256 (totd-1.5.1.tar.gz) = Ggnvbc84K+6jVG7sMTjq37ruwZim+SHJbok36RoeBvo= > +SIZE (totd-1.5.1.tar.gz) = 235809 > Index: patches/patch-Makefile_in > =================================================================== > RCS file: /cvs/ports/net/totd/patches/patch-Makefile_in,v > retrieving revision 1.2 > diff -u -p -r1.2 patch-Makefile_in > --- patches/patch-Makefile_in 15 Mar 2002 03:35:45 -0000 1.2 > +++ patches/patch-Makefile_in 23 Aug 2009 19:31:23 -0000 > @@ -1,7 +1,7 @@ > ---- Makefile.in.orig Thu Feb 28 20:59:47 2002 > -+++ Makefile.in Fri Mar 15 13:14:18 2002 > -@@ -58,8 +58,8 @@ > - ${CC} ${LDFLAGS} -o ${PROG} ${OBJS} ${LDADD} > +--- Makefile.in.orig Mon Jan 31 11:55:14 2005 > ++++ Makefile.in Sun Aug 23 20:30:04 2009 > +@@ -66,8 +66,8 @@ libswill.a: > + -ranlib libswill.a > > install: $(PROG) > - $(INSTALL) -c -s -m 0555 -o bin -g bin $(PROG) $(INSTALLDIR) > Index: patches/patch-ne_mesg_c > =================================================================== > RCS file: patches/patch-ne_mesg_c > diff -N patches/patch-ne_mesg_c > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ patches/patch-ne_mesg_c 23 Aug 2009 19:54:18 -0000 > @@ -0,0 +1,24 @@ > +$OpenBSD$ > + > +Fixes build failure with -Werror > +ne_mesg.c:230: warning: signed size_t format, int arg (arg 4) > +ne_mesg.c:235: warning: int format, long int arg (arg 4) > + > +--- ne_mesg.c.orig Sun Aug 23 20:32:41 2009 > ++++ ne_mesg.c Sun Aug 23 20:36:05 2009 > +@@ -226,13 +226,13 @@ int mesg_write_rrset_list (G_List *rrls, u_char > *msg, + *cnt = htons (us); > + > + if (T.debug > 4) > +- syslog (LOG_DEBUG, "%s: now counter = %zd", > ++ syslog (LOG_DEBUG, "%s: now counter = %hd", > + fn, us); > + } > + } > + > + if (T.debug > 4) > +- syslog (LOG_DEBUG, "%s: return %d", fn, *wp - wp_start); > ++ syslog (LOG_DEBUG, "%s: return %ld", fn, *wp - wp_start); > + > + return (*wp - wp_start); > + } > Index: patches/patch-totd_8 > =================================================================== > RCS file: patches/patch-totd_8 > diff -N patches/patch-totd_8 > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ patches/patch-totd_8 23 Aug 2009 19:53:05 -0000 > @@ -0,0 +1,29 @@ > +$OpenBSD$ > + > +formatting error; s/I N-ADDR/IN-ADDR/g; s/IP 6.ARPA/IP6.ARPA/g > + > +--- totd.8.orig Wed Feb 2 11:10:31 2005 > ++++ totd.8 Sun Aug 23 20:50:31 2009 > +@@ -47,6 +47,7 @@ By default totd listens on wildcard sockets. This opti > + \fBpidfile\fR <filename> > + .br > + Changes the default filename for totd to write its process id into. > ++.TP > + \fBstf\fR > + .br > + Enable 6to4 PTR rewriting. > +@@ -142,11 +143,11 @@ If multiple prefixed are configured, totd will cycle > t + .LP > + To enable 6to4 PTR query translation trick, add the `stf' keyword to your > totd config file. 6to4 reverse lookup is based on > draft\-moore\-6to4\-dns\-00.txt, section 3.3: + .IP > +- When such a resolver received a PTR or NS query for a label that had > a [x2002].IP 6.ARPA suffix, it would first attempt to satisfy that query > from its cache, or failing that, by forwarding the query to an upstream > server. If that query failed due to a "no such domain" error,the resolver > would then attempt to find the server for the {something}.[x2002].IP 6.ARPA > label by issuing an NS query for {something}.I N\-ADDR.ARPA. ++ When > such a resolver received a PTR or NS query for a label that had a > [x2002].IP6.ARPA suffix, it would first attempt to satisfy that query from > its cache, or failing that, by forwarding the query to an upstream server. > If that query failed due to a "no such domain" error,the resolver would > then attempt to find the server for the {something}.[x2002].IP6.ARPA label > by issuing an NS query for {something}.IN\-ADDR.ARPA. + .IP > +- If the original query was for PTR records, and one or more NS > records were found for {something}.I N\-ADDR.ARPA, the resolver would then > forward the original query for {something}.[x2002].IP 6.ARPA to one or more > of those servers, and return the results from one of the forwarded queries > if any were successful. ++ If the original query was for PTR records, > and one or more NS records were found for {something}.IN\-ADDR.ARPA, the > resolver would then forward the original query for > {something}.[x2002].IP6.ARPA to one or more of those servers, and return > the results from one of the forwarded queries if any were successful. + .IP > +- If the original query was for NS records, and one or more NS records > were found for {something}.I N\-ADDR.ARPA, the resolver would then return > the pseudo\-records corresponding to the IN\-ADDR.ARPA domains. Those > pseudo\-records would NOT be marked as authoritative, and the resolver > would NOT cache those records. ++ If the original query was for NS > records, and one or more NS records were found for > {something}.IN\-ADDR.ARPA, the resolver would then return the > pseudo\-records corresponding to the IN\-ADDR.ARPA domains. Those > pseudo\-records would NOT be marked as authoritative, and the resolver > would NOT cache those records. + .SH "SCOPED ADDRESSES" > + .LP > + Totd supports re\-writing of scoped addresses in DNS responses. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.