From: Yves <yme...@pe...> - 2005-02-21 10:20:56
|
Hi guys, Sorry to say that I should not have a lot of time this week. All the time= I will spend for perfparse will be to help when I don't have to read/change code becau= se read/change code needs more time. Alex, about a mail from you when you say that --with-nagios-source=3Danyt= hing does not complain, this is probably a bug in configure.ac. It should read somewhere : case $retval in nagios) USE_SOURCE_NAGIOS=3D1 AC_DEFINE_UNQUOTED(USE_SOURCE_NAGIOS,...) ;; asnmtap) USE_SOURCE_ASNMTAP=3D1 AC_DEFINE_UNQUOTED(USE_SOURCE_ASNMTAP,...) ;; *) AC_ERROR_MESSAGE(some complain) exit esac I'm not sure for the syntax, neither in autoconf (AC_* functions) nor in = shell (case syntax) About the patch, here is how I do (it does not mean that you have to do y= ours again this time:) : 1/ edit configure.ac and change the version number. For me, 0.105.6 becom= es 0.105.6ym1. For Alex, it should become 0.105.6ap1. 2/ edit the ChangeLog file and describe your changes 3/ run the following sequence : libtoolize -f -c aclocal -I m4 autoconf autoheader automake -a -c ./configure (any options; does not matter) make distcheck 4/ uncompress the resulting perfparse-0.105.6ap1.tar.gz next to the origi= nal perfparse-0.105.6 source tree (in the same directory 5/ diff -bruaN perfparse-0.105.6 perfparse-0.105.6ap1 > perfparse-0.105.6= ap1.diff 6/ edit perfparse-0.105.6ap1.diff and remove all the changes... ... except - the modified .c and .h files - configure.ac - ChangeLog - the Makefile.am files - the .po files if you explicitely modified them. If you changed nothing = in them, remove them. ... remove the changes including - config.h - Makefile.in - Makefile - configure, config.guess, config.sub, config.h.in (again, don't remove c= onfigure.ac) - ltmain.sh, mkinstalldirs 7/ gzip -9 perfparse-0.105.6ap1.diff (for 56k modem users) 8/ send the patch to per...@li... where Ben can get i= t, and where contributors like me sometimes read them and give their opinion on them. = This week, I'm sorry, but no time for it. Yves Yves > > > I have attached a file with the patch and modified file into it > (perfparse-0.105.6-patch-asnmtap.tar.gz). > > > > > > The patch have been created with: > > > > diff -u perfparse-0.105.6-asnmtap/cgi/ perfparse-0.105.6/cgi/ > > perfparse-patch-cgi > > > > diff -u perfparse-0.105.6-asnmtap/db_tools/ perfparse-0.105.6/db_tools/= > > perfparse-patch-db_tools > > > > diff -u perfparse-0.105.6-asnmtap/images/ perfparse-0.105.6/images/ > > perfparse-patch-images > > > > diff -u perfparse-0.105.6-asnmtap/libpp_common/ > perfparse-0.105.6/libpp_common/ > perfparse-patch-libpp_common > > > > diff -u perfparse-0.105.6-asnmtap/libpp_mysql/ > perfparse-0.105.6/libpp_mysql/ > perfparse-patch-libpp_mysql > > > > diff -u perfparse-0.105.6-asnmtap/libpp_postgresql/ > perfparse-0.105.6/libpp_postgresql/ > perfparse-patch-libpp_postgresql > > > > diff -u perfparse-0.105.6-asnmtap/modules/ perfparse-0.105.6/modules/ > > perfparse-patch-modules > > > > > > There is only one problem anymore, but I think that you can fix this be= tter > then i: > > > > ./configure --with-data-source=3Dasnmtap > > ... > > checking for what data source... Nagios > > ... > > > > instead: > > ... > > checking for what data source... ASNMTAP > > ... > > > > > >> Ben and I subscribe to per...@li... so you can ans= wer > to only the list. > >> Do you subscribe to perfparse-devel-int too ? > > I just did do this > > > > You mean that I into the future only need to send a email to > 'per...@li...' or to > per...@li...? > > > > -- Alex > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005 > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005 > > > --=20 - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GPG key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - Perfparse - http://www.perfparse.org/ - |