summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2005-09-04 22:07:09 +0000
committerStefan Knoblich <stkn@gentoo.org>2005-09-04 22:07:09 +0000
commit12bd25c3042d8ca4e3d18deeacb891ddd03c47da (patch)
tree245bd3140e5a7945a8d5f09a38eb820fe9d88970 /net-misc/asterisk-res_bondia
parentAdded dependency fix from bug #103744. (diff)
downloadhistorical-12bd25c3042d8ca4e3d18deeacb891ddd03c47da.tar.gz
historical-12bd25c3042d8ca4e3d18deeacb891ddd03c47da.tar.bz2
historical-12bd25c3042d8ca4e3d18deeacb891ddd03c47da.zip
Upstream renamed package to res_bondia (formerly known as res_bonjour)
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'net-misc/asterisk-res_bondia')
-rw-r--r--net-misc/asterisk-res_bondia/ChangeLog23
-rw-r--r--net-misc/asterisk-res_bondia/Manifest5
-rw-r--r--net-misc/asterisk-res_bondia/asterisk-res_bondia-0.9.ebuild46
-rw-r--r--net-misc/asterisk-res_bondia/files/digest-asterisk-res_bondia-0.91
-rw-r--r--net-misc/asterisk-res_bondia/files/res_bondia-0.9-astcfg.diff39
-rw-r--r--net-misc/asterisk-res_bondia/metadata.xml8
6 files changed, 122 insertions, 0 deletions
diff --git a/net-misc/asterisk-res_bondia/ChangeLog b/net-misc/asterisk-res_bondia/ChangeLog
new file mode 100644
index 000000000000..b1348756a7c5
--- /dev/null
+++ b/net-misc/asterisk-res_bondia/ChangeLog
@@ -0,0 +1,23 @@
+# ChangeLog for net-misc/asterisk-res_bondia
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-res_bondia/ChangeLog,v 1.1 2005/09/04 22:07:09 stkn Exp $
+
+*asterisk-res_bondia-0.9 (05 Sep 2005)
+
+ 05 Sep 2005; Stefan Knoblich <stkn@gentoo.org>
+ +files/res_bondia-0.9-astcfg.diff, +metadata.xml,
+ +asterisk-res_bondia-0.9.ebuild:
+ Upstream renamed package to res_bondia (formerly known as res_bonjour).
+ Preserving old ChangeLog entries.
+
+ 27 Aug 2005; Stefan Knoblich <stkn@gentoo.org>
+ files/res_bonjour-0.9-astcfg.diff:
+ Fix use of install in patch.
+
+*asterisk-res_bonjour-0.9 (27 Aug 2005)
+
+ 27 Aug 2005; Stefan Knoblich <stkn@gentoo.org>
+ +files/res_bonjour-0.9-astcfg.diff, +metadata.xml,
+ +asterisk-res_bonjour-0.9.ebuild:
+ Initial import.
+
diff --git a/net-misc/asterisk-res_bondia/Manifest b/net-misc/asterisk-res_bondia/Manifest
new file mode 100644
index 000000000000..a2f80e6f15de
--- /dev/null
+++ b/net-misc/asterisk-res_bondia/Manifest
@@ -0,0 +1,5 @@
+MD5 00b808bcf14b9cf9ed0cb5876bd9b80c asterisk-res_bondia-0.9.ebuild 1001
+MD5 de41c503f05f5f99a8635b0e333729a5 metadata.xml 217
+MD5 b29af9f196185017c1b0e320e53df672 ChangeLog 830
+MD5 ebc30ac9504b19d24b16320e8a5dc0a7 files/res_bondia-0.9-astcfg.diff 1080
+MD5 a9775b8a5b1a7fa8bff508af23fda683 files/digest-asterisk-res_bondia-0.9 61
diff --git a/net-misc/asterisk-res_bondia/asterisk-res_bondia-0.9.ebuild b/net-misc/asterisk-res_bondia/asterisk-res_bondia-0.9.ebuild
new file mode 100644
index 000000000000..85bf36cb7beb
--- /dev/null
+++ b/net-misc/asterisk-res_bondia/asterisk-res_bondia-0.9.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-res_bondia/asterisk-res_bondia-0.9.ebuild,v 1.1 2005/09/04 22:07:09 stkn Exp $
+
+inherit eutils
+
+MY_PN="res_bondia"
+
+DESCRIPTION="Asterisk resource plugin for Apple Bonjour (aka zeroconf) support"
+HOMEPAGE="http://www.mezzo.net/asterisk/"
+SRC_URI="http://www.mezzo.net/asterisk/${MY_PN}-${PV}.tgz"
+
+IUSE=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND="net-misc/mDNSResponder
+ >=net-misc/asterisk-1.0.7-r1"
+
+S=${WORKDIR}/${MY_PN}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ # use asterisk-config...
+ epatch ${FILESDIR}/${MY_PN}-0.9-astcfg.diff
+}
+
+src_compile() {
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ dodoc README bonjour.conf.sample
+
+ # fix permissions
+ if [[ -n "$(egetent group asterisk)" ]]; then
+ chown -R root:asterisk ${D}etc/asterisk
+ chmod -R u=rwX,g=rX,o= ${D}etc/asterisk
+ fi
+}
diff --git a/net-misc/asterisk-res_bondia/files/digest-asterisk-res_bondia-0.9 b/net-misc/asterisk-res_bondia/files/digest-asterisk-res_bondia-0.9
new file mode 100644
index 000000000000..d71a870f2ece
--- /dev/null
+++ b/net-misc/asterisk-res_bondia/files/digest-asterisk-res_bondia-0.9
@@ -0,0 +1 @@
+MD5 1aa918c053c418ef5de9a7e84c53d6a0 res_bondia-0.9.tgz 5129
diff --git a/net-misc/asterisk-res_bondia/files/res_bondia-0.9-astcfg.diff b/net-misc/asterisk-res_bondia/files/res_bondia-0.9-astcfg.diff
new file mode 100644
index 000000000000..10c25f94e55d
--- /dev/null
+++ b/net-misc/asterisk-res_bondia/files/res_bondia-0.9-astcfg.diff
@@ -0,0 +1,39 @@
+--- res_bondia/Makefile.orig 2005-09-03 15:32:44.000000000 +0000
++++ res_bondia/Makefile 2005-09-04 21:53:29.000000000 +0000
+@@ -9,15 +9,13 @@
+ NAME=res_bondia
+ CONF=bonjour.conf
+
+-CFLAGS=-g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC
++DESTDIR=
++
++CFLAGS+=-g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC
+ LIBS=-ldns_sd
+ RES=$(shell if [ -f /usr/include/asterisk/channel.h ]; then echo "$(NAME).so"; fi)
+
+-ifeq (${OSARCH},Darwin)
+-SOLINK=-dynamic -bundle -undefined suppress -force_flat_namespace
+-else
+-SOLINK=-shared -Xlinker -x
+-endif
++SOLINK=$(shell /usr/bin/asterisk-config --solink)
+
+ MODULES_DIR=/usr/lib/asterisk/modules
+
+@@ -29,13 +27,9 @@
+ clean:
+ rm -f $(NAME).o $(NAME).so
+
+-install: all
+- if ! [ -f /etc/asterisk/$(CONF) ]; then \
+- install -m 644 $(CONF).sample /etc/asterisk/$(CONF) ; \
+- fi
+- if [ -f $(NAME).so ]; then \
+- install -m 755 $(NAME).so $(MODULES_DIR) ; \
+- fi
++install:
++ install -D -m 644 $(CONF).sample $(DESTDIR)/etc/asterisk/$(CONF)
++ install -D -m 755 $(NAME).so $(DESTDIR)$(MODULES_DIR)/$(NAME).so
+
+ reload: install
+ asterisk -rx "unload ${RES}"
diff --git a/net-misc/asterisk-res_bondia/metadata.xml b/net-misc/asterisk-res_bondia/metadata.xml
new file mode 100644
index 000000000000..a3cddc42f9cc
--- /dev/null
+++ b/net-misc/asterisk-res_bondia/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>voip</herd>
+<maintainer>
+ <email>stkn@gentoo.org</email>
+</maintainer>
+</pkgmetadata>