summaryrefslogtreecommitdiff
path: root/chat/ser
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>2003-08-23 22:08:02 +0000
committeritojun <itojun@pkgsrc.org>2003-08-23 22:08:02 +0000
commite2c54d02a9965dab04903a424701cd8692fa6277 (patch)
tree757931cdeb1b5610830e28eb4484d5181a264ed1 /chat/ser
parentd2c1ebf9b95864ed3f2fb71b6c70a415fed34c47 (diff)
downloadpkgsrc-e2c54d02a9965dab04903a424701cd8692fa6277.tar.gz
SIP Express Router 0.8.10 from iptel.org
Diffstat (limited to 'chat/ser')
-rw-r--r--chat/ser/DESCR5
-rw-r--r--chat/ser/Makefile20
-rw-r--r--chat/ser/PLIST47
-rw-r--r--chat/ser/distinfo7
-rw-r--r--chat/ser/patches/patch-aa47
-rw-r--r--chat/ser/patches/patch-ab14
-rw-r--r--chat/ser/patches/patch-ac18
7 files changed, 158 insertions, 0 deletions
diff --git a/chat/ser/DESCR b/chat/ser/DESCR
new file mode 100644
index 00000000000..f22ae05fc5c
--- /dev/null
+++ b/chat/ser/DESCR
@@ -0,0 +1,5 @@
+SIP Express Router (ser) is a high-performance, configurable, free
+SIP ( RFC3261 ) server . It can act as registrar, proxy or redirect
+server. SER features an application-server interface, presence
+support, SMS gateway, SIMPLE2Jabber gateway, RADIUS/syslog accounting
+and authorization, server status monitoring, FCP security, etc.
diff --git a/chat/ser/Makefile b/chat/ser/Makefile
new file mode 100644
index 00000000000..fc523e11f50
--- /dev/null
+++ b/chat/ser/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/08/23 22:08:02 itojun Exp $
+#
+
+DISTNAME= ser-0.8.10_src
+PKGNAME= ser-0.8.10
+CATEGORIES= chat
+MASTER_SITES= ftp://ftp.berlios.de/pub/ser/latest/src/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.iptel.org/ser/
+COMMENT= SIP express router
+
+WRKSRC= ${WRKDIR}/ser-0.8.10
+
+USE_BUILDLINK2= YES
+USE_GMAKE= YES
+
+.include "../../databases/mysql-client/buildlink2.mk"
+.include "../../textproc/expat/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/chat/ser/PLIST b/chat/ser/PLIST
new file mode 100644
index 00000000000..f30254976dd
--- /dev/null
+++ b/chat/ser/PLIST
@@ -0,0 +1,47 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/08/23 22:08:02 itojun Exp $
+sbin/ser
+sbin/serctl
+sbin/ser_mysql.sh
+sbin/gen_ha1
+lib/ser/modules/acc.so
+lib/ser/modules/auth.so
+lib/ser/modules/exec.so
+lib/ser/modules/im.so
+lib/ser/modules/jabber.so
+lib/ser/modules/maxfwd.so
+lib/ser/modules/msilo.so
+lib/ser/modules/mysql.so
+lib/ser/modules/pike.so
+lib/ser/modules/print.so
+lib/ser/modules/registrar.so
+lib/ser/modules/rr.so
+lib/ser/modules/sl.so
+lib/ser/modules/sms.so
+lib/ser/modules/textops.so
+lib/ser/modules/tm.so
+lib/ser/modules/usrloc.so
+doc/ser/README
+doc/ser/README.cfg
+doc/ser/INSTALL
+doc/ser/README-MODULES
+doc/ser/AUTHORS
+doc/ser/README.acc
+doc/ser/README.auth
+doc/ser/README.exec
+doc/ser/README.im
+doc/ser/README.jabber
+doc/ser/README.maxfwd
+doc/ser/README.pike
+doc/ser/README.print
+doc/ser/README.registrar
+doc/ser/README.rr
+doc/ser/README.sl
+doc/ser/README.sms
+doc/ser/README.textops
+doc/ser/README.tm
+doc/ser/README.usrloc
+man/man8/ser.8
+man/man5/ser.cfg.5
+@dirrm doc/ser
+@dirrm lib/ser/modules
+@dirrm lib/ser
diff --git a/chat/ser/distinfo b/chat/ser/distinfo
new file mode 100644
index 00000000000..ee41f573e11
--- /dev/null
+++ b/chat/ser/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/08/23 22:08:02 itojun Exp $
+
+SHA1 (ser-0.8.10_src.tar.gz) = d3e88ff5eccf1c77b5b21637dd7c1ad3068ae89d
+Size (ser-0.8.10_src.tar.gz) = 931150 bytes
+SHA1 (patch-aa) = e0ed6ac17bc130a0869d9a60355fa9378e754470
+SHA1 (patch-ab) = 38864b4c499fe838d4f8e752e0b73d8ab5bf252b
+SHA1 (patch-ac) = a1869650cfd00293b1bfd71f071e06563aad8c93
diff --git a/chat/ser/patches/patch-aa b/chat/ser/patches/patch-aa
new file mode 100644
index 00000000000..af3066b3617
--- /dev/null
+++ b/chat/ser/patches/patch-aa
@@ -0,0 +1,47 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/08/23 22:08:03 itojun Exp $
+
+--- Makefile.defs- 2003-08-24 06:32:08.000000000 +0900
++++ Makefile.defs 2003-08-24 06:32:33.000000000 +0900
+@@ -16,14 +16,13 @@
+ -e s/armv4l/arm/)
+
+ # install location
+-PREFIX = /usr/local
+ prefix = $(PREFIX)
+ # install path is $(basedir) $(prefix)
+ # example:
+ # creating a bin. archive in /tmp, which unpacks in /usr/local
+ # basedir=/tmp
+ # prefix=/usr/local
+-basedir =
++basedir =
+ # install prefixes for various stuff
+ cfg-prefix = $(basedir)$(prefix)
+ bin-prefix = $(basedir)$(prefix)
+@@ -33,7 +32,7 @@
+ ut-prefix = $(basedir)$(prefix)
+
+ # dirs
+-cfg-dir = etc/ser/
++cfg-dir = ser/
+ bin-dir = sbin/
+ modules-dir = lib/ser/modules/
+ ifeq ($(OS), linux)
+@@ -45,7 +44,7 @@
+ endif
+ ut-prefix = bin/
+ # target dirs for various stuff
+-cfg-target = $(prefix)/$(cfg-dir)
++cfg-target = $(PKG_SYSCONFDIR)/$(cfg-dir)
+ modules-target = $(prefix)/$(modules-dir)
+
+
+@@ -520,7 +519,7 @@
+ ifeq ($(OS), netbsd)
+ DEFS+=-DHAVE_SOCKADDR_SA_LEN
+ YACC=yacc
+- LIBS= -lfl -lc_r
++ LIBS= -lfl -lpthread
+ endif
+
+ ifneq (,$(findstring CYGWIN, $(OS)))
diff --git a/chat/ser/patches/patch-ab b/chat/ser/patches/patch-ab
new file mode 100644
index 00000000000..053a446f138
--- /dev/null
+++ b/chat/ser/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/08/23 22:08:03 itojun Exp $
+
+--- modules/jabber/Makefile- 2003-08-24 06:35:44.000000000 +0900
++++ modules/jabber/Makefile 2003-08-24 06:37:30.000000000 +0900
+@@ -8,7 +8,7 @@
+ auto_gen=
+ NAME=jabber.so
+ # expat.h location
+-DEFS+=-I/usr/local/include
+-LIBS=-L/usr/local/lib -lexpat
++DEFS+=-I${BUILDLINK_PREFIX.expat}/include
++LIBS=-L${BUILDLINK_PREFIX.expat}/lib -lexpat
+
+ include ../../Makefile.modules
diff --git a/chat/ser/patches/patch-ac b/chat/ser/patches/patch-ac
new file mode 100644
index 00000000000..4a32fc8c530
--- /dev/null
+++ b/chat/ser/patches/patch-ac
@@ -0,0 +1,18 @@
+$NetBSD: patch-ac,v 1.1.1.1 2003/08/23 22:08:03 itojun Exp $
+
+--- modules/mysql/Makefile- 2003-08-24 06:40:29.000000000 +0900
++++ modules/mysql/Makefile 2003-08-24 06:41:14.000000000 +0900
+@@ -5,11 +5,9 @@
+ auto_gen=
+ NAME=mysql.so
+ # mysql.h locations (freebsd,openbsd solaris)
+-DEFS +=-I/usr/local/include -I/usr/local/mysql/include \
++DEFS +=-I${BUILDLINK_PREFIX.mysql-client}/include
+ # libmysqlclient locations on RH/Suse, Solaris /OpenBSD, FreeBSD
+ # (Debian does the right thing and puts it in /usr/lib)
+-LIBS=-L/usr/lib/mysql -L /usr/local/lib -L/usr/local/lib/mysql \
+- -L/usr/local/mysql/lib/mysql/ \
+- -lmysqlclient -lz
++LIBS=-L${BUILDLINK_PREFIX.mysql-client}/lib/mysql -lmysqlclient -lz
+
+ include ../../Makefile.modules