wok-current diff connman/receipt @ rev 23068
updated libgphoto2 and libgphoto2-dev (2.5.22 -> 2.5.24)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 10 07:54:37 2020 +0100 (2020-03-10) |
parents | 0e3538a79c6b |
children | 2a0479881723 |
line diff
1.1 --- a/connman/receipt Fri Dec 14 17:11:28 2018 +0100 1.2 +++ b/connman/receipt Tue Mar 10 07:54:37 2020 +0100 1.3 @@ -1,84 +1,102 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="connman" 1.7 -VERSION="1.21" 1.8 +VERSION="1.37" 1.9 CATEGORY="network" 1.10 -SHORT_DESC="Daemon for managing internet connections" 1.11 +SHORT_DESC="Daemon for managing internet connections." 1.12 MAINTAINER="slaxemulator@gmail.com" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="https://01.org/connman" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.17 -WEB_SITE="http://connman.net/" 1.18 WGET_URL="http://linux-kernel.uio.no/pub/linux/network/$PACKAGE/$TARBALL" 1.19 1.20 -DEPENDS="glib dbus iptables gnutls libnl libgcrypt udev wpa_supplicant 1.21 -dbus-helper" 1.22 -BUILD_DEPENDS="glib-dev dbus-dev iptables-dev iptables gnutls-dev libnl-dev 1.23 -openconnect udev-dev wpa_supplicant readline-dev ncursesw-dev openvpn 1.24 -bluez-dev ppp-dev libgnutls" 1.25 SUGGESTED="xl2tpd pptpclient openvpn" 1.26 +DEPENDS="dbus dbus-helper glib gnutls iptables libgcrypt libnl 1.27 + udev wpa_supplicant" 1.28 +BUILD_DEPENDS="bluez-dev dbus-dev glib-dev gnutls-dev iptables 1.29 + iptables-dev libgnutls libnl-dev ncursesw-dev openconnect 1.30 + openvpn ppp-dev readline-dev udev-dev wpa_supplicant" 1.31 1.32 # Rules to configure and make the package. 1.33 compile_rules() 1.34 { 1.35 # add dependency on libncurses.so, 1.36 - sed -i 's/-lreadline/-lreadline -lncurses/' Makefile.in 1.37 - cd $src 1.38 - ./configure \ 1.39 - --prefix=/usr \ 1.40 - --sysconfdir=/etc \ 1.41 - --localstatedir=/var \ 1.42 - --infodir=/usr/share/info \ 1.43 - --mandir=/usr/share/man \ 1.44 - --disable-gtk-doc \ 1.45 - --disable-neard \ 1.46 - --enable-polkit \ 1.47 - --enable-openconnect \ 1.48 - --enable-vpnc \ 1.49 - --enable-openvpn \ 1.50 - --enable-client \ 1.51 - --enable-test \ 1.52 + sed -i 's/-lreadline/-lreadline -lncurses/' \ 1.53 + Makefile.in 1.54 + 1.55 + # not recognised after 1.21 1.56 +# --disable-gtk-doc 1.57 + 1.58 + ./configure \ 1.59 + --prefix=/usr \ 1.60 + --sysconfdir=/etc \ 1.61 + --localstatedir=/var \ 1.62 + --infodir=/usr/share/info \ 1.63 + --mandir=/usr/share/man \ 1.64 + --disable-neard \ 1.65 + --enable-polkit \ 1.66 + --enable-openconnect \ 1.67 + --enable-vpnc \ 1.68 + --enable-openvpn \ 1.69 + --enable-client \ 1.70 + --enable-test \ 1.71 $CONFIGURE_ARGS && 1.72 - make && make DESTDIR=$DESTDIR install 1.73 + make && 1.74 + make DESTDIR=$DESTDIR install 1.75 } 1.76 1.77 # Rules to gen a SliTaz package suitable for Tazpkg. 1.78 genpkg_rules() 1.79 { 1.80 - # dbus conf 1.81 - mkdir -p $fs/etc 1.82 - cp -a $install/etc/dbus-1 $fs/etc 1.83 - # conman exec 1.84 + # dbus configuration 1.85 + mkdir -p $fs/etc/dbus-1 1.86 + cp -a $install/usr/share/dbus-1/system.d \ 1.87 + $fs/etc/dbus-1 1.88 + 1.89 + # connman exec 1.90 mkdir -p $fs/usr 1.91 - cp -a $install/usr/sbin $fs/usr 1.92 - # libs 1.93 + cp -a $install/usr/sbin $fs/usr 1.94 + 1.95 + # libraries 1.96 mkdir -p $fs/usr/lib/connman/plugins-vpn 1.97 cp -a $install/usr/lib/connman/plugins-vpn/*.so \ 1.98 - $fs/usr/lib/connman/plugins-vpn 1.99 + $fs/usr/lib/connman/plugins-vpn 1.100 # vpn scripts 1.101 mkdir -p $fs/usr/lib/connman/scripts 1.102 - cp -a $install/usr/lib/connman/scripts $fs/usr/lib/connman 1.103 + cp -a $install/usr/lib/connman/scripts \ 1.104 + $fs/usr/lib/connman 1.105 + 1.106 # share 1.107 - cp -a $install/usr/share $fs/usr 1.108 + mkdir -p $fs/usr/share 1.109 + cp -a $install/usr/share/man $fs/usr/share 1.110 + cp -a $install/usr/share/polkit-1 \ 1.111 + $fs/usr/share 1.112 + 1.113 # init script 1.114 - cp -a $stuff/etc $fs 1.115 + cp -a $stuff/etc $fs 1.116 } 1.117 1.118 # Pre and post remove commands for Tazpkg 1.119 post_install() 1.120 { 1.121 - if ! grep -qs ^CONNMAND_OPTIONS "$1/etc/daemons.conf"; then 1.122 + if ! grep -qs ^CONNMAND_OPTIONS "$1/etc/daemons.conf" 1.123 + then 1.124 echo '# Connman daemon options.' >> "$1/etc/daemons.conf" 1.125 echo 'CONNMAND_OPTIONS=""' >> "$1/etc/daemons.conf" 1.126 echo '' >> "$1/etc/daemons.conf" 1.127 fi 1.128 - if [ -z "$1" -a -s /etc/network.conf ]; then 1.129 + 1.130 + if [ -z "$1" -a -s /etc/network.conf ] 1.131 + then 1.132 /etc/init.d/connman start || /etc/init.d/connman restart 1.133 fi 1.134 } 1.135 1.136 pre_remove() 1.137 { 1.138 - if [ -z "$1" ]; then 1.139 + if [ -z "$1" ] 1.140 + then 1.141 /etc/init.d/connman stop 2> /dev/null 1.142 fi 1.143 }