summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <drizzt@gentoo.org>2006-11-07 15:07:13 +0000
committerTimothy Redaelli <drizzt@gentoo.org>2006-11-07 15:07:13 +0000
commitc4c4a3b85add90ebe0832b7d932adebb9eb9cfa0 (patch)
treef32869764caf19a2842531a632cee37949e54c04 /net-misc/ser
parentStable for HPPA (bug #152491). (diff)
downloadhistorical-c4c4a3b85add90ebe0832b7d932adebb9eb9cfa0.tar.gz
historical-c4c4a3b85add90ebe0832b7d932adebb9eb9cfa0.tar.bz2
historical-c4c4a3b85add90ebe0832b7d932adebb9eb9cfa0.zip
Version bump. Thanks to Daniel Webert. Bug #143844
Package-Manager: portage-2.1.2_rc1-r4
Diffstat (limited to 'net-misc/ser')
-rw-r--r--net-misc/ser/ChangeLog7
-rw-r--r--net-misc/ser/Manifest22
-rw-r--r--net-misc/ser/files/digest-ser-0.9.615
-rw-r--r--net-misc/ser/ser-0.9.6.ebuild164
4 files changed, 200 insertions, 8 deletions
diff --git a/net-misc/ser/ChangeLog b/net-misc/ser/ChangeLog
index 7bbb889f977d..299e1973f79e 100644
--- a/net-misc/ser/ChangeLog
+++ b/net-misc/ser/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/ser
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ser/ChangeLog,v 1.22 2006/10/04 05:09:23 tsunam Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ser/ChangeLog,v 1.23 2006/11/07 15:07:13 drizzt Exp $
+
+*ser-0.9.6 (07 Nov 2006)
+
+ 07 Nov 2006; Timothy Redaelli <drizzt@gentoo.org> +ser-0.9.6.ebuild:
+ Version bump. Thanks to Daniel Webert. Bug #143844
04 Oct 2006; Joshua Jackson <tsunam@gentoo.org> ser-0.9.4.ebuild:
Stable x86; bug #143847
diff --git a/net-misc/ser/Manifest b/net-misc/ser/Manifest
index 83bfbd51260e..6889d9d96613 100644
--- a/net-misc/ser/Manifest
+++ b/net-misc/ser/Manifest
@@ -30,6 +30,7 @@ DIST ldap-1.0-ser-0.9.0.tar.gz 5069 RMD160 346b50b309f5e172d9cc71a526c6179b414f9
DIST ldaps-1.0-ser-0.9.0.tar.gz 5051 RMD160 e31495405b518107a57a34b0e771188a6a1712c7 SHA1 fe06c3fab3c354233c38cbf93edfdc14b309f3d4 SHA256 83e8e54423969dc72a71c71a22c59d4a1e4fe29aa1b886e68acf98d45a8c5126
DIST ser-0.9.0_src.tar.gz 1853730
DIST ser-0.9.4_src.tar.gz 1888783 RMD160 9d2f58ab1ee49b96fb426de00c3ffefb848d4e67 SHA1 e9507fd074fcabd8c47ec932ac898c294cda5342 SHA256 cdfdd2d9b6591feec5d7d6d4ab65d5032b00a08de568a370e02909f8322e8609
+DIST ser-0.9.6_src.tar.gz 1846781 RMD160 7aab23c80f1b4bcc65b810a2387978aa104165c1 SHA1 9ce46896abf77f7a29d93012b810cd48e6da898d SHA256 d7870bdbb753deaa335a9ee0aae1852108fe904f74ed4ba903be9d7cd3a0b140
DIST silomail-1.0-ser-0.9.0.tar.gz 4762 RMD160 999d127a3ebad42cb207e2d2519e485588595f9a SHA1 4e07175aabaa153e01e5da16090261fe3ebc5ad1 SHA256 18d60d987246d4b188e8c2b78d721a43e61eb8c50402b19352edada2d2f98826
EBUILD ser-0.9.0.ebuild 3671 RMD160 1df58837a5e8a23ba61b14056974b4364ec71a12 SHA1 bd410f37a18f64c3c068643cb49bbc19251196e1 SHA256 eee3d908c641762133919d7e975a82b42a984489a63165310640514c07f137e9
MD5 b1f32d1b510f9c3c931cbdc3eda26341 ser-0.9.0.ebuild 3671
@@ -39,10 +40,14 @@ EBUILD ser-0.9.4.ebuild 3704 RMD160 f7c04201acba49e1dd673bfe50affea4c212d65c SHA
MD5 387ec3931626d02e120a82608a659fe0 ser-0.9.4.ebuild 3704
RMD160 f7c04201acba49e1dd673bfe50affea4c212d65c ser-0.9.4.ebuild 3704
SHA256 0a0012e282e1b0172d62e0cf397bf0cfe3a7abbc15dd361f1eec54a89df890a8 ser-0.9.4.ebuild 3704
-MISC ChangeLog 3523 RMD160 0791a48482b3bcbb92d33c94970a851cd7ed58f2 SHA1 009606f37a26a4f501548ae5d1d100366f629123 SHA256 100a4dfc086e3e88da05dfe41d1c1ef1eac994e4304d0ab67fd86b021492ab88
-MD5 53543c23f8b697e860381aaea222957b ChangeLog 3523
-RMD160 0791a48482b3bcbb92d33c94970a851cd7ed58f2 ChangeLog 3523
-SHA256 100a4dfc086e3e88da05dfe41d1c1ef1eac994e4304d0ab67fd86b021492ab88 ChangeLog 3523
+EBUILD ser-0.9.6.ebuild 3889 RMD160 5aee16250ea8008f5bd98faf2ff03e4d3e627f44 SHA1 297ce1981255ab65f88c6edfa294d9fc07afa8c5 SHA256 eb99fc857293a1b2e295b9b8c991f5e76f6adbc0ddbde3f2092d69d17b82363b
+MD5 bc1f6455456e9274b61b489b1c41cca8 ser-0.9.6.ebuild 3889
+RMD160 5aee16250ea8008f5bd98faf2ff03e4d3e627f44 ser-0.9.6.ebuild 3889
+SHA256 eb99fc857293a1b2e295b9b8c991f5e76f6adbc0ddbde3f2092d69d17b82363b ser-0.9.6.ebuild 3889
+MISC ChangeLog 3674 RMD160 0d327e64f3391e9a7640fce0a5e1d845d53ffc30 SHA1 cd6bd949d7f01d79ad8b134cc50f965be71b8997 SHA256 8b738a8131cdcbdc31a6d3aef13d131ccefcc9df811c83b0fdd5d65adb3cc1e1
+MD5 099d7b994600f9bba90d6c58258759be ChangeLog 3674
+RMD160 0d327e64f3391e9a7640fce0a5e1d845d53ffc30 ChangeLog 3674
+SHA256 8b738a8131cdcbdc31a6d3aef13d131ccefcc9df811c83b0fdd5d65adb3cc1e1 ChangeLog 3674
MISC metadata.xml 157 RMD160 cb900ea8bf389b8f6147746711462b5757752b16 SHA1 bbbbd897cfe8d8bac785b23bead8e185871055bd SHA256 6759dc127ff53f85505b9b455ba325e65015b694b1ec50eb99ddfc8903b967bf
MD5 b334f14db95c08e71ab02ffd5d712607 metadata.xml 157
RMD160 cb900ea8bf389b8f6147746711462b5757752b16 metadata.xml 157
@@ -53,10 +58,13 @@ SHA256 9719098d7877e70066569487090e41faee22671d2fcb2b456d554cddbda7450a files/di
MD5 a80e12c31d35efc5589684e0ff3c2c96 files/digest-ser-0.9.4 1259
RMD160 fa8e4af1d00d5c3bce47befa77c5633d068360d0 files/digest-ser-0.9.4 1259
SHA256 cd70f983387e638c90752bf6d822be16a00aad3330dba9b5851ec640330ace5a files/digest-ser-0.9.4 1259
+MD5 7913dfcc1f55e87fd5718ce1db66f658 files/digest-ser-0.9.6 1259
+RMD160 a56cb167badc70351d1f71f7d72939f43e4a51bb files/digest-ser-0.9.6 1259
+SHA256 b9d32ea692ab8b7cf3b798bb30bf80c7071dabb33e8cafc583339d7bb928d0cf files/digest-ser-0.9.6 1259
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFFI0I92ZWR0Jhg/EsRAg1kAJ4zNnBf4fOmxepFxKIXv2y8PinNdACfb2he
-GOz9/D9/WU9lSIHRoKQR5B8=
-=YhYK
+iD8DBQFFUKEzGDyatLGpTbYRAhPYAJ0afzqN/vLjgfEAY+KmaypCZdw9dgCeK0LS
+xKvtZLDJztCfxCw3Gti0tC4=
+=naL+
-----END PGP SIGNATURE-----
diff --git a/net-misc/ser/files/digest-ser-0.9.6 b/net-misc/ser/files/digest-ser-0.9.6
new file mode 100644
index 000000000000..3608acfcbc26
--- /dev/null
+++ b/net-misc/ser/files/digest-ser-0.9.6
@@ -0,0 +1,15 @@
+MD5 72ab86bde9715f4f712c5b6fb8909dd0 ethz-1.0-ser-0.9.0.tar.gz 5266
+RMD160 fe7bf58ecde23af103f6dba9571e2278d5415406 ethz-1.0-ser-0.9.0.tar.gz 5266
+SHA256 0d019caf9e19a51387f95dd511c1930ca8b521a8e9df4fdc042caa8678c371ea ethz-1.0-ser-0.9.0.tar.gz 5266
+MD5 f5741e12d060323eed40f1af978a1310 ldap-1.0-ser-0.9.0.tar.gz 5069
+RMD160 346b50b309f5e172d9cc71a526c6179b414f9825 ldap-1.0-ser-0.9.0.tar.gz 5069
+SHA256 244817715cf26411820a45c5197346fe4d39407f64b2d05d81bfcf4117ca02b2 ldap-1.0-ser-0.9.0.tar.gz 5069
+MD5 b5500e4b2156eed20df1284e85190ae4 ldaps-1.0-ser-0.9.0.tar.gz 5051
+RMD160 e31495405b518107a57a34b0e771188a6a1712c7 ldaps-1.0-ser-0.9.0.tar.gz 5051
+SHA256 83e8e54423969dc72a71c71a22c59d4a1e4fe29aa1b886e68acf98d45a8c5126 ldaps-1.0-ser-0.9.0.tar.gz 5051
+MD5 31031225d483c0d5ac43e8eb5d0428e0 ser-0.9.6_src.tar.gz 1846781
+RMD160 7aab23c80f1b4bcc65b810a2387978aa104165c1 ser-0.9.6_src.tar.gz 1846781
+SHA256 d7870bdbb753deaa335a9ee0aae1852108fe904f74ed4ba903be9d7cd3a0b140 ser-0.9.6_src.tar.gz 1846781
+MD5 4acc4f68df2894da79cbc4d697f22c8f silomail-1.0-ser-0.9.0.tar.gz 4762
+RMD160 999d127a3ebad42cb207e2d2519e485588595f9a silomail-1.0-ser-0.9.0.tar.gz 4762
+SHA256 18d60d987246d4b188e8c2b78d721a43e61eb8c50402b19352edada2d2f98826 silomail-1.0-ser-0.9.0.tar.gz 4762
diff --git a/net-misc/ser/ser-0.9.6.ebuild b/net-misc/ser/ser-0.9.6.ebuild
new file mode 100644
index 000000000000..a75cdb1b5502
--- /dev/null
+++ b/net-misc/ser/ser-0.9.6.ebuild
@@ -0,0 +1,164 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ser/ser-0.9.6.ebuild,v 1.1 2006/11/07 15:07:13 drizzt Exp $
+
+inherit eutils flag-o-matic toolchain-funcs
+
+IUSE="ipv6 mysql radius postgres jabber ldap ssl"
+
+ETHZ_PV="1.0"
+LDAP_PV="1.0"
+LDAPS_PV="1.0"
+SILOMAIL_PV="1.0"
+MODULES_PV="0.9.0"
+
+DESCRIPTION="SIP Express Router"
+HOMEPAGE="http://www.iptel.org/ser"
+SRC_URI="http://ftp.iptel.org/pub/ser/${PV}/src/${P}_src.tar.gz
+ mirror://gentoo/silomail-${SILOMAIL_PV}-${PN}-${MODULES_PV}.tar.gz
+ mirror://gentoo/ethz-${ETHZ_PV}-${PN}-${MODULES_PV}.tar.gz
+ ldap? ( mirror://gentoo/ldap-${LDAP_PV}-${PN}-${MODULES_PV}.tar.gz
+ mirror://gentoo/ldaps-${LDAPS_PV}-${PN}-${MODULES_PV}.tar.gz )"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~ppc ~sparc ~x86"
+
+RDEPEND="
+ mysql? ( >=dev-db/mysql-3.23.52 )
+ radius? ( >=net-dialup/radiusclient-ng-0.5.0 )
+ postgres? ( dev-db/postgresql )
+ jabber? ( dev-libs/expat )
+ ldap? (
+ net-nds/openldap
+ ssl? ( dev-libs/openssl )
+ )"
+
+DEPEND="${RDEPEND}
+ >=sys-devel/bison-1.35
+ >=sys-devel/flex-2.5.4a"
+
+pkg_setup() {
+ enewgroup ser
+ enewuser ser -1 -1 /dev/null ser
+}
+
+src_unpack() {
+ local modules extmodules MY_A x
+
+ # unpack ser source
+ unpack ${P}_src.tar.gz
+
+ cd "${S}"
+ use ipv6 || \
+ sed -i -e "s/-DUSE_IPV6//g" Makefile.defs || die
+
+ # external modules
+ extmodules="silomail ethz"
+
+ 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 ldap && \
+ extmodules="${extmodules} ldap"
+
+ use ldap && use ssl && \
+ extmodules="${extmodules} ldaps"
+
+ # 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 || die
+
+ # fix ser.cfg
+ sed -i -e "/force_send_socket(smaug:5080);/ d" \
+ etc/ser.cfg || die
+
+ # unpack external modules
+ # ugly i know...
+ for x in ${extmodules}; do
+ MY_A=$(eval echo ${x}-\${$(echo ${x} | tr "[:lower:]" "[:upper:]")_PV}-${PN}-${MODULES_PV})
+ mkdir -p "${S}"/modules/${x}
+ cd "${S}"/modules/${x}
+ unpack ${MY_A}.tar.gz
+ # fix makefiles
+ if [[ -f "${FILESDIR}"/${MY_A}.diff ]]; then
+ epatch "${FILESDIR}"/${MY_A}.diff
+ fi
+ done
+
+ # remove sasl if openldap hasn't been built with it
+ if use ldap && ! built_with_use net-nds/openldap sasl; then
+ sed -i -e "s:-lsasl::g" \
+ "${S}"/modules/ldap/Makefile || die
+
+ if use ssl; then
+ sed -i -e "s:-lsasl::g" \
+ "${S}"/modules/ldaps/Makefile || die
+ fi
+ fi
+}
+
+src_compile() {
+ # add -fPIC
+ append-flags -fPIC
+
+ emake all \
+ CC="`tc-getCC`" \
+ CFLAGS="${CFLAGS}" \
+ cfg-prefix=/ \
+ cfg-target=/etc/ser/ \
+ ${myconf} || die
+}
+
+src_install () {
+ emake install \
+ prefix="" \
+ bin-prefix="${D}"/usr/sbin \
+ bin-dir="" \
+ cfg-prefix="${D}"/etc \
+ cfg-dir=ser/ \
+ cfg-target=/etc/ser/ \
+ modules-prefix="${D}"/usr/lib/ser \
+ modules-dir=modules \
+ modules-target=/usr/lib/ser/modules/ \
+ man-prefix="${D}"/usr/share/man \
+ man-dir="" \
+ doc-prefix="${D}"/usr/share/doc \
+ doc-dir=${P} || die
+
+ newinitd "${FILESDIR}"/ser.rc6 ser
+ newconfd "${FILESDIR}"/ser.confd ser
+ exeinto /usr/sbin
+ newexe scripts/harv_ser.sh harv_ser.sh
+ newexe scripts/sc serctl
+ newexe scripts/ser_mysql.sh ser_mysql.sh
+
+ chown -R root:ser "${D}"/etc/ser
+ chmod 750 "${D}"/etc/ser
+ chmod 640 "${D}"/etc/ser/*
+
+ # fix manpages
+ sed -i -e "s:^.B /ser-${PV}AUTHORS:.B /usr/share/doc/${PF}/AUTHORS:" \
+ -e "s:^.B /ser:.B /usr/sbin/ser:" \
+ "${D}"/usr/share/man/*/* || die
+}
+
+pkg_postinst() {
+ if has_version ${CATEGORY}/${PN}; then
+ einfo "Changing permissions on ${ROOT}etc/ser"
+
+ chown -R root:ser "${ROOT}"/etc/ser
+ chmod 750 "${ROOT}"/etc/ser
+ chmod 640 "${ROOT}"/etc/ser/*
+ fi
+}