summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Quinteiro <gentoo@quinteiro.org>2013-04-19 15:49:51 -0700
committerJose Quinteiro <gentoo@quinteiro.org>2013-04-19 15:49:51 -0700
commit28274e1feb2dbecaef388407b1b197c8aaab95fd (patch)
tree0a0664568e79858045ea2483e44e57fb1d43f886
parentAdd support for PolarSSL 1.2.x (diff)
downloadJoseQ-28274e1feb2dbecaef388407b1b197c8aaab95fd.tar.gz
JoseQ-28274e1feb2dbecaef388407b1b197c8aaab95fd.tar.bz2
JoseQ-28274e1feb2dbecaef388407b1b197c8aaab95fd.zip
Stabilize 0.2.10-r2. Add an ebuild for upcoming release 0.2.11.
According to upstream, The patches in the -r2 ebuild are going to be released soon in version 0.2.11. The preliminary ebuild for this upcoming release downloads a moving target from Github.
-rw-r--r--media-sound/umurmur/Manifest2
-rw-r--r--media-sound/umurmur/umurmur-0.2.10-r2.ebuild2
-rw-r--r--media-sound/umurmur/umurmur-0.2.11.ebuild86
3 files changed, 89 insertions, 1 deletions
diff --git a/media-sound/umurmur/Manifest b/media-sound/umurmur/Manifest
index 396f386..97a4a8c 100644
--- a/media-sound/umurmur/Manifest
+++ b/media-sound/umurmur/Manifest
@@ -4,9 +4,11 @@ AUX umurmur-0.2.8-polarssl-1.1.1.patch 1766 SHA256 8d0ee47be178a04c2cbc43ead2e8c
AUX umurmur.conf 1639 SHA256 32ee6824594e16e5f20c8b08923a517063a54cbdf5116caa6f76f4098be97442 SHA512 0a5882dca2daf686716d7b78f916e4506c7b98e3460ccd56aace087dca88b686b659e32b325bf253922cc824049a800b06e5006ea04cc5539c82b63cda5cccea WHIRLPOOL e3ee76ed340704521a612859cfbe306b4bb333e10034acbb2d21443a7ed990344d537b54d2859da5d6879c7e90dcf79e925efad0f9cc6b4ba8a14720274bfb41
AUX umurmurd.confd 185 SHA256 ed2d207e2ec5f3df61b9d28827e59513c7d3a72b891488206a59c4d7a571893e SHA512 955ac262533f6ff685f7fb5211bd8084cfb10ca6f83bebb76e04c839761e2cd82478ff09563ca76ab4457432850a910036460f12516c5c29105b1cc6090e9285 WHIRLPOOL bd98d48f1e75a3341f7def75ea9f48f1ea4c9bdc1afb2a9b89450d7c998df2fced66fed0a1e84349bb29add50c78a045e6be27939fbb4b276d8b1b26a3de76f6
AUX umurmurd.initd 475 SHA256 5e53c46069a3473eb5cb849c3dea5e4beb36b7ef742b10022bf7dc7bff3c72ce SHA512 5f10b3ec2fa7fd7333d48da0dc6351c89a0b5147eca259cb8f3caf77599f45a4c649f7541740183df8cf529a567d9a198113f747bb227ff37226f74fb430d4c6 WHIRLPOOL 39664ce49aaf7d00a78cd34e7d5c46ae400e45f02ffa052aabea555a9b527046484a2593466e3e6d77bea21dc4ab1abdf2874d03f6c9e0a37ba9cb36c97f019c
+DIST ipv4.zip 114377 SHA256 a68b73ad56365d4080e7e43287f470b4a0b9cfda94ab3803b51e2b9098e32e67 SHA512 c3e99fa77455256087805bc20a5fa3ab1c57f8975cd8e28970a9d0a6f821ee48a141929118a2e1e06fe0ae6d55f8987b978846888337cdaa8131e8094c929d6d WHIRLPOOL abbd0f1255a514a8e6ca2edb5372e53d11634f6ac998cd04ae799a9dda9b6478c443730922435a4ce31c94a3ec420bebdba80ec199afd59f7364bfea5f88f087
DIST umurmur-0.2.10.tar.gz 161937 SHA256 7e4f962a04f2a683b5f855726c059c504f6b2ee09fe290a5a2468d53b7042931 SHA512 7e47e748a12a19eebdce7f49a2a75b0c50ab378c8c0f6a841582c24df25842661b248c54410433e2e9e66932cd73a04f127f9be9a9b9ffeb696494bee976f102 WHIRLPOOL bf3a20956d2330dfa056fc2447c54c3321defd9a4b0989108b6c6a4e1f9df74ad86c5fcfab097dfb10f8c128afe1e21dadb0b9eeca3db7d9c362272c842c88fa
DIST umurmur-0.2.8.tar.gz 155357 SHA256 62c43da2f07125977cf8024a0775ed697101816c3fa8f36345780901aaf08736 SHA512 e2564bf4be4a4c68c100d2b72b69fbe31733e3de11f476b76de5007fbe10d17271b2dcb6957ef00070d005a955a77138e12aa18b0fb128bab8c822f030a98388 WHIRLPOOL 674b321965a0985c66bdfc3e99e6f6bc73263cd3693311e0a738c275a95b34726363ac7747e8fa487d55f0327c140049ffdc8431e426ca04f143db699a63c5cf
EBUILD umurmur-0.2.10-r1.ebuild 2146 SHA256 17fac717033e79978c9c4ba651c1b3e0686018bacf6aa5e6134d09319a3f84e3 SHA512 fd61ac289b367efdde211b02ec70c212f13c9e37d4b5dba8ec835e275797f932f9d8e768ced0eba4548b6206938f56ec8f1e241d5e66d5fd4d67c6023bae8d87 WHIRLPOOL 8d039e708317779d0fdc325b369e38b0df4f85b9272ce4fd91eb59cc803534545e1ab6ec64557fae70fbdb2330ab429a73fab569eda0022ac5151c304ff02fd2
EBUILD umurmur-0.2.10-r2.ebuild 2210 SHA256 9a34491dfc43f53225d29ea831fc200e0fafa120a1ef78667f6fac59e2251496 SHA512 8fc3169e65dccffb2840c29ac3e1fb2981f9667dfc2d7ad329450ff2a9e6ebed2f6446dbee27cbde06a5ab3f58fcd4e65a047d6781933a5147b5425c228e5da2 WHIRLPOOL 4702fcbb395d3ee6ebab58733c73dd2515ae414a498dd161b81b1f7b38f2dde6ca7f12d3113d7b50b41bbfb731e2fab63887c2a4ab827f0635402cbb52a6a28e
EBUILD umurmur-0.2.10.ebuild 2045 SHA256 7b85b795f51ec452554ddb1c6c2c9fb7d8da4c1fd7fabd7a6b31c23bc82b7d8c SHA512 74eef797bd74e017d5848284f5437d7876b14f559175cbf5f7e2d139637dc52130d45465f74d6af8a2f80f220f374b20cfbabbeea3889df5447fb8607b673f1d WHIRLPOOL d2a404d50e80b7c59b4110f26adb9814ed244474584215541f550ac8ab664a4287af2d51d1737c6aedcc88473fedadd8a5939e62b7e90e2c079dcadad35a116a
+EBUILD umurmur-0.2.11.ebuild 2279 SHA256 3bd7891f3187254ecc78b610ba09d353b7b13ade989951036764753839c3fa98 SHA512 f7f9935b3a9042d322223a31e5ea5434f9985fa45184cff289219180828436fcea6716924d168f2385701781a7d6504667490c290c182c36074b8d7f797b9125 WHIRLPOOL 5859f39535cbdd997a1ad946a4100eb6cc4319475b63e94c440adf12f267845a32cfb469bd37478badd64342ae27e782de71267f0a22d0018345b892aae0bc13
EBUILD umurmur-0.2.8.ebuild 2197 SHA256 bd8cf76ae3ed6511119d7e5baddb2eff9b2db2a73beff111324b3b5351a75559 SHA512 e81ac72b61dfddd23e490f9f31ac2cd89cd00b3ad4ab4ba15bc9a331927124ebb50044cd7bb0de9c80b58115b8fa3ce474671fbbce617e78f7c394811140994e WHIRLPOOL de77f761403f39a503124bc4c0505d50d2e8f376dbfcbe412d90882df8ec76c37854ca12b2198368208a51aa2a46b662e46c13d96ebd86c2c3be91f3ab670f08
diff --git a/media-sound/umurmur/umurmur-0.2.10-r2.ebuild b/media-sound/umurmur/umurmur-0.2.10-r2.ebuild
index 0390637..ccf0915 100644
--- a/media-sound/umurmur/umurmur-0.2.10-r2.ebuild
+++ b/media-sound/umurmur/umurmur-0.2.10-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
LICENSE="BSD-3"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE="polarssl"
DEPEND="dev-libs/protobuf-c
diff --git a/media-sound/umurmur/umurmur-0.2.11.ebuild b/media-sound/umurmur/umurmur-0.2.11.ebuild
new file mode 100644
index 0000000..6db89b7
--- /dev/null
+++ b/media-sound/umurmur/umurmur-0.2.11.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+inherit eutils
+inherit autotools
+
+DESCRIPTION="Minimalistic Murmur (Mumble server)"
+HOMEPAGE="http://code.google.com/p/umurmur/"
+SRC_URI="https://github.com/fatbob313/${PN}/archive/ipv4.zip"
+
+LICENSE="BSD-3"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="polarssl"
+
+DEPEND="dev-libs/protobuf-c
+ dev-libs/libconfig
+ polarssl? ( >=net-libs/polarssl-1.1 )
+ !polarssl? ( dev-libs/openssl )"
+
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ enewgroup umurmur || die
+ enewuser umurmur "" "" "" umurmur || die
+}
+
+src_unpack() {
+ unpack ${A}
+ if [[ ! -d ${S} ]]; then
+ cd "${WORKDIR}"/${PN}* || die "failed to enter work directory"
+ S="$(pwd)"
+ einfo "Setting WORKDIR to ${S}"
+ fi
+}
+
+src_prepare() {
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+
+ # build uses polarssl by default, but instead, make it use openssl unless
+ # polarssl is desired.
+ use !polarssl && myconf="${myconf} --with-ssl=openssl"
+
+ econf ${myconf}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+
+ newinitd "${FILESDIR}/umurmurd.initd" umurmurd || die
+ newconfd "${FILESDIR}/umurmurd.confd" umurmurd || die
+
+ dodoc AUTHORS ChangeLog || die "dodoc failed"
+ newdoc README.md README || die "newdoc failed"
+
+ # Some permissions are adjusted as the config may contain a server
+ # password, and /etc/umurmur will typically contain the cert and the key
+ # used to sign it, which are read after priveleges are dropped.
+ insinto /etc
+ doins "${FILESDIR}/umurmur.conf" || die
+ fperms 0640 /etc/umurmur.conf || die
+
+ dodir /etc/umurmur || die
+ fperms 0750 /etc/umurmur || die
+ fowners root:umurmur /etc/umurmur || die
+}
+
+pkg_postinst() {
+ elog "A configuration file has been installed at /etc/umurmur.conf - you may "
+ elog "want to review it. See also http://code.google.com/p/umurmur/wiki/Configuring02x"
+
+ if use polarssl ; then
+ elog
+ elog "Because you have enabled PolarSSL support, umurmurd will use a"
+ elog "predefined test-certificate and key if none are configured, which"
+ elog "is insecure. See http://code.google.com/p/umurmur/wiki/Installing02x#Installing_uMurmur_with_PolarSSL_support"
+ elog "for more information on how to create your certificate and key"
+ fi
+}