pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/46236: Please update net/miniupnpd from 1.4.20100308 to 1.6.20120320

>Number:         46236
>Category:       pkg
>Synopsis:       Please update net/miniupnpd from 1.4.20100308 to 1.6.20120320
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 22 03:00:00 +0000 2012
>Originator:     David Howland
>Release:        6.0_BETA
$ uname -a
NetBSD stripe 6.0_BETA NetBSD 6.0_BETA (STRIPE) #1: Sun Mar  4 18:52:11 EST 
2012  dave@stripe:/usr/src/sys/arch/amd64/compile/STRIPE amd64

Please update net/miniupnpd. It is seriously broken on 6.0_BETA.

1) disabling NAT_PNP sends it into an infinite loop where it writes thousands 
of errors per second to the syslog
2) ipfilter support was completely unmaintained

Version 1.6.20120320 fixes ipfilter support, and somewhere between 1.4 and 1.6 
the problem with the NAT_PNP configuration option was fixed.

I have packaged and tested the new version on my system.
This is a request to update.
In order to update the package, simply do three things:

1) DISTNAME=       miniupnpd-1.6.20120320
2) add patch-aa as included below
3) make distinfo

--- Makefile.orig       2012-03-21 22:36:51.000000000 -0400
+++ Makefile    2012-03-21 22:37:00.000000000 -0400
@@ -11,7 +11,7 @@
 # Linux users, please use Makefile.linux :
 #  make -f Makefile.linux

-CFLAGS = -pipe -Wall -Os -ansi
+CFLAGS ?= -pipe -Wall -Os -ansi
 #CFLAGS = -pipe -Wall -O -g -DDEBUG -ansi
 CC ?= gcc
 RM = rm -f

Home | Main Index | Thread Index | Old Index