Browse Source

added iostat

git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2324 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 22 years ago
parent
commit
0422753aaa
2 changed files with 84 additions and 0 deletions
  1. +41
    -0
      package/base/iostat/iostat.desc
  2. +43
    -0
      package/base/iostat/usr-loca-prefix.patch

+ 41
- 0
package/base/iostat/iostat.desc

@ -0,0 +1,41 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/base/iostat/iostat.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] Linux I/O performance monitoring utility
[T] iostat is a command line I/O performance monitoring utility.
[U] http://linux.inet.hr/
[A] <zlatko@iskon.hr>
[M] Rene Rebe <rene@rocklinux.org>
[C] base/tool
[L] GPL
[S] Stable
[V] 2.0
[P] X -----5---9 800.000
[D] 0 iostat-2.0.tar.gz http://linux.inet.hr/

+ 43
- 0
package/base/iostat/usr-loca-prefix.patch

@ -0,0 +1,43 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/base/iostat/usr-loca-prefix.patch
# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
--- iostat-2.0/Makefile 2004-01-06 23:35:49.000000000 +0100
+++ iostat-2.0-fix/Makefile 2004-01-29 10:34:56.000000000 +0100
@@ -5,6 +5,8 @@
CFLAGS = -g -O2 -Wall -fomit-frame-pointer
LDFLAGS =
+prefix = /usr/local
+
SRC = iostat.c
BIN = iostat
@@ -14,9 +16,9 @@
$(CC) $(CFLAGS) $(SRC) -o $@ $(LDFLAGS)
install: $(BIN)
- install -d /usr/local/bin /usr/local/man/man8
- install -o root -g root -m 755 -s iostat /usr/local/bin
- install -o root -g root -m 644 iostat.8 /usr/local/man/man8
+ install -d $(prefix)/bin $(prefix)/man/man8
+ install -o root -g root -m 755 -s iostat $(prefix)/bin
+ install -o root -g root -m 644 iostat.8 $(prefix)/man/man8
clean:
rm -f $(BIN) core

Loading…
Cancel
Save