From frank@dynamical-systems.org  Wed Nov 14 12:19:23 2007
Return-Path: <frank@dynamical-systems.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 66D6216A420
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 14 Nov 2007 12:19:23 +0000 (UTC)
	(envelope-from frank@dynamical-systems.org)
Received: from mout1.freenet.de (mout1.freenet.de [IPv6:2001:748:100:40::2:3])
	by mx1.freebsd.org (Postfix) with ESMTP id EE8C313C44B
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 14 Nov 2007 12:19:22 +0000 (UTC)
	(envelope-from frank@dynamical-systems.org)
Received: from [195.4.92.23] (helo=13.mx.freenet.de)
	by mout1.freenet.de with esmtpa (Exim 4.68)
	(envelope-from <frank@dynamical-systems.org>)
	id 1IsHDF-0004CJ-Tp
	for FreeBSD-gnats-submit@freebsd.org; Wed, 14 Nov 2007 13:19:22 +0100
Received: from p508e8df6.dip0.t-ipconnect.de ([80.142.141.246]:62294 helo=pollux.senax.net)
	by 13.mx.freenet.de with esmtpsa (ID jr-relay@freenet.de) (TLSv1:AES256-SHA:256) (port 25) (Exim 4.68 #1)
	id 1IsHDF-0003MR-BE
	for FreeBSD-gnats-submit@freebsd.org; Wed, 14 Nov 2007 13:19:21 +0100
Received: from pollux.senax.net (localhost.senax.net [127.0.0.1])
	by pollux.senax.net (8.13.6/8.13.6) with ESMTP id lAECJJd8040742;
	Wed, 14 Nov 2007 13:19:19 +0100 (CET)
	(envelope-from frank@dynamical-systems.org)
Received: (from josellis@localhost)
	by pollux.senax.net (8.13.6/8.13.6/Submit) id lAECJIbD040741;
	Wed, 14 Nov 2007 13:19:18 +0100 (CET)
	(envelope-from frank@dynamical-systems.org)
Message-Id: <200711141219.lAECJIbD040741@pollux.senax.net>
Date: Wed, 14 Nov 2007 13:19:18 +0100 (CET)
From: "Frank W. Josellis" <frank@dynamical-systems.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Update port: net/siproxd to 0.6.0
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         118040
>Category:       ports
>Synopsis:       Update port: net/siproxd to 0.6.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 14 12:20:00 UTC 2007
>Closed-Date:    Wed Dec 12 23:48:43 UTC 2007
>Last-Modified:  Thu Dec 13 00:10:02 UTC 2007
>Originator:     Frank W. Josellis
>Release:        FreeBSD 5.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD pollux.senax.net 5.5-STABLE FreeBSD 5.5-STABLE #17: Wed Oct 31 16:22:23 CET 2007 root@pollux.senax.net:/usr/obj/usr/src/sys/POLLUX i386


	
>Description:
Update to version 0.6.0.

Files added:
files/patch-src__utils.c
 
>How-To-Repeat:
	
>Fix:

	

--- siproxd-0.6.0.patch begins here ---
diff -Nur siproxd.BAK/Makefile siproxd/Makefile
--- siproxd.BAK/Makefile	Fri Jun 23 11:18:33 2006
+++ siproxd/Makefile	Wed Nov 14 12:46:00 2007
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	siproxd
-PORTVERSION=	0.5.13
+PORTVERSION=	0.6.0
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	siproxd
diff -Nur siproxd.BAK/distinfo siproxd/distinfo
--- siproxd.BAK/distinfo	Fri Jun 23 11:18:33 2006
+++ siproxd/distinfo	Wed Nov 14 12:46:00 2007
@@ -1,3 +1,3 @@
-MD5 (siproxd-0.5.13.tar.gz) = 91a572f80dd5a9af5a0f7f207fd34478
-SHA256 (siproxd-0.5.13.tar.gz) = b419e2642cff2aea43ebd32139e2fe345003347d09e1a8dc6a289fdc08c1f7cd
-SIZE (siproxd-0.5.13.tar.gz) = 223109
+MD5 (siproxd-0.6.0.tar.gz) = 188026ad6da88cf68628e429f2771709
+SHA256 (siproxd-0.6.0.tar.gz) = a12b6f5b6ed8ee85d17105b97c0dcb48b0417ae7efa48c5b67f10993b595086c
+SIZE (siproxd-0.6.0.tar.gz) = 244459
diff -Nur siproxd.BAK/files/patch-doc_siproxd.conf.example siproxd/files/patch-doc_siproxd.conf.example
--- siproxd.BAK/files/patch-doc_siproxd.conf.example	Thu May 18 08:15:16 2006
+++ siproxd/files/patch-doc_siproxd.conf.example	Wed Nov 14 12:46:00 2007
@@ -1,5 +1,5 @@
---- doc/siproxd.conf.example.orig	Sun Jan  1 21:09:42 2006
-+++ doc/siproxd.conf.example	Wed Apr 19 16:41:31 2006
+--- doc/siproxd.conf.example.orig	Thu Aug 16 20:57:04 2007
++++ doc/siproxd.conf.example	Wed Nov 14 12:26:19 2007
 @@ -17,8 +17,8 @@
  #    or a hostname that resolves to that address (use a dyndns address for
  #    example).
@@ -11,7 +11,7 @@
  # uncomment the following line ONLY IF YOU KNOW WHAT YOU ARE DOING!
  # READ THE FAQ FIRST!
  #host_outbound = 1.2.3.4
-@@ -81,14 +81,14 @@
+@@ -84,7 +84,7 @@
  #   user:	uid/gid to switch to after startup
  #   chrootjail:	path to chroot to (chroot jail)
  user = nobody
@@ -20,18 +20,19 @@
  
  ######################################################################
  # Registration file:
- #   Where to store the current registrations.
- #   An empty value means we do not save registrations. Make sure that
+@@ -93,7 +93,7 @@
  #   the specified directory path does exist!
+ #   Note: If running in chroot jail, this path starts relative
+ #         to the jail.
 -registration_file = /var/lib/siproxd/siproxd_registrations
 +registration_file = siproxd_registrations
  
  ######################################################################
  # Automatically save current registrations every 'n' seconds
-@@ -99,7 +99,7 @@
- # PID file:
- #   Where to create the PID file.
+@@ -106,7 +106,7 @@
  #   This file holds the PID of the main thread of siproxd.
+ #   Note: If running in chroot jail, this path starts relative
+ #         to the jail.
 -pid_file = /var/run/siproxd/siproxd.pid
 +pid_file = siproxd.pid
  
diff -Nur siproxd.BAK/files/patch-src__plugin_shortdial.c siproxd/files/patch-src__plugin_shortdial.c
--- siproxd.BAK/files/patch-src__plugin_shortdial.c	Fri Jun 23 11:18:33 2006
+++ siproxd/files/patch-src__plugin_shortdial.c	Wed Nov 14 12:46:00 2007
@@ -1,5 +1,5 @@
---- src/plugin_shortdial.c.orig	Sat May 20 13:48:30 2006
-+++ src/plugin_shortdial.c	Wed Jun 21 09:08:19 2006
+--- src/plugin_shortdial.c.orig	Fri Jun  8 21:42:57 2007
++++ src/plugin_shortdial.c	Wed Nov 14 12:26:19 2007
 @@ -22,6 +22,7 @@
  
  #include <stdio.h>
diff -Nur siproxd.BAK/files/patch-src__siproxd.c siproxd/files/patch-src__siproxd.c
--- siproxd.BAK/files/patch-src__siproxd.c	Fri Jun 23 11:18:33 2006
+++ siproxd/files/patch-src__siproxd.c	Wed Nov 14 12:46:00 2007
@@ -1,6 +1,6 @@
---- src/siproxd.c.orig	Sun Jun 18 18:28:20 2006
-+++ src/siproxd.c	Wed Jun 21 09:06:10 2006
-@@ -177,11 +177,16 @@
+--- src/siproxd.c.orig	Fri Jun  8 21:41:47 2007
++++ src/siproxd.c	Wed Nov 14 12:26:19 2007
+@@ -181,10 +181,15 @@
  /*
   * Init stuff
   */
@@ -8,22 +8,13 @@
 -
     /* read the config file */
     if (read_config(configfile, config_search) == STS_FAILURE) exit(1);
- 
++
 +   /* Don't log to stderr if daemonizing is intended. */
 +   if (configuration.daemonize) {
-+      log_set_stderr(0);
++     log_set_stderr(0);
 +   }
 +
 +   INFO(PACKAGE"-"VERSION"-"BUILDSTR" "UNAME" starting up");
-+
+ 
     /* if a debug level > 0 has been given on the commandline use its
        value and not what is in the config file */
-    if (cmdline_debuglevel != 0) {
-@@ -212,7 +217,6 @@
-       setsid();
-       if (fork()!=0) exit(0);
- 
--      log_set_stderr(0);
-       INFO("daemonized, pid=%i", getpid());
-    }
- 
diff -Nur siproxd.BAK/files/patch-src__utils.c siproxd/files/patch-src__utils.c
--- siproxd.BAK/files/patch-src__utils.c	Thu Jan  1 01:00:00 1970
+++ siproxd/files/patch-src__utils.c	Wed Nov 14 12:46:00 2007
@@ -0,0 +1,22 @@
+--- src/utils.c.orig	Mon Sep  3 21:54:48 2007
++++ src/utils.c	Wed Nov 14 12:26:19 2007
+@@ -23,7 +23,7 @@
+ #include <stdlib.h>
+ #include <unistd.h>
+ #include <errno.h>
+-#include <values.h>
++#include <limits.h>
+ #include <time.h>
+ #include <signal.h>
+ #include <string.h>
+@@ -208,8 +208,8 @@
+     */
+    j=0;
+    k=0;
+-   t1=MAXINT;
+-   t2=MAXINT;
++   t1=INT_MAX;
++   t2=INT_MAX;
+    for (i=0; i<DNS_CACHE_SIZE; i++) {
+       if (dns_cache[i].hostname[0]=='\0') break;
+       if ((dns_cache[i].expires_timestamp < t1) &&
--- siproxd-0.6.0.patch ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Wed Nov 28 09:32:18 UTC 2007 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118040 
State-Changed-From-To: open->feedback 
State-Changed-By: miwi 
State-Changed-When: Wed Nov 28 11:56:27 UTC 2007 
State-Changed-Why:  
Hi, 

The port does not build on FreeBSD 5.X. Can you take a look in it? 


http://amd64.miwibox.org/tb/index.php?action=describe_port&id=796 
http://head.miwibox.org/tb/index.php?action=describe_port&id=859 

Thanks Martin 


http://www.freebsd.org/cgi/query-pr.cgi?pr=118040 
State-Changed-From-To: feedback->open 
State-Changed-By: miwi 
State-Changed-When: Wed Nov 28 13:47:15 UTC 2007 
State-Changed-Why:  
I'm sorry wrong pr. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118040 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Wed Dec 12 23:48:43 UTC 2007 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118040 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/118040: commit references a PR
Date: Thu, 13 Dec 2007 00:02:53 +0000 (UTC)

 miwi        2007-12-13 00:02:46 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net/siproxd          Makefile distinfo 
     net/siproxd/files    patch-doc_siproxd.conf.example 
                          patch-src__plugin_shortdial.c 
                          patch-src__siproxd.c 
   Added files:
     net/siproxd/files    patch-src__utils.c 
   Log:
   - Update to 0.6.0
   
   PR:             118040
   Submitted by:   Frank W. Josellis <frank@dynamical-systems.org> (maintainer)
   
   Revision  Changes    Path
   1.11      +1 -1      ports/net/siproxd/Makefile
   1.8       +3 -3      ports/net/siproxd/distinfo
   1.5       +9 -8      ports/net/siproxd/files/patch-doc_siproxd.conf.example
   1.3       +2 -2      ports/net/siproxd/files/patch-src__plugin_shortdial.c
   1.3       +6 -15     ports/net/siproxd/files/patch-src__siproxd.c
   1.1       +22 -0     ports/net/siproxd/files/patch-src__utils.c (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
