Created an ebuild including patch's for support mysql connection on sflowtool. Now we can save sflow data received on mysql database. Reproducible: Always Actual Results: Now, sflowtool can't save data on mysql database Expected Results: sflowtool could be save data on mysql database
Created attachment 117375 [details] New sflowtool ebuild that supports mysql connections
Created attachment 117376 [details, diff] Configure patch for --with-mysql option Patch for configure file that grant support to mysql connect.
Created attachment 117378 [details, diff] Patch for sflowtool file header. Add support to mysql
Created attachment 117380 [details, diff] Patch for sflowtool source file. Add support to mysql
Created attachment 117381 [details] Mysql support functions header This file describe extra functions and data structures for mysql
Created attachment 117383 [details] SQL file for creating sflow data table
Created attachment 117385 [details] sflowtool config file
Created attachment 117386 [details] sflowtool init file
Portage 2.1.2.4 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) D CPU 2.80GHz Gentoo Base System version 1.12.6 Timestamp of tree: Wed, 25 Apr 2007 01:46:01 +0000 dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -msse3 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=pentium-m -msse3 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.mirror.solnet.ch http://linuv.uv.es/mirror/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" LANG="es_ES@euro" LC_ALL="es_ES@euro" LINGUAS="es_ES es" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" USE="X acpi alsa avahi bash-completion beagle berkdb bitmap-fonts bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr eds emboss encode esd fam fbcon firefox fortran gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml hal iconv idn isdnlog java javascript jpeg ldap libg++ libnotify logrotate mad midi mikmod mono mp3 mpeg ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pcre perl png ppds pppd python quicktime readline reflection sdl session slp spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs x86 xinerama xml xorg xv zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es_ES es" USERLAND="GNU" VIDEO_CARDS="i810 vesa vga" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
- distributors never install anything in /usr/local
not for the mysql team. Just another app that stores data in mysql.
1) The package is already in the tree, so it was wrongly assigned to maintainer-wanted@. 2) This should be sent upstream for review.