summaryrefslogtreecommitdiff
path: root/memcached.spec.in
Commit message (Collapse)AuthorAgeFilesLines
* replace 2&>1 by 2>&1Patrice Duroux2023-03-081-1/+1
| | | | | | Hi, This follows the point here: https://lists.debian.org/debian-qa/2023/02/msg00052.html Thanks!
* arm64: Re-add arm crc32c hw accelerationAli Saidi2020-10-271-2/+0
| | | | | | Use the .arch_extension directive so that a config options and special cflags aren't required. Add a few tests for both the software and hardware implementations
* change some links from http to httpskun2019-05-201-2/+2
|
* Add optional feature support to RPM package buildingmiwasson2019-04-261-1/+22
| | | | | | | | Some optional features can now be enabled for RPM building using the rpmbuild conditional build parameters (--with and --without) For example, sasl can be enabled and code coverage disabled in the RPM with: rpmbuild --with sasl --without coverage -tb memcached-1.5.12.tar.gz
* Spelling fixesJosh Soref2018-03-141-1/+1
| | | | | | | | | | * automover * avoiding * compress * fails * successfully * success * tidiness
* Fix sed options orderRemi Collet2018-02-281-2/+2
| | | Else `-i` is used as the command to execute.
* systemd instancing support & rpm build improvementsJ. Grizzard2018-02-191-26/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The major things this does are adding systemd support to the rpm .spec file, and adding systemd instancing support. This means that it is possible to run multiple memcached instances without having to do any additional configuration or hack on init scripts. To use: systemctl start memcached@11211 memcached@11311 memcached@11411 sysconfig files at /etc/sysconfig/memcached.<port> will be read as appropriate, to allow differing configurations per-port. Defaults will be read from /etc/sysconfig/memcached before the port-specific settings are read. You can also still start memcached the standard way just by doing "systemctl start memcached". This will read /etc/sysconfig/memcached and nothing else. The "enhanced security" lines in the systemd unit file will be commented out on systems where we know systemd isn't knew enough (fedora < 26 and Redhat/CentOS 7), and enabled on other systems. There are two versions of the .service file included, one for standard memcached invocations and one for instanced invocations. The two are very similar, but not identical. Ideally, we'd only have one version in the source tree and we'd massage it with sed or somesuch during the rpm build, but couldn't think of a super clean way to do that, so erred on the side of simplicity. A decent amount of spec file work was needed to enable this functionality. In the process, I also cleaned up several additional aspects of the spec file (like using %{name} in places where it was appropriate). I also commented out the automatic restart in the %postun section, for two main reasons: 1. The try-restart for instanced memcached will produce an error if instanced memcached isn't in use, which is probably quite confusing to people who aren't using that functionality and are just trying to update their package. (There's workarounds for this, but I try to keep pre/post scripts as simple as humanly possible) 2. Automatic restarts on updates means the cache gets flushed, which means you can no longer safely use large-scale management tools (like puppet or chef) to roll out new versions, at least not without a lot of planning first. Not automatically dumping someone's caches feels safer, here.
* Spelling fixesJosh Soref2017-05-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * accesses * amount * append * command * cyrillic * daemonize * detaches * detail * documentation * dynamically * enabled * existence * extra * implementations * incoming * increment * initialize * issue * javascript * number * optimization * overall * pipeline * reassign * reclaimed * response * responses * sigabrt * specific * specificity * tidiness
* danga.com -> memcached.org in a few spots.dormando2014-04-291-2/+2
|
* stupid whitespace thing pulls in dead filesdormando2012-07-291-1/+1
| | | | | I don't care why it happened, just don't whitespace check the README files anymore.
* Make autoversioning/spec gen work better.dormando2009-11-021-4/+7
| | | | | issue #98 is about how our specfiles for rc's aren't upgradeable. Now they should be.
* Spec fixes (-TODO, +BuildDepend: /usr/bin/prove)1.4.2Jonathan Steinert2009-10-081-1/+2
|
* Track files in the include directory in the rpm spec.1.4.1James Cohen2009-08-291-1/+1
|
* Generate the memcached.spec along with the version number.Dustin Sallings2009-08-291-0/+115