diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2014-12-04 07:14:50 +0000 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2014-12-04 07:14:50 +0000 |
commit | e424ef38515227816e2e4e8df4a466088b3f5d54 (patch) | |
tree | 9f0168fb61aecd2f1e9f29e42a3e409d9458d216 /net-dialup/sercd | |
parent | Stable on amd64 and x86, wrt bug #530626 (diff) | |
download | gentoo-2-e424ef38515227816e2e4e8df4a466088b3f5d54.tar.gz gentoo-2-e424ef38515227816e2e4e8df4a466088b3f5d54.tar.bz2 gentoo-2-e424ef38515227816e2e4e8df4a466088b3f5d54.zip |
Revision bump: EAPI 5, epatch_user, replace einstall with default src_install phase function call wrt bug #521584, replace /var/lock with /run/lock, replace /var/run with /run in default configuration. Drop old revision
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'net-dialup/sercd')
-rw-r--r-- | net-dialup/sercd/ChangeLog | 13 | ||||
-rw-r--r-- | net-dialup/sercd/files/sercd.confd | 2 | ||||
-rw-r--r-- | net-dialup/sercd/files/sercd.initd | 6 | ||||
-rw-r--r-- | net-dialup/sercd/files/sercd.xinetd | 2 | ||||
-rw-r--r-- | net-dialup/sercd/sercd-3.0.0-r1.ebuild | 36 | ||||
-rw-r--r-- | net-dialup/sercd/sercd-3.0.0.ebuild | 29 |
6 files changed, 52 insertions, 36 deletions
diff --git a/net-dialup/sercd/ChangeLog b/net-dialup/sercd/ChangeLog index 0aafc4e98f17..d8d49478f71d 100644 --- a/net-dialup/sercd/ChangeLog +++ b/net-dialup/sercd/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for net-dialup/sercd -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/sercd/ChangeLog,v 1.1 2009/03/22 12:44:53 mrness Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/sercd/ChangeLog,v 1.2 2014/12/04 07:14:50 pinkbyte Exp $ + +*sercd-3.0.0-r1 (04 Dec 2014) + + 04 Dec 2014; Sergey Popov <pinkbyte@gentoo.org> -sercd-3.0.0.ebuild, + +sercd-3.0.0-r1.ebuild, files/sercd.confd, files/sercd.initd, + files/sercd.xinetd: + Revision bump: EAPI 5, epatch_user, replace einstall with default src_install + phase function call wrt bug #521584, replace /var/lock with /run/lock, + replace /var/run with /run in default configuration. Drop old revision *sercd-3.0.0 (22 Mar 2009) diff --git a/net-dialup/sercd/files/sercd.confd b/net-dialup/sercd/files/sercd.confd index c7126a35197c..4c6e078489c4 100644 --- a/net-dialup/sercd/files/sercd.confd +++ b/net-dialup/sercd/files/sercd.confd @@ -7,7 +7,7 @@ SERCD_USER=uucp:uucp SERCD_DEVFILE=/dev/modem # Lock file -SERCD_LOCKFILE=/var/lock/LCK..modem +SERCD_LOCKFILE=/run/lock/LCK..modem # Address on which this daemon listens on SERCD_ADDR=0.0.0.0 diff --git a/net-dialup/sercd/files/sercd.initd b/net-dialup/sercd/files/sercd.initd index b8f8744bb28b..924b79fc3429 100644 --- a/net-dialup/sercd/files/sercd.initd +++ b/net-dialup/sercd/files/sercd.initd @@ -1,9 +1,9 @@ #!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/sercd/files/sercd.initd,v 1.1 2009/03/22 12:44:53 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/sercd/files/sercd.initd,v 1.2 2014/12/04 07:14:50 pinkbyte Exp $ -PIDFILE=/var/run/${SVCNAME}.pid +PIDFILE=/run/${SVCNAME}.pid depend() { need net diff --git a/net-dialup/sercd/files/sercd.xinetd b/net-dialup/sercd/files/sercd.xinetd index 8948e3c3f5fd..8b95a3d08223 100644 --- a/net-dialup/sercd/files/sercd.xinetd +++ b/net-dialup/sercd/files/sercd.xinetd @@ -9,7 +9,7 @@ service sredir wait = no user = uucp server = /usr/sbin/sercd - server_args = 5 /dev/modem /var/lock/LCK..modem 100 + server_args = 5 /dev/modem /run/lock/LCK..modem 100 port = 7000 disable = yes } diff --git a/net-dialup/sercd/sercd-3.0.0-r1.ebuild b/net-dialup/sercd/sercd-3.0.0-r1.ebuild new file mode 100644 index 000000000000..ee013aee0ec8 --- /dev/null +++ b/net-dialup/sercd/sercd-3.0.0-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/sercd/sercd-3.0.0-r1.ebuild,v 1.1 2014/12/04 07:14:50 pinkbyte Exp $ + +EAPI=5 + +inherit eutils + +DESCRIPTION="RFC2217-compliant serial port redirector" +HOMEPAGE="http://sourceforge.net/projects/sercd" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="xinetd" + +RDEPEND="xinetd? ( virtual/inetd )" + +DOCS=( AUTHORS README ) + +src_prepare() { + epatch_user +} + +src_install () { + default + + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + newconfd "${FILESDIR}/${PN}.confd" "${PN}" + if use xinetd ; then + insinto /etc/xinetd.d + newins "${FILESDIR}/${PN}.xinetd" "${PN}" + fi +} diff --git a/net-dialup/sercd/sercd-3.0.0.ebuild b/net-dialup/sercd/sercd-3.0.0.ebuild deleted file mode 100644 index bb8fc6d628ba..000000000000 --- a/net-dialup/sercd/sercd-3.0.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/sercd/sercd-3.0.0.ebuild,v 1.1 2009/03/22 12:44:53 mrness Exp $ - -EAPI="2" - -DESCRIPTION="RFC2217-compliant serial port redirector" -SRC_URI="mirror://sourceforge/sercd/${P}.tar.gz" -HOMEPAGE="http://sourceforge.net/projects/sercd" - -KEYWORDS="~amd64 ~x86" -SLOT="0" -LICENSE="GPL-2" -IUSE="xinetd" - -RDEPEND="xinetd? ( virtual/inetd )" - -src_install () { - einstall || die "einstall failed" - - newinitd "${FILESDIR}"/sercd.initd sercd - newconfd "${FILESDIR}"/sercd.confd sercd - if use xinetd ; then - insinto /etc/xinetd.d - newins "${FILESDIR}"/sercd.xinetd sercd - fi - - dodoc AUTHORS README -} |