rrdtool stable port information

Package: rrdtool
Version: 1.2.23
Revision: 1
Conflicts: %N-bin
Replaces: %N-bin
Depends: librrd2-shlibs (>= %v-%r)
BuildDepends: freetype219, libart2, libpng3, tcltk, tcltk-dev, perl580-core | perl581-core | perl584-core | perl586-core
Source: http://oss.oetiker.ch/%n/pub/%n-%v.tar.gz
Source-MD5: dafa161bc9c61e57636a6085c87c1fe8
NoSetMAKEFLAGS: true
SetMAKEFLAGS: -j1
NoSetLDFLAGS: true
SetLDFLAGS: -L%b/src/.libs -L%b/src
SetCPPFLAGS: -fno-common -I%p/lib/freetype219/include -I%p/lib/freetype219/include/freetype2
ConfigureParams: --enable-shared --with-tcllib=%p/lib --mandir=%p/share/man --enable-local-libpng --enable-local-zlib --disable-perl --disable-python --disable-ruby
CompileScript: <<
#!/bin/sh -ex

export PKG_CONFIG_PATH="%p/lib/freetype219/lib/pkgconfig:$PKG_CONFIG_PATH" lt_cv_sys_max_cmd_len=65536
for file in %p/bin/perl5.8* /usr/bin/perl5.8*; do
[ -z "$PERLBIN" ] && [ -f "$file" ] && PERLBIN="$file"
done
[ -z "$PERLBIN" ] && exit 1
export ac_cv_path_PERL=no

export LIBS="-L`pwd`/src -L`pwd`/src/.libs -L%p/lib"
./configure %c
perl -pi -e "s,pod2man,$PERLBIN /usr/bin/pod2man,g" doc/Makefile
make POD2MAN_EXE="$PERLBIN /usr/bin/pod2man"
<<
InstallScript: <<
#!/bin/sh -ex

