diff options
Diffstat (limited to 'lm_sensors')
-rw-r--r-- | lm_sensors/.SRCINFO | 33 | ||||
-rw-r--r-- | lm_sensors/PKGBUILD | 59 | ||||
-rw-r--r-- | lm_sensors/healthd | 53 | ||||
-rw-r--r-- | lm_sensors/healthd.conf | 17 | ||||
-rw-r--r-- | lm_sensors/healthd.service | 9 | ||||
-rw-r--r-- | lm_sensors/keys/pgp/7CA69F4460F1BDC41FD2C858A5526B9BB3CD4E6A.asc | 63 | ||||
-rw-r--r-- | lm_sensors/lm_sensors-1:3.6.0.r41.g31d1f125-3-x86_64-build.log | 160 | ||||
-rw-r--r-- | lm_sensors/lm_sensors-1:3.6.0.r41.g31d1f125-3-x86_64-package.log | 78 | ||||
-rw-r--r-- | lm_sensors/lm_sensors-1:3.6.0.r41.g31d1f125-3-x86_64-pkgver.log | 1 | ||||
-rw-r--r-- | lm_sensors/lm_sensors-1:3.6.0.r41.g31d1f125-3-x86_64-pkgver.log.1 | 1 | ||||
-rw-r--r-- | lm_sensors/lm_sensors-1:3.6.0.r41.g31d1f125-3-x86_64-prepare.log | 0 | ||||
-rw-r--r-- | lm_sensors/sensord.conf | 9 |
12 files changed, 483 insertions, 0 deletions
diff --git a/lm_sensors/.SRCINFO b/lm_sensors/.SRCINFO new file mode 100644 index 0000000..df4e9dd --- /dev/null +++ b/lm_sensors/.SRCINFO @@ -0,0 +1,33 @@ +pkgbase = lm_sensors + pkgdesc = Collection of user space tools for general SMBus access and hardware monitoring + pkgver = 3.6.0.r41.g31d1f125 + pkgrel = 3 + epoch = 1 + url = https://hwmon.wiki.kernel.org/lm_sensors + arch = x86_64 + license = GPL + license = LGPL + makedepends = rrdtool + makedepends = perl + makedepends = git + depends = bash + depends = glibc + optdepends = rrdtool: for logging with sensord + optdepends = perl: for sensor detection and configuration convert + provides = libsensors.so + backup = etc/sensors3.conf + backup = etc/healthd.conf + backup = etc/conf.d/sensord + source = git+https://github.com/groeck/lm-sensors.git#commit=31d1f125d8076f1c8c8f3224b31d240e6e6a1763 + source = healthd + source = healthd.conf + source = healthd.service + source = sensord.conf + validpgpkeys = 7CA69F4460F1BDC41FD2C858A5526B9BB3CD4E6A + sha256sums = SKIP + sha256sums = 0ac9afb2a9155dd74ab393756ed552cd542dde1081149beb2ab4ec7ff55b8f4a + sha256sums = 5d17a366b175cf9cb4bb0115c030d4b8d91231546f713784a74935b6e533da9f + sha256sums = 2638cd363e60f8d36bcac468f414a6ba29a1b5599f40fc651ca953858c8429d7 + sha256sums = 23bebef4c250f8c0aaba2c75fd3d2c8ee9473cc91a342161a9f5b3a34ddfa9e5 + +pkgname = lm_sensors diff --git a/lm_sensors/PKGBUILD b/lm_sensors/PKGBUILD new file mode 100644 index 0000000..8de8ee1 --- /dev/null +++ b/lm_sensors/PKGBUILD @@ -0,0 +1,59 @@ +# Maintainer: Laurent Carlier <lordheavym@gmail.com> +# Contributor: Eric Bélanger + +pkgname=lm_sensors +pkgver=3.6.0.r41.g31d1f125 +_commit=31d1f125d8076f1c8c8f3224b31d240e6e6a1763 +#_pkgver=${pkgver//./-} +pkgrel=3 +epoch=1 +pkgdesc="Collection of user space tools for general SMBus access and hardware monitoring" +arch=('x86_64') +url="https://hwmon.wiki.kernel.org/lm_sensors" +license=('GPL' 'LGPL') +depends=('bash' 'glibc') +makedepends=('rrdtool' 'perl' 'git') +optdepends=('rrdtool: for logging with sensord' + 'perl: for sensor detection and configuration convert') +provides=('libsensors.so') +backup=('etc/sensors3.conf' 'etc/healthd.conf' 'etc/conf.d/sensord') +#source=(lm_sensors-${pkgver}.tar.gz::https://github.com/lm-sensors/lm-sensors/archive/V${_pkgver}.tar.gz +source=("git+https://github.com/groeck/lm-sensors.git#commit=${_commit}" + healthd healthd.conf healthd.service sensord.conf) +sha256sums=('SKIP' + '0ac9afb2a9155dd74ab393756ed552cd542dde1081149beb2ab4ec7ff55b8f4a' + '5d17a366b175cf9cb4bb0115c030d4b8d91231546f713784a74935b6e533da9f' + '2638cd363e60f8d36bcac468f414a6ba29a1b5599f40fc651ca953858c8429d7' + '23bebef4c250f8c0aaba2c75fd3d2c8ee9473cc91a342161a9f5b3a34ddfa9e5') +validpgpkeys=('7CA69F4460F1BDC41FD2C858A5526B9BB3CD4E6A') + +pkgver() { + cd "${srcdir}"/lm-sensors* + + git describe --long --tags | sed 's/V//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +prepare() { + cd "${srcdir}"/lm-sensors* + sed -i 's|/etc/sysconfig|/etc/conf.d|' prog/{detect/sensors-detect,init/{sensord,lm_sensors}.service} + sed -i 's/EnvironmentFile=/EnvironmentFile=-/' prog/init/lm_sensors.service +} + +build() { + cd "${srcdir}"/lm-sensors* + make PREFIX=/usr +} + +package() { + cd "${srcdir}"/lm-sensors* + make PROG_EXTRA=sensord BUILD_STATIC_LIB=0 \ + PREFIX=/usr SBINDIR=/usr/bin MANDIR=/usr/share/man DESTDIR="${pkgdir}" install + + install -D -m755 "${srcdir}/healthd" "${pkgdir}/usr/bin/healthd" + + install -D -m644 "${srcdir}/healthd.conf" "${pkgdir}/etc/healthd.conf" + install -D -m644 "${srcdir}/sensord.conf" "${pkgdir}/etc/conf.d/sensord" + + install -D -m644 "${srcdir}/healthd.service" "${pkgdir}/usr/lib/systemd/system/healthd.service" + install -D -m644 prog/init/*.service "${pkgdir}/usr/lib/systemd/system/" +} diff --git a/lm_sensors/healthd b/lm_sensors/healthd new file mode 100644 index 0000000..b1e2fd6 --- /dev/null +++ b/lm_sensors/healthd @@ -0,0 +1,53 @@ +#!/bin/bash + +# +# /usr/bin/healthd +# + +. /etc/healthd.conf + +cmd="${ALARM_CMD}" +addr="${ADMIN_EMAIL}" +slp="${ALARM_SLEEP}" +sensors="/usr/bin/sensors" + + +while [ $# -gt 0 ] ; do + case "${1}" in + -c ) cmd="${2}" ; shift 2 ;; + -m ) addr="${2}" ; shift 2 ;; + -s ) slp="${2}" ; shift 2 ;; + * ) shift 1 ;; + esac +done + +case "${ALARM_RESET}" in + yes) /usr/bin/sensors > /dev/null + ;; + no) true + ;; +esac + +[ -n "${cmd}" ] && [ -n "$( which -- "${cmd%% *}" )" ] || \ + [ -n "${addr}" ] || exit 1 + +[ "${slp}" -ge 2 ] || slp=600 + +while true ; do + sleep 15 + message="$( $sensors )" + case "$message" in + '' ) message='Could not get any sensor values !' ;; + *ALARM* ) : ;; + * ) message='' ;; + esac + if [ -n "$message" ]; then + if [ -n "${addr}" ]; then + echo "$message" | mail -s \ + "Sensors ALARM detected at host: $( hostname )" \ + "${addr}" + fi + [ -z "${cmd}" ] || ${cmd} & + sleep ${slp} + fi +done & diff --git a/lm_sensors/healthd.conf b/lm_sensors/healthd.conf new file mode 100644 index 0000000..8df3e39 --- /dev/null +++ b/lm_sensors/healthd.conf @@ -0,0 +1,17 @@ +# +# /etc/healthd.conf +# + +# reset any pending alarms on startup +ALARM_RESET="yes" + +# where to sent mails on alarm +ADMIN_EMAIL="root" + +# Seconds to sleep when alarm detected before checking again +# If you want to fill up your mail inbox set this to 2. ;-) +ALARM_SLEEP=600 + +# command to run in background on each alarm +# N.B.: If you choose to use the beep command, you'll need to install it: pacman -S beep +ALARM_CMD="beep -f 800 -l 500 -d 500 -r 600" diff --git a/lm_sensors/healthd.service b/lm_sensors/healthd.service new file mode 100644 index 0000000..1933192 --- /dev/null +++ b/lm_sensors/healthd.service @@ -0,0 +1,9 @@ +[Unit] +Description=A daemon which can be used to alert you in the event of a hardware health monitoring alarm + +[Service] +Type=forking +ExecStart=/usr/bin/healthd + +[Install] +WantedBy=multi-user.target diff --git a/lm_sensors/keys/pgp/7CA69F4460F1BDC41FD2C858A5526B9BB3CD4E6A.asc b/lm_sensors/keys/pgp/7CA69F4460F1BDC41FD2C858A5526B9BB3CD4E6A.asc new file mode 100644 index 0000000..817cb4f --- /dev/null +++ b/lm_sensors/keys/pgp/7CA69F4460F1BDC41FD2C858A5526B9BB3CD4E6A.asc @@ -0,0 +1,63 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBE6ewEABEACYt7MVRJJeyF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ZiV72aM+MXr1r +v+KMKF6HOlz+NFMmHP5mwYGo3Tgg7S8XxLwz48SbglCc2hX56z9oveZG1e5tAved +05FlAy+7ZOeBYfDN+e9Tdw2V0SLGM0On2rDDpTs/28MwX6YbTAPuQN6qZJzCq2u8 +Tv5HsWM3Xe7GnD3gpqGCCARTqCIJ4D9l+Qe/n8VQQbo3eTFTf0UbTi6Z0DIT96Bv +FM6VH+jfQl757U99/7xmyw2ugnCKLA06ouaGIPWdGmBQKozHEo8IsGq8itqgjcH2 +3cJWfscKlqZOQtqb75cUMGmfloha3rnSpDc3n4PlKGNG5NaCN9yfjkl5QJ+m4e8/ +RFrr9Yj44Bt2cspN32BOztFsbGUahmfLz8OE2mAKs6EnicHm/NBBmoqJ6ZwiQz89 +bi5nHZ2Etx744C2nessg/y9RgDIbkSIaTsLwl54KrvqFHiYouIRYki/EpVku87dd +Jf9aLHitaRW/c7l/a0iBXEMsEBNyytXvlCZ5OimKnxzZK8K9CdcoUyK75WcRwN8e +Qu7m8XPTuUj0t1Fvq0Xleoa74ot+e+pKWAaR40U= +=DH7h +-----END PGP PUBLIC KEY BLOCK----- diff --git a/lm_sensors/lm_sensors-1:3.6.0.r41.g31d1f125-3-x86_64-build.log b/lm_sensors/lm_sensors-1:3.6.0.r41.g31d1f125-3-x86_64-build.log new file mode 100644 index 0000000..93ff3c7 --- /dev/null +++ b/lm_sensors/lm_sensors-1:3.6.0.r41.g31d1f125-3-x86_64-build.log @@ -0,0 +1,160 @@ +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt prog/dump/superio.c | \ +sed -e 's@^\(.*\)\.o:@prog/dump/superio.rd prog/dump/superio.ro: Makefile '`dirname prog/dump/superio.rd`/Module.mk' @' > prog/dump/superio.rd +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt prog/dump/isaset.c | \ +sed -e 's@^\(.*\)\.o:@prog/dump/isaset.rd prog/dump/isaset.ro: Makefile '`dirname prog/dump/isaset.rd`/Module.mk' @' > prog/dump/isaset.rd +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt prog/dump/isadump.c | \ +sed -e 's@^\(.*\)\.o:@prog/dump/isadump.rd prog/dump/isadump.ro: Makefile '`dirname prog/dump/isadump.rd`/Module.mk' @' > prog/dump/isadump.rd +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt prog/dump/util.c | \ +sed -e 's@^\(.*\)\.o:@prog/dump/util.rd prog/dump/util.ro: Makefile '`dirname prog/dump/util.rd`/Module.mk' @' > prog/dump/util.rd +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt prog/sensors/chips.c | \ +sed -e 's@^\(.*\)\.o:@prog/sensors/chips.rd prog/sensors/chips.ro: Makefile '`dirname prog/sensors/chips.rd`/Module.mk' @' > prog/sensors/chips.rd +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt prog/sensors/main.c | \ +sed -e 's@^\(.*\)\.o:@prog/sensors/main.rd prog/sensors/main.ro: Makefile '`dirname prog/sensors/main.rd`/Module.mk' @' > prog/sensors/main.rd +/usr/bin/bison +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/sysfs.c | \ +sed -e 's@^\(.*\)\.o:@lib/sysfs.ad lib/sysfs.ao: Makefile '`dirname lib/sysfs.ad`/Module.mk' @' > lib/sysfs.ad +bison -p sensors_yy -d lib/conf-parse.y -o lib/conf-parse.c +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/init.c | \ +sed -e 's@^\(.*\)\.o:@lib/init.ad lib/init.ao: Makefile '`dirname lib/init.ad`/Module.mk' @' > lib/init.ad +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/access.c | \ +sed -e 's@^\(.*\)\.o:@lib/access.ad lib/access.ao: Makefile '`dirname lib/access.ad`/Module.mk' @' > lib/access.ad +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/error.c | \ +sed -e 's@^\(.*\)\.o:@lib/error.ad lib/error.ao: Makefile '`dirname lib/error.ad`/Module.mk' @' > lib/error.ad +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/general.c | \ +sed -e 's@^\(.*\)\.o:@lib/general.ad lib/general.ao: Makefile '`dirname lib/general.ad`/Module.mk' @' > lib/general.ad +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/data.c | \ +sed -e 's@^\(.*\)\.o:@lib/data.ad lib/data.ao: Makefile '`dirname lib/data.ad`/Module.mk' @' > lib/data.ad +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/conf-parse.c | \ +sed -e 's@^\(.*\)\.o:@lib/conf-parse.ld lib/conf-parse.lo: Makefile '`dirname lib/conf-parse.ld`/Module.mk' @' > lib/conf-parse.ld +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/sysfs.c | \ +sed -e 's@^\(.*\)\.o:@lib/sysfs.ld lib/sysfs.lo: Makefile '`dirname lib/sysfs.ld`/Module.mk' @' > lib/sysfs.ld +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/init.c | \ +sed -e 's@^\(.*\)\.o:@lib/init.ld lib/init.lo: Makefile '`dirname lib/init.ld`/Module.mk' @' > lib/init.ld +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/access.c | \ +sed -e 's@^\(.*\)\.o:@lib/access.ld lib/access.lo: Makefile '`dirname lib/access.ld`/Module.mk' @' > lib/access.ld +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/error.c | \ +sed -e 's@^\(.*\)\.o:@lib/error.ld lib/error.lo: Makefile '`dirname lib/error.ld`/Module.mk' @' > lib/error.ld +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/general.c | \ +sed -e 's@^\(.*\)\.o:@lib/general.ld lib/general.lo: Makefile '`dirname lib/general.ld`/Module.mk' @' > lib/general.ld +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/data.c | \ +sed -e 's@^\(.*\)\.o:@lib/data.ld lib/data.lo: Makefile '`dirname lib/data.ld`/Module.mk' @' > lib/data.ld +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/conf-parse.c | \ +sed -e 's@^\(.*\)\.o:@lib/conf-parse.ad lib/conf-parse.ao: Makefile '`dirname lib/conf-parse.ad`/Module.mk' @' > lib/conf-parse.ad +/usr/bin/flex +flex -Psensors_yy -t -Cfe -8 lib/conf-lex.l > lib/conf-lex.c +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/conf-parse.c | \ +sed -e 's@^\(.*\)\.o:@lib/conf-parse.ld lib/conf-parse.lo: Makefile '`dirname lib/conf-parse.ld`/Module.mk' @' > lib/conf-parse.ld +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/conf-lex.c | \ +sed -e 's@^\(.*\)\.o:@lib/conf-lex.ad lib/conf-lex.ao: Makefile '`dirname lib/conf-lex.ad`/Module.mk' @' > lib/conf-lex.ad +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt lib/conf-lex.c | \ +sed -e 's@^\(.*\)\.o:@lib/conf-lex.ld lib/conf-lex.lo: Makefile '`dirname lib/conf-lex.ld`/Module.mk' @' > lib/conf-lex.ld +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/data.c -o lib/data.lo +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/general.c -o lib/general.lo +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/error.c -o lib/error.lo +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/access.c -o lib/access.lo +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/init.c -o lib/init.lo +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/sysfs.c -o lib/sysfs.lo +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wno-undef -c lib/conf-parse.c -o lib/conf-parse.lo +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wno-shadow -Wno-undef -Wno-unused -Wno-missing-prototypes -Wno-sign-compare -c lib/conf-lex.c -o lib/conf-lex.lo +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/data.c -o lib/data.ao +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/general.c -o lib/general.ao +lib/sysfs.c: In function 'find_bus_type': +lib/sysfs.c:637:8: warning: '/class/i2c-adapter/i2c-' directive output may be truncated writing 23 bytes into a region of size between 1 and 255 [-Wformat-truncation=] + "%s/class/i2c-adapter/i2c-%d/device", + ^~~~~~~~~~~~~~~~~~~~~~~ +lib/sysfs.c:637:5: note: directive argument in the range [-32768, 32767] + "%s/class/i2c-adapter/i2c-%d/device", + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from lib/sensors.h:25, + from lib/data.h:25, + from lib/sysfs.c:34: +/usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 32 and 291 bytes into a destination of size 255 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/error.c -o lib/error.ao +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/access.c -o lib/access.ao +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/init.c -o lib/init.ao +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/sysfs.c -o lib/sysfs.ao +lib/sysfs.c: In function 'sensors_read_dynamic_chip': +lib/sysfs.c:408:31: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 254 [-Wformat-truncation=] + snprintf(path, NAME_MAX, "%s/%s", device, attr); + ^~ +In file included from /usr/include/stdio.h:867, + from lib/sensors.h:25, + from lib/data.h:25, + from lib/sysfs.c:34: +/usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 255 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +<<<<<<< HEAD +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wno-shadow -Wno-undef -Wno-unused -Wno-missing-prototypes -Wno-sign-compare -c lib/conf-lex.c -o lib/conf-lex.lo +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/data.c -o lib/data.ao +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/general.c -o lib/general.ao +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/error.c -o lib/error.ao +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/access.c -o lib/access.ao +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/init.c -o lib/init.ao +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/sysfs.c -o lib/sysfs.ao +======= +>>>>>>> c1001d8b39ce92a645c520aaace383a0a9d613aa +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wno-undef -c lib/conf-parse.c -o lib/conf-parse.ao +lib/sysfs.c: In function 'find_bus_type': +lib/sysfs.c:637:8: warning: '/class/i2c-adapter/i2c-' directive output may be truncated writing 23 bytes into a region of size between 1 and 255 [-Wformat-truncation=] + "%s/class/i2c-adapter/i2c-%d/device", + ^~~~~~~~~~~~~~~~~~~~~~~ +lib/sysfs.c:637:5: note: directive argument in the range [-32768, 32767] + "%s/class/i2c-adapter/i2c-%d/device", + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from lib/sensors.h:25, + from lib/data.h:25, + from lib/sysfs.c:34: +/usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 32 and 291 bytes into a destination of size 255 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wno-shadow -Wno-undef -Wno-unused -Wno-missing-prototypes -Wno-sign-compare -c lib/conf-lex.c -o lib/conf-lex.ao +gcc -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,--version-script=lib/libsensors.map -Wl,-soname,libsensors.so.5 -o lib/libsensors.so.5.0.0 lib/data.lo lib/general.lo lib/error.lo lib/access.lo lib/init.lo lib/sysfs.lo lib/conf-parse.lo lib/conf-lex.lo -lc -lm +lib/sysfs.c: In function 'sensors_read_dynamic_chip': +lib/sysfs.c:408:31: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 254 [-Wformat-truncation=] + snprintf(path, NAME_MAX, "%s/%s", device, attr); + ^~ +In file included from /usr/include/stdio.h:867, + from lib/sensors.h:25, + from lib/data.h:25, + from lib/sysfs.c:34: +/usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 255 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +rm -f lib/libsensors.so.5 +rm -f lib/libsensors.so +ln -sf libsensors.so.5.0.0 lib/libsensors.so.5 +ln -sf libsensors.so.5.0.0 lib/libsensors.so +rm -f lib/libsensors.a +ar rcvs lib/libsensors.a lib/data.ao lib/general.ao lib/error.ao lib/access.ao lib/init.ao lib/sysfs.ao lib/conf-parse.ao lib/conf-lex.ao +a - lib/data.ao +a - lib/general.ao +a - lib/error.ao +a - lib/access.ao +a - lib/init.ao +a - lib/sysfs.ao +a - lib/conf-parse.ao +a - lib/conf-lex.ao +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c prog/sensors/main.c -o prog/sensors/main.ro +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c prog/sensors/chips.c -o prog/sensors/chips.ro +gcc -Wl,-rpath,/usr/lib -o prog/sensors/sensors prog/sensors/main.ro prog/sensors/chips.ro -Llib -lsensors +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c prog/dump/isadump.c -o prog/dump/isadump.ro +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c prog/dump/superio.c -o prog/dump/superio.ro +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c prog/dump/util.c -o prog/dump/util.ro +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c prog/dump/isaset.c -o prog/dump/isaset.ro +gcc -Wl,-rpath,/usr/lib -o prog/dump/isaset prog/dump/isaset.ro prog/dump/util.ro +gcc -Wl,-rpath,/usr/lib -o prog/dump/isadump prog/dump/isadump.ro prog/dump/superio.ro prog/dump/util.ro +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c lib/test/test-scanner.c -o lib/test/test-scanner.ro +gcc -Wl,-rpath,/usr/lib -o lib/test/test-scanner lib/test/test-scanner.ro lib/conf-lex.ao lib/error.ao lib/general.ao -Llib diff --git a/lm_sensors/lm_sensors-1:3.6.0.r41.g31d1f125-3-x86_64-package.log b/lm_sensors/lm_sensors-1:3.6.0.r41.g31d1f125-3-x86_64-package.log new file mode 100644 index 0000000..4986455 --- /dev/null +++ b/lm_sensors/lm_sensors-1:3.6.0.r41.g31d1f125-3-x86_64-package.log @@ -0,0 +1,78 @@ +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt prog/sensord/sensord.c | \ +sed -e 's@^\(.*\)\.o:@prog/sensord/sensord.rd prog/sensord/sensord.ro: Makefile '`dirname prog/sensord/sensord.rd`/Module.mk' @' > prog/sensord/sensord.rd +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt prog/sensord/sense.c | \ +sed -e 's@^\(.*\)\.o:@prog/sensord/sense.rd prog/sensord/sense.ro: Makefile '`dirname prog/sensord/sense.rd`/Module.mk' @' > prog/sensord/sense.rd +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt prog/sensord/rrd.c | \ +sed -e 's@^\(.*\)\.o:@prog/sensord/rrd.rd prog/sensord/rrd.ro: Makefile '`dirname prog/sensord/rrd.rd`/Module.mk' @' > prog/sensord/rrd.rd +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt prog/sensord/lib.c | \ +sed -e 's@^\(.*\)\.o:@prog/sensord/lib.rd prog/sensord/lib.ro: Makefile '`dirname prog/sensord/lib.rd`/Module.mk' @' > prog/sensord/lib.rd +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt prog/sensord/chips.c | \ +sed -e 's@^\(.*\)\.o:@prog/sensord/chips.rd prog/sensord/chips.ro: Makefile '`dirname prog/sensord/chips.rd`/Module.mk' @' > prog/sensord/chips.rd +gcc -M -MG -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt prog/sensord/args.c | \ +sed -e 's@^\(.*\)\.o:@prog/sensord/args.rd prog/sensord/args.ro: Makefile '`dirname prog/sensord/args.rd`/Module.mk' @' > prog/sensord/args.rd +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c prog/sensord/args.c -o prog/sensord/args.ro +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c prog/sensord/chips.c -o prog/sensord/chips.ro +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c prog/sensord/lib.c -o prog/sensord/lib.ro +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c prog/sensord/rrd.c -o prog/sensord/rrd.ro +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c prog/sensord/sense.c -o prog/sensord/sense.ro +gcc -DETCDIR="\"/etc\"" -I. -D_FORTIFY_SOURCE=2 -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c prog/sensord/sensord.c -o prog/sensord/sensord.ro +mkdir -p /build/lm_sensors/pkg/lm_sensors/usr/lib /build/lm_sensors/pkg/lm_sensors/usr/include/sensors /build/lm_sensors/pkg/lm_sensors/usr/share/man/man3 /build/lm_sensors/pkg/lm_sensors/usr/share/man/man5 +install -m 755 lib/libsensors.so.5.0.0 /build/lm_sensors/pkg/lm_sensors/usr/lib +ln -sf libsensors.so.5.0.0 /build/lm_sensors/pkg/lm_sensors/usr/lib/libsensors.so.5 +ln -sf libsensors.so.5 /build/lm_sensors/pkg/lm_sensors/usr/lib/libsensors.so +install -m 644 lib/error.h lib/sensors.h /build/lm_sensors/pkg/lm_sensors/usr/include/sensors +install -m 644 lib/libsensors.3 /build/lm_sensors/pkg/lm_sensors/usr/share/man/man3 +install -m 644 lib/sensors.conf.5 /build/lm_sensors/pkg/lm_sensors/usr/share/man/man5 +ln -sf sensors.conf.5 /build/lm_sensors/pkg/lm_sensors/usr/share/man/man5/sensors3.conf.5 +mkdir -p /build/lm_sensors/pkg/lm_sensors/usr/bin /build/lm_sensors/pkg/lm_sensors/usr/share/man/man8 +install -m 755 prog/detect/sensors-detect /build/lm_sensors/pkg/lm_sensors/usr/bin +install -m 644 prog/detect/sensors-detect.8 /build/lm_sensors/pkg/lm_sensors/usr/share/man/man8 +mkdir -p /build/lm_sensors/pkg/lm_sensors/usr/bin /build/lm_sensors/pkg/lm_sensors/usr/share/man/man8 +install -m 755 prog/pwm/fancontrol prog/pwm/pwmconfig /build/lm_sensors/pkg/lm_sensors/usr/bin +install -m 644 prog/pwm/fancontrol.8 prog/pwm/pwmconfig.8 /build/lm_sensors/pkg/lm_sensors/usr/share/man/man8 +mkdir -p /build/lm_sensors/pkg/lm_sensors/usr/bin /build/lm_sensors/pkg/lm_sensors/usr/share/man/man1 +install -m 755 prog/sensors/sensors /build/lm_sensors/pkg/lm_sensors/usr/bin +install -m 644 prog/sensors/sensors.1 /build/lm_sensors/pkg/lm_sensors/usr/share/man/man1 +prog/sensord/rrd.c: In function 'rrdInit': +prog/sensord/rrd.c:302:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] + ret = rrd_create(argc, (char**) argv); + ^ +prog/sensord/rrd.c: In function 'rrdUpdate': +prog/sensord/rrd.c:458:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] + if ((ret = rrd_update(3, (char **) /* WEAK */ argv))) { + ^ +gcc -Wl,-rpath,/usr/lib -o prog/sensord/sensord prog/sensord/args.ro prog/sensord/chips.ro prog/sensord/lib.ro prog/sensord/rrd.ro prog/sensord/sense.ro prog/sensord/sensord.ro -Llib -lsensors -lrrd +mkdir -p /build/lm_sensors/pkg/lm_sensors/usr/bin /build/lm_sensors/pkg/lm_sensors/usr/share/man/man8 +install -m 755 prog/sensord/sensord /build/lm_sensors/pkg/lm_sensors/usr/bin +install -m 644 prog/sensord/sensord.8 /build/lm_sensors/pkg/lm_sensors/usr/share/man/man8 +mkdir -p /build/lm_sensors/pkg/lm_sensors/etc /build/lm_sensors/pkg/lm_sensors/etc/sensors.d +if [ ! -e /build/lm_sensors/pkg/lm_sensors/etc/sensors3.conf ] ; then \ + install -m 644 etc/sensors.conf.default /build/lm_sensors/pkg/lm_sensors/etc/sensors3.conf ; \ +fi +mkdir -p /build/lm_sensors/pkg/lm_sensors/usr/bin +install -m 755 etc/sensors-conf-convert /build/lm_sensors/pkg/lm_sensors/usr/bin +if [ -e /build/lm_sensors/pkg/lm_sensors/etc/modprobe.d/lm_sensors \ + -a ! -e /build/lm_sensors/pkg/lm_sensors/etc/modprobe.d/lm_sensors.conf ] ; then \ + mv -f /build/lm_sensors/pkg/lm_sensors/etc/modprobe.d/lm_sensors /build/lm_sensors/pkg/lm_sensors/etc/modprobe.d/lm_sensors.conf ; \ +fi +mkdir -p /build/lm_sensors/pkg/lm_sensors/usr/share/man/man8 +install -m 644 etc/sensors-conf-convert.8 /build/lm_sensors/pkg/lm_sensors/usr/share/man/man8 +mkdir -p /build/lm_sensors/pkg/lm_sensors/usr/bin /build/lm_sensors/pkg/lm_sensors/usr/share/man/man8 +install -m 755 prog/dump/isadump prog/dump/isaset /build/lm_sensors/pkg/lm_sensors/usr/bin +install -m 644 prog/dump/isadump.8 prog/dump/isaset.8 /build/lm_sensors/pkg/lm_sensors/usr/share/man/man8 +*** Important notes: +*** * The libsensors configuration file (/etc/sensors3.conf) is never +*** overwritten by our installation process, so that you won't lose +*** your personal settings in that file. You still can get our latest +*** default config file in etc/sensors.conf.default and manually copy +*** it to /etc/sensors3.conf if you want. You will then want to +*** edit it to fit your needs again. +*** * The format of /etc/sensors3.conf changed with lm-sensors 3.0.0. +*** If you have a custom configuration file using the old format, you +*** can convert it using the sensors-conf-convert script. Otherwise just +*** overwrite your old configuration file with the new default one. +*** * As of lm-sensors 3.1.0, the default configuration file only +*** contains statements which do not depend on how chips are wired. +*** If you miss parts of the bigger configuration file that used to be +*** the default, copy the relevant parts from etc/sensors.conf.eg to +*** /etc/sensors3.conf. diff --git a/lm_sensors/lm_sensors-1:3.6.0.r41.g31d1f125-3-x86_64-pkgver.log b/lm_sensors/lm_sensors-1:3.6.0.r41.g31d1f125-3-x86_64-pkgver.log new file mode 100644 index 0000000..00a5fcc --- /dev/null +++ b/lm_sensors/lm_sensors-1:3.6.0.r41.g31d1f125-3-x86_64-pkgver.log @@ -0,0 +1 @@ +3.6.0.r41.g31d1f125 diff --git a/lm_sensors/lm_sensors-1:3.6.0.r41.g31d1f125-3-x86_64-pkgver.log.1 b/lm_sensors/lm_sensors-1:3.6.0.r41.g31d1f125-3-x86_64-pkgver.log.1 new file mode 100644 index 0000000..00a5fcc --- /dev/null +++ b/lm_sensors/lm_sensors-1:3.6.0.r41.g31d1f125-3-x86_64-pkgver.log.1 @@ -0,0 +1 @@ +3.6.0.r41.g31d1f125 diff --git a/lm_sensors/lm_sensors-1:3.6.0.r41.g31d1f125-3-x86_64-prepare.log b/lm_sensors/lm_sensors-1:3.6.0.r41.g31d1f125-3-x86_64-prepare.log new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/lm_sensors/lm_sensors-1:3.6.0.r41.g31d1f125-3-x86_64-prepare.log diff --git a/lm_sensors/sensord.conf b/lm_sensors/sensord.conf new file mode 100644 index 0000000..133783a --- /dev/null +++ b/lm_sensors/sensord.conf @@ -0,0 +1,9 @@ +# +# /etc/conf.d/sensord +# + +#Specify the interval between scanning for sensor alarms +INTERVAL=60s + +#Specify the interval between logging all sensor readings +LOG_INTERVAL=30m |