sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (27623e65373680d17dd29f261cf09066dadf1878)
- From: Vlad Glagolev <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (27623e65373680d17dd29f261cf09066dadf1878)
- Date: Wed, 13 Jul 2016 21:07:43 +0000
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
ChangeLog | 3 +
net/connman-gtk/BUILD | 5 +++
net/connman-gtk/CONFIGURE | 3 +
net/connman-gtk/DEPENDS | 7 ++++
net/connman-gtk/DETAILS | 15 +++++++++
net/connman-gtk/HISTORY | 2 +
net/connman/BUILD | 3 +
net/connman/CONFIGURE | 45 ++++++++++++++++++++++++++--
net/connman/DEPENDS | 63
++++++++++++++++++++++++++++++++++++++--
net/connman/DETAILS | 10 +++---
net/connman/HISTORY | 9 +++++
net/connman/INSTALL | 6 +++
net/connman/init.d/connman | 5 +--
net/connman/init.d/connman.conf | 3 +
14 files changed, 166 insertions(+), 13 deletions(-)
New commits:
commit 27623e65373680d17dd29f261cf09066dadf1878
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
connman-gtk: new spell, ConnMan GTK GUI
commit 4c1a75c1877af46d3126484ab26b70f769d36c33
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
connman: => 1.32
diff --git a/ChangeLog b/ChangeLog
index ee0630f..1626b48 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2016-07-13 Vlad Glagolev <stealth AT sourcemage.org>
+ * net/connman-gtk: new spell, ConnMan GTK GUI
+
2016-07-12 Vlad Glagolev <stealth AT sourcemage.org>
* accounts, groups: added account data for upcoming bird spell
* net/bird: new spell, BIRD internet routing daemon
diff --git a/net/connman-gtk/BUILD b/net/connman-gtk/BUILD
new file mode 100755
index 0000000..b9708a0
--- /dev/null
+++ b/net/connman-gtk/BUILD
@@ -0,0 +1,5 @@
+OPTS="--disable-silent-rules \
+ $CONNMAN_GTK_OPTS \
+ $OPTS" &&
+
+default_build
diff --git a/net/connman-gtk/CONFIGURE b/net/connman-gtk/CONFIGURE
new file mode 100755
index 0000000..3ef07f6
--- /dev/null
+++ b/net/connman-gtk/CONFIGURE
@@ -0,0 +1,3 @@
+config_query_option CONNMAN_GTK_OPTS "Enable the status icon?" y \
+ "--enable-status-icon" \
+ "--disable-status-icon"
diff --git a/net/connman-gtk/DEPENDS b/net/connman-gtk/DEPENDS
new file mode 100755
index 0000000..0f26f4d
--- /dev/null
+++ b/net/connman-gtk/DEPENDS
@@ -0,0 +1,7 @@
+depends glib2 &&
+depends gtk+3 &&
+
+optional_depends gettext \
+ "--enable-nls" \
+ "--disable-nls" \
+ "for Native Language Support"
diff --git a/net/connman-gtk/DETAILS b/net/connman-gtk/DETAILS
new file mode 100755
index 0000000..da3edab
--- /dev/null
+++ b/net/connman-gtk/DETAILS
@@ -0,0 +1,15 @@
+ SPELL=connman-gtk
+ VERSION=1.1.1
+ SOURCE=${SPELL}-${VERSION}.tar.bz2
+
SOURCE_URL[0]=https://github.com/jgke/${SPELL}/releases/download/v${VERSION}/${SOURCE}
+
SOURCE_HASH=sha512:aaa35a8cf3bbf7b0ba6d2831112c8993d67018457d8987bc14927377a0caecf5c6e773fbdfb9db07a3aefbbee18b5f699441b34bf1f0b285ca48c9d00425d228
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ DOC_DIRS=""
+ WEB_SITE=https://github.com/jgke/connman-gtk
+ ENTERED=20160713
+ LICENSE[0]=GPL
+ KEYWORDS="network"
+ SHORT="ConnMan GTK GUI"
+cat << EOF
+GTK+3 GUI for connman daemon managing internet connections.
+EOF
diff --git a/net/connman-gtk/HISTORY b/net/connman-gtk/HISTORY
new file mode 100644
index 0000000..ecef516
--- /dev/null
+++ b/net/connman-gtk/HISTORY
@@ -0,0 +1,2 @@
+2016-07-13 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, PRE_BUILD, CONFIGURE: created spell, version 1.1.1
diff --git a/net/connman/BUILD b/net/connman/BUILD
index 175eda5..964cbe5 100755
--- a/net/connman/BUILD
+++ b/net/connman/BUILD
@@ -1,2 +1,3 @@
-OPTS="$OPTS $CONNMAN_ETH $CONNMAN_WIFI $CONNMAN_BLT" &&
+OPTS="${CONNMAN_OPTS} ${OPTS}" &&
+
default_build
diff --git a/net/connman/CONFIGURE b/net/connman/CONFIGURE
index 9dae493..11574f7 100755
--- a/net/connman/CONFIGURE
+++ b/net/connman/CONFIGURE
@@ -1,3 +1,42 @@
-config_query_option CONNMAN_ETH 'Enable Ethernet card support ?
(reccomended)' y '--enable-ethernet' '' &&
-config_query_option CONNMAN_WIFI 'Enable WiFi card support ?' y
'--enable-wifi' '' &&
-config_query_option CONNMAN_BLT 'Enable Bluetooth support ?' y
'--enable-bluetooth' ''
+# dropping legacy options
+for o in CONNMAN_ETH CONNMAN_WIFI CONNMAN_BLT; do
+ if [[ -n ${!o} ]]; then
+ persistent_remove ${o}
+ fi
+done &&
+
+config_query_option CONNMAN_OPTS "Enable Intel OSPM support?" n \
+ "--enable-iospm" \
+ "--disable-iospm" &&
+
+config_query_option CONNMAN_OPTS "Enable TI Shared Transport support" n \
+ "--enable-tist" \
+ "--disable-tist" &&
+
+config_query_option CONNMAN_OPTS "Enable local file Session policy
configuration support?" n \
+ "--enable-session-policy-local" \
+ "--disable-session-policy-local" &&
+
+config_query_option CONNMAN_OPTS "Enable loopback support?" y \
+ "--enable-loopback" \
+ "--disable-loopback" &&
+
+config_query_option CONNMAN_OPTS "Enable Ethernet support?" y \
+ "--enable-ethernet" \
+ "--disable-ethernet" &&
+
+config_query_option CONNMAN_OPTS "Enable USB Gadget support?" y \
+ "--enable-gadget" \
+ "--disable-gadget" &&
+
+config_query_option CONNMAN_OPTS "Enable oFono support?" y \
+ "--enable-ofono" \
+ "--disable-ofono" &&
+
+config_query_option CONNMAN_OPTS "Enable PACrunner support?" y \
+ "--enable-pacrunner" \
+ "--disable-pacrunner" &&
+
+config_query_option CONNMAN_OPTS "Enable Neard support" y \
+ "--enable-neard" \
+ "--disable-neard"
diff --git a/net/connman/DEPENDS b/net/connman/DEPENDS
index d1cc010..97adb05 100755
--- a/net/connman/DEPENDS
+++ b/net/connman/DEPENDS
@@ -1,5 +1,64 @@
depends glib2 &&
depends DEVICE-MANAGER &&
depends dbus &&
-depends iptables &&
-depends gnutls
+
+optional_depends readline \
+ "--enable-client" \
+ "--disable-client" \
+ "to build command line client" &&
+
+optional_depends iptables \
+ "--enable-tools" \
+ "--disable-tools" \
+ "for testing tools" &&
+
+optional_depends openvpn \
+ "--enable-openvpn" \
+ "--disable-openvpn" \
+ "for OpenVPN support" &&
+
+optional_depends vpnc \
+ "--enable-vpnc" \
+ "--disable-vpnc" \
+ "for vpnc support" &&
+
+optional_depends xl2tpd \
+ "--enable-l2tp" \
+ "--disable-l2tp" \
+ "for L2TP support" &&
+
+optional_depends pptp-linux \
+ "--enable-pptp" \
+ "--disable-pptp" \
+ "for PPTP support" &&
+
+optional_depends wpa_supplicant \
+ "--enable-wifi" \
+ "--disable-wifi" \
+ "for Wi-Fi support" &&
+
+optional_depends bluez5 \
+ "--enable-bluetooth" \
+ "--disable-bluetooth" \
+ "for Bluetooth support" &&
+
+if is_depends_enabled ${SPELL} bluez5; then
+ config_query_option CONNMAN_OPTS "Enable dundee support (Bluetooth DUN)?"
y \
+ "--enable-dundee" \
+ "--disable-dundee"
+fi &&
+
+optional_depends policykit \
+ "--enable-polkit" \
+ "--disable-polkit" \
+ "for PolicyKit support" &&
+
+optional_depends libselinux \
+ "--enable-selinux" \
+ "--disable-selinux" \
+ "for SELinux support" &&
+
+optional_depends gnutls \
+ "--enable-wispr" \
+ "--disable-wispr" \
+ "for WISPr support"
diff --git a/net/connman/DETAILS b/net/connman/DETAILS
index cc5cb02..671801d 100755
--- a/net/connman/DETAILS
+++ b/net/connman/DETAILS
@@ -1,13 +1,13 @@
SPELL=connman
- VERSION=1.9
+ VERSION=1.32
SOURCE=${SPELL}-${VERSION}.tar.xz
-SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}-${VERSION}
SOURCE_URL[0]=http://www.kernel.org/pub/linux/network/${SPELL}/${SOURCE}
- WEB_SITE=http://connman.net/
-
SOURCE_HASH=sha512:5a650ec827b9d7b7c4c3eac9cbae64833a19578b0501da81ee18c667d3c1edab66fc0d7e8f6d28b5b7d42d825e39751bcf125946753ac71e106d86ead56183bd
- ENTERED=20100220
+
SOURCE_HASH=sha512:031b876f98b27c1a657af1e5242d06d9295f3710053c365fc94b13f386fe25e150ef95fbed81462c0d770522625bd5f55c621f5ecb1ad638dd64779c3e444066
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=https://01.org/connman
LICENSE=GPL
KEYWORDS="network"
+ ENTERED=20100220
SHORT="A daemon for managing internet connections"
cat << EOF
The ConnMan project provides a daemon for managing internet connections
within
diff --git a/net/connman/HISTORY b/net/connman/HISTORY
index 0e293b0..cbc47bf 100644
--- a/net/connman/HISTORY
+++ b/net/connman/HISTORY
@@ -1,3 +1,12 @@
+2016-07-13 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: updated spell to 1.32; updated website; quoting paths
+ * DEPENDS: gnutls and iptables are optional; added missing deps
+ * BUILD: use CONNMAN_OPTS; dropped deprecated vars
+ * CONFIGURE: dropped deprecated vars; added missing options
+ * INSTALL: added, to install init script config
+ * init.d/connman: provides network; added NEEDS and args
+ * init.d/connman.conf: added, config for init script
+
2015-02-11 Vlad Glagolev <stealth AT sourcemage.org>
* DEPENDS: UDEV -> DEVICE-MANAGER
diff --git a/net/connman/INSTALL b/net/connman/INSTALL
new file mode 100755
index 0000000..25793d3
--- /dev/null
+++ b/net/connman/INSTALL
@@ -0,0 +1,6 @@
+default_install &&
+
+if [[ $INIT_INSTALLED ]]; then
+ install_config_file "$SPELL_DIRECTORY/init.d/connman.conf" \
+ "$INSTALL_ROOT/etc/sysconfig/connman"
+fi
diff --git a/net/connman/init.d/connman b/net/connman/init.d/connman
index 26da04d..4b28fa6 100755
--- a/net/connman/init.d/connman
+++ b/net/connman/init.d/connman
@@ -1,8 +1,9 @@
#!/bin/bash
PROGRAM=/usr/sbin/connmand
-ARGS=""
+ARGS="$CONNMAND_ARGS"
RUNLEVEL=3
-NEEDS=""
+NEEDS="+local_fs smgl-messagebus"
+PROVIDES=network
. /etc/init.d/smgl_init
diff --git a/net/connman/init.d/connman.conf b/net/connman/init.d/connman.conf
new file mode 100644
index 0000000..b7a82fa
--- /dev/null
+++ b/net/connman/init.d/connman.conf
@@ -0,0 +1,3 @@
+# For arguments and description see connman(8)
+
+CONNMAND_ARGS=""
- [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (27623e65373680d17dd29f261cf09066dadf1878), Vlad Glagolev, 07/13/2016
Archive powered by MHonArc 2.6.24.