Mercurial > logstash
comparison logstash.spec @ 30:f2691b83bafa
update to ES 0.90.0 and logstash 1.1.12
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Fri, 10 May 2013 15:01:48 -0700 |
parents | 01ebc38d772e |
children | 082f7a76fa48 |
comparison
equal
deleted
inserted
replaced
29:b37cde5bac95 | 30:f2691b83bafa |
---|---|
1 # prevent brp repack jar files | 1 # prevent brp repack jar files |
2 %define __os_install_post %{nil} | 2 %define __os_install_post %{nil} |
3 | 3 |
4 Summary: logstash is a tool for managing events and logs. | 4 Summary: logstash is a tool for managing events and logs. |
5 Name: logstash | 5 Name: logstash |
6 Version: 1.1.10 | 6 Version: 1.1.12 |
7 Release: 0%{?dist} | 7 Release: 0%{?dist} |
8 | 8 |
9 Group: System Environment/Daemons | 9 Group: System Environment/Daemons |
10 License: Apache 2.0 | 10 License: Apache 2.0 |
11 URL: http://logstash.net/ | 11 URL: http://logstash.net/ |
12 BuildArch: noarch | 12 BuildArch: noarch |
13 #Source0: curl https://nodeload.github.com/logstash/logstash/tar.gz/v%{version} >%{name}-%{version}.tar.gz | 13 #Source0: curl https://nodeload.github.com/logstash/logstash/tar.gz/v%{version} >%{name}-%{version}.tar.gz |
14 Source0: %{name}-%{version}.tar.gz | 14 Source0: %{name}-%{version}.tar.gz |
15 Source1: https://logstash.jira.com/secure/attachment/12610/logstash_index_cleaner.py | 15 Source1: https://logstash.jira.com/secure/attachment/12610/logstash_index_cleaner.py |
16 Source2: http://logstash.objects.dreamhost.com/maxmind/GeoLite-City-2013-01-18.dat.gz | 16 Source2: http://logstash.objects.dreamhost.com/maxmind/GeoLite-City-2013-01-18.dat.gz |
17 Source3: https://raw.github.com/tobie/ua-parser/master/regexes.yaml | |
17 Source4: %{name}.Makefile | 18 Source4: %{name}.Makefile |
18 Source5: %{name}.manifest | 19 Source5: %{name}.manifest |
19 Source10: %{name}.rc | 20 Source10: %{name}.rc |
20 Source11: %{name}.cron | 21 Source11: %{name}.cron |
21 Source12: %{name}.conf | 22 Source12: %{name}.conf |
48 sed -i -e 's,jarpath =.*,jarpath = "%{_javadir}/elasticsearch/*.jar",g' lib/logstash/outputs/elasticsearch.rb | 49 sed -i -e 's,jarpath =.*,jarpath = "%{_javadir}/elasticsearch/*.jar",g' lib/logstash/outputs/elasticsearch.rb |
49 sed -i -e 's,jarpath =.*,jarpath = "%{_javadir}/elasticsearch/*.jar",g' lib/logstash/outputs/elasticsearch_river.rb | 50 sed -i -e 's,jarpath =.*,jarpath = "%{_javadir}/elasticsearch/*.jar",g' lib/logstash/outputs/elasticsearch_river.rb |
50 | 51 |
51 | 52 |
52 %build | 53 %build |
54 gunzip -c %SOURCE2 >GeoLiteCity.dat | |
55 cp %SOURCE3 . | |
53 cp %SOURCE5 . | 56 cp %SOURCE5 . |
54 gunzip -c %SOURCE2 >GeoLiteCity.dat | |
55 make -f %SOURCE4 | 57 make -f %SOURCE4 |
56 | 58 |
57 | 59 |
58 %install | 60 %install |
59 rm -rf $RPM_BUILD_ROOT | 61 rm -rf $RPM_BUILD_ROOT |
113 %config(noreplace) %attr(0640,%{name},root) /var/lib/%{name}/data/patterns/apache | 115 %config(noreplace) %attr(0640,%{name},root) /var/lib/%{name}/data/patterns/apache |
114 %config(noreplace) %attr(0640,%{name},root) /var/lib/%{name}/data/patterns/dnsbl | 116 %config(noreplace) %attr(0640,%{name},root) /var/lib/%{name}/data/patterns/dnsbl |
115 | 117 |
116 | 118 |
117 %changelog | 119 %changelog |
120 * Fri May 10 2013 <carl@five-ten-sg.com> - 1.1.12-0 | |
121 - update to newer logstash | |
122 | |
118 * Wed Apr 17 2013 <carl@five-ten-sg.com> - 1.1.10-0 | 123 * Wed Apr 17 2013 <carl@five-ten-sg.com> - 1.1.10-0 |
119 - update to newer logstash | 124 - update to newer logstash |
120 | 125 |
121 * Fri Mar 22 2013 <carl@five-ten-sg.com> - 1.1.9-0 | 126 * Fri Mar 22 2013 <carl@five-ten-sg.com> - 1.1.9-0 |
122 - Initial build. | 127 - Initial build. |