connman-paketlendi
This commit is contained in:
parent
9a7378ca79
commit
e1f9e73687
|
@ -0,0 +1,22 @@
|
||||||
|
#
|
||||||
|
# /etc/rc.d/connamnd: start/stop connman
|
||||||
|
#
|
||||||
|
|
||||||
|
case $1 in
|
||||||
|
start)
|
||||||
|
connmand
|
||||||
|
;;
|
||||||
|
stop)
|
||||||
|
killall connmand
|
||||||
|
;;
|
||||||
|
restart)
|
||||||
|
$0 stop
|
||||||
|
$0 start
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Usage: $0 [start|stop|restart]"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# End of file
|
||||||
|
# vim: set ft=sh noet :
|
|
@ -0,0 +1,34 @@
|
||||||
|
# Description: Wireless LAN network daemon. (git checkout)
|
||||||
|
# URL: https://01.org/connman
|
||||||
|
# Packager: milisarge
|
||||||
|
# Depends on: dbus gnutls glib xtables-addons openconnect openvpn wpa-supplicant
|
||||||
|
# Optional: pptp bluez
|
||||||
|
|
||||||
|
name=connman
|
||||||
|
version=git
|
||||||
|
release=1
|
||||||
|
source=(rc.connmand)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $DERLEME_KAYNAKDIZIN
|
||||||
|
|
||||||
|
if cd $name; then
|
||||||
|
git fetch -q; git reset --hard origin/master
|
||||||
|
else
|
||||||
|
git clone git://git.kernel.org/pub/scm/network/connman/connman.git -b master $name
|
||||||
|
cd $name
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
./bootstrap-configure
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--bindir=/usr/bin \
|
||||||
|
--mandir=/usr/share/man \
|
||||||
|
--enable-openvpn \
|
||||||
|
--enable-client \
|
||||||
|
--enable-polkit
|
||||||
|
|
||||||
|
make
|
||||||
|
make DESTDIR=$PKG install
|
||||||
|
install -D -m 0755 $SRC/rc.connmand $PKG/etc/rc.d/init.d/connmand
|
||||||
|
}
|
|
@ -1,35 +1,22 @@
|
||||||
# Description: The principal firewall tool for Linux.
|
# Description: A Linux kernel packet filter control tool
|
||||||
# URL: http://www.iptables.org/
|
# URL: http://www.iptables.org/
|
||||||
# Packager: pierre at nutyx dot org
|
# Packager: milisarge
|
||||||
|
# Depends on:
|
||||||
|
|
||||||
name=iptables
|
name=iptables
|
||||||
version=1.6.0
|
version=1.6.0
|
||||||
release=1
|
release=1
|
||||||
|
source=(ftp://ftp.netfilter.org/pub/iptables/$name-$version.tar.bz2)
|
||||||
|
|
||||||
source=( http://www.netfilter.org/projects/iptables/files/$name-$version.tar.bz2)
|
build () {
|
||||||
build() {
|
cd $name-$version
|
||||||
source /etc/blfs-bootscripts
|
./configure --prefix=/usr \
|
||||||
wget http://www.linuxfromscratch.org/blfs/downloads/svn/blfs-bootscripts-$scriptsversion.tar.bz2
|
--libexecdir=/usr/lib \
|
||||||
tar xvf $scripts-$scriptsversion.tar.bz2
|
--enable-libipq \
|
||||||
|
--with-xtlibdir=/lib/xtables \
|
||||||
cd $name-$version
|
--enable-devel \
|
||||||
|
--with-pkgconfigdir=/usr/lib/pkgconfig \
|
||||||
./configure --prefix=/usr \
|
--disable-nftables
|
||||||
--sbindir=/sbin \
|
make
|
||||||
--with-xtlibdir=/lib/xtables \
|
make DESTDIR=$PKG install
|
||||||
--with-pkgconfigdir=/usr/lib/pkgconfig \
|
|
||||||
--enable-libipq \
|
|
||||||
--disable-nftables \
|
|
||||||
--enable-devel
|
|
||||||
make
|
|
||||||
make DESTDIR=$PKG install
|
|
||||||
|
|
||||||
ln -sfv ../../sbin/xtables-multi $PKG/usr/bin/iptables-xml
|
|
||||||
for file in ip4tc ip6tc ipq iptc xtables
|
|
||||||
do
|
|
||||||
mv -v $PKG/usr/lib/lib${file}.so.* $PKG/lib
|
|
||||||
ln -sfv ../../lib/$(readlink $PKG/usr/lib/lib${file}.so) $PKG/usr/lib/${file}.so
|
|
||||||
done
|
|
||||||
cd ../$scripts-$scriptsversion
|
|
||||||
make DESTDIR=$PKG install-$name
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
# Description: An SSL VPN client.
|
||||||
|
# URL: http://infradead.org/openconnect
|
||||||
|
# Packager: milisarge
|
||||||
|
# Depends on: libxml2 openssl pkg-config vpnc zlib
|
||||||
|
|
||||||
|
name=openconnect
|
||||||
|
version=7.06
|
||||||
|
release=1
|
||||||
|
source=(ftp://ftp.infradead.org/pub/$name/$name-$version.tar.gz)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--bindir=/usr/bin \
|
||||||
|
--mandir=/usr/share/man \
|
||||||
|
--disable-static
|
||||||
|
|
||||||
|
make
|
||||||
|
make DESTDIR=$PKG install
|
||||||
|
}
|
|
@ -0,0 +1,65 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# /etc/rc.d/openvpn: start/stop openvpn daemon
|
||||||
|
#
|
||||||
|
|
||||||
|
CONFDIR=/etc/openvpn
|
||||||
|
RUNDIR=/var/run
|
||||||
|
|
||||||
|
# optional arguments to openvpn
|
||||||
|
OPTARGS="--fast-io"
|
||||||
|
|
||||||
|
usage() {
|
||||||
|
echo "Usage: $0 [start|stop|restart] <config-name>"
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
|
# require a config name to be specified
|
||||||
|
if [ -z "$2" ]
|
||||||
|
then
|
||||||
|
usage
|
||||||
|
fi
|
||||||
|
|
||||||
|
CONF=${CONFDIR}/${2}.conf
|
||||||
|
PID=${RUNDIR}/openvpn.${2}.pid
|
||||||
|
|
||||||
|
# check for the existence of the specified config
|
||||||
|
if [ ! -f ${CONF} ]
|
||||||
|
then
|
||||||
|
echo "Can't find config file ${CONF}! Exiting."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
case $1 in
|
||||||
|
start)
|
||||||
|
# check for an existing PID; this tunnel may already be running
|
||||||
|
if [ -f ${PID} ]
|
||||||
|
then
|
||||||
|
echo "VPN '${2}' appears to be running already. If not, remove the stale PID file '${PID}'. Exiting."
|
||||||
|
exit 2
|
||||||
|
fi
|
||||||
|
# start the specified VPN config
|
||||||
|
echo "Starting VPN '${2}'..."
|
||||||
|
/usr/sbin/openvpn --config ${CONF} --writepid ${PID} --daemon ovpn-${2} ${OPTARGS}
|
||||||
|
;;
|
||||||
|
stop)
|
||||||
|
# check for an existing PID; this tunnel should already be running
|
||||||
|
if [ ! -f ${PID} ]
|
||||||
|
then
|
||||||
|
echo "VPN '${2}' doesn't appear to be running. Exiting."
|
||||||
|
exit 3
|
||||||
|
fi
|
||||||
|
# stop the specified VPN config
|
||||||
|
echo "Stopping VPN '${2}'..."
|
||||||
|
kill `cat ${PID}`
|
||||||
|
rm -f ${PID}
|
||||||
|
;;
|
||||||
|
restart)
|
||||||
|
${0} stop ${2}; sleep 3; ${0} start ${2}
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
usage
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# End of file
|
|
@ -0,0 +1,26 @@
|
||||||
|
# Description: VPN Client
|
||||||
|
# URL: http://www.openvpn.net
|
||||||
|
# Packager: milisarge
|
||||||
|
# Depends on: lzo
|
||||||
|
|
||||||
|
name=openvpn
|
||||||
|
version=2.3.10
|
||||||
|
release=1
|
||||||
|
source=(http://swupdate.openvpn.net/community/releases/$name-$version.tar.gz \
|
||||||
|
openvpnd)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
install -D -m 755 openvpnd $PKG/etc/rc.d/init.d/openvpn
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--mandir=/usr/man \
|
||||||
|
--enable-iproute2 \
|
||||||
|
--disable-plugin-auth-pam
|
||||||
|
make
|
||||||
|
make DESTDIR=$PKG install
|
||||||
|
if [ -d $PKG/usr/share/doc ];then
|
||||||
|
rm -r $PKG/usr/share/doc
|
||||||
|
fi
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
# Description: Client for cisco vpn concentrator.
|
||||||
|
# URL: https://www.unix-ag.uni-kl.de/~massar/vpnc/
|
||||||
|
# Packager: milisarge
|
||||||
|
# Depends on: libgcrypt
|
||||||
|
|
||||||
|
name=vpnc
|
||||||
|
version=0.5.3
|
||||||
|
release=1
|
||||||
|
source=(https://www.unix-ag.uni-kl.de/~massar/$name/$name-$version.tar.gz)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
make
|
||||||
|
make DESTDIR=$PKG PREFIX=/usr MANDIR=/usr/share/man install
|
||||||
|
install -Dm755 vpnc-script $PKG/etc/vpnc/vpnc-script
|
||||||
|
}
|
|
@ -1,6 +1,6 @@
|
||||||
# Description: A utility providing key negotiation for WPA wireless networks
|
# Description: A utility providing key negotiation for WPA wireless networks
|
||||||
# URL: http://hostap.epitest.fi/wpa_supplicant
|
# URL: http://hostap.epitest.fi/wpa_supplicant
|
||||||
# Packager: pierre at nutyx dot org
|
# Packager: milisarge
|
||||||
# Depends on: libnl dbus libxml2
|
# Depends on: libnl dbus libxml2
|
||||||
|
|
||||||
name=wpa-supplicant
|
name=wpa-supplicant
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
# Description: Xtables-addons is the proclaimed successor to patch-o-matic(-ng). It contains extensions that were not accepted in the main Xtables package.
|
||||||
|
# URL: http://xtables-addons.sourceforge.net/
|
||||||
|
# Packager: milisarge
|
||||||
|
# Depends on: iptables libmnl
|
||||||
|
|
||||||
|
name=xtables-addons
|
||||||
|
version=2.10
|
||||||
|
release=1
|
||||||
|
source=(http://downloads.sourceforge.net/project/$name/Xtables-addons/$name-$version.tar.xz)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--libexecdir=/usr/lib \
|
||||||
|
--mandir=/usr/man \
|
||||||
|
--disable-dependency-tracking
|
||||||
|
|
||||||
|
make
|
||||||
|
make DESTDIR=$PKG install
|
||||||
|
}
|
Loading…
Reference in New Issue