From e53efec3877b5bc739f475a4b9556c89e4d6f21f Mon Sep 17 00:00:00 2001 From: agc Date: Mon, 21 Jun 1999 11:18:03 +0000 Subject: Initial import of sysinfo, a shareware utility to display system hardware and software information and configuration, into the NetBSD packages collection. At the moment, this package is only for Solaris. --- sysutils/sysinfo/Makefile | 22 ++++++++++++++++++++++ sysutils/sysinfo/files/md5 | 3 +++ sysutils/sysinfo/patches/patch-aa | 33 +++++++++++++++++++++++++++++++++ sysutils/sysinfo/pkg/COMMENT | 1 + sysutils/sysinfo/pkg/DESCR | 6 ++++++ sysutils/sysinfo/pkg/PLIST | 26 ++++++++++++++++++++++++++ sysutils/sysinfo/pkg/PLST | 1 + 7 files changed, 92 insertions(+) create mode 100644 sysutils/sysinfo/Makefile create mode 100644 sysutils/sysinfo/files/md5 create mode 100644 sysutils/sysinfo/patches/patch-aa create mode 100644 sysutils/sysinfo/pkg/COMMENT create mode 100644 sysutils/sysinfo/pkg/DESCR create mode 100644 sysutils/sysinfo/pkg/PLIST create mode 100644 sysutils/sysinfo/pkg/PLST (limited to 'sysutils/sysinfo') diff --git a/sysutils/sysinfo/Makefile b/sysutils/sysinfo/Makefile new file mode 100644 index 00000000000..af92d3ce913 --- /dev/null +++ b/sysutils/sysinfo/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/06/21 11:18:03 agc Exp $ +# + +DISTNAME= sysinfo-3.5.1 +CATEGORIES= sysutils +MASTER_SITES= ftp://ftp.rge.com/pub/admin/sysinfo/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.magnicomp.com/ + +LICENSE= shareware + +ONLY_FOR_PLATFORM= SunOS-*-* # only for Solaris, at the moment + +ALL_TARGET= default +INSTALL_TARGET= install install.man +MAKE_ENV+= CPPFLAGS= CC=${CC} + +post-build: + ${CHMOD} -R o+rx ${WRKDIR} + +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/sysinfo/files/md5 b/sysutils/sysinfo/files/md5 new file mode 100644 index 00000000000..578c9f1974a --- /dev/null +++ b/sysutils/sysinfo/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1999/06/21 11:18:03 agc Exp $ + +MD5 (sysinfo-3.5.1.tar.gz) = 33c1da6d7da1fa3225760bd3f9d3f579 diff --git a/sysutils/sysinfo/patches/patch-aa b/sysutils/sysinfo/patches/patch-aa new file mode 100644 index 00000000000..8516201c6df --- /dev/null +++ b/sysutils/sysinfo/patches/patch-aa @@ -0,0 +1,33 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/06/21 11:18:04 agc Exp $ + +Don't override PREFIX in the main Makefile, and place the +configuration files, and the executable binary, in the correct +directory, according to hier(7). + +--- Makefile 1999/06/21 10:36:33 1.1 ++++ Makefile 1999/06/21 10:37:26 +@@ -23,7 +23,7 @@ + # The ${PREFIX} variable determines the top level directory that + # things are installed under. + # +-PREFIX = /var/local ++#PREFIX = /var/local + + # + # The bin directory that user's will run the program from. +@@ -36,13 +36,13 @@ + # Directory containing sysinfo.cf configuration files + # + #CONFDIR = /usr/local/lib/${PROG} +-CONFDIR = ${PREFIX}/${PROG}/conf ++CONFDIR = ${PREFIX}/libdata/${PROG}/conf + + # + # The LIBDIR directory is where all the sysinfo binary executables + # will be installed. + # +-LIBDIR = ${PREFIX}/${PROG}/lib ++LIBDIR = ${PREFIX}/${PROG}/libexec + + # + # Man sections and directories diff --git a/sysutils/sysinfo/pkg/COMMENT b/sysutils/sysinfo/pkg/COMMENT new file mode 100644 index 00000000000..d5e4d06a082 --- /dev/null +++ b/sysutils/sysinfo/pkg/COMMENT @@ -0,0 +1 @@ +displays system hardware and software information and configuration diff --git a/sysutils/sysinfo/pkg/DESCR b/sysutils/sysinfo/pkg/DESCR new file mode 100644 index 00000000000..72e6d000083 --- /dev/null +++ b/sysutils/sysinfo/pkg/DESCR @@ -0,0 +1,6 @@ +Sysinfo displays various types of information about a host's hardware +and operating system software. It is intended to provide information +in both human-readable and program-parsable formats. System +administrators can use sysinfo to obtain hardware asset information +and OS configuration information. Programs which use sysinfo can +obtain this information in a platform-independent manner. diff --git a/sysutils/sysinfo/pkg/PLIST b/sysutils/sysinfo/pkg/PLIST new file mode 100644 index 00000000000..713bc166ea8 --- /dev/null +++ b/sysutils/sysinfo/pkg/PLIST @@ -0,0 +1,26 @@ +bin/sysinfo +man/man1/sysinfo.1 +man/man5/sysinfo.cf.5 +libdata/sysinfo/conf/aix.cf +libdata/sysinfo/conf/bsd.cf +libdata/sysinfo/conf/bsdos.cf +libdata/sysinfo/conf/dospart.cf +libdata/sysinfo/conf/eisa.cf +libdata/sysinfo/conf/freebsd.cf +libdata/sysinfo/conf/hp-ux-com.cf +libdata/sysinfo/conf/hp-ux.cf +libdata/sysinfo/conf/irix.cf +libdata/sysinfo/conf/irix64.cf +libdata/sysinfo/conf/linux.cf +libdata/sysinfo/conf/pci.cf +libdata/sysinfo/conf/scsi.cf +libdata/sysinfo/conf/sunos.cf +libdata/sysinfo/conf/sunos_4.cf +libdata/sysinfo/conf/sunos_5.cf +libdata/sysinfo/conf/sunos_5.ddb +sysinfo/libexec/sparc-sunos-5.6/sysinfo +@dirrm sysinfo/libexec/sparc-sunos-5.6 +@dirrm sysinfo/libexec +@dirrm sysinfo +@dirrm libdata/sysinfo/conf +@dirrm libdata/sysinfo diff --git a/sysutils/sysinfo/pkg/PLST b/sysutils/sysinfo/pkg/PLST new file mode 100644 index 00000000000..d36833d73ab --- /dev/null +++ b/sysutils/sysinfo/pkg/PLST @@ -0,0 +1 @@ +@comment $NetBSD: PLST,v 1.1.1.1 1999/06/21 11:18:03 agc Exp $ -- cgit v1.2.3