packages: asterisk/asterisk.spec - misdn bcond (chan_misdn won't even build...

jajcus jajcus at pld-linux.org
Wed Apr 20 10:22:24 CEST 2011


Author: jajcus                       Date: Wed Apr 20 08:22:24 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- misdn bcond (chan_misdn won't even build is mISDN2 is used). Maybe it should
  be disabled by default (do we even provide mISDN1 kernel)?

---- Files affected:
packages/asterisk:
   asterisk.spec (1.193 -> 1.194) 

---- Diffs:

================================================================
Index: packages/asterisk/asterisk.spec
diff -u packages/asterisk/asterisk.spec:1.193 packages/asterisk/asterisk.spec:1.194
--- packages/asterisk/asterisk.spec:1.193	Wed Apr 20 10:01:04 2011
+++ packages/asterisk/asterisk.spec	Wed Apr 20 10:22:19 2011
@@ -30,6 +30,7 @@
 %bcond_with	zhone_hack	# huge hack workarounding broken zhone channel banks which start randomly
 				# issuing pulse-dialled calls to weird numbers
 %bcond_with	bristuff	# BRIstuff (Junghanns.NET BRI adapters) support
+%bcond_without	misdn		# chan_misdn requires ancient mISDN (1.x)
 %bcond_without	h323		# with h323 support
 %bcond_without	apidocs		# disable apidocs building
 %bcond_without	verbose		# verbose build
@@ -100,7 +101,10 @@
 BuildRequires:	libxml2-devel
 BuildRequires:	lpc10-devel
 BuildRequires:	lua51-devel
-BuildRequires:	mISDNuser-devel
+%if %{with misdn}
+BuildRequires:	mISDNuser-devel >= 1.2
+BuildConflicts:	mISDNuser-devel >= 2.0
+%endif
 BuildRequires:	mxml-devel
 BuildRequires:	mysql-devel
 BuildRequires:	ncurses-devel
@@ -1213,10 +1217,12 @@
 %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/minivm.conf
 %attr(755,root,root) %{_libdir}/asterisk/modules/app_minivm.so
 
+%if %{with misdn}
 %files misdn
 %defattr(644,root,root,755)
 %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/misdn.conf
 %attr(755,root,root) %{_libdir}/asterisk/modules/chan_misdn.so
+%endif
 
 %files odbc
 %defattr(644,root,root,755)
@@ -1338,6 +1344,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.194  2011/04/20 08:22:19  jajcus
+- misdn bcond (chan_misdn won't even build is mISDN2 is used). Maybe it should
+  be disabled by default (do we even provide mISDN1 kernel)?
+
 Revision 1.193  2011/04/20 08:01:04  jajcus
 - Include SRTP support (chan_sip complains without it)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/asterisk/asterisk.spec?r1=1.193&r2=1.194&f=u



More information about the pld-cvs-commit mailing list