summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-25 19:32:56 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-26 01:20:20 +0700
commit6692cab96c25dd9cecc9ffeb91fc533d2841a2ec (patch)
tree7a97a9ce5aab74e5b03b49a02996ebf4e85cda84
parent8230a40a53795765750f237c12de7a89872de138 (diff)
downloadslackbuilds-6692cab96c25dd9cecc9ffeb91fc533d2841a2ec.tar.gz
system/dahdi-complete: Removed (no maintainer and ftbfs).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/dahdi-complete/LICENSE166
-rw-r--r--system/dahdi-complete/README12
-rw-r--r--system/dahdi-complete/README.SLACKWARE13
-rw-r--r--system/dahdi-complete/dahdi-complete.SlackBuild138
-rw-r--r--system/dahdi-complete/dahdi-complete.info10
-rw-r--r--system/dahdi-complete/dahdi-tools-3.1.0-fno-common.patch43
-rw-r--r--system/dahdi-complete/doinst.sh36
-rw-r--r--system/dahdi-complete/slack-desc19
8 files changed, 0 insertions, 437 deletions
diff --git a/system/dahdi-complete/LICENSE b/system/dahdi-complete/LICENSE
deleted file mode 100644
index 341c30bda4..0000000000
--- a/system/dahdi-complete/LICENSE
+++ /dev/null
@@ -1,166 +0,0 @@
- GNU LESSER GENERAL PUBLIC LICENSE
- Version 3, 29 June 2007
-
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-
- This version of the GNU Lesser General Public License incorporates
-the terms and conditions of version 3 of the GNU General Public
-License, supplemented by the additional permissions listed below.
-
- 0. Additional Definitions.
-
- As used herein, "this License" refers to version 3 of the GNU Lesser
-General Public License, and the "GNU GPL" refers to version 3 of the GNU
-General Public License.
-
- "The Library" refers to a covered work governed by this License,
-other than an Application or a Combined Work as defined below.
-
- An "Application" is any work that makes use of an interface provided
-by the Library, but which is not otherwise based on the Library.
-Defining a subclass of a class defined by the Library is deemed a mode
-of using an interface provided by the Library.
-
- A "Combined Work" is a work produced by combining or linking an
-Application with the Library. The particular version of the Library
-with which the Combined Work was made is also called the "Linked
-Version".
-
- The "Minimal Corresponding Source" for a Combined Work means the
-Corresponding Source for the Combined Work, excluding any source code
-for portions of the Combined Work that, considered in isolation, are
-based on the Application, and not on the Linked Version.
-
- The "Corresponding Application Code" for a Combined Work means the
-object code and/or source code for the Application, including any data
-and utility programs needed for reproducing the Combined Work from the
-Application, but excluding the System Libraries of the Combined Work.
-
- 1. Exception to Section 3 of the GNU GPL.
-
- You may convey a covered work under sections 3 and 4 of this License
-without being bound by section 3 of the GNU GPL.
-
- 2. Conveying Modified Versions.
-
- If you modify a copy of the Library, and, in your modifications, a
-facility refers to a function or data to be supplied by an Application
-that uses the facility (other than as an argument passed when the
-facility is invoked), then you may convey a copy of the modified
-version:
-
- a) under this License, provided that you make a good faith effort to
- ensure that, in the event an Application does not supply the
- function or data, the facility still operates, and performs
- whatever part of its purpose remains meaningful, or
-
- b) under the GNU GPL, with none of the additional permissions of
- this License applicable to that copy.
-
- 3. Object Code Incorporating Material from Library Header Files.
-
- The object code form of an Application may incorporate material from
-a header file that is part of the Library. You may convey such object
-code under terms of your choice, provided that, if the incorporated
-material is not limited to numerical parameters, data structure
-layouts and accessors, or small macros, inline functions and templates
-(ten or fewer lines in length), you do both of the following:
-
- a) Give prominent notice with each copy of the object code that the
- Library is used in it and that the Library and its use are
- covered by this License.
-
- b) Accompany the object code with a copy of the GNU GPL and this license
- document.
-
- 4. Combined Works.
-
- You may convey a Combined Work under terms of your choice that,
-taken together, effectively do not restrict modification of the
-portions of the Library contained in the Combined Work and reverse
-engineering for debugging such modifications, if you also do each of
-the following:
-
- a) Give prominent notice with each copy of the Combined Work that
- the Library is used in it and that the Library and its use are
- covered by this License.
-
- b) Accompany the Combined Work with a copy of the GNU GPL and this license
- document.
-
- c) For a Combined Work that displays copyright notices during
- execution, include the copyright notice for the Library among
- these notices, as well as a reference directing the user to the
- copies of the GNU GPL and this license document.
-
- d) Do one of the following:
-
- 0) Convey the Minimal Corresponding Source under the terms of this
- License, and the Corresponding Application Code in a form
- suitable for, and under terms that permit, the user to
- recombine or relink the Application with a modified version of
- the Linked Version to produce a modified Combined Work, in the
- manner specified by section 6 of the GNU GPL for conveying
- Corresponding Source.
-
- 1) Use a suitable shared library mechanism for linking with the
- Library. A suitable mechanism is one that (a) uses at run time
- a copy of the Library already present on the user's computer
- system, and (b) will operate properly with a modified version
- of the Library that is interface-compatible with the Linked
- Version.
-
- e) Provide Installation Information, but only if you would otherwise
- be required to provide such information under section 6 of the
- GNU GPL, and only to the extent that such information is
- necessary to install and execute a modified version of the
- Combined Work produced by recombining or relinking the
- Application with a modified version of the Linked Version. (If
- you use option 4d0, the Installation Information must accompany
- the Minimal Corresponding Source and Corresponding Application
- Code. If you use option 4d1, you must provide the Installation
- Information in the manner specified by section 6 of the GNU GPL
- for conveying Corresponding Source.)
-
- 5. Combined Libraries.
-
- You may place library facilities that are a work based on the
-Library side by side in a single library together with other library
-facilities that are not Applications and are not covered by this
-License, and convey such a combined library under terms of your
-choice, if you do both of the following:
-
- a) Accompany the combined library with a copy of the same work based
- on the Library, uncombined with any other library facilities,
- conveyed under the terms of this License.
-
- b) Give prominent notice with the combined library that part of it
- is a work based on the Library, and explaining where to find the
- accompanying uncombined form of the same work.
-
- 6. Revised Versions of the GNU Lesser General Public License.
-
- The Free Software Foundation may publish revised and/or new versions
-of the GNU Lesser General Public License from time to time. Such new
-versions will be similar in spirit to the present version, but may
-differ in detail to address new problems or concerns.
-
- Each version is given a distinguishing version number. If the
-Library as you received it specifies that a certain numbered version
-of the GNU Lesser General Public License "or any later version"
-applies to it, you have the option of following the terms and
-conditions either of that published version or of any later version
-published by the Free Software Foundation. If the Library as you
-received it does not specify a version number of the GNU Lesser
-General Public License, you may choose any version of the GNU Lesser
-General Public License ever published by the Free Software Foundation.
-
- If the Library as you received it specifies that a proxy can decide
-whether future versions of the GNU Lesser General Public License shall
-apply, that proxy's public statement of acceptance of any version is
-permanent authorization for you to choose that version for the
-Library.
-
diff --git a/system/dahdi-complete/README b/system/dahdi-complete/README
deleted file mode 100644
index c1be829c83..0000000000
--- a/system/dahdi-complete/README
+++ /dev/null
@@ -1,12 +0,0 @@
-dahdi-complete provides everything necessary for using DAHDI
-(Digium/Asterisk Hardware Device Interface) telephony hardware with
-Linux. This includes:
-
-* drivers
-* configuration tools
-* example configuration files
-* firmware
-
-As this package contains kernel modules that will be built for your
-current kernel, you will need to rebuild (not simply reinstall) this
-SlackBuild if you change/upgrade your kernel.
diff --git a/system/dahdi-complete/README.SLACKWARE b/system/dahdi-complete/README.SLACKWARE
deleted file mode 100644
index bfcd8b3762..0000000000
--- a/system/dahdi-complete/README.SLACKWARE
+++ /dev/null
@@ -1,13 +0,0 @@
-README.SLACKWARE for dahdi-complete
-
-To start dahdi-complete at boot, add the following to /etc/rc.d/rc.local:
-
- if [ -x /etc/rc.d/rc.dahdi ]; then
- /etc/rc.d/rc.dahdi start
- fi
-
-This goes in /etc/rc.d/rc.local_shutdown:
-
- if [ -x /etc/rc.d/rc.dahdi ]; then
- /etc/rc.d/rc.dahdi stop
- fi
diff --git a/system/dahdi-complete/dahdi-complete.SlackBuild b/system/dahdi-complete/dahdi-complete.SlackBuild
deleted file mode 100644
index 8eacfb87be..0000000000
--- a/system/dahdi-complete/dahdi-complete.SlackBuild
+++ /dev/null
@@ -1,138 +0,0 @@
-#!/bin/bash
-
-# Slackware Package Build Script for DAHDI complete package (http://www.asterisk.org/downloads/dahdi)
-# SlackBuild source at https://github.com/chapmajs/dahdi-complete-slackbuild
-
-# See LICENSE included in the project root for licensing information.
-
-# Copyright (c) 2015 Jonathan Chapman
-# glitch@glitchwrks.com
-# All rights reserved.
-
-cd $(dirname $0) ; CWD=$(pwd)
-
-PRGNAM=dahdi-complete
-VERSION=${VERSION:-20201116_5c840cf}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-PKGTYPE=${PKGTYPE:-tgz}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-KERNEL=${KERNEL:-$(uname -r)}
-PKGKERNEL=$(echo $KERNEL | tr - _)
-
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-${VERSION}_$PKGKERNEL-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-ARCHIVE_NAME=dahdi-linux-complete
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $ARCHIVE_NAME-$VERSION
-tar xvf $CWD/$ARCHIVE_NAME-$VERSION.tar.?z
-cd $ARCHIVE_NAME-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-sed -i -e 's/ -Werror//' tools/acinclude.m4 tools/xpp/Makefile.am
-sed -i -e 's/-Werror //' tools/Makefile.am
-
-# Fix Perl install location (otherwise it installs to /usr/local/share/perl5)
-sed -i -e 's/sitelib/vendorlib/' linux/build_tools/live_dahdi tools/xpp/Makefile.am || exit 1
-
-cd linux
-# thanks Gentoo for the patches!
-#for i in $CWD/patches/* ; do patch -p1 < $i ; done
-make all
-make install DESTDIR=$PKG
-
-cd ../tools
-# thanks debian for this patch!
-patch -p1 < $CWD/dahdi-tools-3.1.0-fno-common.patch
-./bootstrap.sh
-autoreconf -fi
-CPPFLAGS="-I$(pwd)/../linux/include" \
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --with-dahdi=../linux \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-cd ..
-
-mkdir -p $PKG/usr/share/perl5/vendor_perl
-mv $PKG/usr/local/share/perl5/* $PKG/usr/share/perl5/vendor_perl/
-rm -fR $PKG/usr/local
-
-# move config files to .new
-cd $PKG/etc
-for file in $(find . -type f); do
- mv $file "$file.new"
-done
-
-install -D -m 0644 $TMP/$ARCHIVE_NAME-$VERSION/tools/dahdi.init $PKG/etc/rc.d/rc.dahdi.new
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-# Clean up zero-length firmware files
-find $PKG/lib/firmware -size 0 -delete || true
-# Remove unused directory
-rm -rf $PKG/usr/lib
-
-rm -f $PKG/usr/lib*/*.la
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION}_$PKGKERNEL-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/system/dahdi-complete/dahdi-complete.info b/system/dahdi-complete/dahdi-complete.info
deleted file mode 100644
index ca4750d0df..0000000000
--- a/system/dahdi-complete/dahdi-complete.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="dahdi-complete"
-VERSION="20201116_5c840cf"
-HOMEPAGE="http://www.asterisk.org/downloads/dahdi"
-DOWNLOAD="https://ponce.cc/slackware/sources/repo/dahdi-linux-complete-20201116_5c840cf.tar.xz"
-MD5SUM="b1f710e9b8c8b607722b39f58d3ae091"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Jonathan Chapman"
-EMAIL="glitch@glitchwrks.com"
diff --git a/system/dahdi-complete/dahdi-tools-3.1.0-fno-common.patch b/system/dahdi-complete/dahdi-tools-3.1.0-fno-common.patch
deleted file mode 100644
index f9dd5a49bd..0000000000
--- a/system/dahdi-complete/dahdi-tools-3.1.0-fno-common.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From: Jaco Kroon <jaco@uls.co.za>
-Subject: Remove unused union names that break build
-Bug: https://issues.asterisk.org/jira/browse/DAHTOOL-85
-
-diff --git a/xpp/mpptalk.c b/xpp/mpptalk.c
-index fdb34f1..8fb3687 100644
---- a/xpp/mpptalk.c
-+++ b/xpp/mpptalk.c
-@@ -237,7 +237,7 @@ union XTALK_PDATA(MPP) {
- MEMBER(MPP, TWS_PORT_GET_REPLY);
- MEMBER(MPP, TWS_PWR_GET);
- MEMBER(MPP, TWS_PWR_GET_REPLY);
--} PACKED members;
-+} PACKED;
-
- /*
- * Statuses
-diff --git a/xpp/xtalk/xtalk_raw.c b/xpp/xtalk/xtalk_raw.c
-index 49e47d5..251a502 100644
---- a/xpp/xtalk/xtalk_raw.c
-+++ b/xpp/xtalk/xtalk_raw.c
-@@ -48,7 +48,7 @@ CMD_DEF(XTALK, ACK,
-
- union XTALK_PDATA(XTALK) {
- MEMBER(XTALK, ACK);
--} PACKED members;
-+} PACKED;
-
- const struct xtalk_protocol xtalk_raw_proto = {
- .name = "XTALK-RAW",
-diff --git a/xpp/xtalk/xtalk_sync.c b/xpp/xtalk/xtalk_sync.c
-index 18a5cad..ffa79d2 100644
---- a/xpp/xtalk/xtalk_sync.c
-+++ b/xpp/xtalk/xtalk_sync.c
-@@ -60,7 +60,7 @@ union XTALK_PDATA(XTALK) {
- MEMBER(XTALK, ACK);
- MEMBER(XTALK, PROTO_GET);
- MEMBER(XTALK, PROTO_GET_REPLY);
--} PACKED members;
-+} PACKED;
-
- const struct xtalk_protocol xtalk_sync_proto = {
- .name = "XTALK-SYNC",
diff --git a/system/dahdi-complete/doinst.sh b/system/dahdi-complete/doinst.sh
deleted file mode 100644
index f60ce1aa4b..0000000000
--- a/system/dahdi-complete/doinst.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-# Post-install configuration scripts, borrowed from the fail2ban
-# Slackbuild:
-
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/rc.d/rc.dahdi.new
-
-config etc/udev/rules.d/xpp.rules.new
-config etc/udev/rules.d/dahdi.rules.new
-config etc/dahdi/assigned-spans.conf.sample.new
-config etc/dahdi/span-types.conf.sample.new
-config etc/bash_completion.d/dahdi.new
-
-chroot . /sbin/depmod -a
diff --git a/system/dahdi-complete/slack-desc b/system/dahdi-complete/slack-desc
deleted file mode 100644
index 42f917c5c5..0000000000
--- a/system/dahdi-complete/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-dahdi-complete: dahdi-complete (DAHDI hardware drivers for Asterisk)
-dahdi-complete:
-dahdi-complete: DAHDI (Digium/Asterisk Hardware Device Interface) is the open source
-dahdi-complete: device technology used to control Digium and other legacy telephony
-dahdi-complete: interface cards.
-dahdi-complete:
-dahdi-complete:
-dahdi-complete:
-dahdi-complete:
-dahdi-complete: Homepage: http://www.asterisk.org/downloads/dahdi
-dahdi-complete: