Gentoo Archives: gentoo-commits

From: "Mike Gilbert (floppym)" <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/netctl: netctl-1.6.ebuild ChangeLog
Date: Sat, 22 Mar 2014 17:39:38
Message-Id: 20140322173928.9B1622004F@flycatcher.gentoo.org
1 floppym 14/03/22 17:39:28
2
3 Modified: ChangeLog
4 Added: netctl-1.6.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
9
10 Revision Changes Path
11 1.18 net-misc/netctl/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/netctl/ChangeLog?rev=1.18&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/netctl/ChangeLog?rev=1.18&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/netctl/ChangeLog?r1=1.17&r2=1.18
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/netctl/ChangeLog,v
20 retrieving revision 1.17
21 retrieving revision 1.18
22 diff -u -r1.17 -r1.18
23 --- ChangeLog 18 Jan 2014 18:38:51 -0000 1.17
24 +++ ChangeLog 22 Mar 2014 17:39:28 -0000 1.18
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-misc/netctl
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/netctl/ChangeLog,v 1.17 2014/01/18 18:38:51 pacho Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/netctl/ChangeLog,v 1.18 2014/03/22 17:39:28 floppym Exp $
30 +
31 +*netctl-1.6 (22 Mar 2014)
32 +
33 + 22 Mar 2014; Mike Gilbert <floppym@g.o> +netctl-1.6.ebuild:
34 + Version bump.
35
36 18 Jan 2014; Pacho Ramos <pacho@g.o> netctl-1.4.ebuild:
37 amd64 stable, bug #488638
38
39
40
41 1.1 net-misc/netctl/netctl-1.6.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/netctl/netctl-1.6.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/netctl/netctl-1.6.ebuild?rev=1.1&content-type=text/plain
45
46 Index: netctl-1.6.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-misc/netctl/netctl-1.6.ebuild,v 1.1 2014/03/22 17:39:28 floppym Exp $
51
52 EAPI=5
53
54 inherit bash-completion-r1
55
56 if [[ ${PV} = *9999* ]]; then
57 EGIT_REPO_URI="git://projects.archlinux.org/netctl.git"
58 inherit git-2
59 DEPEND="app-text/asciidoc"
60 else
61 SRC_URI="ftp://ftp.archlinux.org/other/packages/${PN}/${P}.tar.xz"
62 KEYWORDS="~amd64 ~x86"
63 fi
64
65 DESCRIPTION="Profile based network connection tool from Arch Linux"
66 HOMEPAGE="https://wiki.archlinux.org/index.php/Netctl
67 https://www.archlinux.org/packages/core/any/netctl/
68 https://projects.archlinux.org/netctl.git/"
69
70 LICENSE="GPL-3"
71 SLOT="0"
72 IUSE=""
73
74 DEPEND+="
75 virtual/pkgconfig
76 sys-apps/systemd
77 "
78 RDEPEND="
79 >=app-shells/bash-4.0
80 >=net-dns/openresolv-3.5.4-r1
81 sys-apps/iproute2
82 sys-apps/systemd
83 !<net-misc/dhcpcd-5.6.7
84 "
85
86 src_prepare() {
87 sed -i -e "s:/usr/bin/ifplugd:/usr/sbin/ifplugd:" \
88 "services/netctl-ifplugd@.service" || die
89 }
90
91 src_compile() {
92 return 0
93 }
94
95 src_install() {
96 emake DESTDIR="${D%/}" SHELL=bash install
97 dodoc AUTHORS NEWS README
98 newbashcomp contrib/bash-completion netctl
99 insinto /usr/share/zsh/site-functions
100 newins contrib/zsh-completion _netctl
101 }
102
103 optfeature() {
104 local desc=$1
105 shift
106 while (( $# )); do
107 if has_version "$1"; then
108 elog " [I] $1 for ${desc}"
109 else
110 elog " [ ] $1 for ${desc}"
111 fi
112 shift
113 done
114 }
115
116 pkg_postinst() {
117 if [[ -z ${REPLACING_VERSIONS} ]]; then
118 elog "To get additional features, a number of optional runtime dependencies may be"
119 elog "installed."
120 optfeature "DHCP support" net-misc/dhcpcd ">=net-misc/dhcp-5.6.7[client]"
121 optfeature "WPA support" net-wireless/wpa_supplicant
122 optfeature "interactive assistant" dev-util/dialog
123 optfeature "automatic connection" sys-apps/ifplugd
124 optfeature "bonding support" net-misc/ifenslave
125 optfeature "dialup support" net-dialup/ppp
126 fi
127 }