summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/a/sysvinit-scripts/scripts/rc.cpufreq8
-rwxr-xr-xsource/a/sysvinit-scripts/sysvinit-scripts.SlackBuild2
-rwxr-xr-xsource/d/bison/bison.SlackBuild29
-rw-r--r--source/d/bison/slack-desc12
4 files changed, 44 insertions, 7 deletions
diff --git a/source/a/sysvinit-scripts/scripts/rc.cpufreq b/source/a/sysvinit-scripts/scripts/rc.cpufreq
index cafcb66ae..24adb8d92 100644
--- a/source/a/sysvinit-scripts/scripts/rc.cpufreq
+++ b/source/a/sysvinit-scripts/scripts/rc.cpufreq
@@ -29,6 +29,14 @@
# also provides information about the recent load.
SCALING_GOVERNOR=ondemand
+# For CPUs using intel_pstate, always use the performance governor. This also
+# provides power savings on Intel processors while avoiding the ramp-up lag
+# present when using the powersave governor (which is the default if ondemand
+# is requested on these machines):
+if [ "$(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver)" = "intel_pstate" ]; then
+ SCALING_GOVERNOR="performance"
+fi
+
# If rc.cpufreq is given an option, use it for the CPU scaling governor instead:
if [ ! -z "$1" -a "$1" != "start" ]; then
SCALING_GOVERNOR=$1
diff --git a/source/a/sysvinit-scripts/sysvinit-scripts.SlackBuild b/source/a/sysvinit-scripts/sysvinit-scripts.SlackBuild
index 1a38236aa..8876e3299 100755
--- a/source/a/sysvinit-scripts/sysvinit-scripts.SlackBuild
+++ b/source/a/sysvinit-scripts/sysvinit-scripts.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=sysvinit-scripts
VERSION=${VERSION:-2.1}
ARCH=noarch
-BUILD=${BUILD:-17}
+BUILD=${BUILD:-18}
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
diff --git a/source/d/bison/bison.SlackBuild b/source/d/bison/bison.SlackBuild
index b11ccd7e7..713fda617 100755
--- a/source/d/bison/bison.SlackBuild
+++ b/source/d/bison/bison.SlackBuild
@@ -77,6 +77,27 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Don't use icecream:
+for path_element in $(echo $PATH | tr ':' '\n') ; do
+ if [ "$path_element" = "/usr/libexec/icecc/bin" ]; then
+ continue
+ fi
+ if [ -z "$REVERSE_PATH" ]; then
+ REVERSE_PATH="$path_element"
+ else
+ REVERSE_PATH="${REVERSE_PATH}:$path_element"
+ fi
+done
+for path_element in $(echo $REVERSE_PATH | tr ':' '\n') ; do
+ if [ -z "$FORWARD_PATH" ]; then
+ FORWARD_PATH="$path_element"
+ else
+ FORWARD_PATH="${FORWARD_PATH}:$path_element"
+ fi
+done
+PATH=$FORWARD_PATH
+unset FORWARD_PATH REVERSE_PATH
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -123,6 +144,14 @@ if [ -r ChangeLog ]; then
touch -r ChangeLog $DOCSDIR/ChangeLog
fi
+# If there's a NEWS file, installing at least part of the recent history
+# is useful, but don't let it get totally out of control:
+if [ -r NEWS ]; then
+ DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION)
+ cat NEWS | head -n 1000 > $DOCSDIR/NEWS
+ touch -r NEWS $DOCSDIR/NEWS
+fi
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/source/d/bison/slack-desc b/source/d/bison/slack-desc
index 02c40f6ae..472bc0fec 100644
--- a/source/d/bison/slack-desc
+++ b/source/d/bison/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
bison: bison (parser generator similar to yacc)
bison:
-bison: GNU "Bison" is a general-purpose parser generator that converts a
+bison: GNU Bison is a general-purpose parser generator that converts a
bison: grammar description for an LALR(1) context-free grammar into a C
-bison: program to parse that grammar.
-bison:
-bison: Bison is upward compatible with Yacc: all properly-written Yacc
-bison: grammars ought to work with Bison with no change. Anyone familiar
-bison: with Yacc should be able to use Bison with little trouble.
+bison: program to parse that grammar. Bison is upward compatible with Yacc:
+bison: all properly-written Yacc grammars ought to work with Bison with no
+bison: change. Anyone familiar with Yacc should be able to use Bison with
+bison: little trouble.
bison:
+bison: Homepage: https://www.gnu.org/software/bison/
bison: