[netsa-tools-discuss] Rpm packaging of super_mediator 1.5.4

Ulrik Haugen ulrik.haugen at liu.se
Thu May 17 10:24:14 EDT 2018


Hello again!

In the same endeavour as my previous message i have been trying to use
the specfile included in the super_mediator distribution.

It gave me a bit of trouble as it called configure with only prefix
resulting in attempts by the init script to locate the configuration in
/usr/etc and trying to place state files in /usr/var. Also uninstalling
it was not possible due to a reference to yaf in the preun scriptlet.

After i fixed that i ran in to the problem with seg faults so i wanted
Systemd to restart the service automatically and wrote a service unit
for it.

I've attached patches for the Git repo that i use to build rpms, if you
apply them presumably you would include the Systemd unit file in the
source archive rather than add it as an extra source in the specfile.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Repair-specfile-template.patch
Type: text/x-diff
Size: 1111 bytes
Desc: Repair specfile template
URL: <http://lists.sei.cmu.edu/pipermail/netsa-tools-discuss/attachments/20180517/a355beb1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-systemd-support-in-specfile.patch
Type: text/x-diff
Size: 4154 bytes
Desc: Add systemd support in specfile
URL: <http://lists.sei.cmu.edu/pipermail/netsa-tools-discuss/attachments/20180517/a355beb1/attachment-0001.bin>
-------------- next part --------------

Please let me know if this is enough to apply these changes.

Best regards
/Ulrik Haugen
Link?ping university incident response team


More information about the netsa-tools-discuss mailing list