atop: update to 2.3.0

This commit is contained in:
Helmut Pozimski 2017-03-26 16:54:34 +02:00 committed by Christian Neukirchen
parent 86483eb171
commit f28ab58934
3 changed files with 6 additions and 49 deletions

View File

@ -5,6 +5,7 @@ index c72214c..ac4b3b7 100755
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
CURDAY=`date +%Y%m%d`
LOGPATH=/var/log/atop
BINPATH=/usr/bin

View File

@ -19,47 +19,3 @@
#include "atop.h"
#include "photoproc.h"
--- showgeneric.c.orig
+++ showgeneric.c
@@ -268,7 +268,7 @@
#include <errno.h>
#include <fcntl.h>
#include <string.h>
-#include <termio.h>
+#include <termios.h>
#include <unistd.h>
#include <stdarg.h>
#include <curses.h>
--- showlinux.c.orig
+++ showlinux.c
@@ -274,7 +274,7 @@
#include <string.h>
#include <errno.h>
#include <fcntl.h>
-#include <termio.h>
+#include <termios.h>
#include <unistd.h>
#include <stdarg.h>
#include <curses.h>
--- showprocs.c.orig
+++ showprocs.c
@@ -94,7 +94,7 @@
#include <string.h>
#include <errno.h>
#include <fcntl.h>
-#include <termio.h>
+#include <termios.h>
#include <unistd.h>
#include <stdarg.h>
#include <curses.h>
--- showsys.c.orig
+++ showsys.c
@@ -80,7 +80,7 @@
#include <string.h>
#include <errno.h>
#include <fcntl.h>
-#include <termio.h>
+#include <termios.h>
#include <unistd.h>
#include <stdarg.h>
#include <curses.h>

View File

@ -1,15 +1,15 @@
# Template file for 'atop'
pkgname=atop
version=2.1
revision=5
version=2.3.0
revision=1
build_style=gnu-makefile
makedepends="ncurses-devel zlib-devel"
short_desc="A system and process level monitor"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://www.atoptool.nl/"
distfiles="http://www.atoptool.nl/download/atop-${version}-1.tar.gz"
checksum=39a2d4febc338dd4147904b1496d1aa9513da0d22ad0602b66023452bdc7989f
distfiles="http://www.atoptool.nl/download/atop-${version}.tar.gz"
checksum=73e4725de0bafac8c63b032e8479e2305e3962afbe977ec1abd45f9e104eb264
pre_install() {
sed -i '/chown/d' Makefile
@ -17,7 +17,7 @@ pre_install() {
sed -i 's,sbin,bin,g' Makefile
}
do_install() {
make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install
make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} sysvinstall
vsv atop
# Remove unused stuff.
rm -f ${DESTDIR}/usr/bin/atop{,sar}-${version}