automatic version update by autodist [release 3.25_20130409-1mamba;Sat May 18 2013]

This commit is contained in:
Automatic Build System 2024-01-05 23:58:51 +01:00
parent 26941aa7f7
commit e16012fb56
5 changed files with 357 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# isdn4k-utils # isdn4k-utils
isdn4k-utils is a collection of various ISDN related utilities. This package contains configuration tools for all ISDN adapters, supported by Linux. Furthermore, several status-monitors are provided as well as some ISDN-based applications. Namely ipppd, a PPP daemon for synchronous PPP over ISDN; vbox, an answering-machine and (for use with AVM-B1 only) capifax, a faxmachine.

View File

@ -0,0 +1,66 @@
diff -Nru isdn4k-utils-CVS-2007-11-27/imontty/Makefile isdn4k-utils-CVS-2007-11-27.patched/imontty/Makefile
--- isdn4k-utils-CVS-2007-11-27/imontty/Makefile 2006-01-15 16:08:55.000000000 +0100
+++ isdn4k-utils-CVS-2007-11-27.patched/imontty/Makefile 2009-05-26 20:14:35.000000000 +0200
@@ -52,10 +52,10 @@
mkdir -p $(DESTDIR)$(MAN8DIR)
$(INSTALL_MAN) $< $(DESTDIR)$(MAN8DIR)/$(MANPAGE)
-install: $(PROGS) rootperm install-man
+install: $(PROGS) install-man
install -s -o 0 -g 0 -m 0755 $(PROGS) $(DESTDIR)$(CONFIG_SBINDIR)
-uninstall: rootperm
+uninstall:
for i in $(PROGS) ; do rm -f $(DESTDIR)$(CONFIG_SBINDIR)/$$i; done
clean:
diff -Nru isdn4k-utils-CVS-2007-11-27/isdnlog/Makefile.in isdn4k-utils-CVS-2007-11-27.patched/isdnlog/Makefile.in
--- isdn4k-utils-CVS-2007-11-27/isdnlog/Makefile.in 2007-01-05 05:23:57.000000000 +0100
+++ isdn4k-utils-CVS-2007-11-27.patched/isdnlog/Makefile.in 2009-05-26 20:06:38.000000000 +0200
@@ -2058,7 +2058,7 @@
$(DESTDIR)$(DATADIR)/dest.cdb
-installdirs: rootperm
+installdirs:
$(INSTALL_DIR) $(DESTDIR)$(I4LCONFDIR)
$(INSTALL_DIR) $(DESTDIR)$(BINDIR)
$(INSTALL_DIR) $(DESTDIR)$(SBINDIR)
@@ -2067,7 +2067,7 @@
$(INSTALL_DIR) $(DESTDIR)$(MAN8DIR)
$(INSTALL_DIR) $(DESTDIR)$(DATADIR)
-install: all rootperm installdirs install-conf install-data install-progs
+install: all installdirs install-conf install-data install-progs
install-old-conf:
@if [ -n "$(DESTDIR)$(OLDCONFDIR)" -a "$(DESTDIR)$(OLDCONFDIR)" != '/' ] ; then \
@@ -2150,9 +2150,6 @@
$(INSTALL_DATA) $$f $(DESTDIR)$(DATADIR); \
echo Installing $(DESTDIR)$(DATADIR)/$$f; \
done
- @(grep isdnlog $(SERVICEFILE) >/dev/null) || \
- (echo "";echo "";echo "Add a line to the file $(SERVICEFILE)" ;echo "";echo ""; \
- echo "isdnlog $(SERV_PORT)/tcp isdnlog" >> $(SERVICEFILE))
install-strip:
$(MAKE) INSTALL_BIN='$(INSTALL_BIN) -s' \
diff -Nru isdn4k-utils-CVS-2007-11-27/Makefile isdn4k-utils-CVS-2007-11-27.patched/Makefile
--- isdn4k-utils-CVS-2007-11-27/Makefile 2007-11-26 14:13:44.000000000 +0100
+++ isdn4k-utils-CVS-2007-11-27.patched/Makefile 2009-05-26 20:00:36.000000000 +0200
@@ -130,14 +130,8 @@
exit 1; \
fi
-install: rootperm
+install:
set -e; for i in `echo $(SUBDIRS)`; do $(MAKE) -C $$i install; done
- @if [ -c $(DESTDIR)/dev/isdnctrl0 ] && ls -l $(DESTDIR)/dev/isdnctrl0 | egrep "[[:space:]]45,[[:space:]]+64[[:space:]]" > /dev/null; \
- then \
- /bin/echo -e '(some) ISDN devices already exist, not creating them.\nUse scripts/makedev.sh manually if necessary.'; \
- else \
- sh scripts/makedev.sh $(DESTDIR) ; \
- fi
uninstall: rootperm
set -e; for i in `echo $(SUBDIRS)`; do $(MAKE) -C $$i uninstall; done

