summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Schwyn <gentoo@bitcetera.com>2008-12-13 17:57:25 +0000
committerSven Schwyn <gentoo@bitcetera.com>2008-12-13 17:57:25 +0000
commit2ea521fbcaba650f54803646d56e27ab748c05a5 (patch)
tree0ea138e4b29293293655093eb484990fca54cec0
parentnet-misc/callweaver-svn: bleeding edge CallWeaver with support for net-misc/d... (diff)
downloadvoip-2ea521fbcaba650f54803646d56e27ab748c05a5.tar.gz
voip-2ea521fbcaba650f54803646d56e27ab748c05a5.tar.bz2
voip-2ea521fbcaba650f54803646d56e27ab748c05a5.zip
net-misc/callweaver: ebuild improvements and add callweaver to dialout group
svn path=/trunk/; revision=745
-rw-r--r--net-misc/callweaver/ChangeLog4
-rw-r--r--net-misc/callweaver/Manifest8
-rw-r--r--net-misc/callweaver/callweaver-1.2.0.1.ebuild14
-rw-r--r--net-misc/callweaver/files/1.2.0.1/callweaver.conf (renamed from net-misc/callweaver/files/callweaver.confd)0
-rw-r--r--net-misc/callweaver/files/1.2.0.1/callweaver.init (renamed from net-misc/callweaver/files/callweaver.rc6)0
5 files changed, 17 insertions, 9 deletions
diff --git a/net-misc/callweaver/ChangeLog b/net-misc/callweaver/ChangeLog
index 36357d8..c3d65fb 100644
--- a/net-misc/callweaver/ChangeLog
+++ b/net-misc/callweaver/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 13 Dec 2008; Sven Schwyn (svoop) <gentoo@bitcetera.com> ++, ++,
+ -files/callweaver.confd, -files/callweaver.rc6, callweaver-1.2.0.1.ebuild:
+ add callweaver to dialout group, create per version init and conf
+
03 Jun 2008; Sven Schwyn (svoop) <gentoo@bitcetera.com>
+callweaver-1.2.0.1.ebuild, +files/callweaver.confd,
+files/callweaver.rc6:
diff --git a/net-misc/callweaver/Manifest b/net-misc/callweaver/Manifest
index fb19018..59df65a 100644
--- a/net-misc/callweaver/Manifest
+++ b/net-misc/callweaver/Manifest
@@ -1,6 +1,6 @@
-AUX callweaver.confd 2145 RMD160 2a934bf23ca4a1ec75a9c001197f33f432afc239 SHA1 c0547df1a34b3361e17c7095e53f11d7ff3f1260 SHA256 9869cc70f8ede237cbdce6a15775489f59300b1518dc3453a43968ca62f8bc20
-AUX callweaver.rc6 5615 RMD160 39908fa053e4d319c37f4e4f08c1bd2fabce5637 SHA1 ba3a8078bab5a265f31ebf7f7b0d23560f2b515d SHA256 488d09c6cc940d457c5c520eb20c4d1ff44bbc079de591102a0cebef11eaa66f
+AUX 1.2.0.1/callweaver.conf 2145 RMD160 2a934bf23ca4a1ec75a9c001197f33f432afc239 SHA1 c0547df1a34b3361e17c7095e53f11d7ff3f1260 SHA256 9869cc70f8ede237cbdce6a15775489f59300b1518dc3453a43968ca62f8bc20
+AUX 1.2.0.1/callweaver.init 5615 RMD160 39908fa053e4d319c37f4e4f08c1bd2fabce5637 SHA1 ba3a8078bab5a265f31ebf7f7b0d23560f2b515d SHA256 488d09c6cc940d457c5c520eb20c4d1ff44bbc079de591102a0cebef11eaa66f
DIST callweaver-1.2.0.1.tgz 5769383 RMD160 a11d1322b18e55844e44deb1d94f91ebefd3f968 SHA1 47fe1faef9bc93c06812030fba93d64f2f399580 SHA256 5401001d299c47f255d3fcfd291d6f1cce31b7640e41d75b24fda912991cd41b
-EBUILD callweaver-1.2.0.1.ebuild 4124 RMD160 5d731f583eedbc9b70134c78bfb140948500f11d SHA1 ac208ede13ae5b7dfed753f7a2122f1a32fbf6d6 SHA256 df6c429595cbdeb6dc2f32831041bc544a935b93efc2e675032533a05280b7e4
-MISC ChangeLog 299 RMD160 3c7f198dd87041a3045fd24ba59294ecd4065e3a SHA1 613ed409618ddb5d621f58c44bf9f43bea6157fc SHA256 8d7d4d17d0e46d79b395d407f4c91c806c2837e838a9031cf5dbe03ca2db50e1
+EBUILD callweaver-1.2.0.1.ebuild 4320 RMD160 99a122bbb24e65f3cfb0be73513eafd71234926e SHA1 8f2135f299957d355ae14d16411c0babe21fa43b SHA256 8deb7c8231e2914edeabc7c6ba71178e257780ec8caae4f9ef2dda174d52fb1c
+MISC ChangeLog 511 RMD160 e79415b8cc7cdd9c2e810801ca6cbe69bdc5226e SHA1 35bc1202a7a137a9c1c4691de8e6d8e92dcca50d SHA256 fa1934bc0c4a54509331ad9e101f47d3a54dafb7dcaea20a308740b382fe0d36
MISC metadata.xml 737 RMD160 1f4a91669e1ed67f6866c2dfe6fc3b18d2058f47 SHA1 264fdab31e600c178212f70090031960437709ee SHA256 b571dcd5654372ea6e2a99dda279da760dfc4ebf20950dc11e45787898de988e
diff --git a/net-misc/callweaver/callweaver-1.2.0.1.ebuild b/net-misc/callweaver/callweaver-1.2.0.1.ebuild
index 5dbe970..d9a7c41 100644
--- a/net-misc/callweaver/callweaver-1.2.0.1.ebuild
+++ b/net-misc/callweaver/callweaver-1.2.0.1.ebuild
@@ -6,12 +6,12 @@ inherit eutils
DESCRIPTION="Community-driven vendor-independent cross-platform Open Source PBX software."
HOMEPAGE="http://www.callweaver.org/"
-SRC_URI="http://devs.callweaver.org/release/callweaver-${PVR}.tgz"
+SRC_URI="http://devs.callweaver.org/release/callweaver-${PV}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="ael dahdi debug fax jabber misdn mgr2 mysql odbc postgres profile speex t38 zap zaptel"
+IUSE="ael dahdi debug fax jabber mgr2 misdn mysql odbc postgres profile speex t38 zap zaptel"
RDEPEND="!net-misc/callweaver-svn
=media-libs/spandsp-0.0.5_pre3
@@ -78,8 +78,8 @@ src_install() {
rm -rf "${D}"var/lib/callweaver/doc
- newinitd "${FILESDIR}"/callweaver.rc6 callweaver
- newconfd "${FILESDIR}"/callweaver.confd callweaver
+ newinitd "${FILESDIR}"/${PVR}/callweaver.init callweaver
+ newconfd "${FILESDIR}"/${PVR}/callweaver.conf callweaver
keepdir /var/{log,run,spool}/callweaver
keepdir /var/lib/callweaver/{images,keys}
@@ -89,8 +89,12 @@ pkg_preinst() {
if [[ -z "$(egetent passwd callweaver)" ]]; then
elog "Creating callweaver group and user..."
enewgroup callweaver
- enewuser callweaver -1 -1 /var/lib/callweaver callweaver
+ enewuser callweaver -1 -1 /var/lib/callweaver "callweaver,dialout"
fi
+
+ # make sure callweaver is in the dialout group (for upgrading users)
+ # TODO: remove this 3 months after the release of callweaver-1.2.1
+ usermod -a -G dialout callweaver
}
pkg_postinst() {
diff --git a/net-misc/callweaver/files/callweaver.confd b/net-misc/callweaver/files/1.2.0.1/callweaver.conf
index 0926a6c..0926a6c 100644
--- a/net-misc/callweaver/files/callweaver.confd
+++ b/net-misc/callweaver/files/1.2.0.1/callweaver.conf
diff --git a/net-misc/callweaver/files/callweaver.rc6 b/net-misc/callweaver/files/1.2.0.1/callweaver.init
index 09498b9..09498b9 100644
--- a/net-misc/callweaver/files/callweaver.rc6
+++ b/net-misc/callweaver/files/1.2.0.1/callweaver.init