Re: any hope for logstash?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 2013-04-18 at 07:49 +0200, Vit Ondruch wrote: * Please focus on Fedora There is no JRuby on EPEL/RHEL, so any tag trying to make some adjustments is distracting. This packages will be peculiar even without them. Please remove them. The client funding this is using RHEL/Centos on servers. It is a fixed requirement here that these packages build/install on Centos6. * You should not install anything into /usr/local Yes, that was a temporary hack before I found the java packaging guidelines. I am working on this today. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAlFxggAACgkQL6j7milTFsFuDgCfRLgo4X/wMr/XoEiqlVetVkFi 6rAAn1u3wgTjynTmgevnZUk8EfYjP9eG =X9X/ -END PGP SIGNATURE- ___ ruby-sig mailing list ruby-sig@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/ruby-sig
Re: any hope for logstash?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 There is a new version available at either http://www.five-ten-sg.com/util/logstash.fedora.tar.gz or hg clone http://hg.five-ten-sg.com/logstash I found and patched the problem with logstash finding the elasticsearch jar files. That path should be specified via a command line switch. This version seems to run properly, but the following issues still need work: 1) the elasticsearch build (using maven) downloads prebuilt .jar files and bundles them. 2) the logstash build still downloads prebuilt gems and bundles them. Is there a document to read regarding proper fedora packaging of jruby gems? -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAlFvAtQACgkQL6j7milTFsFqrACcDO2W5TrDv+HVRT5LuzhDkCuS A8EAniPTSjXC5Oa4KM63b6qoY/93hPS8 =I5dr -END PGP SIGNATURE- ___ ruby-sig mailing list ruby-sig@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/ruby-sig
Re: any hope for logstash?
Dne 11.4.2013 06:38, Carl Byington napsal(a): -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 2013-04-04 at 12:28 +0200, Vit Ondruch wrote: The best would be, if you could prepare basic .spec file, which might even download stuff from internet and we could remove, step-by-step, the bundled stuff. hg clone http://hg.five-ten-sg.com/logstash cd logstash Would be nice if you could replace these two steps with some source tarball. make That is my current setup for building on centos6, but I have not tried to run the version that this builds. I might get time to try that tomorrow. elasticsearch.spec GraphTastic-client.spec jruby.spec logstash.spec The jruby.spec is a minimal version just to get jruby on centos6. It is already in fedora (but won't build on centos6), and if dist!=.el6 the system version will be used. There will be missing some dependencies in EPEL for JRuby. You would need to rebuild them as well. But we should concentrate on Fedora first. You should be able to use mock to build your packages for Fedora. Vít ___ ruby-sig mailing list ruby-sig@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/ruby-sig
Re: any hope for logstash?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 2013-04-11 at 07:09 +0200, Vit Ondruch wrote: Would be nice if you could replace these two steps with some source tarball. http://www.five-ten-sg.com/util/logstash.fedora.tar.gz -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAlFmR0gACgkQL6j7milTFsHI4ACfcsAgv1XPJZztLlq6+1rP/kA2 QGYAoIjRX09rd2OI4/AUGFkl2JNcZLR7 =+G4o -END PGP SIGNATURE- ___ ruby-sig mailing list ruby-sig@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/ruby-sig
Re: any hope for logstash?
I am not at all familiar with building/packaging java or ruby programs. I normally work on C++ w/ autoconf. https://nodeload.github.com/logstash/logstash/tar.gz/v1.1.9 The internal Makefile there runs curl/wget to download more source code, which seems to terribly violate any reasonable packaging system. At a minimum, we need to collect all the source code into SOURCEx lines in a .spec file. For Fedora, do we need to separately package elastic search and graphtastic, or can we bundle them into this package? No, we definitely cannot bundle anything. Oh my, that Makefile downloads a prebuilt graphtastic .jar file, so we will also need to fetch and build that package from source. The best would be, if you could prepare basic .spec file, which might even download stuff from internet and we could remove, step-by-step, the bundled stuff. We need to start from somewhere anyway ;) At the end, it would be best if we can end up with gem for JRuby, which depends on stuff such as elasticsearch. Ya would recommend adding a few lines like the following to the spec file: find -name '*.jar' -exec rm -f '{}' \; find -name '*.gem' -exec rm -f '{}' \; # etc... To automatically remove bundled libs before building. Of course the build process should skip the remote retrieval of the remote depedencies if possible (or be patched to remove it if not). -Mo ___ ruby-sig mailing list ruby-sig@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/ruby-sig
Re: any hope for logstash?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am working on packaging logstash for fedora http://www.logstash.net/ but the build procedure described here https://github.com/logstash/logstash/wiki/ Building-and-running-logstash-from-source seems to be incompatible with Fedora packaging. Is there some other ruby package that I can use as a model for proper fedora packaging? I am not at all familiar with building/packaging java or ruby programs. I normally work on C++ w/ autoconf. https://nodeload.github.com/logstash/logstash/tar.gz/v1.1.9 The internal Makefile there runs curl/wget to download more source code, which seems to terribly violate any reasonable packaging system. At a minimum, we need to collect all the source code into SOURCEx lines in a .spec file. For Fedora, do we need to separately package elastic search and graphtastic, or can we bundle them into this package? Oh my, that Makefile downloads a prebuilt graphtastic .jar file, so we will also need to fetch and build that package from source. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAlFckjsACgkQL6j7milTFsE/UACdHGighBl8Mhfe2THUrF0HikXK z3IAnRsH9Zc/9YDXj8WwBIo9N78wAJew =j4cO -END PGP SIGNATURE- ___ ruby-sig mailing list ruby-sig@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/ruby-sig