[CentOS] semi-OT:apcupsd

Sat Nov 18 16:46:32 UTC 2017
Leon Fauster <leonfauster at googlemail.com>

> Am 17.11.2017 um 21:22 schrieb Valeri Galtsev <galtsev at kicp.uchicago.edu>:
> 
> 
> On Fri, November 17, 2017 1:07 pm, Leon Fauster wrote:
>> 
>>> Am 17.11.2017 um 17:36 schrieb m.roth at 5-cent.us:
>>> 
>>> wwp wrote:
>>>> On Fri, 17 Nov 2017 10:34:53 -0500 Digimer <lists at alteeve.ca> wrote:
>>>> 
>>>>> On 2017-11-17 10:16 AM, m.roth at 5-cent.us wrote:
>>>>>> I can't seem to find apcupsd for C 6. Just went to epel's website,
>>>>>> and
>>>>> not
>>>>>> visible. Anyone have a clue?
>>>>> 
>>>>> I can't speak to epel, but we have copies of it if that helps you;
>>>>> 
>>>>> https://alteeve.com/files/apcupsd/
>>>> 
>>>> The (S)RPMs are also easy to find for CentOS 7, for instance at
>>>> pkgs.org:
>>>> https://pkgs.org/download/apcupsd
>>>> 
>>> Sorry, I should have said I need it for C 6. I've tried install 3-14.14,
>>> and it wants a newer glibc than C6 offers.
>> 
>> Rebuilt it:
>> 
>> https://kojipkgs.fedoraproject.org//packages/apcupsd/3.14.14/5.el7/src/apcupsd-3.14.14-5.el7.src.rpm
>> 
> 
> Or just build from tarball. Both are the tasks of the same simplicity ;-)


The difference or the "rpmbuild" work that have to be done, is to substitute the systemd start 
script (EL7) with the init script (EL6). You can find that script in the tar archive itself.

--
LF