diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2021-04-21 22:09:01 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-21 22:09:01 -0500 |
commit | 3230c51ab9719bf4978c0e9cd13c4bace927a9da (patch) | |
tree | b60317702547b0293dfa04547b07bcb9defdb969 /network/connman/connman.SlackBuild | |
parent | 102b594f36b4d12503e9a7df70b0f3332c6b5318 (diff) |
network/connman: Removed (no maintainer)
Diffstat (limited to 'network/connman/connman.SlackBuild')
-rw-r--r-- | network/connman/connman.SlackBuild | 119 |
1 files changed, 0 insertions, 119 deletions
diff --git a/network/connman/connman.SlackBuild b/network/connman/connman.SlackBuild deleted file mode 100644 index 2cee777343b7c..0000000000000 --- a/network/connman/connman.SlackBuild +++ /dev/null @@ -1,119 +0,0 @@ -#!/bin/sh - -# Slackware build script for connman - -# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org - -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version, with the following exception: -# the text of the GPL license may be omitted. - -# This program is distributed in the hope that it will be useful, but -# without any warranty; without even the implied warranty of -# merchantability or fitness for a particular purpose. Compiling, -# interpreting, executing or merely reading the text of the program -# may result in lapses of consciousness and/or very being, up to and -# including the end of all existence and the Universe as we know it. -# See the GNU General Public License for more details. - -# You may have received a copy of the GNU General Public License along -# with this program (most likely, a file named COPYING). If not, see -# <http://www.gnu.org/licenses/>. - -PRGNAM=connman -VERSION=${VERSION:-1.32} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -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 $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* -cd $PRGNAM-$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 {} \; - -patch -p1 < $CWD/allow_group_network.diff - -# fix cmst issue -sed -i "s|deny|allow|" plugins/connman-nmcompat.conf - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -LIBS=-lncurses \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --enable-nmcompat \ - --enable-polkit \ - --enable-openvpn \ - --enable-client \ - --build=${ARCH}-slackware-linux - -make -make install DESTDIR=$PKG - -cp -av client/connmanctl $PKG/usr/sbin/ - -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 - -mkdir -p ${PKG}/etc/rc.d -install -m 644 ${CWD}/rc.connmand ${PKG}/etc/rc.d/ - -mkdir -p ${PKG}/usr/doc/${PRGNAM}-${VERSION} -install -m644 AUTHORS COPYING ChangeLog INSTALL README TODO doc/*.txt \ - ${PKG}/usr/doc/${PRGNAM}-${VERSION}/ -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p ${PKG}/usr/doc/${PRGNAM}-${VERSION}/api -mv ${PKG}/usr/doc/${PRGNAM}-${VERSION}/{*-api.txt,api/} - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |