packages: netcat-openbsd/0006-quit-timer.patch, netcat-openbsd/netcat-openb...

baggins baggins at pld-linux.org
Mon Apr 23 21:05:33 CEST 2012


Author: baggins                      Date: Mon Apr 23 19:05:33 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 2
- fix parsing '-q' option: strtonum wants long long

---- Files affected:
packages/netcat-openbsd:
   0006-quit-timer.patch (1.1 -> 1.2) , netcat-openbsd.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: packages/netcat-openbsd/0006-quit-timer.patch
diff -u packages/netcat-openbsd/0006-quit-timer.patch:1.1 packages/netcat-openbsd/0006-quit-timer.patch:1.2
--- packages/netcat-openbsd/0006-quit-timer.patch:1.1	Mon Apr  2 13:50:34 2012
+++ packages/netcat-openbsd/0006-quit-timer.patch	Mon Apr 23 21:05:28 2012
@@ -68,7 +68,7 @@
  			pflag = optarg;
  			break;
 +                case 'q':
-+			qflag = strtonum(optarg, INT_MIN, INT_MAX, &errstr);
++			qflag = strtonum(optarg, (long long)INT_MIN, (long long)INT_MAX, &errstr);
 +			if (errstr)
 +				errx(1, "quit timer %s: %s", errstr, optarg);
 +			break;

================================================================
Index: packages/netcat-openbsd/netcat-openbsd.spec
diff -u packages/netcat-openbsd/netcat-openbsd.spec:1.5 packages/netcat-openbsd/netcat-openbsd.spec:1.6
--- packages/netcat-openbsd/netcat-openbsd.spec:1.5	Mon Apr  2 13:51:16 2012
+++ packages/netcat-openbsd/netcat-openbsd.spec	Mon Apr 23 21:05:28 2012
@@ -5,7 +5,7 @@
 Summary(pt_BR.UTF-8):	Ferramenta de teste e depuração para serviços de rede
 Name:		netcat-openbsd
 Version:	1.105
-Release:	1
+Release:	2
 License:	Public Domain
 Group:		Networking/Utilities
 Source0:	http://ftp.debian.org/debian/pool/main/n/%{name}/%{name}_%{version}.orig.tar.gz
@@ -98,6 +98,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2012/04/23 19:05:28  baggins
+- rel 2
+- fix parsing '-q' option: strtonum wants long long
+
 Revision 1.5  2012/04/02 11:51:16  baggins
 - rel 1
 - provide nc to avoid conflicts with old nc package
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/netcat-openbsd/0006-quit-timer.patch?r1=1.1&r2=1.2
    http://cvs.pld-linux.org/packages/netcat-openbsd/netcat-openbsd.spec?r1=1.5&r2=1.6



More information about the pld-cvs-commit mailing list