diff options
author | Mike Gilbert <floppym@gentoo.org> | 2013-03-10 22:56:40 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2013-03-10 22:56:40 +0000 |
commit | 04051e8696d7a07ae6cc5e2c48d305c4c239dcb8 (patch) | |
tree | 080401df74bd1ae73db963ed5b1bf728151c42ca /net-misc/netctl | |
parent | Version bump. Adds systemd support. (diff) | |
download | gentoo-2-04051e8696d7a07ae6cc5e2c48d305c4c239dcb8.tar.gz gentoo-2-04051e8696d7a07ae6cc5e2c48d305c4c239dcb8.tar.bz2 gentoo-2-04051e8696d7a07ae6cc5e2c48d305c4c239dcb8.zip |
New ebuild for bug 453278.
(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'net-misc/netctl')
-rw-r--r-- | net-misc/netctl/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/netctl/Manifest | 5 | ||||
-rw-r--r-- | net-misc/netctl/files/netctl-util-paths.patch | 37 | ||||
-rw-r--r-- | net-misc/netctl/metadata.xml | 8 | ||||
-rw-r--r-- | net-misc/netctl/netctl-0.6.ebuild | 41 | ||||
-rw-r--r-- | net-misc/netctl/netctl-9999.ebuild | 41 |
6 files changed, 142 insertions, 0 deletions
diff --git a/net-misc/netctl/ChangeLog b/net-misc/netctl/ChangeLog new file mode 100644 index 000000000000..e7fa228088dd --- /dev/null +++ b/net-misc/netctl/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-misc/netctl +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/netctl/ChangeLog,v 1.1 2013/03/10 22:56:40 floppym Exp $ + +*netctl-9999 (10 Mar 2013) +*netctl-0.6 (10 Mar 2013) + + 10 Mar 2013; Mike Gilbert <floppym@gentoo.org> +files/netctl-util-paths.patch, + +metadata.xml, +netctl-0.6.ebuild, +netctl-9999.ebuild: + New ebuild for bug 453278. diff --git a/net-misc/netctl/Manifest b/net-misc/netctl/Manifest new file mode 100644 index 000000000000..6e603474fdd5 --- /dev/null +++ b/net-misc/netctl/Manifest @@ -0,0 +1,5 @@ +AUX netctl-util-paths.patch 878 SHA256 5a411341b9c9ce1923e11cd71884ab495a662012703064ef425fce0412f6ca1b SHA512 2f94df245b79e804b82d626e6de09f36ea8de19934cfa230f9d6a5a4bb43672f264efc32efdfcbf3b9a69f81580e2491126924b3b64f988d2bd29ef1daded117 WHIRLPOOL 7ce211a9e0b7c877628a174346e1b7ac2a763c64e4ee553c4478f360edc49f10c414661848a298933ec4b9d7862fa8221e34a71eada37d08fb12c841e63ff53e +DIST netctl-0.6.tar.xz 25184 SHA256 d14c7232bf8c7886177773b2f3ed0f9021adbe5913b55cc3bd0af4de2caf5c95 SHA512 f4298c8b6005ba2cbb9916440dd995d5bfb5dc8d96b0582e168e207ba96f820a2085e06c12e9f579d06addff5a3652d16563db92a2d790352d84acd634599b89 WHIRLPOOL 02dc11bb894031c21344adecdde3c4f9d24d33c3cad7dae9c3cc864176aac71196e88ec17ab7caf58f92f4a21bcaddf288744560ca3347e235c8d269e5e3cb37 +EBUILD netctl-0.6.ebuild 784 SHA256 e6fea05da29f28ef0bb211c4a7f842d438c0806190de447f9a6bada63fce9452 SHA512 4f38a26a4421acbbf4dbd240a3deb31b431c3e7cc6394cbf3189e8673632e17af365c42b0dee389fc53dfc9d209f1813f9be4fcbbe324f47cde37f354b52b2c0 WHIRLPOOL ffb6e0c5465eece21a6a5093e419f049383db2fdf3c30ab2b0b7e59fce56c29c5f761963084ebbd2b0d64c47e65993aac7c0ec2ae27f89e738a17f517271ba7d +EBUILD netctl-9999.ebuild 784 SHA256 e6fea05da29f28ef0bb211c4a7f842d438c0806190de447f9a6bada63fce9452 SHA512 4f38a26a4421acbbf4dbd240a3deb31b431c3e7cc6394cbf3189e8673632e17af365c42b0dee389fc53dfc9d209f1813f9be4fcbbe324f47cde37f354b52b2c0 WHIRLPOOL ffb6e0c5465eece21a6a5093e419f049383db2fdf3c30ab2b0b7e59fce56c29c5f761963084ebbd2b0d64c47e65993aac7c0ec2ae27f89e738a17f517271ba7d +MISC metadata.xml 232 SHA256 8e0308eed9efea18755c3fc2161057faa2b438c4d31895e776d2d5cd5ff109df SHA512 0ec524315be6762228ff54bca53ec039e93672dcef379ef6ef0087656d5e11644aebabcc08663af4f18bdb1b254e71f2b2d3f91277e2867022b93f00d975ae88 WHIRLPOOL bd96dd794e9fdf37bea367be6ada6deb0cf7b98f1978c9e23746f98b1fc2fef931077dd59f6bff7d64856ed284d39f638fb8e0517c61b42f6a0605db09297047 diff --git a/net-misc/netctl/files/netctl-util-paths.patch b/net-misc/netctl/files/netctl-util-paths.patch new file mode 100644 index 000000000000..11284087fdab --- /dev/null +++ b/net-misc/netctl/files/netctl-util-paths.patch @@ -0,0 +1,37 @@ +Remove hard-coded utility paths + +--- a/src/lib/connections/bond ++++ b/src/lib/connections/bond +@@ -2,7 +2,7 @@ + + . "$SUBR_DIR/ip" + +-IFENSLAVE="/sbin/ifenslave" ++IFENSLAVE="ifenslave" + + bond_up() { + if is_interface "$Interface"; then +--- a/src/lib/connections/bridge ++++ b/src/lib/connections/bridge +@@ -2,7 +2,7 @@ + + . "$SUBR_DIR/ip" + +-BRCTL="/usr/sbin/brctl" ++BRCTL="brctl" + + bridge_up() { + if is_interface "$Interface"; then +--- a/src/lib/connections/pppoe ++++ b/src/lib/connections/pppoe +@@ -43,8 +43,8 @@ pppoe_up() { + [[ -n ${PPPoEMAC} ]] && echo "pppoe-mac $(_quotestring "${PPPoEMAC}")" >> "${cfg}" + [[ ${PPPoEIP6} == yes ]] && echo "+ipv6" >> "${cfg}" + +- /sbin/ip link set dev "${Interface}" up +- /usr/sbin/pppd file "${cfg}" ++ ip link set dev "${Interface}" up ++ pppd file "${cfg}" + + if [[ $? -ne 0 ]]; then + rm "${cfg}" diff --git a/net-misc/netctl/metadata.xml b/net-misc/netctl/metadata.xml new file mode 100644 index 000000000000..09ddbff14dbf --- /dev/null +++ b/net-misc/netctl/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>floppym@gentoo.org</email> + <name>Mike Gilbert</name> + </maintainer> +</pkgmetadata> diff --git a/net-misc/netctl/netctl-0.6.ebuild b/net-misc/netctl/netctl-0.6.ebuild new file mode 100644 index 000000000000..8abc6c48f28e --- /dev/null +++ b/net-misc/netctl/netctl-0.6.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/netctl/netctl-0.6.ebuild,v 1.1 2013/03/10 22:56:40 floppym Exp $ + +EAPI=5 + +inherit eutils + +if [[ ${PV} = *9999* ]]; then + EGIT_REPO_URI="git://projects.archlinux.org/netctl.git" + inherit git-2 +else + SRC_URI="ftp://ftp.archlinux.org/other/packages/${PN}/${P}.tar.xz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Profile based network connection tool from Arch Linux" +HOMEPAGE="https://www.archlinux.org/netctl/" +LICENSE="BSD" +SLOT="0" +IUSE="" + +RDEPEND=" + >=app-shells/bash-4.0 + >=net-dns/openresolv-3.5.4[systemd] + sys-apps/iproute2 + sys-apps/systemd +" + +src_prepare() { + epatch "${FILESDIR}/${PN}-util-paths.patch" +} + +src_compile() { + return 0 +} + +src_install() { + emake DESTDIR="${D%/}" SHELL=bash install + dodoc AUTHORS NEWS README +} diff --git a/net-misc/netctl/netctl-9999.ebuild b/net-misc/netctl/netctl-9999.ebuild new file mode 100644 index 000000000000..0f8b3386cefe --- /dev/null +++ b/net-misc/netctl/netctl-9999.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/netctl/netctl-9999.ebuild,v 1.1 2013/03/10 22:56:40 floppym Exp $ + +EAPI=5 + +inherit eutils + +if [[ ${PV} = *9999* ]]; then + EGIT_REPO_URI="git://projects.archlinux.org/netctl.git" + inherit git-2 +else + SRC_URI="ftp://ftp.archlinux.org/other/packages/${PN}/${P}.tar.xz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Profile based network connection tool from Arch Linux" +HOMEPAGE="https://www.archlinux.org/netctl/" +LICENSE="BSD" +SLOT="0" +IUSE="" + +RDEPEND=" + >=app-shells/bash-4.0 + >=net-dns/openresolv-3.5.4[systemd] + sys-apps/iproute2 + sys-apps/systemd +" + +src_prepare() { + epatch "${FILESDIR}/${PN}-util-paths.patch" +} + +src_compile() { + return 0 +} + +src_install() { + emake DESTDIR="${D%/}" SHELL=bash install + dodoc AUTHORS NEWS README +} |