network/connman: Removed (no maintainer)
This commit is contained in:
parent
102b594f36
commit
3230c51ab9
|
@ -1,8 +0,0 @@
|
|||
connman (open source connection manager)
|
||||
|
||||
ConnMan is a daemon for managing Internet connections within embedded
|
||||
device and integrates a vast range of communication features usually
|
||||
split between many daemons such as DHCP, DNS and NTP.
|
||||
|
||||
The result of this consolidation is low memory consumption with a fast,
|
||||
coherent, synchronized reaction to changing network conditions.
|
|
@ -1,13 +0,0 @@
|
|||
--- a/src/connman-polkit.conf 2010-11-05 12:09:04.285423955 -0200
|
||||
+++ b/src/connman-polkit.conf 2010-11-05 12:10:53.041423934 -0200
|
||||
@@ -5,6 +5,9 @@
|
||||
<allow own="net.connman"/>
|
||||
<allow send_interface="net.connman.Agent"/>
|
||||
</policy>
|
||||
+ <policy group="network">
|
||||
+ <allow send_interface="net.connman.Agent"/>
|
||||
+ </policy>
|
||||
<policy context="default">
|
||||
<allow send_destination="net.connman"/>
|
||||
</policy>
|
||||
|
|
@ -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}
|
|
@ -1,10 +0,0 @@
|
|||
PRGNAM="connman"
|
||||
VERSION="1.32"
|
||||
HOMEPAGE="https://01.org/connman"
|
||||
DOWNLOAD="https://www.kernel.org/pub/linux/network/connman/connman-1.32.tar.xz"
|
||||
MD5SUM="d0c3071c1d8dec9cd17b760f862de2ad"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="orphaned - no maintainer"
|
||||
EMAIL="<nobody@nowhere>"
|
|
@ -1,33 +0,0 @@
|
|||
#!/bin/sh
|
||||
# Start/stop/restart the connman daemon.
|
||||
|
||||
connmand_start() {
|
||||
if [ -x /usr/sbin/connmand ]; then
|
||||
echo "Starting connman daemon: /usr/sbin/connmand "
|
||||
/usr/sbin/connmand
|
||||
fi
|
||||
}
|
||||
|
||||
connmand_stop() {
|
||||
killall connmand 2> /dev/null
|
||||
}
|
||||
|
||||
connmand_restart() {
|
||||
connmand_stop
|
||||
sleep 1
|
||||
connmand_start
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
'start')
|
||||
connmand_start
|
||||
;;
|
||||
'stop')
|
||||
connmand_stop
|
||||
;;
|
||||
'restart')
|
||||
connmand_restart
|
||||
;;
|
||||
*)
|
||||
echo "usage $0 start|stop|restart"
|
||||
esac
|
|
@ -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------------------------------------------------------|
|
||||
connman: connman (open source connection manager)
|
||||
connman:
|
||||
connman: ConnMan provides a daemon for managing internet connections within
|
||||
connman: embedded devices running Linux. The Connection Manager is designed
|
||||
connman: to be slim and to use as few resources as possible. It is fully
|
||||
connman: modular, and can be extended through plug-ins, to support various
|
||||
connman: wired and wireless technologies.
|
||||
connman:
|
||||
connman: https://01.org/connman
|
||||
connman:
|
||||
connman:
|
Loading…
Reference in New Issue