make -j1 install DESTDIR="%d" examplesdir="%p/share/doc/%n/examples" idocdir="%p/share/doc/%n/doc" ihtmldir="%p/share/doc/%n/html" contribdir="%p/share/doc/%n/contrib" pkglibdir='%p/lib/tclrrd$(VERSION)'
ranlib "%i/lib/librrd.a"
touch "%i/share/doc/%n/.turd"
rm -rf %i/lib/perl %i/share/man/man1/RRDp.1 %i/share/man/man1/RRDs.1 %i/share/doc/%n/examples
perl -pi -e 's,-L%b/src/.libs,,gs; s,-L%b/src,,gs; s,-L%p/lib/freetype219/lib,,gs; s,-L%p/lib,,gs' %i/lib/*.la
install_name_tool -id %p/lib/tclrrd%v.dylib %i/lib/tclrrd%v.dylib
<<
SplitOff: <<
Package: librrd2-shlibs
Suggests: %N
Description: Fixed-size "round-robin" database storage shared libraries
Depends: freetype219-shlibs, libart2-shlibs, libpng3-shlibs, rrdtool-fonts
Files: lib/librrd*.*.dylib
Shlibs: <<
%p/lib/librrd.2.dylib 3.0.0 librrd2-shlibs (>= 1.2.8-1)
%p/lib/librrd_th.2.dylib 3.0.0 librrd2-shlibs (>= 1.2.8-1)
<<
<<
SplitOff2: <<
Package: %N-fonts
Description: Fonts for RRDTool PNG rendering
Files: share/rrdtool/fonts
<<
SplitOff3: <<
Package: %N-dev
Description: Utilities for round-robin databases
BuildDependsOnly: true
Depends: %N (>= %v-%r)
Files: include lib/*.a lib/*.la lib/librrd.dylib lib/librrd_th.dylib
<<
SplitOff4: <<
Package: %N-tcl
Description: TCL scripting module for round-robin databases
Depends: librrd2-shlibs (>= %v-%r), tcltk-shlibs
Enhances: librrd2-shlibs
Files: lib/tclrrd%v lib/tclrrd%v.dylib
Shlibs: %p/lib/tclrrd%v.dylib 0.0.0 rrdtool-tcl (>= 1.2.23-1)
<<
DocFiles: CHANGES CONTRIBUTORS COPYING COPYRIGHT README TODO
Description: Fixed-size "round-robin" database storage
DescDetail: <<
RRD is a system to store and display time-series data (i.e. network bandwidth,
machine-room temperature, server load average). It stores the data in a very
compact way that will not expand over time, and it presents useful graphs by
processing the data to enforce a certain data density. It can be used either
via simple wrapper scripts (from shell or Perl) or via frontends that poll
network devices and put a friendly user interface on it.
<<
License: GPL
Maintainer: Benjamin Reed
Homepage: http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/

rrdtool stable port .patch

--- rrdtool-1.2.9/bindings/Makefile.in 2005-05-28 09:03:21.000000000 -0400
+++ rrdtool-1.2.9-new/bindings/Makefile.in 2005-06-04 12:57:25.000000000 -0400
@@ -200,7 +200,7 @@
target_cpu = @target_cpu@
target_os = @target_os@
target_vendor = @target_vendor@
-SUBDIRS = tcl python
+SUBDIRS = tcl
# the following files are not mentioned in any other Makefile
EXTRA_DIST = perl-piped/MANIFEST perl-piped/README perl-piped/Makefile.PL perl-piped/RRDp.pm perl-piped/t/base.t \
perl-shared/ntmake.pl perl-shared/MANIFEST perl-shared/README perl-shared/Makefile.PL perl-shared/RRDs.pm perl-shared/RRDs.xs perl-shared/t/base.t
--- rrdtool-1.2.9/bindings/tcl/Makefile.in 2005-05-28 09:03:22.000000000 -0400
+++ rrdtool-1.2.9-new/bindings/tcl/Makefile.in 2005-06-04 12:58:19.000000000 -0400
@@ -361,7 +361,7 @@


@BUILD_TCL_TRUE@tclrrd$(TCL_SHLIB_SUFFIX): tclrrd.o
-@BUILD_TCL_TRUE@ $(TCL_SHLIB_LD) $(LIBDIRS) $< -o $@ -lrrd
+@BUILD_TCL_TRUE@ $(TCL_SHLIB_LD) $(LIBDIRS) $< -o $@ -lrrd -ltcl

@BUILD_TCL_TRUE@tclrrd.o: tclrrd.c
@BUILD_TCL_TRUE@ $(CC) $(AM_CPPFLAGS) $(CPPFLAGS) $(CFLAGS) $(TCL_SHLIB_CFLAGS) $(INCLUDES) -c $< -DVERSION=\"$(VERSION)\"

rrdtool _unstable_ port information

Package: rrdtool
Version: 1.2.23
Revision: 1
Conflicts: %N-bin
Replaces: %N-bin
Depends: librrd2-shlibs (>= %v-%r)
BuildDepends: freetype219, libart2, libpng3, tcltk, tcltk-dev, perl580-core | perl581-core | perl584-core | perl586-core
Source: http://oss.oetiker.ch/%n/pub/%n-%v.tar.gz
Source-MD5: dafa161bc9c61e57636a6085c87c1fe8
NoSetMAKEFLAGS: true
SetMAKEFLAGS: -j1
NoSetLDFLAGS: true
SetLDFLAGS: -L%b/src/.libs -L%b/src
SetCPPFLAGS: -fno-common -I%p/lib/freetype219/include -I%p/lib/freetype219/include/freetype2
ConfigureParams: --enable-shared --with-tcllib=%p/lib --mandir=%p/share/man --enable-local-libpng --enable-local-zlib --disable-perl --disable-python --disable-ruby
CompileScript: <<
#!/bin/sh -ex

export PKG_CONFIG_PATH="%p/lib/freetype219/lib/pkgconfig:$PKG_CONFIG_PATH" lt_cv_sys_max_cmd_len=65536
for file in %p/bin/perl5.8* /usr/bin/perl5.8*; do
[ -z "$PERLBIN" ] && [ -f "$file" ] && PERLBIN="$file"
done
[ -z "$PERLBIN" ] && exit 1
export ac_cv_path_PERL=no

export LIBS="-L`pwd`/src -L`pwd`/src/.libs -L%p/lib"
./configure %c
perl -pi -e "s,pod2man,$PERLBIN /usr/bin/pod2man,g" doc/Makefile
make POD2MAN_EXE="$PERLBIN /usr/bin/pod2man"
<<
InstallScript: <<
#!/bin/sh -ex

make -j1 install DESTDIR="%d" examplesdir="%p/share/doc/%n/examples" idocdir="%p/share/doc/%n/doc" ihtmldir="%p/share/doc/%n/html" contribdir="%p/share/doc/%n/contrib" pkglibdir='%p/lib/tclrrd$(VERSION)'
ranlib "%i/lib/librrd.a"
touch "%i/share/doc/%n/.turd"
rm -rf %i/lib/perl %i/share/man/man1/RRDp.1 %i/share/man/man1/RRDs.1 %i/share/doc/%n/examples
perl -pi -e 's,-L%b/src/.libs,,gs; s,-L%b/src,,gs; s,-L%p/lib/freetype219/lib,,gs; s,-L%p/lib,,gs' %i/lib/*.la
install_name_tool -id %p/lib/tclrrd%v.dylib %i/lib/tclrrd%v.dylib
<<
SplitOff: <<
Package: librrd2-shlibs
Suggests: %N
Description: Fixed-size "round-robin" database storage shared libraries
Depends: freetype219-shlibs, libart2-shlibs, libpng3-shlibs, rrdtool-fonts
Files: lib/librrd*.*.dylib
Shlibs: <<
%p/lib/librrd.2.dylib 3.0.0 librrd2-shlibs (>= 1.2.8-1)
%p/lib/librrd_th.2.dylib 3.0.0 librrd2-shlibs (>= 1.2.8-1)
<<
<<
SplitOff2: <<
Package: %N-fonts
Description: Fonts for RRDTool PNG rendering
Files: share/rrdtool/fonts
<<
SplitOff3: <<
Package: %N-dev
Description: Utilities for round-robin databases
BuildDependsOnly: true
Depends: %N (>= %v-%r)
Files: include lib/*.a lib/*.la lib/librrd.dylib lib/librrd_th.dylib
<<
SplitOff4: <<
Package: %N-tcl
Description: TCL scripting module for round-robin databases
Depends: librrd2-shlibs (>= %v-%r), tcltk-shlibs
Enhances: librrd2-shlibs
Files: lib/tclrrd%v lib/tclrrd%v.dylib
Shlibs: %p/lib/tclrrd%v.dylib 0.0.0 rrdtool-tcl (>= 1.2.23-1)
<<
DocFiles: CHANGES CONTRIBUTORS COPYING COPYRIGHT README TODO
Description: Fixed-size "round-robin" database storage
DescDetail: <<
RRD is a system to store and display time-series data (i.e. network bandwidth,
machine-room temperature, server load average). It stores the data in a very
compact way that will not expand over time, and it presents useful graphs by
processing the data to enforce a certain data density. It can be used either
via simple wrapper scripts (from shell or Perl) or via frontends that poll
network devices and put a friendly user interface on it.
<<
License: GPL
Maintainer: Benjamin Reed
Homepage: http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/

rrdtool _unstable_ port .patch

--- rrdtool-1.2.9/bindings/Makefile.in 2005-05-28 09:03:21.000000000 -0400
+++ rrdtool-1.2.9-new/bindings/Makefile.in 2005-06-04 12:57:25.000000000 -0400
@@ -200,7 +200,7 @@
target_cpu = @target_cpu@
target_os = @target_os@
target_vendor = @target_vendor@
-SUBDIRS = tcl python
+SUBDIRS = tcl
# the following files are not mentioned in any other Makefile
EXTRA_DIST = perl-piped/MANIFEST perl-piped/README perl-piped/Makefile.PL perl-piped/RRDp.pm perl-piped/t/base.t \
perl-shared/ntmake.pl perl-shared/MANIFEST perl-shared/README perl-shared/Makefile.PL perl-shared/RRDs.pm perl-shared/RRDs.xs perl-shared/t/base.t
--- rrdtool-1.2.9/bindings/tcl/Makefile.in 2005-05-28 09:03:22.000000000 -0400
+++ rrdtool-1.2.9-new/bindings/tcl/Makefile.in 2005-06-04 12:58:19.000000000 -0400
@@ -361,7 +361,7 @@


@BUILD_TCL_TRUE@tclrrd$(TCL_SHLIB_SUFFIX): tclrrd.o
-@BUILD_TCL_TRUE@ $(TCL_SHLIB_LD) $(LIBDIRS) $< -o $@ -lrrd
+@BUILD_TCL_TRUE@ $(TCL_SHLIB_LD) $(LIBDIRS) $< -o $@ -lrrd -ltcl

@BUILD_TCL_TRUE@tclrrd.o: tclrrd.c
@BUILD_TCL_TRUE@ $(CC) $(AM_CPPFLAGS) $(CPPFLAGS) $(CFLAGS) $(TCL_SHLIB_CFLAGS) $(INCLUDES) -c $< -DVERSION=\"$(VERSION)\"