Browse Source

[net-misc/oidentd] fix Manifest, move sed to src_prepare

master
Robert Förster 4 years ago
parent
commit
e84d7c7ca8
  1. 3
      net-misc/oidentd/Manifest
  2. 7
      net-misc/oidentd/oidentd-2.3.2.ebuild

3
net-misc/oidentd/Manifest

@ -1,2 +1 @@
DIST oidentd-2.0.8.tar.gz 212354 BLAKE2B 46f4c4478822e832885f5f38a2ab5b2132ff5c1e5071fd1dc6050e55992d50bd96be096064996853af69d16316e6aff648c5320714b53b60c038cc9aaedfedda SHA512 86229a4ef9892121c25a7140616e180f862ca34b73ea3ad9f0fbb008f657abb17e9f14c2c25ae14c14bfc14bf1ea10b50fd68318631a9c52227bbfd6e6d43288
DIST oidentd-2.2.2.tar.gz 260185 BLAKE2B a719413751280d44e134245793c4a88d93dd573d7d85895e341040c2d83a7b201f21f499b931c27e5c0f1d7d0957d730b2cda698ef98b74755e2ca1958457579 SHA512 c5c5040f8955e61e8a7cddd310501d24c3b2a3818e0cd122db85c03dc5b2b18ca7ea4e7edb420df3ad81558a25d4b31c1fea97684a9f53c71c9159014f84678d
DIST oidentd-2.3.2.tar.xz 187772 BLAKE2B 460d2959cf9f1f125a76191f8b67a083a7d9bce84c706c76f6e8da6113b12eb6e760345774d15079ff449c153ac54805d4bfa8b057c1238ff703474e118b8458 SHA512 7293339897149a990928105e6cdd77aef7cd273f625496fcc674a414764ebfe835d2a9525e518a7215fc93537c48b70d15999d5669227dbb7fbf5cefb3d04e14

7
net-misc/oidentd/oidentd-2.3.2.ebuild

@ -26,6 +26,10 @@ pkg_setup() {
enewuser oidentd -1 -1 -1 oidentd
}
src_prepare() {
sed -i '/ExecStart/ s|$| -u oidentd -g oidentd|' contrib/systemd/*.service || die
}
src_configure() {
local myconf=(
$(use_enable debug)
@ -46,7 +50,4 @@ src_install() {
systemd_dounit contrib/systemd/${PN}@.service
systemd_dounit contrib/systemd/${PN}.socket
systemd_dounit contrib/systemd/${PN}.service
sed -i '/ExecStart/ s|$| -u oidentd -g oidentd|' "${D}$(systemd_get_systemunitdir)"/${PN}.service || die
sed -i '/ExecStart/ s|$| -u oidentd -g oidentd|' "${D}$(systemd_get_systemunitdir)"/${PN}@.service || die
}

Loading…
Cancel
Save