forked from twitter/twemproxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding CentOS hooks for spec to build on 6.x
- Loading branch information
1 parent
749f8b2
commit 6bc06ca
Showing
1 changed file
with
47 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,28 @@ | ||
Summary: Twitter's nutcracker redis and memcached proxy | ||
Name: nutcracker | ||
Version: 0.2.2 | ||
Version: 0.2.4 | ||
Release: 1 | ||
|
||
URL: http://code.google.com/p/twemproxy/ | ||
Source0: %{name}-%{version}.tar.gz | ||
License: Apache License 2.0 | ||
Group: System Environment/Libraries | ||
Packager: Tom Parrott <[email protected]> | ||
Packager: Tom Parrott <[email protected]> | ||
BuildRoot: %{_tmppath}/%{name}-root | ||
|
||
BuildRequires: autoconf | ||
BuildRequires: automake | ||
BuildRequires: libtool | ||
|
||
%description | ||
twemproxy (pronounced "two-em-proxy"), aka nutcracker is a fast and lightweight proxy for memcached and redis protocol. | ||
It was primarily built to reduce the connection count on the backend caching servers. | ||
|
||
%prep | ||
%setup -q | ||
%if 0%{?rhel} == 6 | ||
sed -i 's/2.64/2.63/g' configure.ac | ||
%endif | ||
autoreconf -fvi | ||
|
||
%build | ||
|
@@ -47,6 +55,42 @@ fi | |
|
||
%files | ||
%defattr(-,root,root,-) | ||
/usr/bin/nutcracker | ||
/usr/sbin/nutcracker | ||
%{_initrddir}/%{name} | ||
%{_mandir}/man8/nutcracker.8.gz | ||
%config(noreplace)%{_sysconfdir}/%{name}/%{name}.yml | ||
|
||
%changelog | ||
* Tue July 30 2013 Tait Clarridge <[email protected]> | ||
- Rebuild SPEC to work with CentOS | ||
- Added buildrequires if building with mock/koji | ||
|
||
* Tue Apr 23 2013 Manju Rajashekhar <[email protected]> | ||
- twemproxy: version 0.2.4 release | ||
- redis keys must be less than mbuf_data_size() in length (fifsky) | ||
- Adds support for DUMP/RESTORE commands in Redis (remotezygote) | ||
- Use of the weight value in the modula distribution (mezzatto) | ||
- Add support to unix socket connections to servers (mezzatto) | ||
- only check for duplicate server name and not 'host:port:weight' when 'name' is configured | ||
- crc16 hash support added (mezzatto) | ||
|
||
* Thu Jan 31 2013 Manju Rajashekhar <[email protected]> | ||
- twemproxy: version 0.2.3 release | ||
- RPOPLPUSH, SDIFF, SDIFFSTORE, SINTER, SINTERSTORE, SMOVE, SUNION, SUNIONSTORE, ZINTERSTORE, and ZUNIONSTORE support (dcartoon) | ||
- EVAL and EVALSHA support (ferenyx) | ||
- exit 1 if configuration file is invalid (cofyc) | ||
- return non-zero exit status when nutcracker cannot start for some reason | ||
- use server names in stats (charsyam) | ||
- Fix failure to resolve long FQDN name resolve (conmame) | ||
- add support for hash tags | ||
|
||
* Thu Oct 18 2012 Manju Rajashekhar <[email protected]> | ||
- twemproxy: version 0.2.2 release | ||
- fix the off-by-one error when calculating redis key length | ||
|
||
* Fri Oct 12 2012 Manju Rajashekhar <[email protected]> | ||
- twemproxy: version 0.2.1 release | ||
- don't use buf in conf_add_server | ||
- allow an optional instance name for consistent hashing (charsyam) | ||
- add --stats-addr=S option | ||
- add stats-bind-any -a option (charsyam) |