Compare commits

...
Sign in to create a new pull request.

20 commits

Author SHA1 Message Date
Fedora Release Engineering
10701217c8 dist-git conversion 2010-07-29 16:27:48 +00:00
Bill Nottingham
6a7d3bedff Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:08:49 +00:00
Jeffrey C. Ollie
9284ac3d9e - Update to 1.4.12.1 2008-10-08 20:45:43 +00:00
Jeffrey C. Ollie
3058569ab3 - Update to 1.4.11 2008-05-29 05:08:54 +00:00
Jeffrey C. Ollie
d625533a02 - Update to 1.4.10.1 2008-05-09 14:57:48 +00:00
Jeffrey C. Ollie
21b0eb18a6 Update to 1.4.9. 2008-02-21 15:24:47 +00:00
Jeffrey C. Ollie
5a2e7eb0b5 Really get this working 2008-01-15 16:45:51 +00:00
Jeffrey C. Ollie
24b4a10e60 Fix patch. 2008-01-15 14:39:51 +00:00
Jeffrey C. Ollie
9a207a83ac Update to 1.4.8 2008-01-15 14:34:58 +00:00
Jeffrey C. Ollie
689c2c49db Update to 1.4.7.1 2007-12-20 18:19:28 +00:00
ebfd7b65f4 Initialize branch EL-5 for zaptel 2007-11-04 18:57:45 +00:00
Jeffrey C. Ollie
9ad4e44485 Update to 1.4.6 2007-11-03 05:31:25 +00:00
Jeffrey C. Ollie
0d7acaa95f Update to 1.4.2.1 2007-04-25 20:02:57 +00:00
Jeffrey C. Ollie
525ebf17f7 Own /usr/include/zaptel, fixes #233970 2007-03-26 12:55:18 +00:00
Jeffrey C. Ollie
344a6c5c2c Really, really make this build with out the kernel source... 2007-03-24 04:23:32 +00:00
Jeffrey C. Ollie
f0c8bcd072 Update to 1.4.1 2007-03-23 05:07:33 +00:00
Jeffrey C. Ollie
74b19ea522 (Annoyed Grunt!) 2006-12-24 04:41:20 +00:00
Jeffrey C. Ollie
e9e4aec58c Update to 1.4.0 final 2006-12-24 03:45:12 +00:00
Jeffrey C. Ollie
1a13b54c96 Update to 1.4.0-beta3 2006-12-16 04:39:49 +00:00
Jeffrey C. Ollie
b60c4f4a79 - Compile sethdlc and package related bits.
- Remove some readmes that aren't applicable to library/userland
2006-10-25 14:39:41 +00:00
10 changed files with 123 additions and 83 deletions

View file

@ -1 +0,0 @@
zaptel-1.4.0-beta2.tar.gz

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
zaptel-1.4.12.1.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: zaptel
# $Id$
NAME := zaptel
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -1 +1,7 @@
MENUSELECT_DEPENDS_wctc4xxp=ZTTRANSCODE
MENUSELECT_DEPENDS_ztd-eth=ZTDYNAMIC
MENUSELECT_DEPENDS_ztd-loc=ZTDYNAMIC
MENUSELECT_DEPENDS_zttool=LIBNEWT
MENUSELECT_DEPENDS_FIRMWARE-OCT6114-064=WCT4XXP
MENUSELECT_DEPENDS_FIRMWARE-OCT6114-128=WCT4XXP
MENUSELECT_DEPENDS_FIRMWARE-TC400M=WCTC4XXP

View file

@ -1,2 +1,3 @@
MENUSELECT_MODULES=pciradio tor2 torisa wcfxo wct1xxp wct4xxp wctdm wctdm24xxp wcte11xp wcusb xpp_usb zaptel ztd-eth ztd-loc ztdummy ztdynamic zttranscode
MENUSELECT_UTILS=sethdlc-new
MENUSELECT_MODULES=pciradio tor2 torisa wcfxo wct1xxp wct4xxp wctc4xxp wctdm wctdm24xxp wcte11xp wcte12xp wcusb xpp zaptel ztd-eth ztd-loc ztdummy ztdynamic zttranscode
MENUSELECT_UTILS=
MENUSELECT_FIRMWARE=

