summaryrefslogtreecommitdiff
path: root/www/kannel
diff options
context:
space:
mode:
authorwiz <wiz>2001-07-21 14:16:53 +0000
committerwiz <wiz>2001-07-21 14:16:53 +0000
commitaa730c41e6c2cc8344979bc6a7ae1639acbf8ddf (patch)
tree0923036e8336cde35c078df53dcb6f23eaeaa0aa /www/kannel
parent8f1a5f7d40d614af9b7b18c0aa663ce6e7c83751 (diff)
downloadpkgsrc-aa730c41e6c2cc8344979bc6a7ae1639acbf8ddf.tar.gz
Update to 1.0.3, provided by Martti Kuparinen in pkg/13339.
Too many changes to list here.
Diffstat (limited to 'www/kannel')
-rw-r--r--www/kannel/Makefile25
-rw-r--r--www/kannel/distinfo12
-rw-r--r--www/kannel/patches/patch-aa37
-rw-r--r--www/kannel/patches/patch-ab12
-rw-r--r--www/kannel/patches/patch-ac16
5 files changed, 47 insertions, 55 deletions
diff --git a/www/kannel/Makefile b/www/kannel/Makefile
index 997b2988a0e..f63c135421f 100644
--- a/www/kannel/Makefile
+++ b/www/kannel/Makefile
@@ -1,21 +1,26 @@
-# $NetBSD: Makefile,v 1.6 2001/06/25 21:51:06 zuntum Exp $
+# $NetBSD: Makefile,v 1.7 2001/07/21 14:16:53 wiz Exp $
#
-DISTNAME= gateway-0.8
-PKGNAME= kannel-0.8
+DISTNAME= gateway-${KANNEL_VER}
+PKGNAME= kannel-${KANNEL_VER}
CATEGORIES= www net
-MASTER_SITES= http://www.kannel.org/download/0.8/
+MASTER_SITES= http://www.kannel.3glab.org/download/${KANNEL_VER}/
MAINTAINER= rh@netbsd.org
HOMEPAGE= http://www.kannel.org/
COMMENT= open source WAP and SMS gateway
-USE_BUILDLINK_ONLY=YES
-USE_PERL5= YES
-USE_GMAKE= YES
-GNU_CONFIGURE= YES
-CONFIGURE_ARGS+=--disable-docs
+KANNEL_VER= 1.0.3
-.include "../../textproc/libxml/buildlink.mk"
+USE_BUILDLINK_ONLY= YES
+USE_PERL5= YES
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+= --disable-docs
+
+CFLAGS+= -I${BUILDLINK_DIR}/include/libxml2 \
+ -I${BUILDLINK_DIR}/include/libxml2/libxml
+
+.include "../../textproc/libxml2/buildlink.mk"
.include "../../devel/pth/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/kannel/distinfo b/www/kannel/distinfo
index 31441e5ed75..3f06dc8c8e8 100644
--- a/www/kannel/distinfo
+++ b/www/kannel/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2001/04/20 12:02:37 skrll Exp $
+$NetBSD: distinfo,v 1.3 2001/07/21 14:16:53 wiz Exp $
-SHA1 (gateway-0.8.tar.gz) = c1450db551d2d343ed63fdacc9ad8dd312a4cfda
-Size (gateway-0.8.tar.gz) = 413633 bytes
-SHA1 (patch-aa) = 3e6d7ff5bee28542c3d7028e87ef5706a4508876
-SHA1 (patch-ab) = 0f164cb33bd378b9bd57ef1a2a915f327048a1ad
-SHA1 (patch-ac) = 999876706143fe7e02e753071a13920119134454
+SHA1 (gateway-1.0.3.tar.gz) = 5ee499460f9a98b11fdd9bc48ac7607e896206a6
+Size (gateway-1.0.3.tar.gz) = 656472 bytes
+SHA1 (patch-aa) = ebe7f7d88e57620e13c25bb85ff6af5446583417
+SHA1 (patch-ab) = 55cfc733d2cd278b710c5509016342266592ac14
+SHA1 (patch-ac) = bfde3bb30215f18be89c03923d6b2262feb4d060
diff --git a/www/kannel/patches/patch-aa b/www/kannel/patches/patch-aa
index 6d409f817ba..af575fdbc1e 100644
--- a/www/kannel/patches/patch-aa
+++ b/www/kannel/patches/patch-aa
@@ -1,10 +1,10 @@
-$NetBSD: patch-aa,v 1.1.1.1 2000/05/30 12:46:19 rh Exp $
+$NetBSD: patch-aa,v 1.2 2001/07/21 14:16:54 wiz Exp $
---- utils/start-stop-daemon.c.orig Wed Apr 12 19:06:22 2000
-+++ utils/start-stop-daemon.c Tue May 30 12:32:29 2000
-@@ -33,8 +33,13 @@
- #elif defined(__sparc__)
- #define OSsunos
+--- utils/start-stop-daemon.c.orig Fri May 26 20:05:53 2000
++++ utils/start-stop-daemon.c Fri Jun 29 09:07:15 2001
+@@ -34,8 +34,13 @@
+ #elif defined(__FreeBSD__)
+ #define FreeBSD
#else
+#include <sys/param.h>
+#if (defined(BSD) && BSD >= 199306)
@@ -16,9 +16,9 @@ $NetBSD: patch-aa,v 1.1.1.1 2000/05/30 12:46:19 rh Exp $
#ifdef HAVE_HURH_H
#include <hurd.h>
-@@ -570,6 +575,46 @@
- #endif /*OSsunos*/
-
+@@ -607,6 +612,46 @@
+ }
+ #endif /*FreeBSD*/
+#if defined(BSD)
+/*
@@ -63,24 +63,21 @@ $NetBSD: patch-aa,v 1.1.1.1 2000/05/30 12:46:19 rh Exp $
static void
check(int pid)
{
-@@ -604,7 +649,7 @@
+@@ -641,7 +686,7 @@
/* WTA: this needs to be an autoconf check for /proc/pid existance.
*/
--#if defined(OSLinux) || defined (OSsunos)
-+#if defined(OSLinux) || defined (OSsunos) || defined(OSBSD)
+-#if defined(OSLinux) || defined (SunOS) || defined(FreeBSD)
++#if defined(OSLinux) || defined (SunOS) || defined(OSBSD)
static void
do_procinit(void)
{
-@@ -822,7 +867,11 @@
+@@ -859,7 +904,7 @@
close(fd);
chdir("/");
umask(022); /* set a default for dumb programs */
-+#ifdef OSBSD
-+ setpgid(0, getpid()); /* set the process group */
-+#else
+-#ifndef FreeBSD
++#ifndef OSBSD
setpgrp(); /* set the process group */
-+#endif
- fd=open("/dev/null", O_RDWR); /* stdin */
- dup(fd); /* stdout */
- dup(fd); /* stderr */
+ #else
+ setpgrp(0, runas_gid); /* set the process group */
diff --git a/www/kannel/patches/patch-ab b/www/kannel/patches/patch-ab
index 54f20d0b5a9..39e3a87847e 100644
--- a/www/kannel/patches/patch-ab
+++ b/www/kannel/patches/patch-ab
@@ -1,17 +1,17 @@
-$NetBSD: patch-ab,v 1.1.1.1 2000/05/30 12:46:19 rh Exp $
+$NetBSD: patch-ab,v 1.2 2001/07/21 14:16:54 wiz Exp $
---- Makefile.in.orig Sun Apr 9 19:45:02 2000
-+++ Makefile.in Tue May 30 12:49:32 2000
-@@ -90,7 +90,7 @@
+--- Makefile.in.orig Tue Feb 13 13:12:02 2001
++++ Makefile.in Fri Jun 29 08:59:52 2001
+@@ -87,7 +87,7 @@
# Set this to something if you want all installed binaries to have a suffix.
- # Version number if common.
+ # Version number is common.
-suffix = -$(VERSION)
+suffix =
#
# You probably don't need to touch anything below this, if you're just
-@@ -180,7 +180,7 @@
+@@ -185,7 +185,7 @@
install: all
$(INSTALL) -d $(bindir)
for prog in $(progs); do \
diff --git a/www/kannel/patches/patch-ac b/www/kannel/patches/patch-ac
index 4065e8486f7..a9f21cc2a12 100644
--- a/www/kannel/patches/patch-ac
+++ b/www/kannel/patches/patch-ac
@@ -1,7 +1,7 @@
-$NetBSD: patch-ac,v 1.2 2000/08/07 09:07:16 rh Exp $
+$NetBSD: patch-ac,v 1.3 2001/07/21 14:16:54 wiz Exp $
---- configure.orig Sun Apr 23 22:41:16 2000
-+++ configure Mon Aug 7 11:04:43 2000
+--- configure.orig Tue Mar 27 17:23:16 2001
++++ configure Fri Jun 29 09:00:47 2001
@@ -542,7 +542,7 @@
@@ -11,13 +11,3 @@ $NetBSD: patch-ac,v 1.2 2000/08/07 09:07:16 rh Exp $
# Extract the first word of "gcc", so it can be a program name with args.
-@@ -1345,8 +1345,7 @@
- #define HAVE_LIBXML_1_8_6 1
- EOF
- ;;
--1.8.7) ;;
--*) echo "Libxml is too old. You need at least 1.8.6." ; exit 1 ;;
-+*) ;;
- esac
-
- echo $ac_n "checking for library containing inet_aton""... $ac_c" 1>&6