From 7aa2904232dac7759a0a252520bc10b954ab85b6 Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Wed, 31 Aug 2016 21:52:37 +0100 Subject: net-misc/stund: Convert init scripts to openrc-run Package-Manager: portage-2.2.28 --- net-misc/stund/Manifest | 4 ++-- net-misc/stund/files/stund.initd | 4 ++-- net-misc/stund/stund-0.97-r1.ebuild | 42 +++++++++++++++++++++++++++++++++++++ net-misc/stund/stund-0.97.ebuild | 42 ------------------------------------- 4 files changed, 46 insertions(+), 46 deletions(-) create mode 100644 net-misc/stund/stund-0.97-r1.ebuild delete mode 100644 net-misc/stund/stund-0.97.ebuild (limited to 'net-misc') diff --git a/net-misc/stund/Manifest b/net-misc/stund/Manifest index f59fcef1..9a8ce607 100644 --- a/net-misc/stund/Manifest +++ b/net-misc/stund/Manifest @@ -1,6 +1,6 @@ AUX stund-0.97-BJA-amd64.diff 557 SHA256 29319b65f6591055dc7f5da2dbde2ee2f81563f8fed20ee79834ce5f8c5ff490 WHIRLPOOL 209cd36930fd9da4e141b429c3230301b1d0eaedc95fceebe1fef5ca947adf1a3b38fb60899f2f063c00924e2bf1fc9792cc97001632b4ad9102563530426f10 AUX stund.confd 49 SHA256 d77624c10e2a7b1885329d211d0369049708942ef9292e84a91dd775e3e3d207 WHIRLPOOL 2233bd2ae14347e23da8576e9ce035f9ea960e6ebfd4df47b35a2d522e1c71437dd1b975313ddda4c953a4d5c39395e2e17ce0bf32bdb0938bb4f9bb15eec23f -AUX stund.initd 647 SHA256 8bee184f2fc0176702af4656f88623136556cba9f5e710a0145786d85b594926 WHIRLPOOL b77796abc3ca9b3c693b879bba72b1adb165c3a3036b51a929e5eb62362947f55dd23f1ab326a9f7d37042c1cf615df54658559373cba11460e62abd9cb93ad7 +AUX stund.initd 648 SHA256 dc157b33ac94c4a2b90970a9ce9202294ec2a0bd20a85381aec7046d18bc7605 WHIRLPOOL 72b15c133b01061268ef0e3033624c55e019e1118f7878ced5abc2343829320e73e9bbdb331d925b8b591644ccd19a29ad219d8efc3da70c3c16ac09840afc24 DIST stund-0.97.tgz 169558 SHA256 83e1bf9c21399244c5e8ad19789121a3537399d6523a887a5abc6187adcdb1d7 WHIRLPOOL f177e881c90998793e0f4f49f4935f01b5569f86f4d29314a6c67d3c0a8021a6de62f55f9c37b2457b81658c761f08270a89cb307885161e2ed54c879198c0e4 -EBUILD stund-0.97.ebuild 779 SHA256 447b8b9919d02b85db1d268c4d8d0067457e557bd4ab010094fa0562b748503a WHIRLPOOL c78eb6f95fbee35168bed496ffe3f447c5bf9cd94ed30bf100eaaf6baa055f87ef48f12e24600fd11497fb8c422d7ef6a9d6c005e2dacc9a628e65af031dd0ea +EBUILD stund-0.97-r1.ebuild 779 SHA256 82605dcf81af211282165471c458654089df7960729f28575f2f9f85f8f2ae9a WHIRLPOOL 6a4d0ef88737b65ecfa70d74707dc5c3ccb76c65ac0c9b841a6e6e6d4325a21e35aa65f19e2f6e3e73b1e13fda0ae47b0d71538798a531664fb766d87bbb6655 MISC metadata.xml 256 SHA256 6ca43960767ca28661abf97c85263db77fe7643902be2ce777c61aa688d8ea2d WHIRLPOOL cef8582829111be09e651eb819e6d1ea59c9c4386b842169ccd46a14c8e3ccb090486fecd61c5fd4aa47998cacc69cdc1fb5ca6bb6325a4da1ebfd0b6eebda7b diff --git a/net-misc/stund/files/stund.initd b/net-misc/stund/files/stund.initd index 811a4d80..2641f4a2 100644 --- a/net-misc/stund/files/stund.initd +++ b/net-misc/stund/files/stund.initd @@ -1,5 +1,5 @@ -#!/sbin/runscript -# Copyright 1999-2013 Gentoo Foundation +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ diff --git a/net-misc/stund/stund-0.97-r1.ebuild b/net-misc/stund/stund-0.97-r1.ebuild new file mode 100644 index 00000000..db4b2f03 --- /dev/null +++ b/net-misc/stund/stund-0.97-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils + +DESCRIPTION="STUN server" +HOMEPAGE="http://sourceforge.net/projects/stun" +SRC_URI="mirror://sourceforge/stun/${P}.tgz" + +LICENSE="VSL-1.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +S="${WORKDIR}/${PN}" + +src_prepare() { + epatch "${FILESDIR}/${P}-BJA-amd64.diff" + + sed -i \ + -e "/^CXXFLAGS/ s:-g -O ::" \ + -e "/^LDFLAGS+/ s:-g -O ::" \ + Makefile + + tc-export CXX +} + +src_install() { + mv client "${PN}-client" || die + mv server "${PN}-server" || die + + insinto /usr + dobin "${PN}-client" "${PN}-server" + + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + newconfd "${FILESDIR}/${PN}.confd" "${PN}" + + dodoc readme.txt + dodoc nattestwarning.txt rfc3489.txt +} diff --git a/net-misc/stund/stund-0.97.ebuild b/net-misc/stund/stund-0.97.ebuild deleted file mode 100644 index 29887875..00000000 --- a/net-misc/stund/stund-0.97.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit eutils - -DESCRIPTION="STUN server" -HOMEPAGE="http://sourceforge.net/projects/stun" -SRC_URI="mirror://sourceforge/stun/${P}.tgz" - -LICENSE="VSL-1.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -S="${WORKDIR}/${PN}" - -src_prepare() { - epatch "${FILESDIR}/${P}-BJA-amd64.diff" - - sed -i \ - -e "/^CXXFLAGS/ s:-g -O ::" \ - -e "/^LDFLAGS+/ s:-g -O ::" \ - Makefile - - tc-export CXX -} - -src_install() { - mv client "${PN}-client" || die - mv server "${PN}-server" || die - - insinto /usr - dobin "${PN}-client" "${PN}-server" - - newinitd "${FILESDIR}/${PN}.initd" "${PN}" - newconfd "${FILESDIR}/${PN}.confd" "${PN}" - - dodoc readme.txt - dodoc nattestwarning.txt rfc3489.txt -} -- cgit v1.2.3