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.3.ebuild ChangeLog
Date: Sat, 28 Sep 2013 16:00:37
Message-Id: 20130928160031.B04C12004C@flycatcher.gentoo.org
1 floppym 13/09/28 16:00:31
2
3 Modified: ChangeLog
4 Added: netctl-1.3.ebuild
5 Log:
6 Bump.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
9
10 Revision Changes Path
11 1.13 net-misc/netctl/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/netctl/ChangeLog?rev=1.13&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/netctl/ChangeLog?rev=1.13&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/netctl/ChangeLog?r1=1.12&r2=1.13
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/netctl/ChangeLog,v
20 retrieving revision 1.12
21 retrieving revision 1.13
22 diff -u -r1.12 -r1.13
23 --- ChangeLog 2 Aug 2013 16:26:09 -0000 1.12
24 +++ ChangeLog 28 Sep 2013 16:00:31 -0000 1.13
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-misc/netctl
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/netctl/ChangeLog,v 1.12 2013/08/02 16:26:09 floppym Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/netctl/ChangeLog,v 1.13 2013/09/28 16:00:31 floppym Exp $
30 +
31 +*netctl-1.3 (28 Sep 2013)
32 +
33 + 28 Sep 2013; Mike Gilbert <floppym@g.o> +netctl-1.3.ebuild:
34 + Bump.
35
36 *netctl-1.2 (02 Aug 2013)
37
38
39
40
41 1.1 net-misc/netctl/netctl-1.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/netctl/netctl-1.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/netctl/netctl-1.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: netctl-1.3.ebuild
47 ===================================================================
48 # Copyright 1999-2013 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.3.ebuild,v 1.1 2013/09/28 16:00:31 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 LICENSE="BSD"
70 SLOT="0"
71 IUSE=""
72
73 DEPEND+="
74 virtual/pkgconfig
75 sys-apps/systemd
76 "
77 RDEPEND="
78 >=app-shells/bash-4.0
79 >=net-dns/openresolv-3.5.4-r1
80 sys-apps/iproute2
81 sys-apps/systemd
82 !<net-misc/dhcpcd-5.6.7
83 "
84
85 src_prepare() {
86 sed -i -e "s:/usr/bin/ifplugd:/usr/sbin/ifplugd:" \
87 "services/netctl-ifplugd@.service" || die
88 }
89
90 src_compile() {
91 return 0
92 }
93
94 src_install() {
95 emake DESTDIR="${D%/}" SHELL=bash install
96 dodoc AUTHORS NEWS README
97 newbashcomp contrib/bash-completion netctl
98 insinto /usr/share/zsh/site-functions
99 newins contrib/zsh-completion _netctl
100 }
101
102 optfeature() {
103 local desc=$1
104 shift
105 while (( $# )); do
106 if has_version "$1"; then
107 elog " [I] $1 for ${desc}"
108 else
109 elog " [ ] $1 for ${desc}"
110 fi
111 shift
112 done
113 }
114
115 pkg_postinst() {
116 if [[ -z ${REPLACING_VERSIONS} ]]; then
117 elog "To get additional features, a number of optional runtime dependencies may be"
118 elog "installed."
119 optfeature "DHCP support" net-misc/dhcpcd ">=net-misc/dhcp-5.6.7[client]"
120 optfeature "WPA support" net-wireless/wpa_supplicant
121 optfeature "interactive assistant" dev-util/dialog
122 optfeature "automatic connection" sys-apps/ifplugd
123 optfeature "bonding support" net-misc/ifenslave
124 optfeature "dialup support" net-dialup/ppp
125 fi
126 }