commit: 998cc7ffa86d8db40abcbbbdb7e62863c306a300 Author: Austin English <wizardedit <AT> gentoo <DOT> org> AuthorDate: Wed May 4 00:59:14 2016 +0000 Commit: Austin English <wizardedit <AT> gentoo <DOT> org> CommitDate: Wed May 4 00:59:14 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=998cc7ff
net-misc/utelnetd: use #!/sbin/openrc-run instead of #!/sbin/runscript Gentoo-Bug: https://bugs.gentoo.org/573846 Package-Manager: portage-2.2.26 net-misc/utelnetd/files/utelnetd.initd | 4 ++-- net-misc/utelnetd/utelnetd-0.1.11-r1.ebuild | 35 +++++++++++++++++++++++++++++ net-misc/utelnetd/utelnetd-0.1.9-r2.ebuild | 33 +++++++++++++++++++++++++++ 3 files changed, 70 insertions(+), 2 deletions(-) diff --git a/net-misc/utelnetd/files/utelnetd.initd b/net-misc/utelnetd/files/utelnetd.initd index fe87e80..3e84801 100644 --- a/net-misc/utelnetd/files/utelnetd.initd +++ b/net-misc/utelnetd/files/utelnetd.initd @@ -1,5 +1,5 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ diff --git a/net-misc/utelnetd/utelnetd-0.1.11-r1.ebuild b/net-misc/utelnetd/utelnetd-0.1.11-r1.ebuild new file mode 100644 index 0000000..ad00d89 --- /dev/null +++ b/net-misc/utelnetd/utelnetd-0.1.11-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="A small Telnet daemon, derived from the Axis tools" +HOMEPAGE="http://www.pengutronix.de/software/utelnetd/index_en.html" +SRC_URI="http://www.pengutronix.de/software/utelnetd/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~s390 ~sparc ~x86" +IUSE="" + +DEPEND="virtual/shadow" + +src_prepare() { + sed -i \ + -e "/(STRIP)/d" \ + -e "/^CC/s:=.*:= $(tc-getCC):" \ + -e "/fomit-frame-pointer/d" \ + Makefile || die + + default +} + +src_install() { + dosbin utelnetd + dodoc ChangeLog README + + newinitd "${FILESDIR}"/utelnetd.initd utelnetd +} diff --git a/net-misc/utelnetd/utelnetd-0.1.9-r2.ebuild b/net-misc/utelnetd/utelnetd-0.1.9-r2.ebuild new file mode 100644 index 0000000..1c55b5b --- /dev/null +++ b/net-misc/utelnetd/utelnetd-0.1.9-r2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="A small Telnet daemon, derived from the Axis tools" +HOMEPAGE="http://www.pengutronix.de/software/utelnetd_en.html" +SRC_URI="http://www.pengutronix.de/software/utelnetd/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~s390 ~sparc ~x86" +IUSE="" + +DEPEND="virtual/shadow" + +src_prepare() { + sed -i \ + -e "/(STRIP)/d" \ + -e "/^CC/s:=.*:= $(tc-getCC):" \ + Makefile || die + default +} + +src_install() { + dosbin utelnetd + dodoc ChangeLog README + + newinitd "${FILESDIR}"/utelnetd.initd utelnetd +}
