summaryrefslogtreecommitdiffstats
path: root/source/n/net-snmp/net-snmp.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2021-12-21 19:04:03 +0000
committer Eric Hameleers <alien@slackware.com>2021-12-22 08:59:56 +0100
commit2407271ff3add4c2710bce665239a4df3f4d41ad (patch)
tree454ca7f95b55c2ac27a1b87c34b225a948b99dab /source/n/net-snmp/net-snmp.SlackBuild
parentc7bc4d7179cfcf3ec450f8f5cec7956d81cf23f9 (diff)
downloadcurrent-2407271ff3add4c2710bce665239a4df3f4d41ad.tar.gz
current-2407271ff3add4c2710bce665239a4df3f4d41ad.tar.xz
Tue Dec 21 19:04:03 UTC 202120211221190403
ap/vim-8.2.3868-x86_64-1.txz: Upgraded. kde/breeze-icons-5.89.0-noarch-2.txz: Rebuilt. Applied upstream patches: [PATCH] improve installation of light fallback icons [PATCH] Include "*@*" in the icon_files list for installation Thanks to Heinz Wiesinger. l/gtk+3-3.24.31-x86_64-1.txz: Upgraded. l/zstd-1.5.1-x86_64-1.txz: Upgraded. n/net-snmp-5.9.1-x86_64-4.txz: Rebuilt. Moved options for snmpd from rc.snmpd to /etc/default/snmpd. Thanks to Jakub 'shasta' Jankowski. xap/vim-gvim-8.2.3868-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/n/net-snmp/net-snmp.SlackBuild')
-rwxr-xr-xsource/n/net-snmp/net-snmp.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/n/net-snmp/net-snmp.SlackBuild b/source/n/net-snmp/net-snmp.SlackBuild
index 3431458bd..55e7147eb 100755
--- a/source/n/net-snmp/net-snmp.SlackBuild
+++ b/source/n/net-snmp/net-snmp.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2014, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2014, 2018, 2020, 2021 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=net-snmp
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -133,6 +133,10 @@ zcat $CWD/snmpd.conf.gz > $PKG/etc/snmp/snmpd.conf.new
mkdir -p $PKG/etc/rc.d
cat $CWD/rc.snmpd > $PKG/etc/rc.d/rc.snmpd.new
+# Install default options file for snmpd:
+mkdir -p $PKG/etc/default
+cat $CWD/snmpd.default > $PKG/etc/default/snmpd.new
+
# Strip binaries:
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null