ports/78667: Patch for /usr/ports/www/kannel. The opportunity to use with <www.Mbuni.org> is added. Rewriting the adjusted configs is corrected :-P

Andrew Wingorodov andr at sms-tv.ru
Thu Mar 10 12:20:02 UTC 2005


>Number:         78667
>Category:       ports
>Synopsis:       Patch for /usr/ports/www/kannel. The opportunity to use with <www.Mbuni.org> is added. Rewriting the adjusted configs is corrected :-P
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 10 12:20:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Wingorodov
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
no
>Environment:
System: FreeBSD andr.sms-tv.ru 5.3-RELEASE FreeBSD 5.3-RELEASE #10: Wed Mar 9 11:45:12 MSK 2005 root at andr.sms-tv.ru:/usr/obj/usr/src/sys/DEVIL i386

>Description:
		Patch for /usr/ports/www/kannel.
	The opportunity to use with <www.Mbuni.org> is added.
	Rewriting the adjusted configs is corrected :-P

>How-To-Repeat:


>Fix:

diff -Naur kannel-1.4.0/Makefile kannel-mbuni-patch.0.9.7/Makefile
--- kannel-1.4.0/Makefile	Wed Dec 22 11:28:51 2004
+++ kannel-mbuni-patch.0.9.7/Makefile	Thu Mar 10 13:47:10 2005
@@ -25,12 +25,25 @@
 		--enable-pcre=yes --enable-docs=no --with-malloc=native \
 		--enable-start-stop-daemon=no
 
+
+PATCH_SITES=		http://www.mbuni.org/
+PATCH_DIST_STRIP=	-p1
+
+.if defined(WITH_MBUNI_FULL)
+PATCHFILES=			mbuni-kannel-patch-full
+.endif # WITH_MBUNI
+
+.if defined(WITH_MBUNI_MINIMAL)
+PATCHFILES=			mbuni-kannel-patch-minimal
+.endif # WITH_MBUNI_MINIMAL
+
 MAN1=		mtbatch.1 seewbmp.1 wmlsc.1 wmlsdasm.1
 MAN8=		kannel.8 run_kannel_box.8
 
 CPPFLAGS=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
 LDFLAGS=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
 
+
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "alpha"
@@ -43,8 +56,8 @@
 		 s|-lkse||g' ${WRKSRC}/configure
 
 post-install:
-.for file in gw/wapkannel.conf gw/smskannel.conf
-	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/etc
+.for file in wapkannel.conf smskannel.conf
+	${INSTALL_DATA} ${WRKSRC}/gw/${file} ${PREFIX}/etc/${file}.sample
 .endfor
 .for file in mtbatch seewbmp wmlsc wmlsdasm
 	@${STRIP_CMD} ${PREFIX}/bin/${file}
@@ -54,3 +67,4 @@
 .endfor
 
 .include <bsd.port.post.mk>
+
diff -Naur kannel-1.4.0/distinfo kannel-mbuni-patch.0.9.7/distinfo
--- kannel-1.4.0/distinfo	Mon Dec 20 12:25:38 2004
+++ kannel-mbuni-patch.0.9.7/distinfo	Thu Mar 10 13:48:15 2005
@@ -1,2 +1,7 @@
 MD5 (gateway-1.4.0.tar.gz) = b6fbb1599b377c44c35a5338746c42d3
 SIZE (gateway-1.4.0.tar.gz) = 2465341
+MD5 (mbuni-kannel-patch-full) = 1960dca61a6e8b31b1f190344da06ab9
+SIZE (mbuni-kannel-patch-full) = 26456
+MD5 (mbuni-kannel-patch-minimal) = 49dfc4ba9166c6301b5bd06e57746d10
+SIZE (mbuni-kannel-patch-minimal) = 2742
+
diff -Naur kannel-1.4.0/pkg-plist kannel-mbuni-patch.0.9.7/pkg-plist
--- kannel-1.4.0/pkg-plist	Mon Dec 20 12:25:38 2004
+++ kannel-mbuni-patch.0.9.7/pkg-plist	Thu Mar 10 11:51:24 2005
@@ -3,8 +3,8 @@
 bin/seewbmp
 bin/wmlsc
 bin/wmlsdasm
-etc/smskannel.conf
-etc/wapkannel.conf
+etc/smskannel.conf.sample
+etc/wapkannel.conf.sample
 include/kannel/gw-config.h
 include/kannel/gwlib/accesslog.h
 include/kannel/gwlib/cfg.h
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list