View file

@ -1 +1 @@
4fe09984245f3507d8050bad740e873a zaptel-1.4.0-beta2.tar.gz
71e83a020b020fa60905edecf70e95a3 zaptel-1.4.12.1.tar.gz

View file

@ -1,11 +0,0 @@
--- Makefile.orig 2006-10-11 20:26:26.000000000 -0500
+++ Makefile 2006-10-11 20:26:41.000000000 -0500
@@ -409,7 +409,7 @@
$(LIB_DIR)/$(LTZ_SO).$(LTZ_SO_MAJOR_VER)
$(LN) -sf $(LTZ_SO).$(LTZ_SO_MAJOR_VER).$(LTZ_SO_MINOR_VER) \
$(LIB_DIR)/$(LTZ_SO)
- if [ -z "$(INSTALL_PREFIX)" && -x /usr/sbin/sestatus ] && (/usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled") ; then restorecon -v $(LIB_DIR)/$(LTZ_SO); fi
+ if [ -z "$(INSTALL_PREFIX)" -a -x /usr/sbin/sestatus ] && ( /usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled" ) ; then restorecon -v $(LIB_DIR)/$(LTZ_SO); fi
install-include:
$(INSTALL) -D -m 644 zaptel.h $(INSTALL_PREFIX)/usr/include/zaptel/zaptel.h

View file

@ -1,21 +0,0 @@
Index: build_tools/genudevrules
===================================================================
--- build_tools/genudevrules (revision 1503)
+++ build_tools/genudevrules (working copy)
@@ -22,10 +22,10 @@
cat <<EOF
# zaptel devices with ownership/permissions for running as non-root
-KERNEL${match}"zapctl", NAME="zap/ctl", OWNER="asterisk", GROUP="asterisk", MODE="0660"
-KERNEL${match}"zaptranscode", NAME="zap/transcode", OWNER="asterisk", GROUP="asterisk", MODE="0660"
-KERNEL${match}"zaptimer", NAME="zap/timer", OWNER="asterisk", GROUP="asterisk", MODE="0660"
-KERNEL${match}"zapchannel", NAME="zap/channel", OWNER="asterisk", GROUP="asterisk", MODE="0660"
-KERNEL${match}"zappseudo", NAME="zap/pseudo", OWNER="asterisk", GROUP="asterisk", MODE="0660"
-KERNEL${match}"zap[0-9]*", NAME="zap/%n", OWNER="asterisk", GROUP="asterisk", MODE="0660"
+KERNEL${match}"zapctl", NAME="zap/ctl", OWNER="zaptel", GROUP="zaptel", MODE="0660"
+KERNEL${match}"zaptranscode", NAME="zap/transcode", OWNER="zaptel", GROUP="zaptel", MODE="0660"
+KERNEL${match}"zaptimer", NAME="zap/timer", OWNER="zaptel", GROUP="zaptel", MODE="0660"
+KERNEL${match}"zapchannel", NAME="zap/channel", OWNER="zaptel", GROUP="zaptel", MODE="0660"
+KERNEL${match}"zappseudo", NAME="zap/pseudo", OWNER="zaptel", GROUP="zaptel", MODE="0660"
+KERNEL${match}"zap[0-9]*", NAME="zap/%n", OWNER="zaptel", GROUP="zaptel", MODE="0660"
EOF

View file

@ -0,0 +1,23 @@
From 32a671bbf9ae1103626d539b4fce7d649d39e11f Mon Sep 17 00:00:00 2001
From: Jeffrey C. Ollie <jeff@ocjtech.us>
Date: Tue, 15 Jan 2008 08:01:31 -0600
Subject: [PATCH] Apply udevzaptelowner patch from rpm package.
---
build_tools/genudevrules | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/build_tools/genudevrules b/build_tools/genudevrules
index 17e1f90..fa6987b 100755
--- a/build_tools/genudevrules
+++ b/build_tools/genudevrules
@@ -31,5 +31,5 @@ KERNEL${match}"zappseudo", NAME="zap/pseudo"
KERNEL${match}"zap[0-9]*", NAME="zap/%n"
# zaptel devices with ownership/permissions for running as non-root
-SUBSYSTEM${match}"zaptel", OWNER="asterisk", GROUP="asterisk", MODE="0660"
+SUBSYSTEM${match}"zaptel", OWNER="zaptel", GROUP="zaptel", MODE="0660"
EOF
--
1.5.4.3

View file

@ -1,14 +1,12 @@
Summary: Tools and libraries for using/configuring/monitoring Zapata telephony interfaces
Name: zaptel
Version: 1.4.0
Release: 3%{?dist}.beta2
License: GPL
Version: 1.4.12.1
Release: 1%{?dist}
License: GPLv2+
Group: Applications/System
URL: http://www.digium.com/
Source0: http://ftp.digium.com/pub/telephony/zaptel/releases/zaptel-%{version}-beta2.tar.gz
Patch0: zaptel-1.4.0-beta1-udevzaptelowner.patch
Patch1: zaptel-1.4.0-beta1-makefile.patch
Source0: http://downloads.digium.com/pub/telephony/zaptel/releases/zaptel-%{version}.tar.gz
Patch0: zaptel-1.4.10-udevzaptelowner.patch
Source1: menuselect.makedeps
Source2: menuselect.makeopts
Source3: zaptel.init
@ -16,6 +14,7 @@ Source3: zaptel.init
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
BuildRequires: newt-devel
BuildRequires: udev
Requires(pre): fedora-usermgmt
@ -54,10 +53,9 @@ Requires: zaptel-lib = %{version}-%{release}
Development files for Zapata telephony interfaces.
%prep
%setup0 -q -n zaptel-%{version}-beta2
%setup0 -q
%patch0 -p0
%patch1 -p0
%patch0 -p1
cp %{S:1} .
cp %{S:2} .
@ -83,34 +81,28 @@ popd
%configure
make %{?_smp_mflags}
make %{?_smp_mflags} programs
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_initrddir}
mkdir -p %{buildroot}%{_sbindir}
mkdir -p %{buildroot}%{_sysconfdir}/modprobe.d
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig/network-scripts
mkdir -p %{buildroot}%{_sysconfdir}/udev/rules.d
mkdir -p %{buildroot}%{_sysconfdir}/udev/permissions.d
mkdir -p %{buildroot}%{_mandir}/man8
#mkdir -p %{buildroot}/lib/firmware
make install DYNFS=yes DESTDIR=%{buildroot} ROOT_PREFIX=%{buildroot} LIB_DIR=%{buildroot}%{_libdir}
make config DESTDIR=%{buildroot} ROOT_PREFIX=%{buildroot} LIB_DIR=%{buildroot}%{_libdir}
make install-programs DESTDIR=%{buildroot} ROOT_PREFIX=%{buildroot} LIB_DIR=%{buildroot}%{_libdir}
make install-programs config DESTDIR=%{buildroot}
for f in fxotune fxstest ztdiag ztmonitor ztspeed zttest zttool
build_tools/genudevrules > %{buildroot}%{_sysconfdir}/udev/rules.d/zaptel.rules
for f in fxotune fxstest ztdiag ztmonitor ztscan ztspeed zttest zttool
do
mv %{buildroot}/sbin/$f %{buildroot}%{_sbindir}/$f
done
cp doc/fxotune.8 %{buildroot}%{_mandir}/man8
cp doc/ztmonitor.8 %{buildroot}%{_mandir}/man8
cp doc/ztspeed.8 %{buildroot}%{_mandir}/man8
cp doc/zttest.8 %{buildroot}%{_mandir}/man8
rm -f %{buildroot}%{_libdir}/libtonezone.a
%clean
@ -136,21 +128,20 @@ fi
%defattr(-,root,root,-)
%doc ChangeLog
%doc ifcfg-hdlc0
%doc LICENSE
%doc README
%doc README.Astribank
%doc README.b410p
%doc README.fxotune
%doc README.fxsusb
%doc README.Linux26
%doc zaptel.conf.sample
%config(noreplace) %{_sysconfdir}/zaptel.conf
%config(noreplace) %{_sysconfdir}/sysconfig/zaptel
%config(noreplace) %{_sysconfdir}/modprobe.d/zaptel
%config(noreplace) %{_sysconfdir}/udev/rules.d/zaptel.rules
%{_sysconfdir}/sysconfig/network-scripts/ifup-hdlc
/sbin/ztcfg
/sbin/sethdlc-new
%{_initrddir}/zaptel
%{_mandir}/man8/ztcfg.8*
@ -167,12 +158,16 @@ fi
%{_sbindir}/fxstest
%{_sbindir}/ztdiag
%{_sbindir}/ztmonitor
%{_sbindir}/ztscan
%{_sbindir}/ztspeed
%{_sbindir}/zttest
%{_sbindir}/zttool
%{_mandir}/man8/fxotune.8*
%{_mandir}/man8/fxstest.8*
%{_mandir}/man8/ztdiag.8*
%{_mandir}/man8/ztmonitor.8*
%{_mandir}/man8/ztscan.8*
%{_mandir}/man8/ztspeed.8*
%{_mandir}/man8/zttest.8*
%{_mandir}/man8/zttool.8*
@ -180,11 +175,79 @@ fi
%files devel
%defattr(-,root,root,-)
%doc LICENSE
%dir %{_includedir}/zaptel
%{_includedir}/zaptel/tonezone.h
%{_includedir}/zaptel/zaptel.h
%{_libdir}/libtonezone.so
%changelog
* Tue Sep 9 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.12.1-1
- Update to 1.4.12.1
* Thu Sep 4 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.12-1
- Update to 1.4.12
* Mon Aug 11 2008 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.4.11-2
- Fix license tag.
* Wed May 28 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.11-1
- Update to 1.4.11
* Thu May 8 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.10.1-1
- Update to 1.4.10.1
* Wed Apr 9 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.10-1
- Update to 1.4.10
* Thu Feb 21 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.9-1
- Update to 1.4.9.
* Mon Feb 11 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.8-2
- Rebuild for GCC 4.3
* Mon Jan 14 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.8-1
- Update to 1.4.8
* Thu Dec 20 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.7.1-1
- Update to 1.4.7.1
- Drop upstreamed patch.
* Fri Nov 1 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.6-1
- Update to 1.4.6
- Apply patch to fix AST-2007-024
* Wed Apr 25 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.2.1-1
- Update to 1.4.2.1
* Mon Mar 26 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.1-4
- Own /usr/include/zaptel, fixes #233970.
* Fri Mar 23 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.1-3
- Really, really make it work without the kernel sources...
* Fri Mar 23 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.1-2
- Let's see if we can get this to build without the kernel sources present.
* Fri Mar 23 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.1-1
- Update to 1.4.1
* Sat Dec 23 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.0-9
- (Annoyed Grunt!)
* Sat Dec 23 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.0-8
- Don't package hdlc bits on FC <= 5
* Sat Dec 23 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.0-7
- Update to 1.4.0 final
* Fri Dec 15 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.0-5.beta3
- Update to 1.4.0-beta3
- Drop unnecessary patch
* Wed Oct 25 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.0-4.beta2
- Compile sethdlc and package related bits.
- Remove some readmes that aren't applicable to library/userland
* Wed Oct 18 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.0-3.beta2
- Update to 1.4.0-beta2