forked from pool/rrdtool
This commit is contained in:
parent
b1401e84e1
commit
73e464a9e2
@ -1,16 +0,0 @@
|
|||||||
--- bindings/python/rrdtoolmodule.c
|
|
||||||
+++ bindings/python/rrdtoolmodule.c
|
|
||||||
@@ -57,7 +57,12 @@
|
|
||||||
PyObject *o;
|
|
||||||
int size, i;
|
|
||||||
|
|
||||||
- size = PyTuple_Size(args);
|
|
||||||
+ if ( PyTuple_Size(args) <= INT_MAX )
|
|
||||||
+ size = PyTuple_Size(args);
|
|
||||||
+ else {
|
|
||||||
+ PyErr_Format(PyExc_ValueError,"too big return value");
|
|
||||||
+ return -1;
|
|
||||||
+ }
|
|
||||||
*argv = PyMem_New(char *, size + 1);
|
|
||||||
if (*argv == NULL)
|
|
||||||
return -1;
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e4e270083a7ac26969bff5304dea6729c10710922e0098ad6cc7a163f76dcbb4
|
|
||||||
size 806581
|
|
38
rrdtool-1.3.0.diff
Normal file
38
rrdtool-1.3.0.diff
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
--- configure.ac
|
||||||
|
+++ configure.ac
|
||||||
|
@@ -77,8 +77,8 @@ AH_TOP([
|
||||||
|
AH_BOTTOM([
|
||||||
|
/* make sure that we pickup the correct stuff from all headers */
|
||||||
|
#ifdef HAVE_FEATURES_H
|
||||||
|
-#undef _XOPEN_SOURCE /* keep unmodified */
|
||||||
|
-#undef _BSD_SOURCE /* keep unmodified */
|
||||||
|
+/* keep unmodified */ #undef _XOPEN_SOURCE
|
||||||
|
+/* keep unmodified */ #undef _BSD_SOURCE
|
||||||
|
#define _XOPEN_SOURCE 600
|
||||||
|
#define _BSD_SOURCE 1
|
||||||
|
# include <features.h>
|
||||||
|
@@ -247,14 +247,14 @@ char *strchr (), *strrchr ();
|
||||||
|
#if (! defined(HAVE_ISINF) && defined(HAVE_FPCLASS))
|
||||||
|
# define HAVE_ISINF 1
|
||||||
|
# ifdef isinf
|
||||||
|
-# undef isinf /* confuse autoconf */
|
||||||
|
+/* confuse autoconf */ # undef isinf
|
||||||
|
# endif
|
||||||
|
# define isinf(a) (fpclass(a) == FP_NINF || fpclass(a) == FP_PINF)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* solaris 10 it defines isnan such that only forte can compile it ... bad bad */
|
||||||
|
#if (defined(HAVE_ISNAN) && defined(isnan) && defined(HAVE_FPCLASS))
|
||||||
|
-# undef isnan /* confuse autoconf to NOT remove this */
|
||||||
|
+/* confuse autoconf to NOT remove this */ # undef isnan
|
||||||
|
# define isnan(a) (fpclass(a) == FP_SNAN || fpclass(a) == FP_QNAN)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
@@ -358,6 +358,7 @@ dnl Check for the compiler and static/sh
|
||||||
|
AC_PROG_CC
|
||||||
|
AC_PROG_CPP
|
||||||
|
AC_PROG_LIBTOOL
|
||||||
|
+m4_ifdef([LT_OUTPUT],[LT_OUTPUT])
|
||||||
|
|
||||||
|
dnl Try to detect/use GNU features
|
||||||
|
CFLAGS="$CFLAGS -D_GNU_SOURCE"
|
3
rrdtool-1.3.0.tar.bz2
Normal file
3
rrdtool-1.3.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d7f9648d4d26b5f6dbc5f2069a7f5686fb70e1dad2d1683057203c00940fc524
|
||||||
|
size 795610
|
@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 30 17:18:41 CEST 2008 - schwab@suse.de
|
||||||
|
|
||||||
|
- Fix configure script and use of libtool.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 27 19:12:17 CEST 2008 - anicka@suse.cz
|
||||||
|
|
||||||
|
- update to 1.3.0
|
||||||
|
* Multiplicative Holt-Winters Forecasting
|
||||||
|
* MMAP IO
|
||||||
|
* Graphing with Cairo/Pango
|
||||||
|
* New graphv Interface
|
||||||
|
* many more changes - major release
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 10 15:03:46 CET 2008 - anicka@suse.cz
|
Mon Mar 10 15:03:46 CET 2008 - anicka@suse.cz
|
||||||
|
|
||||||
|
30
rrdtool.spec
30
rrdtool.spec
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package rrdtool (Version 1.2.27)
|
# spec file for package rrdtool (Version 1.3.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
@ -8,20 +8,19 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: rrdtool
|
Name: rrdtool
|
||||||
BuildRequires: freetype2-devel libart_lgpl-devel libpng-devel python-devel tcl-devel
|
BuildRequires: cairo-devel freetype2-devel gettext-tools glib2-devel intltool libart_lgpl-devel libpng-devel libxml2-devel pango-devel python-devel tcl-devel
|
||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
Group: Productivity/Scientific/Math
|
Group: Productivity/Scientific/Math
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Requires: perl = %{perl_version}
|
Requires: perl = %{perl_version}
|
||||||
Version: 1.2.27
|
Version: 1.3.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source1: cgilib-0.5.tar.bz2
|
Source1: cgilib-0.5.tar.bz2
|
||||||
Patch: %{name}-%{version}-ssize.diff
|
Patch: %{name}-%{version}.diff
|
||||||
Url: http://oss.oetiker.ch/rrdtool/
|
Url: http://oss.oetiker.ch/rrdtool/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Summary: A tool for data logging and analysis
|
Summary: A tool for data logging and analysis
|
||||||
@ -54,11 +53,7 @@ cp libcgi* ../lb/lib
|
|||||||
cd ..
|
cd ..
|
||||||
# build rrdtool
|
# build rrdtool
|
||||||
%{suse_update_config}
|
%{suse_update_config}
|
||||||
libtoolize --force
|
autoreconf --force --install
|
||||||
#autoreconf --force --install
|
|
||||||
aclocal --force
|
|
||||||
autoconf -f
|
|
||||||
automake -fca
|
|
||||||
CFLAGS="$RPM_OPT_FLAGS -fPIC" CXXFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-L`pwd`/lb/lib" CPPFLAGS="-I`pwd`/lb/include" \
|
CFLAGS="$RPM_OPT_FLAGS -fPIC" CXXFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-L`pwd`/lb/lib" CPPFLAGS="-I`pwd`/lb/include" \
|
||||||
./configure \
|
./configure \
|
||||||
--mandir=%{_mandir} \
|
--mandir=%{_mandir} \
|
||||||
@ -133,9 +128,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{perl_vendorarch}/ntmake.pl
|
%{perl_vendorarch}/ntmake.pl
|
||||||
%{perl_vendorarch}/auto/*
|
%{perl_vendorarch}/auto/*
|
||||||
/var/adm/perl-modules/rrdtool
|
/var/adm/perl-modules/rrdtool
|
||||||
%{_datadir}/%{name}
|
#%{_datadir}/%{name}
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
|
License: GPL v2 or later
|
||||||
Summary: A tool for data logging and analysis - Development files
|
Summary: A tool for data logging and analysis - Development files
|
||||||
Group: Productivity/Scientific/Math
|
Group: Productivity/Scientific/Math
|
||||||
Requires: %name = %version
|
Requires: %name = %version
|
||||||
@ -163,6 +159,7 @@ Authors:
|
|||||||
%{_libdir}/librrd_th.la
|
%{_libdir}/librrd_th.la
|
||||||
|
|
||||||
%package -n python-rrdtool
|
%package -n python-rrdtool
|
||||||
|
License: GPL v2 or later
|
||||||
Summary: Python bindings for rrdtool
|
Summary: Python bindings for rrdtool
|
||||||
Group: Productivity/Scientific/Math
|
Group: Productivity/Scientific/Math
|
||||||
Requires: %name = %version
|
Requires: %name = %version
|
||||||
@ -187,6 +184,15 @@ Authors:
|
|||||||
%{py_sitedir}/*
|
%{py_sitedir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 30 2008 schwab@suse.de
|
||||||
|
- Fix configure script and use of libtool.
|
||||||
|
* Fri Jun 27 2008 anicka@suse.cz
|
||||||
|
- update to 1.3.0
|
||||||
|
* Multiplicative Holt-Winters Forecasting
|
||||||
|
* MMAP IO
|
||||||
|
* Graphing with Cairo/Pango
|
||||||
|
* New graphv Interface
|
||||||
|
* many more changes - major release
|
||||||
* Mon Mar 10 2008 anicka@suse.cz
|
* Mon Mar 10 2008 anicka@suse.cz
|
||||||
- update to 1.2.27
|
- update to 1.2.27
|
||||||
* bindings/ruby/main.c: be more helpful when raising rb_eTypeError
|
* bindings/ruby/main.c: be more helpful when raising rb_eTypeError
|
||||||
@ -218,7 +224,7 @@ Authors:
|
|||||||
- build parallel
|
- build parallel
|
||||||
* Mon Jul 09 2007 dmueller@suse.de
|
* Mon Jul 09 2007 dmueller@suse.de
|
||||||
- apply python requires only to python-rrdtool subpackage
|
- apply python requires only to python-rrdtool subpackage
|
||||||
* Thu Jun 21 2007 dmueller@suse.de
|
* Fri Jun 22 2007 dmueller@suse.de
|
||||||
- split off python and -devel package to reduce
|
- split off python and -devel package to reduce
|
||||||
size and make the python dependency optional
|
size and make the python dependency optional
|
||||||
(needed for 1 CD installer)
|
(needed for 1 CD installer)
|
||||||
|
Loading…
Reference in New Issue
Block a user