summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTais M. Hansen <mellen@osd.dk>2007-08-26 11:07:16 +0000
committerTais M. Hansen <mellen@osd.dk>2007-08-26 11:07:16 +0000
commit35b2a0df390a22af2763f24dff08759b12ab9ce4 (patch)
tree47645bbccba1e8a42379978a95a5ef595235389f /net-misc/openser
parentadd wengophone (diff)
downloadvoip-35b2a0df390a22af2763f24dff08759b12ab9ce4.tar.gz
voip-35b2a0df390a22af2763f24dff08759b12ab9ce4.tar.bz2
voip-35b2a0df390a22af2763f24dff08759b12ab9ce4.zip
net-misc/openser: Version bump
svn path=/trunk/; revision=587
Diffstat (limited to 'net-misc/openser')
-rw-r--r--net-misc/openser/ChangeLog3
-rw-r--r--net-misc/openser/Manifest4
-rw-r--r--net-misc/openser/openser-1.2.2.ebuild106
3 files changed, 112 insertions, 1 deletions
diff --git a/net-misc/openser/ChangeLog b/net-misc/openser/ChangeLog
index 168ba02..714ce73 100644
--- a/net-misc/openser/ChangeLog
+++ b/net-misc/openser/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 26 Aug 2007; Tais M. Hansen <mellen@osd.dk> +openser-1.2.2.ebuild:
+ Version bump
+
03 Jul 2007; Tais M. Hansen <mellen@osd.dk> +metadata.xml:
Added metadata file
diff --git a/net-misc/openser/Manifest b/net-misc/openser/Manifest
index 22c7ecc..1dbad12 100644
--- a/net-misc/openser/Manifest
+++ b/net-misc/openser/Manifest
@@ -7,9 +7,11 @@ DIST openser-1.0.0-tls_src.tar.gz 1360975 RMD160 93f7a3d6d573e8bd67a864867ac74c5
DIST openser-1.0.1-tls_src.tar.gz 1369316 RMD160 d625fb6932056e99a766b1816ac5c109281dcbfe SHA1 84a951e08ed985ae94c776108fa376b52291406b SHA256 d0f0612e222de76be5d4be8c436f8a8520d38923659708c67ecaa4a31b1a70d2
DIST openser-1.1.0-tls_src.tar.gz 1571911 RMD160 76076caba945cdd5649ffe6a4eb4cf66d389ee33 SHA1 53f4121d7b0550ab4b124464e6a9ef7198b6b81d SHA256 8967a09f3e2271b945fd5658bbc0b76a2fb4b81eb4becafc5554bebe5fb2c24d
DIST openser-1.2.1-tls_src.tar.gz 3158282 RMD160 64b13a9903e1a6e0f5df72ec092c6bd678f8990f SHA1 3be721206a15ed15c15f4d570c5676bc6c86c32c SHA256 8fb86835353a552b6dca329be61f25860bbad462ec89fc4249cdd4947cdc2342
+DIST openser-1.2.2-tls_src.tar.gz 2840210 RMD160 8ee912af0f947733d8f59982e2fda4bee006d1a6 SHA1 08275e46c46e6761853c151f842fbc9149981673 SHA256 25042a9da8bef9b3fccd9f2eeb1c7fbcf536e7b027f448f07a3deac28fc16b57
EBUILD openser-1.0.0.ebuild 2517 RMD160 34fe7c8c2a891965027fdef9b7eae077ab89c7ff SHA1 1252cf3eb713b7edb59639ebad5609c0c1fdf68b SHA256 a5ea0f28c4d585b2e14a21f71eefe7bca1935ef020d370859b4d0c609a326a6d
EBUILD openser-1.0.1.ebuild 2524 RMD160 ba95fe623d22eacda527ec550664bd88b4494ddf SHA1 8e961d2465993f702ea2c2cb46f96a89fe1e593d SHA256 1dc0ee1185d7f1a7916da173c26f47175763faa8c53f4b30bb9840673c46f11f
EBUILD openser-1.1.0.ebuild 2863 RMD160 c89066fc708ed5d55c56c31366c4777bdf78f44e SHA1 1f86122c6f8e0d05fbf011f816204836144d9dc9 SHA256 804f10ab2477de5bf486612374a336bf90e2c83053154c3ac453f2167157f70f
EBUILD openser-1.2.1.ebuild 2371 RMD160 1caf258c3ebffbc20cf075f341111c3ebdcc1a66 SHA1 2f99960c42bc9b6c50f5933785fa0d2fc8430278 SHA256 53d29d829e279f037e214916fc37d46c88a5c0e81e0d3cf54ace72302a7546f9
-MISC ChangeLog 1194 RMD160 8a691a41aa12fad1e3c1e2c9ba6b5af748136c54 SHA1 dfcedbf2ff9bc92483a786e28a3db0b1e2923c7b SHA256 2e17f3b00b9c7cb92717c8d4517a2161651c8fdbe530a55fdbb2c61f607da9d7
+EBUILD openser-1.2.2.ebuild 2371 RMD160 1caf258c3ebffbc20cf075f341111c3ebdcc1a66 SHA1 2f99960c42bc9b6c50f5933785fa0d2fc8430278 SHA256 53d29d829e279f037e214916fc37d46c88a5c0e81e0d3cf54ace72302a7546f9
+MISC ChangeLog 1279 RMD160 e2a8d0dbc3f1567283c74a6ebfdbd6e61a19886e SHA1 295e2a4509ae855426127f2b459ba2e90aaf9a55 SHA256 2c30b7ec2cdc33baa700c2fbc2fd3d2d7665c0dff189ce72b24b5eb329ce2df0
MISC metadata.xml 733 RMD160 7bff5f30834f9b46c80f0db9886d228add507ef0 SHA1 6bc62d149ea16f7d94baab4cee55b0f2dcb22dc7 SHA256 a867c3f372fe9ad60a6b0965eb9b5001d132a1e591b25b3824ab89e98d1f5930
diff --git a/net-misc/openser/openser-1.2.2.ebuild b/net-misc/openser/openser-1.2.2.ebuild
new file mode 100644
index 0000000..b1bed8b
--- /dev/null
+++ b/net-misc/openser/openser-1.2.2.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils flag-o-matic
+
+IUSE="ipv6 mysql radius postgres jabber ssl odbc"
+
+DESCRIPTION="Open SIP Express Router"
+HOMEPAGE="http://www.openser.org/"
+SRC_URI="http://www.openser.org/pub/openser/${PV}/src/${P}-tls_src.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=">=sys-devel/bison-1.35
+ >=sys-devel/flex-2.5.4a
+ ssl? ( dev-libs/openssl )
+ mysql? ( >=dev-db/mysql-3.23.52 )
+ radius? ( >=net-dialup/radiusclient-ng-0.5.0 )
+ postgres? ( dev-db/libpq )
+ jabber? ( dev-libs/expat )
+ odbc? ( dev-db/unixODBC )"
+
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${P}-tls
+
+src_unpack() {
+ local modules
+
+ # unpack ser source
+ unpack ${A}
+ cd ${S}
+
+ use ipv6 || \
+ sed -i -e "s/-DUSE_IPV6//g" Makefile.defs
+
+ use ssl && \
+ sed -i -e "s:^#\(TLS=1\).*:\1:" Makefile
+
+ use mysql && \
+ modules="${modules} mysql"
+
+ use radius && \
+ modules="${modules} auth_radius group_radius uri_radius avp_radius"
+
+ use jabber && \
+ modules="${modules} jabber"
+
+ use postgres && \
+ modules="${modules} postgres"
+
+ use odbc && \
+ modules="${modules} unixodbc"
+
+ # put list of modules into Makefile, we need the list
+ # during compile and install phase...
+ sed -i -e "s:^\(include_modules.*\):\1 ${modules} ${extmodules}:" \
+ Makefile
+}
+
+src_compile() {
+ use amd64 && append-flags -fPIC
+
+ make all \
+ CFLAGS="${CFLAGS}" \
+ prefix="/usr" \
+ cfg-prefix="" \
+ cfg-target="/etc/openser/" || die
+}
+
+src_install () {
+ make install \
+ basedir="${D}" \
+ prefix="/usr" \
+ cfg-prefix="${D}" \
+ cfg-dir="/etc/openser/" \
+ cfg-target="/etc/openser/" \
+ doc-dir="share/doc/${P}/" || die
+
+ newinitd ${FILESDIR}/openser.rc6 openser
+ newconfd ${FILESDIR}/openser.confd openser
+}
+
+pkg_preinst() {
+ if [[ -z "$(egetent passwd openser)" ]]; then
+ einfo "Adding openser user and group"
+ enewgroup openser
+ enewuser openser -1 -1 /dev/null openser
+ fi
+
+ chown -R root:openser ${D}/etc/openser
+ chmod -R u=rwX,g=rX,o= ${D}/etc/openser
+}
+
+pkg_postinst() {
+ ewarn "**************************** Upgrade Warning! ******************************"
+ ewarn "Please read:"
+ ewarn
+ ewarn " http://openser.org/dokuwiki/doku.php/install:1.1.x-to-1.2.x"
+ ewarn
+ ewarn "For upgrade information"
+ ewarn "**************************** Upgrade Warning! ******************************"
+}