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-r2.ebuild ChangeLog conmux-0.15.1-r1.ebuild
Date: Fri, 01 Nov 2013 20:04:46
Message-Id: 20131101200440.C2D872004B@flycatcher.gentoo.org
1 hwoarang 13/11/01 20:04:40
2
3 Modified: ChangeLog
4 Added: conmux-0.15.1-r2.ebuild
5 Removed: conmux-0.15.1-r1.ebuild
6 Log:
7 Make sure the drivers/ and helpers/ files have +x
8
9 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)
10
11 Revision Changes Path
12 1.3 app-misc/conmux/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/conmux/ChangeLog?rev=1.3&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/conmux/ChangeLog?rev=1.3&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/conmux/ChangeLog?r1=1.2&r2=1.3
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-misc/conmux/ChangeLog,v
21 retrieving revision 1.2
22 retrieving revision 1.3
23 diff -u -r1.2 -r1.3
24 --- ChangeLog 31 Oct 2013 20:01:54 -0000 1.2
25 +++ ChangeLog 1 Nov 2013 20:04:40 -0000 1.3
26 @@ -1,6 +1,12 @@
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.2 2013/10/31 20:01:54 hwoarang Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-misc/conmux/ChangeLog,v 1.3 2013/11/01 20:04:40 hwoarang Exp $
31 +
32 +*conmux-0.15.1-r2 (01 Nov 2013)
33 +
34 + 01 Nov 2013; Markos Chandras <hwoarang@g.o> +conmux-0.15.1-r2.ebuild,
35 + -conmux-0.15.1-r1.ebuild:
36 + Make sure the drivers/ and helpers/ files have +x
37
38 *conmux-0.15.1-r1 (31 Oct 2013)
39
40
41
42
43 1.1 app-misc/conmux/conmux-0.15.1-r2.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/conmux/conmux-0.15.1-r2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/conmux/conmux-0.15.1-r2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: conmux-0.15.1-r2.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-misc/conmux/conmux-0.15.1-r2.ebuild,v 1.1 2013/11/01 20:04:40 hwoarang Exp $
53
54 EAPI=5
55
56 inherit perl-module
57
58 DESCRIPTION="A console multiplexor"
59 HOMEPAGE="https://github.com/autotest/autotest"
60 SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${P}.tar.gz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE=""
66
67 RDEPEND="dev-perl/IO-Multiplex
68 dev-perl/URI"
69 DEPEND=""
70
71 src_prepare() {
72 # manual installation of drivers and helpers
73 sed -i -e "/include/d" Makefile || die "Failed to fix Makefile"
74 }
75
76 src_install() {
77 perlinfo
78 emake BASE="${D}/usr" install
79 # helpers and drivers have been removed in src_prepare
80 insinto /usr/share/${PN}/
81 doins -r drivers/ helpers/
82 fperms -R 0750 /usr/share/${PN}/{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 }