summaryrefslogtreecommitdiffstats
path: root/memcached.spec
blob: 581f36102d6deb3ac805caa8d89a6c394bc5ab54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
# remirepo spec file for memcached
# lastest version with SASL, TLS and extstore support enabled, from:
#
# Fedora spec file for memcached
#
# License: MIT
# http://opensource.org/licenses/MIT
#
# Please preserve changelog entries
#
%global username   memcached
%global groupname  memcached

%if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
%global with_systemd  1
%else
%global with_systemd  0
%endif
%global with_extstore 1
%global with_sasl     1
%global with_seccomp  0
%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8
%global with_tls      1
%else
%global with_tls      0
%endif
%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8
%global with_selinux  1
%else
%global with_selinux  0
%endif
%global selinuxtype         targeted
%global selinuxmoduletype   contrib
%global selinuxmodulename   memcached
%global selinuxmodulever    1.0.2
%global selinuxmoduledir    %{selinuxmodulename}-selinux-%{selinuxmodulever}

# disable testing as it is unreliable on build systems
%global with_tests   0%{?_with_tests:1}

Name:           memcached
Version:        1.6.6
Release:        1%{?dist}
Epoch:          0
Summary:        High Performance, Distributed Memory Object Cache

License:        BSD
URL:            https://www.memcached.org/
Source0:        https://www.memcached.org/files/%{name}-%{version}.tar.gz
Source1:        memcached.sysconfig
# SELinux policy sources: https://pagure.io/memcached-selinux/tree/master
Source2:        https://releases.pagure.org/memcached-selinux/memcached-selinux-1.0.2.tar.gz

# custom init script
Source4:        memcached.sysv
# custom unit file
Source3:        memcached.service

Patch1:         memcached-unit.patch

BuildRequires:  gcc
BuildRequires:  pkgconfig(libevent) >= 2
%if %{with_systemd}
BuildRequires:  systemd
%endif
%if 0%{?fedora} >= 23 || 0%{?rhel} >= 8
BuildRequires:  perl-generators
%endif
BuildRequires:  perl(Test::More), perl(Test::Harness)
%if %{with_sasl}
BuildRequires:  cyrus-sasl-devel
%endif
%if %{with_seccomp}
BuildRequires:  libseccomp-devel
%endif
%if %{with_tls}
BuildRequires:  openssl-devel >= 1.1
%endif

%if %{with_systemd}
%{?systemd_requires}
# For triggerun
Requires(post): systemd-sysv
%else
Requires: initscripts
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig, /sbin/service
Requires(postun): /sbin/service
%endif
Requires(pre):  shadow-utils
%if %{with_selinux}
# Rich dependency syntax - require selinux policy subpackage
# when selinux-policy-targeted is installed
# This ensures that the selinux subpackage is not installed when not needed
# (e.g. inside a container)
Requires: (%{name}-selinux if selinux-policy-targeted)
%endif


%if %{with_selinux}
%package selinux
Summary: Selinux policy module
License: GPLv2
BuildRequires: selinux-policy
%{?selinux_requires}

%description selinux
Install memcached-selinux to ensure your system contains the latest SELinux policy
optimised for use with this version of memcached.
%else
# as of 3.5.5-4 selinux has memcache included
Obsoletes: memcached-selinux < 1.5.9
%endif

%description
memcached is a high-performance, distributed memory object caching
system, generic in nature, but intended for use in speeding up dynamic
web applications by alleviating database load.


%package devel
Summary:    Files needed for development using memcached protocol
Requires:   %{name} = %{epoch}:%{version}-%{release}

%description devel
Install memcached-devel if you are developing C/C++ applications that require
access to the memcached binary include files.


%prep
# Unpack memcached sources into memcached-X.X.X directory
# and SELinux policy sources into memcached-selinux-X.X
%setup -q -b 2
%patch1 -p1 -b .unit


%build
%configure \
%if %{with_extstore}
   --enable-extstore \
%else
   --disable-extstore \
%endif
%if %{with_sasl}
   --enable-sasl \
%endif
%if %{with_seccomp}
   --enable-seccomp \
%endif
%if %{with_tls}
   --enable-tls \
%endif


sed -i 's/-Werror / /' Makefile
make %{?_smp_mflags}

%if %{with_selinux}
pushd ../%{selinuxmoduledir}
make
popd
%endif


