summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rwxr-xr-xsource/d/rust/rust.SlackBuild8
-rw-r--r--source/d/rust/rust.url16
-rw-r--r--source/k/kernel-configs/config-generic-4.14.60 (renamed from source/k/kernel-configs/config-generic-4.14.59)2
-rw-r--r--source/k/kernel-configs/config-generic-4.14.60.x64 (renamed from source/k/kernel-configs/config-generic-4.14.59.x64)2
-rw-r--r--source/k/kernel-configs/config-generic-smp-4.14.60-smp (renamed from source/k/kernel-configs/config-generic-smp-4.14.59-smp)2
-rw-r--r--source/k/kernel-configs/config-huge-4.14.60 (renamed from source/k/kernel-configs/config-huge-4.14.59)2
-rw-r--r--source/k/kernel-configs/config-huge-4.14.60.x64 (renamed from source/k/kernel-configs/config-huge-4.14.59.x64)2
-rw-r--r--source/k/kernel-configs/config-huge-smp-4.14.60-smp (renamed from source/k/kernel-configs/config-huge-smp-4.14.59-smp)2
-rw-r--r--source/xap/blueman/30-blueman-netdev-allow-access.rules10
-rwxr-xr-xsource/xap/blueman/blueman.SlackBuild6
-rw-r--r--source/xap/blueman/doinst.sh1
11 files changed, 34 insertions, 19 deletions
diff --git a/source/d/rust/rust.SlackBuild b/source/d/rust/rust.SlackBuild
index 8cc0ceda..c5294aec 100755
--- a/source/d/rust/rust.SlackBuild
+++ b/source/d/rust/rust.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=rust
SRCNAM="${PKGNAM}c"
-VERSION=${VERSION:-1.27.2}
+VERSION=${VERSION:-1.28.0}
BUILD=${BUILD:-1}
# Set this to YES to build with the system LLVM, or NO to use the bundled LLVM.
@@ -34,9 +34,9 @@ BUILD=${BUILD:-1}
SYSTEM_LLVM=${SYSTEM_LLVM:-NO}
# Bootstrap variables (might not be kept updated for latest Rust):
-RSTAGE0_VERSION=${RSTAGE0_VERSION:-1.26.0}
-RSTAGE0_DIR=${RSTAGE0_DIR:-2018-05-10}
-CSTAGE0_VERSION=${CSTAGE0_VERSION:-0.27.0}
+RSTAGE0_VERSION=${RSTAGE0_VERSION:-1.27.2}
+RSTAGE0_DIR=${RSTAGE0_DIR:-2018-07-20}
+CSTAGE0_VERSION=${CSTAGE0_VERSION:-0.28.0}
CSTAGE0_DIR=${CSTAGE0_DIR:-$RSTAGE0_DIR}
# Automatically determine the architecture we're building on:
diff --git a/source/d/rust/rust.url b/source/d/rust/rust.url
index 0c411bc1..ce929cd3 100644
--- a/source/d/rust/rust.url
+++ b/source/d/rust/rust.url
@@ -1,7 +1,7 @@
# Source code (repacked to .tar.xz):
-lftpget https://static.rust-lang.org/dist/rustc-1.27.2-src.tar.gz
+lftpget https://static.rust-lang.org/dist/rustc-1.28.0-src.tar.gz
gzip -d rustc-*tar.gz
-plzip -n 6 -9 -v rustc-*tar
+plzip -9 -v rustc-*tar
# Please note that the bootstrap binary packages listed below might not be kept
# updated for later versions. The Rust compiler as shipped with Slackware
@@ -12,12 +12,12 @@ plzip -n 6 -9 -v rustc-*tar
exit 0
# i686 bootstrap:
-lftpget https://static.rust-lang.org/dist/2018-05-10/cargo-0.27.0-i686-unknown-linux-gnu.tar.gz
-lftpget https://static.rust-lang.org/dist/2018-05-10/rust-std-1.26.0-i686-unknown-linux-gnu.tar.gz
-lftpget https://static.rust-lang.org/dist/2018-05-10/rustc-1.26.0-i686-unknown-linux-gnu.tar.gz
+lftpget https://static.rust-lang.org/dist/2018-07-20/cargo-0.28.0-i686-unknown-linux-gnu.tar.gz
+lftpget https://static.rust-lang.org/dist/2018-07-20/rust-std-1.27.2-i686-unknown-linux-gnu.tar.gz
+lftpget https://static.rust-lang.org/dist/2018-07-20/rustc-1.27.2-i686-unknown-linux-gnu.tar.gz
# x86_64 bootstrap:
-lftpget https://static.rust-lang.org/dist/2018-05-10/cargo-0.27.0-x86_64-unknown-linux-gnu.tar.gz
-lftpget https://static.rust-lang.org/dist/2018-05-10/rust-std-1.26.0-x86_64-unknown-linux-gnu.tar.gz
-lftpget https://static.rust-lang.org/dist/2018-05-10/rustc-1.26.0-x86_64-unknown-linux-gnu.tar.gz
+lftpget https://static.rust-lang.org/dist/2018-07-20/cargo-0.28.0-x86_64-unknown-linux-gnu.tar.gz
+lftpget https://static.rust-lang.org/dist/2018-07-20/rust-std-1.27.2-x86_64-unknown-linux-gnu.tar.gz
+lftpget https://static.rust-lang.org/dist/2018-07-20/rustc-1.27.2-x86_64-unknown-linux-gnu.tar.gz
diff --git a/source/k/kernel-configs/config-generic-4.14.59 b/source/k/kernel-configs/config-generic-4.14.60
index 726ffb00..dc7c0ce7 100644
--- a/source/k/kernel-configs/config-generic-4.14.59
+++ b/source/k/kernel-configs/config-generic-4.14.60
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 4.14.59 Kernel Configuration
+# Linux/x86 4.14.60 Kernel Configuration
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
diff --git a/source/k/kernel-configs/config-generic-4.14.59.x64 b/source/k/kernel-configs/config-generic-4.14.60.x64
index 900128f7..063b3823 100644
--- a/source/k/kernel-configs/config-generic-4.14.59.x64
+++ b/source/k/kernel-configs/config-generic-4.14.60.x64
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 4.14.59 Kernel Configuration
+# Linux/x86 4.14.60 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
diff --git a/source/k/kernel-configs/config-generic-smp-4.14.59-smp b/source/k/kernel-configs/config-generic-smp-4.14.60-smp
index e1828be1..c839727e 100644
--- a/source/k/kernel-configs/config-generic-smp-4.14.59-smp
+++ b/source/k/kernel-configs/config-generic-smp-4.14.60-smp
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 4.14.59 Kernel Configuration
+# Linux/x86 4.14.60 Kernel Configuration
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
diff --git a/source/k/kernel-configs/config-huge-4.14.59 b/source/k/kernel-configs/config-huge-4.14.60
index 2ac777ac..49946e7a 100644
--- a/source/k/kernel-configs/config-huge-4.14.59
+++ b/source/k/kernel-configs/config-huge-4.14.60
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 4.14.59 Kernel Configuration
+# Linux/x86 4.14.60 Kernel Configuration
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
diff --git a/source/k/kernel-configs/config-huge-4.14.59.x64 b/source/k/kernel-configs/config-huge-4.14.60.x64
index 329acab9..6768f764 100644
--- a/source/k/kernel-configs/config-huge-4.14.59.x64
+++ b/source/k/kernel-configs/config-huge-4.14.60.x64
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 4.14.59 Kernel Configuration
+# Linux/x86 4.14.60 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
diff --git a/source/k/kernel-configs/config-huge-smp-4.14.59-smp b/source/k/kernel-configs/config-huge-smp-4.14.60-smp
index 614cfc83..2e29c39e 100644
--- a/source/k/kernel-configs/config-huge-smp-4.14.59-smp
+++ b/source/k/kernel-configs/config-huge-smp-4.14.60-smp
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 4.14.59 Kernel Configuration
+# Linux/x86 4.14.60 Kernel Configuration
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
diff --git a/source/xap/blueman/30-blueman-netdev-allow-access.rules b/source/xap/blueman/30-blueman-netdev-allow-access.rules
new file mode 100644
index 00000000..9ef313c7
--- /dev/null
+++ b/source/xap/blueman/30-blueman-netdev-allow-access.rules
@@ -0,0 +1,10 @@
+/* Allow users in netdev group to use blueman feature requiring root without authentication */
+polkit.addRule(function(action, subject) {
+ if ((action.id == "org.blueman.network.setup" ||
+ action.id == "org.blueman.dhcp.client" ||
+ action.id == "org.blueman.rfkill.setstate" ||
+ action.id == "org.blueman.pppd.pppconnect") &&
+ subject.isInGroup("netdev")) {
+ return polkit.Result.YES;
+ }
+});
diff --git a/source/xap/blueman/blueman.SlackBuild b/source/xap/blueman/blueman.SlackBuild
index 87d0134a..fc7e8ca1 100755
--- a/source/xap/blueman/blueman.SlackBuild
+++ b/source/xap/blueman/blueman.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=blueman
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -115,6 +115,10 @@ sed -i "s,#!/usr/bin/env python,#!/usr/bin/python${PYTHON3VER},g" module/_bluema
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
+# Install default rules allowing users in the netdev group to make changes:
+mkdir -p $PKG/etc/polkit-1/rules.d
+zcat $CWD/30-blueman-netdev-allow-access.rules.gz > $PKG/etc/polkit-1/rules.d/30-blueman-netdev-allow-access.rules.new
+
# Remove the AppIndicator.py plugin (we don't have libappindicator3
# nor will we be getting it in the foreseeable future)
rm ${PKG}$PYTHON3LIB/blueman/plugins/applet/AppIndicator.py
diff --git a/source/xap/blueman/doinst.sh b/source/xap/blueman/doinst.sh
index 80889369..16e49ab9 100644
--- a/source/xap/blueman/doinst.sh
+++ b/source/xap/blueman/doinst.sh
@@ -10,6 +10,7 @@ config() {
fi
# Otherwise, we leave the .new copy for the admin to consider...
}
+config etc/polkit-1/rules.d/30-blueman-netdev-allow-access.rules.new
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1