mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
network/wvdial: Removed (Build failure)
wvmodemscan.cc:544: error: invalid conversion from 'int (*)(const void*, const void*)' to 'int (*)(const dirent**, const dirent**)'
This commit is contained in:
parent
c2e6a03005
commit
423fc00793
7 changed files with 0 additions and 175 deletions
|
@ -1,29 +0,0 @@
|
|||
--- Makefile.ORIG 2008-05-10 22:59:21.000000000 -0500
|
||||
+++ Makefile 2008-05-10 23:01:31.000000000 -0500
|
||||
@@ -35,17 +36,17 @@
|
||||
wvdial wvdialconf papchaptest pppmon: wvdial.a
|
||||
|
||||
install-bin: all
|
||||
- [ -d ${BINDIR} ] || install -d ${BINDIR}
|
||||
- [ -d ${PPPDIR} ] || install -d ${PPPDIR}
|
||||
- install -m 0755 wvdial wvdialconf ${BINDIR}
|
||||
- cp ppp.provider ${PPPDIR}/wvdial
|
||||
- cp ppp.provider-pipe ${PPPDIR}/wvdial-pipe
|
||||
+ [ -d $(DESTDIR)/${BINDIR} ] || install -d $(DESTDIR)/${BINDIR}
|
||||
+ [ -d $(DESTDIR)/${PPPDIR} ] || install -d $(DESTDIR)/${PPPDIR}
|
||||
+ install -m 0755 wvdial wvdialconf $(DESTDIR)/${BINDIR}
|
||||
+ cp ppp.provider $(DESTDIR)/${PPPDIR}/wvdial
|
||||
+ cp ppp.provider-pipe $(DESTDIR)/${PPPDIR}/wvdial-pipe
|
||||
|
||||
install-man:
|
||||
- [ -d ${MANDIR}/man1 ] || install -d ${MANDIR}/man1
|
||||
- [ -d ${MANDIR}/man5 ] || install -d ${MANDIR}/man5
|
||||
- install -m 0644 wvdial.1 wvdialconf.1 ${MANDIR}/man1
|
||||
- install -m 0644 wvdial.conf.5 ${MANDIR}/man5
|
||||
+ [ -d $(DESTDIR)/${MANDIR}/man1 ] || install -d $(DESTDIR)/${MANDIR}/man1
|
||||
+ [ -d $(DESTDIR)/${MANDIR}/man5 ] || install -d $(DESTDIR)/${MANDIR}/man5
|
||||
+ install -m 0644 wvdial.1 wvdialconf.1 $(DESTDIR)/${MANDIR}/man1
|
||||
+ install -m 0644 wvdial.conf.5 $(DESTDIR)/${MANDIR}/man5
|
||||
|
||||
install: install-bin install-man
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
WvDial is a program that makes it easy to connect your Linux workstation
|
||||
to the Internet. It will automatically detect your modem, and it can log
|
||||
into almost any Internet provider's server without any special configuration.
|
||||
|
||||
This requires wvstreams.
|
|
@ -1,17 +0,0 @@
|
|||
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...
|
||||
}
|
||||
|
||||
config etc/wvdial.conf.new
|
||||
config etc/ppp/peers/wvdial-pipe.new
|
||||
config etc/ppp/peers/wvdial.new
|
||||
|
|
@ -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 ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
wvdial: wvdial (ppp dialer app)
|
||||
wvdial:
|
||||
wvdial: wvdial is a program that makes it easy to connect your Linux
|
||||
wvdial: workstation to the Internet. It will automatically detect your
|
||||
wvdial: modem, and it can log into almost any Internet provider's
|
||||
wvdial: server without any special configuration.
|
||||
wvdial:
|
||||
wvdial: http://alumnit.ca/wiki/index.php?page=WvDial
|
||||
wvdial:
|
||||
wvdial:
|
||||
wvdial:
|
|
@ -1,74 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for wvdial
|
||||
|
||||
# Written by Vincent Batts, vbatts@batts.mine.nu
|
||||
|
||||
PRGNAM=wvdial
|
||||
VERSION=1.60
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
# Add DESTDIR support to the Makefile
|
||||
patch -u Makefile $CWD/Makefile.diff
|
||||
|
||||
make prefix=/usr MANDIR=/usr/man
|
||||
make prefix=/usr MANDIR=/usr/man install DESTDIR=$PKG
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
( cd $PKG/usr/man
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
)
|
||||
|
||||
# Add a sample config file, and don't clobber any of them on upgrades
|
||||
cat $CWD/wvdial.conf > $PKG/etc/wvdial.conf.new
|
||||
mv $PKG/etc/ppp/peers/wvdial-pipe $PKG/etc/ppp/peers/wvdial-pipe.new
|
||||
mv $PKG/etc/ppp/peers/wvdial $PKG/etc/ppp/peers/wvdial.new
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
CHANGES COPYING.LIB ChangeLog FAQ README TODO MENUS \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
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-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
|
@ -1,21 +0,0 @@
|
|||
|
||||
[Dialer Defaults]
|
||||
Modem = /dev/modem
|
||||
Baud = 57600
|
||||
Init1 = ATZ
|
||||
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
|
||||
Init3 =
|
||||
Area Code =
|
||||
Phone = 0
|
||||
Username =
|
||||
Password =
|
||||
Ask Password = 0
|
||||
Dial Command = ATDT
|
||||
Stupid Mode = 1
|
||||
Compuserve = 0
|
||||
Force Address =
|
||||
Idle Seconds = 300
|
||||
DialMessage1 =
|
||||
DialMessage2 =
|
||||
ISDN = 0
|
||||
Auto DNS = 1
|
|
@ -1,10 +0,0 @@
|
|||
PRGNAM="wvdial"
|
||||
VERSION="1.60"
|
||||
HOMEPAGE="http://alumnit.ca/wiki/index.php?page=WvDial"
|
||||
DOWNLOAD="http://alumnit.ca/download/wvdial-1.60.tar.gz"
|
||||
MD5SUM="27fbbde89f8fd9f6e735a8efa5217fc9"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Vincent Batts"
|
||||
EMAIL="vbatts@batts.mine.nu"
|
||||
APPROVED="rworkman"
|
Loading…
Reference in a new issue