View File

@ -0,0 +1,9 @@
diff -Nru isdn4k-utils-3.25_20130409.orig/capiinfo/acconfig.h isdn4k-utils-3.25_20130409/capiinfo/acconfig.h
--- isdn4k-utils-3.25_20130409.orig/capiinfo/acconfig.h 1970-01-01 01:00:00.000000000 +0100
+++ isdn4k-utils-3.25_20130409/capiinfo/acconfig.h 2013-05-18 17:48:07.349534573 +0200
@@ -0,0 +1,5 @@
+
+#undef VERSION
+#undef PACKAGE
+#undef CONFIG_SBINDIR
+#undef CONFIG_MANDIR

126
isdn4k-utils-config Normal file
View File

@ -0,0 +1,126 @@
#
# Automatically generated by make menuconfig: don't edit
#
#
# Code maturity level options
#
# CONFIG_EXPERIMENTAL is not set
#
# General configuration
#
CONFIG_BUILDX11=y
CONFIG_KERNELDIR='/usr/src/linux'
CONFIG_BINDIR='/usr/bin'
CONFIG_SBINDIR='/sbin'
CONFIG_CARD_SBINDIR='/sbin'
CONFIG_MANDIR='/usr/man'
CONFIG_FIRMWAREDIR='/usr/lib/isdn'
CONFIG_RUNDIR='/var/run'
CONFIG_LOCKDIR='/var/lock'
CONFIG_LOCKFILE='LCK..'
CONFIG_I4LCONFDIR='/etc/isdn'
CONFIG_CONFFILE='isdn.conf'
CONFIG_CALLERIDFILE='callerid.conf'
CONFIG_USERCONFFILE='~/.isdn'
CONFIG_COUNTRYCODE='49'
CONFIG_AREACODE=''
CONFIG_COUNTRY_PREFIX='+'
CONFIG_AREA_PREFIX='0'
CONFIG_DATADIR='/usr/lib/isdn'
#
# Runtime configuration tools
#
CONFIG_ISDNCTRL=y
CONFIG_ISDNCTRL_CONF=y
CONFIG_ISDNCTRL_TIMRU=y
CONFIG_IPROFD=y
# CONFIG_DIVERTCTRL is not set
#
# Card configuration tools
#
CONFIG_HISAXCTRL=y
CONFIG_ICNCTRL=y
# CONFIG_ICNCTRL_DEBUG is not set
CONFIG_ACTCTRL=y
CONFIG_PCBITCTL=y
CONFIG_AVMCAPICTRL=y
CONFIG_ACTCTRL=y
# CONFIG_EICONCTRL is not set
#
# Tools for monitoring activity
#
CONFIG_IMON=y
CONFIG_IMONTTY=y
CONFIG_ISDNLOG=y
#
# Options for isdnlog package
#
CONFIG_ISDNLOG_SERV_PORT=20011
CONFIG_ISDNLOG_USERFILE='isdnlog.users'
CONFIG_ISDNLOG_CHARGEFILE='charge.dat'
CONFIG_ISDNLOG_LOGFILE='/var/log/isdn.log'
CONFIG_ISDNLOG_RELOADCMD='reload'
CONFIG_ISDNLOG_STOPCMD='stop'
CONFIG_ISDNLOG_REBOOTCMD='/sbin/reboot'
CONFIG_ISDNLOG_DOCDIR='/usr/doc/packages/i4l/isdnlog'
CONFIG_ISDNLOG_OLDI4LCONFDIR='/etc/isdnlog'
CONFIG_ISDNLOG_OLDI4LCONFFILE='isdnlog.conf'
# CONFIG_ISDNLOG_POSTGRES is not set
# CONFIG_ISDNLOG_MYSQLDB is not set
# CONFIG_ISDNLOG_ORACLE is not set
CONFIG_ISDN_LOG_DE=y
CONFIG_ISDN_LOG_CC_DE=y
CONFIG_ISDN_LOG_DEST_DE=y
# CONFIG_ISDN_LOG_DEST_AT is not set
# CONFIG_ISDN_LOG_DEST_NL is not set
# CONFIG_ISDN_LOG_DEST_CH is not set
# CONFIG_ISDN_LOG_DEST_BE is not set
# CONFIG_ISDN_LOG_DEST_CN is not set
CONFIG_IPPPSTATS=y
CONFIG_XISDNLOAD=y
CONFIG_XMONISDN=y
#
# Options for xmonisdn
#
CONFIG_XMONISDN_UPCMD='/sbin/netup'
CONFIG_XMONISDN_DOWNCMD='/sbin/netdown'
#
# Applications
#
CONFIG_VBOX=y
#
# Options for vbox package
#
VBOX_SPOOLDIR='/var/spool/vbox'
VBOX_LOGDIR='/var/log/vbox'
VBOX_PIDDIR='/var/run'
VBOX_LOCKDIR='/var/lock'
VBOX_DOCDIR='/usr/doc/vbox'
VBOX_TCL='tcl8.0'
# VBOX_SUSPEND_ID is not set
CONFIG_IPPPD=y
#
# Options for ipppd
#
# CONFIG_IPPPD_MSCHAP is not set
# CONFIG_IPPP_FILTER is not set
# CONFIG_IPPPD_RADIUS is not set
# CONFIG_RADIUS_WTMP_LOGGING is not set
RADIUS_CLIENT_CONFIG_FILE=''
#
# Documentation
#
CONFIG_GENMAN=y
CONFIG_FAQ=y
CONFIG_FAQDIR='/usr/doc/faq/isdn4linux'

154
isdn4k-utils.spec Normal file
View File

@ -0,0 +1,154 @@
%define pkgver %(echo %version | cut -d. -f3-5 | tr . -)
Name: isdn4k-utils
Version: 3.25_20130409
Release: 1mamba
Summary: Bundled Utilities for configuring an using ISDN4Linux
Group: Applications/Networking
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.isdn4linux.de/
Source: http://archlinux.c3sl.ufpr.br/other/isdn4k-utils/isdn4k-utils-%{version}.tar.gz
Source1: isdn4k-utils-config
Patch0: %{name}-3.0.2007.11.27-install.patch
Patch1: isdn4k-utils-3.25_20130409-missing_include_from_cvs.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libICE-devel
BuildRequires: libncurses-devel
BuildRequires: libSM-devel
BuildRequires: libtcl
BuildRequires: libX11-devel
BuildRequires: libXaw-devel
BuildRequires: libXext-devel
BuildRequires: libXmu-devel
BuildRequires: libXp-devel
BuildRequires: libXpm-devel
BuildRequires: libXt-devel
## AUTOBUILDREQ-END
Provides: isdnutils
Requires: libcapi20 = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
isdn4k-utils is a collection of various ISDN related utilities. This package contains configuration tools for all ISDN adapters, supported by Linux. Furthermore, several status-monitors are provided as well as some ISDN-based applications. Namely ipppd, a PPP daemon for synchronous PPP over ISDN; vbox, an answering-machine and (for use with AVM-B1 only) capifax, a faxmachine.
%package -n libcapi20
Summary: Main library for isdn2k utils
Group: System/Libraries
%description -n libcapi20
isdn4k-utils is a collection of various ISDN related utilities. This package contains configuration tools for all ISDN adapters, supported by Linux. Furthermore, several status-monitors are provided as well as some ISDN-based applications. Namely ipppd, a PPP daemon for synchronous PPP over ISDN; vbox, an answering-machine and (for use with AVM-B1 only) capifax, a faxmachine.
This package contains the capi2 library needed to have a standard access layer to ISDN devices.
%package -n libcapi20-devel
Summary: Includes and other files to develop capi applications
Group: Development/Libraries
Requires: libcapi20 = %{?epoch:%epoch:}%{version}-%{release}
Provides: isdn4k-utils-devel
Obsoletes: isdn4k-utils-devel
%description -n libcapi20-devel
isdn4k-utils is a collection of various ISDN related utilities. This package contains configuration tools for all ISDN adapters, supported by Linux. Furthermore, several status-monitors are provided as well as some ISDN-based applications. Namely ipppd, a PPP daemon for synchronous PPP over ISDN; vbox, an answering-machine and (for use with AVM-B1 only) capifax, a faxmachine.
This package contains static libraries, include files and other resources you can use to develop capi applications.
%prep
%setup -q
#%patch0 -p1
%patch1 -p1
find . -name Makefile.in -exec sed -i "s|-o 0 -g 0||" {} \;
find . -name Makefile -exec sed -i "s|-o 0 -g 0||" {} \;
find . -name Makefile.in -exec sed -i "s|-o root -g root||" {} \;
cp %{SOURCE1} .config
%build
%make subconfig CONFIG_MANDIR=%{_mandir} CONFIG_LIBDIR=%{_libdir}
%make -j1
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d %{buildroot}/sbin
install -d %{buildroot}%{_docdir}
%makeinstall MANDIR=%{_mandir} mandir=%{_mandir}
mv %{buildroot}%{_prefix}/doc/faq %{buildroot}%{_docdir}/faq
mv %{buildroot}%{_prefix}/doc/vbox %{buildroot}%{_docdir}/vbox
mv %{buildroot}%{_prefix}/man/man1/* %{buildroot}%{_mandir}/man1/
mv %{buildroot}%{_prefix}/man/man8/* %{buildroot}%{_mandir}/man8/
# fix app-defaults system dir installed as a symlink
rm -f %{buildroot}%{_prefix}/lib/X11/app-defaults
install -d -m0755 %{buildroot}%{_prefix}/lib/X11/app-defaults
ln -s %{_sysconfdir}/X11/app-defaults/XISDNLoad %{buildroot}%{_prefix}/lib/X11/app-defaults/XISDNLoads
#% find_lang %{name}
rm -f %{buildroot}%{_mandir}/xmonisdn.1x
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
#-f %{name}.lang
%defattr(-,root,root)
%{_sysconfdir}/vbox/vboxd.conf
%{_sysconfdir}/vbox/vboxgetty.conf
/sbin/*
%{_bindir}/*
%{_sbindir}/vboxd
%{_sbindir}/vboxgetty
%{_sbindir}/vboxmail
%{_sbindir}/vboxputty
%{_prefix}/lib/X11/app-defaults/XISDNLoads
%{_mandir}/man1/*.1.gz
%{_mandir}/man1/*.1x.gz
%{_mandir}/man4/*.4.gz
%{_mandir}/man5/*.5.gz
%{_mandir}/man7/isdn_cause.7.gz
%{_mandir}/man8/.isdnctrl_conf.8.gz
%{_mandir}/man8/*.8.gz
%{_docdir}/faq/isdn4linux
%{_docdir}/vbox/vbox.*
%doc NEWS README
%files -n libcapi20
%defattr(-,root,root)
%dir %{_sysconfdir}/isdn
%{_sysconfdir}/X11/app-defaults/XISDNLoad
%{_sysconfdir}/isdn/*.conf
%{_sysconfdir}/isdn/stop
%{_sysconfdir}/isdn/isdnlog.*
%{_libdir}/libcapi20.so.*
%{_prefix}/lib/isdn/*
%dir %{_libdir}/capi
%{_libdir}/capi/lib_capi_mod_fritzbox.la
%{_libdir}/capi/lib_capi_mod_fritzbox.so
%{_libdir}/capi/lib_capi_mod_fritzbox.so.*
%{_libdir}/capi/lib_capi_mod_rcapi.la
%{_libdir}/capi/lib_capi_mod_rcapi.so
%{_libdir}/capi/lib_capi_mod_rcapi.so.*
%{_libdir}/capi/lib_capi_mod_std.la
%{_libdir}/capi/lib_capi_mod_std.so
%{_libdir}/capi/lib_capi_mod_std.so.*
%files -n libcapi20-devel
%defattr(-,root,root)
%{_includedir}/X11/bitmaps/net*
%{_includedir}/capi*.h
%{_libdir}/libcapi20.so
%{_libdir}/libcapi20.a
%{_libdir}/libcapi20dyn.a
%{_libdir}/libcapi20.la
%{_libdir}/pkgconfig/capi20.pc
%changelog
* Sat May 18 2013 Automatic Build System <autodist@mambasoft.it> 3.25_20130409-1mamba
- automatic version update by autodist
* Sun Dec 09 2012 Automatic Build System <autodist@mambasoft.it> 3.25_20120630-1mamba
- update to 3.25_20120630
* Thu Jul 16 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.2007.11.27-2mamba
- added libcapi20 and libcapi20-devel subpackages
* Tue May 26 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 27-1mamba
- package created by autospec