diff options
-rw-r--r-- | net-misc/ser/ChangeLog | 12 | ||||
-rw-r--r-- | net-misc/ser/files/digest-ser-0.8.9 | 1 | ||||
-rw-r--r-- | net-misc/ser/ser-0.8.9.ebuild | 62 |
3 files changed, 75 insertions, 0 deletions
diff --git a/net-misc/ser/ChangeLog b/net-misc/ser/ChangeLog new file mode 100644 index 000000000000..77511466e0aa --- /dev/null +++ b/net-misc/ser/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for net-misc/ser +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header + +*ser-0.8.9 (5 Nov 2002) + + 5 Nov 2002; Matt Keadle <mkeadle@gentoo.org> ser-0.8.9.ebuild + ChangeLog files/digest-ser-0.8.9: + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. Many, many thanks to Nils Ohlmeier, one of the SER + developers, for this ebuild. diff --git a/net-misc/ser/files/digest-ser-0.8.9 b/net-misc/ser/files/digest-ser-0.8.9 new file mode 100644 index 000000000000..844349f2e1c6 --- /dev/null +++ b/net-misc/ser/files/digest-ser-0.8.9 @@ -0,0 +1 @@ +MD5 57622d6f0acdc54cbe3c39b7821e4b2a ser-0.8.9_src.tar.gz 882499 diff --git a/net-misc/ser/ser-0.8.9.ebuild b/net-misc/ser/ser-0.8.9.ebuild new file mode 100644 index 000000000000..ee23da28c388 --- /dev/null +++ b/net-misc/ser/ser-0.8.9.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# Header + +DESCRIPTION="SIP Express Router" + +HOMEPAGE="http://www.iptel.org/ser" +SRC_URI="ftp://ftp.berlios.de/pub/ser/0.8.9/src/${P}_src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="ipv6 mysql" + +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 )" + +S="${WORKDIR}/${P}" + +src_compile() { + if [ ! "`use ipv6`" ]; then + cp Makefile.defs Makefile.defs.orig + sed -e "s/-DUSE_IPV6//g" Makefile.defs.orig > Makefile.defs; + fi + if [ "`use mysql`" ]; then + cp Makefile Makefile.orig + sed -e "s/ mysql //g" Makefile.orig > Makefile; + fi + make all CFLAGS="${CFLAGS}" \ + prefix=${D}/ \ + cfg-prefix=/ \ + cfg-target=/etc/ser/ || die + cd utils/gen_ha1 + make all || die +} + +src_install () { + make install \ + prefix=${D}/ \ + 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 + exeinto /usr/bin + newexe utils/gen_ha1/gen_ha1 gen_ha1 + exeinto /usr/sbin + newexe scripts/harv_ser.sh harv_ser.sh + newexe scripts/sc serctl + newexe scripts/ser_mysql.sh ser_mysql.sh +} |