Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/mgorny:master commit in: net-misc/autoupnp/
Date: Wed, 27 Jul 2011 18:49:53
Message-Id: 2977f8053258da1b43beaf25fa4f6be194a2623b.mgorny@gentoo
1 commit: 2977f8053258da1b43beaf25fa4f6be194a2623b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 27 18:50:52 2011 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 27 18:50:52 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=2977f805
7
8 net-misc/autoupnp: Introduce a live ebuild for autoupnp.
9
10 (Portage version: 2.2.0_alpha47_p5/git/Linux x86_64, signed Manifest commit with key 42B9401D)
11
12 ---
13 net-misc/autoupnp/Manifest | 14 ++++++++
14 net-misc/autoupnp/autoupnp-9999.ebuild | 52 ++++++++++++++++++++++++++++++++
15 net-misc/autoupnp/metadata.xml | 16 ++++++++++
16 3 files changed, 82 insertions(+), 0 deletions(-)
17
18 diff --git a/net-misc/autoupnp/Manifest b/net-misc/autoupnp/Manifest
19 new file mode 100644
20 index 0000000..1aef863
21 --- /dev/null
22 +++ b/net-misc/autoupnp/Manifest
23 @@ -0,0 +1,14 @@
24 +-----BEGIN PGP SIGNED MESSAGE-----
25 +Hash: SHA256
26 +
27 +EBUILD autoupnp-9999.ebuild 900 RMD160 502c80eb505acfce988392de0aa2e899b60be593 SHA1 0ac0506422f94cace138d882c9ef56832df892be SHA256 24d9cf96e72318c1c112e02c5c8989904a8cc6cab387f3a6f1ac89ce06c5ba5b
28 +MISC metadata.xml 539 RMD160 3c6e22ccb9af265d63f9d40b8cfe6fb9d2bdd0aa SHA1 2f8730c12bc15f243483bf044a239b80efce4a2b SHA256 eb121bcefb309db28901da9a89fc598df902f1394be709863019830814b67970
29 +-----BEGIN PGP SIGNATURE-----
30 +Version: GnuPG v2.0.17 (GNU/Linux)
31 +
32 +iJwEAQEIAAYFAk4wXgwACgkQfXuS5UK5QB1lEgP/RLf2aTo8jBSVqlIT4N894aJU
33 +5GRkh9qAX2dRRr0zDTDNyxJ4lKK2SHVSjFecEJAbrzZY9oyJZQA+CoPuJQgX46Eb
34 +4PtqMIkAohEv1km5hsFNekKydJuShuoDwMW3snNBOKtO8mv9l4ocP4kuXZpjkeiZ
35 +tmubM2Rtvwm8Fzt5sg4=
36 +=gODv
37 +-----END PGP SIGNATURE-----
38
39 diff --git a/net-misc/autoupnp/autoupnp-9999.ebuild b/net-misc/autoupnp/autoupnp-9999.ebuild
40 new file mode 100644
41 index 0000000..6944071
42 --- /dev/null
43 +++ b/net-misc/autoupnp/autoupnp-9999.ebuild
44 @@ -0,0 +1,52 @@
45 +# Copyright 1999-2011 Gentoo Foundation
46 +# Distributed under the terms of the GNU General Public License v2
47 +# $Header: $
48 +
49 +EAPI=4
50 +inherit autotools-utils
51 +
52 +#if LIVE
53 +EGIT_REPO_URI="git://github.com/mgorny/${PN}.git
54 + http://github.com/mgorny/${PN}.git"
55 +inherit autotools git-2
56 +#endif
57 +
58 +DESCRIPTION="Automatic open port forwarder using UPnP"
59 +HOMEPAGE="https://github.com/mgorny/autoupnp/"
60 +SRC_URI="http://cloud.github.com/downloads/mgorny/${PN}/${P}.tar.bz2"
61 +
62 +LICENSE="BSD"
63 +SLOT="0"
64 +KEYWORDS="~amd64 ~x86"
65 +IUSE="libnotify"
66 +
67 +RDEPEND="net-libs/miniupnpc
68 + libnotify? ( x11-libs/libnotify )"
69 +DEPEND="${RDEPEND}"
70 +
71 +DOCS=( README )
72 +
73 +#if LIVE
74 +KEYWORDS=
75 +SRC_URI=
76 +#endif
77 +
78 +src_prepare() {
79 + autotools-utils_src_prepare
80 +#if LIVE
81 + eautoreconf
82 +#endif
83 +}
84 +
85 +src_configure() {
86 + myeconfargs=(
87 + $(use_with libnotify)
88 + )
89 +
90 + autotools-utils_src_configure
91 +}
92 +
93 +src_install() {
94 + autotools-utils_src_install
95 + remove_libtool_files all
96 +}
97
98 diff --git a/net-misc/autoupnp/metadata.xml b/net-misc/autoupnp/metadata.xml
99 new file mode 100644
100 index 0000000..c5bf6c1
101 --- /dev/null
102 +++ b/net-misc/autoupnp/metadata.xml
103 @@ -0,0 +1,16 @@
104 +<?xml version="1.0" encoding="UTF-8"?>
105 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
106 +<pkgmetadata>
107 + <herd>no-herd</herd>
108 + <maintainer>
109 + <email>mgorny@g.o</email>
110 + <name>Michał Górny</name>
111 + </maintainer>
112 + <upstream>
113 + <maintainer status="active">
114 + <email>mgorny@g.o</email>
115 + <name>Michał Górny</name>
116 + </maintainer>
117 + <bugs-to>http://bugs.gentoo.org/enter_bug.cgi?product=Gentoo%20Linux&amp;component=Applications&amp;short_desc=net-misc/autoupnp:%20</bugs-to>
118 + </upstream>
119 +</pkgmetadata>