aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2000-07-19 14:23:22 +0000
committerAlexander Langer <alex@FreeBSD.org>2000-07-19 14:23:22 +0000
commit77b4c2683e1b9b6901033aa6dbd04ec5fb52ba97 (patch)
treed98fb01f13ce5051456a4bc335a3be97f13d60b1
parent5d7d820639e76fc89d4586e09c19fcf1fdc21b14 (diff)
downloadports-77b4c2683e1b9b6901033aa6dbd04ec5fb52ba97.tar.gz
ports-77b4c2683e1b9b6901033aa6dbd04ec5fb52ba97.zip
Add kannel 0.10.2 - a wap / sms gateway.
PR: 20022 Submitted by: Domas Mituzas <midom@dammit.lt>
Notes
Notes: svn path=/head/; revision=30868
-rw-r--r--www/Makefile1
-rw-r--r--www/kannel/Makefile39
-rw-r--r--www/kannel/distinfo1
-rw-r--r--www/kannel/files/patch-aa21
-rw-r--r--www/kannel/files/patch-ac40
-rw-r--r--www/kannel/files/patch-ad11
-rw-r--r--www/kannel/files/patch-ae9
-rw-r--r--www/kannel/pkg-comment1
-rw-r--r--www/kannel/pkg-descr4
-rw-r--r--www/kannel/pkg-plist9
10 files changed, 136 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 0fafd71dd572..29b1ada5e9b2 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -62,6 +62,7 @@
SUBDIR += indexme
SUBDIR += jesred
SUBDIR += junkbuster
+ SUBDIR += kannel
SUBDIR += kdreamsite
SUBDIR += kwebsearch
SUBDIR += kwebwatch
diff --git a/www/kannel/Makefile b/www/kannel/Makefile
new file mode 100644
index 000000000000..944b475d2734
--- /dev/null
+++ b/www/kannel/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: kannel
+# Date created: 19 Jun 2000
+# Whom: Domas Mituzas <midom@dammit.lt>
+#
+# $FreeBSD$
+
+PORTNAME= kannel
+PORTVERSION= 0.10.2
+CATEGORIES= www
+MASTER_SITES= http://www.kannel.org/download/${PORTVERSION}/
+DISTNAME= gateway-${PORTVERSION}
+
+MAINTAINER= midom@dammit.lt
+
+LIB_DEPENDS= xml:${PORTSDIR}/textproc/libxml
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+WRKSRC= ${WRKDIR}/gateway-0.10.2/
+
+do-install:
+.if !defined(NOPORTDOCS)
+ @cd ${WRKSRC} && make install-docs
+.endif
+ @cd ${WRKSRC} && make install
+ ${INSTALL_DATA} ${WRKSRC}/debian/kannel.conf ${PREFIX}/etc/
+ ${INSTALL_DATA} ${WRKSRC}/debian/kannel.wapconf ${PREFIX}/etc/
+
+.if !defined(NOPORTDOCS)
+post-install:
+ @cd ${WRKSRC}/doc && \
+ for a in `/usr/bin/find . -type f | ${SED} -e 's:^\./::g` ; \
+ do ${ECHO} share/doc/kannel/$$a >> ${TMPPLIST} ; done
+ @${ECHO} "@dirrm share/doc/kannel/arch" >> ${TMPPLIST}
+ @${ECHO} "@dirrm share/doc/kannel/userguide" >> ${TMPPLIST}
+ @${ECHO} "@dirrm share/doc/kannel" >> ${TMPPLIST}
+.endif
+
+.include <bsd.port.mk>
diff --git a/www/kannel/distinfo b/www/kannel/distinfo
new file mode 100644
index 000000000000..7facda88a864
--- /dev/null
+++ b/www/kannel/distinfo
@@ -0,0 +1 @@
+MD5 (gateway-0.10.2.tar.gz) = cf1e44ba9af61755240273b5c5510e51
diff --git a/www/kannel/files/patch-aa b/www/kannel/files/patch-aa
new file mode 100644
index 000000000000..28c9f537a62a
--- /dev/null
+++ b/www/kannel/files/patch-aa
@@ -0,0 +1,21 @@
+--- configure.old Wed Jul 19 02:40:15 2000
++++ configure Wed Jul 19 02:41:42 2000
+@@ -542,7 +542,7 @@
+
+
+
+-docdir='${prefix}/doc/kannel'
++docdir='${prefix}/share/doc/kannel'
+
+
+ # Extract the first word of "gcc", so it can be a program name with args.
+@@ -1380,6 +1380,9 @@
+ EOF
+ ;;
+ *1.8.7) ;;
++ *1.8.8) ;;
++ *1.8.9) ;;
++ *1.8.??) ;;
+ *2.0.0) ;;
+ *) echo "Libxml is too old. You need at least 1.8.6." ; exit 1 ;;
+ esac
diff --git a/www/kannel/files/patch-ac b/www/kannel/files/patch-ac
new file mode 100644
index 000000000000..7d3ec971bfd8
--- /dev/null
+++ b/www/kannel/files/patch-ac
@@ -0,0 +1,40 @@
+--- Makefile.in.old Wed Jul 19 02:58:15 2000
++++ Makefile.in Wed Jul 19 02:58:29 2000
+@@ -90,7 +90,7 @@
+
+ # Set this to something if you want all installed binaries to have a suffix.
+ # Version number if common.
+-suffix = -$(VERSION)
++# suffix = -$(VERSION)
+
+ #
+ # You probably don't need to touch anything below this, if you're just
+@@ -135,6 +135,8 @@
+ docs = $(docsrcs:.xml=.html) $(docsrcs:.xml=.ps)
+ DOCSTARGET=@DOCSTARGET@
+
++alldocs = doc/ $(shell ls [A-Z]*)
++
+ figsrcs = $(shell echo doc/*/*.fig)
+ figs = $(figsrcs:.fig=.png) $(figsrcs:.fig=.ps)
+
+@@ -177,7 +179,9 @@
+ no-docs:
+ figs: $(figs)
+
+-install: all
++install: install-main install-docs
++
++install-main: all
+ $(INSTALL) -d $(bindir)
+ for prog in $(progs); do \
+ $(INSTALL) $$prog $(bindir)/`basename $$prog`$(suffix); \
+@@ -185,7 +189,7 @@
+
+ install-docs:
+ $(INSTALL) -d $(docdir)
+- cp -r $(docs) $(docsrcs) $(figs) $(figsrcs) $(docdir)
++ cp -r $(alldocs) $(docdir)
+
+ clean:
+ rm -f core $(progs) $(testprogs) $(objs) $(docs) *.a
diff --git a/www/kannel/files/patch-ad b/www/kannel/files/patch-ad
new file mode 100644
index 000000000000..54304c0c4f09
--- /dev/null
+++ b/www/kannel/files/patch-ad
@@ -0,0 +1,11 @@
+--- debian/kannel.conf.old Wed Jul 19 03:27:31 2000
++++ debian/kannel.conf Wed Jul 19 03:27:49 2000
+@@ -13,7 +13,7 @@
+ heartbeat-freq = 30
+ allowed-hosts = "127.0.0.1"
+ denied-hosts = "*.*.*.*"
+-log-file = "/var/log/kannel/bearerbox.log"
++log-file = "/var/log/bearerbox.log"
+ log-level = 0
+
+ # A fake SMSC just for testing purposes. Uncomment if you use it.
diff --git a/www/kannel/files/patch-ae b/www/kannel/files/patch-ae
new file mode 100644
index 000000000000..ab959538b299
--- /dev/null
+++ b/www/kannel/files/patch-ae
@@ -0,0 +1,9 @@
+--- debian/kannel.wapconf.old Wed Jul 19 03:28:43 2000
++++ debian/kannel.wapconf Wed Jul 19 03:28:55 2000
+@@ -6,5 +6,5 @@
+ bearerbox-host = localhost
+ bearerbox-port = 13002
+ heartbeat-freq = 30
+-log-file = "/var/log/kannel/wapbox.log"
++log-file = "/var/log/wapbox.log"
+ log-level = 0
diff --git a/www/kannel/pkg-comment b/www/kannel/pkg-comment
new file mode 100644
index 000000000000..6f5e94bb0237
--- /dev/null
+++ b/www/kannel/pkg-comment
@@ -0,0 +1 @@
+WAP / SMS Gateway
diff --git a/www/kannel/pkg-descr b/www/kannel/pkg-descr
new file mode 100644
index 000000000000..5e74a9c8635a
--- /dev/null
+++ b/www/kannel/pkg-descr
@@ -0,0 +1,4 @@
+Kannel is an open source project to make a WAP gateway. Kannel also
+works as a SMS gateway.
+
+WWW: http://www.kannel.org/
diff --git a/www/kannel/pkg-plist b/www/kannel/pkg-plist
new file mode 100644
index 000000000000..18f477467efe
--- /dev/null
+++ b/www/kannel/pkg-plist
@@ -0,0 +1,9 @@
+bin/bearerbox
+bin/smsbox
+bin/wapbox
+bin/wmlsc
+bin/wmlsdasm
+bin/seewbmp
+bin/run_kannel_box
+etc/kannel.conf
+etc/kannel.wapconf