%check
%if %{with_tests}
make test
%else
: test suite disabled
%endif


%install
make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
# remove memcached-debug
rm -f %{buildroot}/%{_bindir}/memcached-debug

# Perl script for monitoring memcached
install -Dp -m0755 scripts/memcached-tool %{buildroot}%{_bindir}/memcached-tool
install -Dp -m0644 scripts/memcached-tool.1 \
        %{buildroot}%{_mandir}/man1/memcached-tool.1

%if %{with_systemd}

# Unit file
%if 0%{?fedora} < 25 && 0%{?rhel} < 8
install -Dp -m0644 %{SOURCE3} %{buildroot}%{_unitdir}/memcached.service
%else
install -Dp -m0644 scripts/%{name}.service   %{buildroot}%{_unitdir}/%{name}.service
%endif
install -Dp -m0644 scripts/%{name}@.service  %{buildroot}%{_unitdir}/%{name}@.service

# Safer config
%if 0%{?fedora} < 26 && 0%{?rhel} < 8
sed -e 's/^##safer##/#/g' -i %{buildroot}%{_unitdir}/%{name}*service
%else
sed -e 's/^##safer##//g'  -i %{buildroot}%{_unitdir}/%{name}*service
%endif

%else
# Init script
install -Dp -m0755 %{SOURCE4} %{buildroot}%{_initrddir}/memcached

# pid directory
mkdir -p %{buildroot}/%{_localstatedir}/run/memcached
%endif

%if %{with_selinux}
# install SELinux policy module
pushd ../%{selinuxmoduledir}
install -d %{buildroot}%{_datadir}/selinux/packages
install -d -p %{buildroot}%{_datadir}/selinux/devel/include/%{selinuxmoduletype}
# Not installing memcached.if - interface file from selinux-policy-devel will be used
# see. "Independant product policy" documentation for more details
install -m 0644 %{selinuxmodulename}.pp.bz2 %{buildroot}%{_datadir}/selinux/packages
popd
%endif


# Default configs
%if 0%{?fedora} < 25 && 0%{?rhel} < 8
mkdir -p %{buildroot}/%{_sysconfdir}/sysconfig
cat <<EOF >%{buildroot}/%{_sysconfdir}/sysconfig/%{name}
PORT="11211"
USER="%{username}"
MAXCONN="1024"
CACHESIZE="64"
OPTIONS=""
EOF

# Constant timestamp on the config file.
touch -r %{SOURCE1} %{buildroot}/%{_sysconfdir}/sysconfig/%{name}
%else
install -Dp -m0644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/sysconfig/%{name}
%endif


%if %{with_selinux}
%pre selinux
%selinux_relabel_pre -s %{selinuxtype}

%post selinux
# install selinux policy module with priority 200 to override the default policy
%selinux_modules_install -s %{selinuxtype} -p 200 %{_datadir}/selinux/packages/%{selinuxmodulename}.pp.bz2 &> /dev/null

%postun selinux
if [ $1 -eq 0 ]; then
    %selinux_modules_uninstall -s %{selinuxtype} -p 200 %{selinuxmodulename}
fi

%posttrans selinux
%selinux_relabel_post -s %{selinuxtype} &> /dev/null
%endif

%pre
getent group %{groupname} >/dev/null || groupadd -r %{groupname}
getent passwd %{username} >/dev/null || \
%if %{with_systemd}
useradd -r -g %{groupname} -d /run/memcached \
%else
useradd -r -g %{groupname} -d %{_localstatedir}/run/memcached \
%endif
    -s /sbin/nologin -c "Memcached daemon" %{username}
exit 0


%post
%if 0%{?systemd_post:1}
%systemd_post %{name}.service
%else
if [ $1 = 1 ]; then
    # Initial installation
    /sbin/chkconfig --add %{name}
fi
%endif


%preun
%if 0%{?systemd_preun:1}
%systemd_preun %{name}.service
%else
if [ "$1" = 0 ] ; then
    # Package removal, not upgrade
    /sbin/service %{name} stop > /dev/null 2>&1
    /sbin/chkconfig --del %{name}
fi
exit 0
%endif


%postun
%if 0%{?systemd_postun_with_restart:1}
%systemd_postun_with_restart %{name}.service
%else
if [ "$1" -ge 1 ]; then
    /sbin/service %{name} condrestart > /dev/null 2>&1
