Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/conmux: conmux-0.15.1-r1.ebuild ChangeLog conmux-0.15.1.ebuild
Date: Thu, 31 Oct 2013 20:02:01
Message-Id: 20131031200154.68B6D2004E@flycatcher.gentoo.org
1 hwoarang 13/10/31 20:01:54
2
3 Modified: ChangeLog
4 Added: conmux-0.15.1-r1.ebuild
5 Removed: conmux-0.15.1.ebuild
6 Log:
7 Revbump to fix helpers and drivers installation. Fix PATH in init scripts and typos
8
9 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)
10
11 Revision Changes Path
12 1.2 app-misc/conmux/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/conmux/ChangeLog?rev=1.2&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/conmux/ChangeLog?rev=1.2&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/conmux/ChangeLog?r1=1.1&r2=1.2
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-misc/conmux/ChangeLog,v
21 retrieving revision 1.1
22 retrieving revision 1.2
23 diff -u -r1.1 -r1.2
24 --- ChangeLog 29 Oct 2013 21:12:59 -0000 1.1
25 +++ ChangeLog 31 Oct 2013 20:01:54 -0000 1.2
26 @@ -1,6 +1,13 @@
27 # ChangeLog for app-misc/conmux
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-misc/conmux/ChangeLog,v 1.1 2013/10/29 21:12:59 hwoarang Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-misc/conmux/ChangeLog,v 1.2 2013/10/31 20:01:54 hwoarang Exp $
31 +
32 +*conmux-0.15.1-r1 (31 Oct 2013)
33 +
34 + 31 Oct 2013; Markos Chandras <hwoarang@g.o> +conmux-0.15.1-r1.ebuild,
35 + -conmux-0.15.1.ebuild, files/conmux-registry.initd, files/conmux.initd:
36 + Revbump to fix helpers and drivers installation. Fix PATH in init scripts and
37 + typos
38
39 *conmux-0.15.1 (29 Oct 2013)
40
41
42
43
44 1.1 app-misc/conmux/conmux-0.15.1-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/conmux/conmux-0.15.1-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/conmux/conmux-0.15.1-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: conmux-0.15.1-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2013 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/app-misc/conmux/conmux-0.15.1-r1.ebuild,v 1.1 2013/10/31 20:01:54 hwoarang Exp $
54
55 EAPI=5
56
57 inherit perl-module
58
59 DESCRIPTION="A console multiplexor"
60 HOMEPAGE="https://github.com/autotest/autotest"
61 SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${P}.tar.gz"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 IUSE=""
67
68 RDEPEND="dev-perl/IO-Multiplex
69 dev-perl/URI"
70 DEPEND=""
71
72 src_prepare() {
73 # manual installation of drivers and helpers
74 sed -i -e "/include/d" Makefile || die "Failed to fix Makefile"
75 }
76
77 src_install() {
78 perlinfo
79 emake BASE="${D}/usr" install
80 # helpers and drivers have been removed in src_prepare
81 insinto /usr/share/${PN}
82 doins -r drivers helpers
83 dodir /etc/${PN}
84 # no need to have the init script in /sbin
85 rm "${D}"/usr/sbin/start || die "failed to remove init script"
86 # console is too generic. Make it conmux-console instead
87 mv "${D}"/usr/bin/console "${D}"/usr/bin/${PN}-console || \
88 die "failed to rename console to conmux-console"
89 # Fix up directory for the module
90 perlinfo
91 dodir ${VENDOR_LIB}/${PN}
92 mv "${D}"/usr/lib/Conmux.pm "${D}"/${VENDOR_LIB}/. || \
93 die "failed to move the Conmux.pm module"
94 newinitd "${FILESDIR}"/${PN}.initd ${PN}
95 newinitd "${FILESDIR}"/${PN}-registry.initd ${PN}-registry
96 newconfd "${FILESDIR}"/${PN}.confd ${PN}
97 newconfd "${FILESDIR}"/${PN}-registry.confd ${PN}-registry
98 dodoc README
99 }
100
101 pkg_postinst() {
102 elog ""
103 elog "If you have more than one serial ports and you want to use all"
104 elog "of them with conmux, copy and paste the 'conmux' init.d and conf.d"
105 elog "files as many times as you want, pointing each conf.d file to the"
106 elog "device's configuration file."
107 elog ""
108 elog "See /etc/conf.d/conmux and"
109 elog "https://github.com/autotest/autotest/wiki/Conmux-OriginalDocumentation"
110 elog "https://github.com/autotest/autotest/wiki/Conmux-Howto"
111 elog "for more information"
112 elog ""
113 }