diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-11-19 18:10:04 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-11-19 18:10:04 +0000 |
commit | 033d5713a9b4aee5e1edc09cb0b1af6ee851c9bb (patch) | |
tree | 745f572abfff1736b005aebc744a7fe6c9630da8 | |
parent | Version bumped. (diff) | |
download | gentoo-2-033d5713a9b4aee5e1edc09cb0b1af6ee851c9bb.tar.gz gentoo-2-033d5713a9b4aee5e1edc09cb0b1af6ee851c9bb.tar.bz2 gentoo-2-033d5713a9b4aee5e1edc09cb0b1af6ee851c9bb.zip |
Version bumped.
-rw-r--r-- | net-misc/ser/ChangeLog | 5 | ||||
-rw-r--r-- | net-misc/ser/Manifest | 4 | ||||
-rw-r--r-- | net-misc/ser/files/digest-ser-0.8.11 | 1 | ||||
-rw-r--r-- | net-misc/ser/ser-0.8.11.ebuild | 105 |
4 files changed, 113 insertions, 2 deletions
diff --git a/net-misc/ser/ChangeLog b/net-misc/ser/ChangeLog index 95f0caab7207..d1670053ca13 100644 --- a/net-misc/ser/ChangeLog +++ b/net-misc/ser/ChangeLog @@ -2,6 +2,11 @@ # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 # $Header +*ser-0.8.11 (19 Nov 2003) + + 19 Nov 2003; Martin Holzer <mholzer@gentoo.org> ser-0.8.11.ebuild: + Version bumped. Ebuild submitted by Nils Ohlmeier <nils@ohlmeier.de> in #27812. + 12 Jun 2003; <msterret@gentoo.org> ser-0.8.10.ebuild, ser-0.8.9.ebuild: fix Header diff --git a/net-misc/ser/Manifest b/net-misc/ser/Manifest index ea76d0ca0e6f..bfedb0af5f0f 100644 --- a/net-misc/ser/Manifest +++ b/net-misc/ser/Manifest @@ -1,7 +1,7 @@ -MD5 69a45b2b1a735caa64ae8b417493ae51 ChangeLog 974 +MD5 2b6e9669620bc3e58ee8aca669492989 ChangeLog 1153 MD5 34bac82c5a78d1b2bbca468b700e2790 ser-0.8.10.ebuild 1786 MD5 598130116c52f2867d13c758b5d8ff76 ser-0.8.9.ebuild 1551 -MD5 f821a26b6468652962fbcd39abefeac0 ser-0.8.11.ebuild 2482 +MD5 f18431ed39d6dbc5c60428e019d90368 ser-0.8.11.ebuild 2576 MD5 fed13355f56f22d0c86cb7d50b9cb7a0 files/digest-ser-0.8.10 66 MD5 978419896dcd1a055ff3da9c3bfbcdd0 files/digest-ser-0.8.9 65 MD5 cb00e866f91ec26e7767fd653a0623c1 files/digest-ser-0.8.11 67 diff --git a/net-misc/ser/files/digest-ser-0.8.11 b/net-misc/ser/files/digest-ser-0.8.11 new file mode 100644 index 000000000000..3c5fcde3df0d --- /dev/null +++ b/net-misc/ser/files/digest-ser-0.8.11 @@ -0,0 +1 @@ +MD5 47510a4794f6d8bb788e49eaa31e0b63 ser-0.8.11_src.tar.gz 1406278 diff --git a/net-misc/ser/ser-0.8.11.ebuild b/net-misc/ser/ser-0.8.11.ebuild new file mode 100644 index 000000000000..bdc9a91ef65a --- /dev/null +++ b/net-misc/ser/ser-0.8.11.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2003 Fraunhofer Fokus +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/ser/ser-0.8.11.ebuild,v 1.1 2003/11/19 18:09:58 mholzer Exp $ + +DESCRIPTION="SIP Express Router" + +HOMEPAGE="http://www.iptel.org/ser" +SRC_URI="ftp://ftp.berlios.de/pub/ser/0.8.11/src/${P}_src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc" +IUSE="debug ipv6 mysql postgres" + +DEPEND=">=sys-devel/gcc-2.95.3 + >=sys-devel/bison-1.35 + >=sys-devel/flex-2.5.4a + mysql? ( >=dev-db/mysql-3.23.52 ) + postgres? ( >=dev-db/postgresql-7.3.4 )" + +S="${WORKDIR}/${P}" + +inc_mod="" +make_options="" + +check_mods() { + if [ "`use mysql`" ]; then + inc_mod="${inc_mod} mysql" + fi + if [ "`use postgres`" ]; then + inc_mod="${inc_mod} postgres" + fi + + # test some additional modules for which + # no USE variables exist + + # jabber module requires dev-libs/expat + if [ -f "/usr/include/expat.h" ]; then + inc_mod="${inc_mod} jabber" + fi + # Radius modules requires installed radiusclient + # which is not in portage yet + if [ -f "/usr/include/radiusclient.h" -o -f "/usr/local/include/radisuclient.h" ]; then + inc_mod="${inc_mod} auth_radius group_radius uri_radius" + fi +} + +src_compile() { + if [ ! "`use ipv6`" ]; then + sed -i -e "s/-DUSE_IPV6//g" Makefile.defs + fi + # optimization can result in strange debuging symbols so omit it in case + if [ "`use debug`" ]; then + make_options="${make_options} mode=debug" + else + make_options="${make_options} CFLAGS=${CFLAGS}" + fi + + check_mods + + make all "${make_options}" \ + prefix=${D}/ \ + include_modules="${inc_mod}" \ + cfg-prefix=/ \ + cfg-target=/etc/ser/ || die +} + +src_install () { + check_mods + + make install \ + prefix=${D}/ \ + include_modules="${inc_mod}" \ + 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 + exeinto /etc/init.d + newexe gentoo/ser.init ser + + # fix what the Makefile don't do + if [ ! "`use mysql`" ]; then + rm ${D}/usr/sbin/ser_mysql.sh + fi +} + +pkg_postinst() { + einfo "WARNING: If you upgraded from a previous Ser version" + einfo "please read the README, NEWS and INSTALL files in the" + einfo "documentation directory because the database and the" + einfo "configuration file of old Ser versions are incompatible" + einfo "with the current version." +} + +pkg_prerm () { + /etc/init.d/ser stop >/dev/null +} |