mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
atop: update to 2.3.0
This commit is contained in:
parent
86483eb171
commit
f28ab58934
3 changed files with 6 additions and 49 deletions
|
@ -5,6 +5,7 @@ index c72214c..ac4b3b7 100755
|
||||||
@@ -1,4 +1,4 @@
|
@@ -1,4 +1,4 @@
|
||||||
-#!/bin/bash
|
-#!/bin/bash
|
||||||
+#!/bin/sh
|
+#!/bin/sh
|
||||||
|
|
||||||
CURDAY=`date +%Y%m%d`
|
CURDAY=`date +%Y%m%d`
|
||||||
LOGPATH=/var/log/atop
|
LOGPATH=/var/log/atop
|
||||||
BINPATH=/usr/bin
|
BINPATH=/usr/bin
|
||||||
|
|
|
@ -19,47 +19,3 @@
|
||||||
|
|
||||||
#include "atop.h"
|
#include "atop.h"
|
||||||
#include "photoproc.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>
|
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
# Template file for 'atop'
|
# Template file for 'atop'
|
||||||
pkgname=atop
|
pkgname=atop
|
||||||
version=2.1
|
version=2.3.0
|
||||||
revision=5
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
makedepends="ncurses-devel zlib-devel"
|
makedepends="ncurses-devel zlib-devel"
|
||||||
short_desc="A system and process level monitor"
|
short_desc="A system and process level monitor"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://www.atoptool.nl/"
|
homepage="http://www.atoptool.nl/"
|
||||||
distfiles="http://www.atoptool.nl/download/atop-${version}-1.tar.gz"
|
distfiles="http://www.atoptool.nl/download/atop-${version}.tar.gz"
|
||||||
checksum=39a2d4febc338dd4147904b1496d1aa9513da0d22ad0602b66023452bdc7989f
|
checksum=73e4725de0bafac8c63b032e8479e2305e3962afbe977ec1abd45f9e104eb264
|
||||||
|
|
||||||
pre_install() {
|
pre_install() {
|
||||||
sed -i '/chown/d' Makefile
|
sed -i '/chown/d' Makefile
|
||||||
|
@ -17,7 +17,7 @@ pre_install() {
|
||||||
sed -i 's,sbin,bin,g' Makefile
|
sed -i 's,sbin,bin,g' Makefile
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install
|
make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} sysvinstall
|
||||||
vsv atop
|
vsv atop
|
||||||
# Remove unused stuff.
|
# Remove unused stuff.
|
||||||
rm -f ${DESTDIR}/usr/bin/atop{,sar}-${version}
|
rm -f ${DESTDIR}/usr/bin/atop{,sar}-${version}
|
||||||
|
|
Loading…
Add table
Reference in a new issue