mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
net-misc/utelnetd: use #!/sbin/openrc-run instead of #!/sbin/runscript
Gentoo-Bug: https://bugs.gentoo.org/573846 Package-Manager: portage-2.2.26
This commit is contained in:
@@ -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$
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user