fi
exit 0
%endif

%triggerun -- memcached
%if %{with_systemd}
if [ -f /etc/rc.d/init.d/memcached ]; then
# Save the current service runlevel info
# User must manually run systemd-sysv-convert --apply memcached
# to migrate them to systemd targets
/usr/bin/systemd-sysv-convert --save memcached >/dev/null 2>&1 ||:

# Run these because the SysV package being removed won't do them
/sbin/chkconfig --del memcached >/dev/null 2>&1 || :
/bin/systemctl try-restart memcached.service >/dev/null 2>&1 || :
fi
%endif


%files
%{!?_licensedir:%global license %%doc}
%license COPYING
%doc AUTHORS ChangeLog NEWS README.md doc/CONTRIBUTORS doc/*.txt
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
%{_bindir}/memcached-tool
%{_bindir}/memcached
%{_mandir}/man1/memcached-tool.1*
%{_mandir}/man1/memcached.1*
%if %{with_systemd}
%{_unitdir}/memcached.service
%{_unitdir}/memcached@.service
%else
%{_initrddir}/memcached
%dir %attr(755,%{username},%{groupname}) %{_localstatedir}/run/memcached
%endif


%files devel
%{_includedir}/memcached/*


%if %{with_selinux}
%files selinux
%defattr(-,root,root,0755)
%attr(0644,root,root) %{_datadir}/selinux/packages/%{selinuxmodulename}.pp.bz2
%ghost %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{selinuxmodulename}
%license ../%{selinuxmoduledir}/COPYING
%endif


%changelog
* Thu May 14 2020 Remi Collet <remi@remirepo.net> - 1.6.6-1
- update to 1.6.6 (2020-5-12)

* Tue Apr 14 2020 Remi Collet <remi@remirepo.net> - 1.6.5-1
- update to 1.6.5 (2020-4-13)

* Sun Mar 29 2020 Remi Collet <remi@remirepo.net> - 1.6.3-1
- update to 1.6.3 (2020-3-28)

* Tue Mar 17 2020 Remi Collet <remi@remirepo.net> - 1.6.1-1
- update to 1.6.1 (2020-3-16)
- drop patch merged upstream

* Mon Mar  9 2020 Remi Collet <remi@remirepo.net> - 1.6.0-1
- update to 1.6.0 (2020-3-8)
- add patch for GCC 10 from
  https://github.com/memcached/memcached/pull/622

* Mon Feb  3 2020 Remi Collet <remi@remirepo.net> - 1.5.22-1
- update to 1.5.22

* Thu Jan 23 2020 Remi Collet <remi@remirepo.net> - 1.5.21-1
- update to 1.5.21

* Mon Nov 11 2019 Remi Collet <remi@remirepo.net> - 1.5.20-1
- update to 1.5.20

* Wed Oct  2 2019 Remi Collet <remi@remirepo.net> - 1.5.19-1
- update to 1.5.19

* Wed Sep 18 2019 Remi Collet <remi@remirepo.net> - 1.5.18-1
- update to 1.5.18

* Tue Sep  3 2019 Remi Collet <remi@remirepo.net> - 1.5.17-1
- update to 1.5.17

* Mon Jun  3 2019 Remi Collet <remi@remirepo.net> - 0:1.5.16-1
- Update to 1.5.16

* Tue May 21 2019 Remi Collet <remi@remirepo.net> - 0:1.5.15-1
- Update to 1.5.15

* Mon Apr 29 2019 Remi Collet <remi@remirepo.net> - 0:1.5.14-1
- Update to 1.5.14

* Tue Apr 16 2019 Remi Collet <remi@remirepo.net> - 0:1.5.13-1
- Update to 1.5.13
- enable TLS experimental support (Fedora and EL-8)

* Mon Nov  5 2018 Remi Collet <remi@remirepo.net> - 0:1.5.12-1
- Update to 1.5.12

* Mon Oct 15 2018 Remi Collet <remi@remirepo.net> - 0:1.5.11-1
- Update to 1.5.11

* Thu Aug 30 2018 Vit Mojzis <vmojzis@redhat.com> - 0:1.5.10-2
- selinux: Update to 1.0.2
- selinux: Use license file from memcached-selinux tar
- add "Requires" for selinux subpackage

* Tue Aug 14 2018 Remi Collet <remi@remirepo.net> - 0:1.5.10-1
- Update to 1.5.10

* Mon Jul  9 2018 Remi Collet <remi@remirepo.net> - 0:1.5.9-1
- Update to 1.5.9

* Tue Jun 05 2018 Vit Mojzis <vmojzis@redhat.com> - 0:1.5.8-2
- add "selinux" subpackage containing SELinux policy module

* Fri May 25 2018 Remi Collet <remi@remirepo.net> - 0:1.5.8-1
- Update to 1.5.8
- enable extstore feature on 32-bit

* Thu Mar 29 2018 Remi Collet <remi@remirepo.net> - 0:1.5.7-1
- Update to 1.5.7

* Wed Feb 28 2018 Remi Collet <remi@remirepo.net> - 0:1.5.6-1
- Update to 1.5.6
- add systemd instancing support

* Tue Feb 13 2018 Remi Collet <remi@remirepo.net> - 0:1.5.5-1
- Update to 1.5.5

* Tue Jan 30 2018 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.5.4-2
- fix building with new gcc
- use macro for systemd scriptlet dependencies

* Tue Dec 26 2017 Remi Collet <remi@remirepo.net> - 0:1.5.4-1
- Update to 1.5.4
- enable extstore feature on 64-bit
- open https://github.com/memcached/memcached/issues/319
  extstore broken build on 32-bit

* Mon Nov  6 2017 Remi Collet <remi@remirepo.net> - 0:1.5.3-1
- Update to 1.5.3

* Mon Oct  2 2017 Remi Collet <remi@remirepo.net> - 0:1.5.2-1
- Update to 1.5.2

* Fri Aug 25 2017 Remi Collet <remi@remirepo.net> - 0:1.5.1-1
- Update to 1.5.1

* Tue Aug  1 2017 Remi Collet <remi@remirepo.net> - 0:1.5.0-1
- Update to 1.5.0
- skip test suite which is unreliable on build system (see fedora)

* Wed Jul  5 2017 Remi Collet <remi@remirepo.net> - 0:1.4.39-1
- Update to 1.4.39 (security)

* Mon Jun 26 2017 Remi Collet <remi@remirepo.net> - 0:1.4.38-1
- Update to 1.4.38

* Tue Jun  6 2017 Remi Collet <remi@remirepo.net> - 0:1.4.37-1
- Update to 1.4.37
- ensure we use libevent2 on EL-6

* Wed Mar 22 2017 Remi Collet <remi@remirepo.net> - 0:1.4.36-1
- Update to 1.4.36

* Mon Feb 27 2017 Remi Collet <remi@remirepo.net> - 0:1.4.35-1
- Update to 1.4.35

* Tue Jan 17 2017 Remi Collet <remi@remirepo.net> - 0:1.4.34-1
- Update to 1.4.34

* Tue Nov  1 2016 Remi Collet <remi@remirepo.net> - 0:1.4.33-1
- Update to 1.4.33

* Thu Oct 13 2016 Remi Collet <remi@remirepo.net> - 0:1.4.32-1
- Update to 1.4.32

* Fri Sep  2 2016 Remi Collet <remi@remirepo.net> - 0:1.4.31-1
- Update to 1.4.31

* Sat Aug 13 2016 Remi Collet <remi@remirepo.net> - 0:1.4.30-1
- Update to 1.4.30

* Mon Jul 18 2016 Remi Collet <remi@remirepo.net> - 0:1.4.29-1
- Update to 1.4.29

* Thu Jul 14 2016 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.4.29-1
- update to 1.4.29

* Tue Jul 12 2016 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.4.28-1
- update to 1.4.28
- listen only on loopback interface by default (#1182542)
- use upstream unit file (#1350939)
- remove obsolete macros and scriptlet

* Sun Jul  3 2016 Remi Collet <rpms@famillecollet.com> - 0:1.4.28-1
- Update to 1.4.28

* Sat Jun 25 2016 Remi Collet <rpms@famillecollet.com> - 0:1.4.27-1
- Update to 1.4.27
- run all tests during the build

* Wed Jun 22 2016 Remi Collet <rpms@famillecollet.com> - 0:1.4.26-1
- Update to 1.4.26 (backported from Fedora)

* Sun Jan  3 2016 Remi Collet <rpms@famillecollet.com> - 0:1.4.25-1
- Update to 1.4.25

* Mon Jan  5 2015 Remi Collet <rpms@famillecollet.com> - 0:1.4.22-1
- Update to 1.4.22

* Sun Oct 26 2014 Remi Collet <rpms@famillecollet.com> - 0:1.4.21-1
- Update to 1.4.21
- fix license handling

* Mon May 12 2014 Remi Collet <rpms@famillecollet.com> - 0:1.4.20-1
- Update to 1.4.20

* Fri May  2 2014 Remi Collet <rpms@famillecollet.com> - 0:1.4.19-1
- Update to 1.4.19

* Mon Apr  7 2014 Remi Collet <rpms@famillecollet.com> - 0:1.4.17-1
- Update to 1.4.17
- Sync with rawhide
- Build against libevent 2

* Sun Dec  2 2012 Remi Collet <rpms@famillecollet.com> - 0:1.4.15-2.1
- build test without SASL

* Mon Nov 26 2012 Remi Collet <rpms@famillecollet.com> - 0:1.4.15-2
- enable SASL support

* Mon Nov 26 2012 Remi Collet <rpms@famillecollet.com> - 0:1.4.15-1
- sync with rawhide, backport for remi repo

* Tue Nov 20 2012 Joe Orton <jorton@redhat.com> - 0:1.4.15-2
- BR perl(Test::Harness)

* Tue Nov 20 2012 Joe Orton <jorton@redhat.com> - 0:1.4.15-1
- update to 1.4.15 (#782395)
- switch to simple systemd service (#878198)
- use systemd scriptlet macros (Václav Pavlín, #850204)

* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.4.13-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Fri May 04 2012 Jon Ciesla <limburgher@gmail.com> - 0:1.4.13-2
- Migrate to systemd, 783112.

* Tue Feb  7 2012 Paul Lindner <lindner@mirth.inuus.com> - 0:1.4.13-1
- Upgrade to memcached 1.4.13
- http://code.google.com/p/memcached/wiki/ReleaseNotes1413
- http://code.google.com/p/memcached/wiki/ReleaseNotes1412
- http://code.google.com/p/memcached/wiki/ReleaseNotes1411

* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.4.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Wed Nov  9 2011 Paul Lindner <lindner@mirth.inuus.com> - 0:1.4.10-1
- Upgrade to memcached 1.4.10 (http://code.google.com/p/memcached/wiki/ReleaseNotes1410)

* Tue Aug 16 2011 Paul Lindner <lindner@inuus.com> - 0:1.4.7-1
- Upgrade to memcached 1.4.7 (http://code.google.com/p/memcached/wiki/ReleaseNotes147)
- Fix some rpmlint errors/warnings.

* Tue Aug  2 2011 Paul Lindner <lindner@inuus.com> - 0:1.4.6-1
- Upgrade to memcached-1.4.6

* Wed Feb 16 2011 Joe Orton <jorton@redhat.com> - 0:1.4.5-7
- fix build

* Mon Feb 14 2011 Paul Lindner <lindner@inuus.com> - 0:1.4.5-6
- Rebuild for updated libevent

* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.4.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Sun Nov 28 2010 Paul Lindner <lindner@inuus.com> - 0:1.4.5-4
- Add code to deal with /var/run/memcached on tmpfs

* Wed Sep  8 2010 Paul Lindner <lindner@inuus.com> - 0:1.4.5-3
- Apply patch from memcached issue #60, solves Bugzilla 631051

* Tue Jun 15 2010 Remi Collet <rpms@famillecollet.com> - 1.4.5-2.el4.1
- also use /var/run/memcached/memcached.pid on EL-4

* Sun Jun 13 2010 Remi Collet <rpms@famillecollet.com> - 1.4.5-2
- sync with rawhide rebuild for remi repository
  EL-5.5 : rebuild against latest libevent

* Wed May 26 2010 Joe Orton <jorton@redhat.com> - 0:1.4.5-2
- LSB compliance fixes for init script
- don't run the test suite as root
- ensure a constant timestamp on the sysconfig file

* Sun Apr  4 2010 Remi Collet <rpms@famillecollet.com> - 0:1.4.5-1
- rebuild for remi repository

* Sun Apr  4 2010 Paul Lindner <lindner@inuus.com> - 0:1.4.5-1
- Upgrade to upstream memcached-1.4.5 (http://code.google.com/p/memcached/wiki/ReleaseNotes145)

* Wed Jan 20 2010 Paul Lindner <lindner@inuus.com> - 0:1.4.4-2
- Remove SELinux policies fixes Bugzilla 557073

* Sat Nov 28 2009 Remi Collet <rpms@famillecollet.com> - 1.4.4-1
- rebuild for remi repository

* Sat Nov 28 2009 Paul Lindner <lindner@inuus.com> - 0:1.4.4-1
- Upgraded to upstream memcached-1.4.4 (http://code.google.com/p/memcached/wiki/ReleaseNotes144)
- Add explicit Epoch to fix issue with broken devel dependencies (resolves 542001)

* Sat Nov 28 2009 Remi Collet <rpms@famillecollet.com> - 1.4.3-1
- rebuild for remi repository

* Thu Nov 12 2009 Paul Lindner <lindner@mirth.inuus.com> - 1.4.3-1
- Add explicit require on memcached for memcached-devel (resolves 537046)
- enable-threads option no longer needed
- Update web site address

* Wed Nov 11 2009 Paul Lindner <lindner@inuus.com> - 1.4.3-1
- Upgrade to memcached-1.4.3

* Mon Oct 12 2009 Paul Lindner <lindner@inuus.com> - 1.4.2-1
- Upgrade to memcached-1.4.2
- Addresses CVE-2009-2415

* Sun Sep 06 2009 Remi Collet <rpms@famillecollet.com> - 1.4.1-1
- rebuild for remi repository

* Sat Aug 29 2009 Paul Lindner <lindner@inuus.com> - 1.4.1-1
- Upgrade to 1.4.1 
- http://code.google.com/p/memcached/wiki/ReleaseNotes141

* Thu Jul 16 2009 Remi Collet <rpms@famillecollet.com> - 1.2.8-1.el4.remi.1
- fix init script syntax for EL4

* Wed Apr 29 2009 Paul Lindner <lindner@inuus.com> - 1.2.8-1
- Upgrade to memcached-1.2.8
- Addresses CVE-2009-1255

* Sun Apr 26 2009 Remi Collet <rpms@famillecollet.com> - 1.2.8-1
- Upgrade to memcached-1.2.8
- add conditional Selinux build (for EL4)

* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Tue Jul 29 2008 Paul Lindner <lindner@inuus.com> - 1.2.6-1
- Upgrade to memcached-1.2.6

* Tue Mar  4 2008 Paul Lindner <lindner@inuus.com> - 1.2.5-1
- Upgrade to memcached-1.2.5

* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2.4-4
- Autorebuild for GCC 4.3

* Sun Jan 27 2008 Paul Lindner <lindner@inuus.com> - 1.2.4-3
- Adjust libevent dependencies

* Sat Dec 22 2007 Paul Lindner <lindner@inuus.com> - 1.2.4-2
- Upgrade to memcached-1.2.4

* Fri Sep 07 2007 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.2.3-8
- Add selinux policies
- Create our own system user

* Mon Aug  6 2007 Paul Lindner <lindner@inuus.com> - 1.2.3-7
- Fix problem with -P and -d flag combo on x86_64
- Fix init script for FC-6

* Fri Jul 13 2007 Paul Lindner <lindner@inuus.com> - 1.2.3-4
- Remove test that fails in fedora build system on ppc64

* Sat Jul  7 2007 root <lindner@inuus.com> - 1.2.3-2
- Upgrade to 1.2.3 upstream
- Adjust make install to preserve man page timestamp
- Conform with LSB init scripts standards, add force-reload

* Wed Jul  4 2007 Paul Lindner <lindner@inuus.com> - 1.2.2-5
- Use /var/run/memcached/ directory to hold PID file

* Sat May 12 2007 Paul Lindner <lindner@inuus.com> - 1.2.2-4
- Remove tabs from spec file, rpmlint reports no more errors

* Thu May 10 2007 Paul Lindner <lindner@inuus.com> - 1.2.2-3
- Enable build-time regression tests
- add dependency on initscripts
- remove memcached-debug (not needed in dist)
- above suggestions from Bernard Johnson

* Mon May  7 2007 Paul Lindner <lindner@inuus.com> - 1.2.2-2
- Tidyness improvements suggested by Ruben Kerkhof in bugzilla #238994

* Fri May  4 2007 Paul Lindner <lindner@inuus.com> - 1.2.2-1
- Initial spec file created via rpmdev-newspec