diff options
author | shattered <shattered@pkgsrc.org> | 2010-12-21 22:43:17 +0000 |
---|---|---|
committer | shattered <shattered@pkgsrc.org> | 2010-12-21 22:43:17 +0000 |
commit | d50d90ca14e17ede3f138a635c646973d7f61534 (patch) | |
tree | 4484ae8f6e367136dab9ee5243be8a7c35471c46 /sysutils/memconf | |
parent | 117a2b91c16dcb029d56f1168aadf7397f02e77c (diff) | |
download | pkgsrc-d50d90ca14e17ede3f138a635c646973d7f61534.tar.gz |
Update to 2.16. 10 years worth of changes from 1.23.2 omitted.
Take maintainership.
Diffstat (limited to 'sysutils/memconf')
-rw-r--r-- | sysutils/memconf/Makefile | 25 | ||||
-rw-r--r-- | sysutils/memconf/distinfo | 9 | ||||
-rw-r--r-- | sysutils/memconf/patches/patch-aa | 12 |
3 files changed, 36 insertions, 10 deletions
diff --git a/sysutils/memconf/Makefile b/sysutils/memconf/Makefile index 8179812814c..b884d0e28d0 100644 --- a/sysutils/memconf/Makefile +++ b/sysutils/memconf/Makefile @@ -1,23 +1,36 @@ -# $NetBSD: Makefile,v 1.12 2010/03/07 23:15:11 joerg Exp $ +# $NetBSD: Makefile,v 1.13 2010/12/21 22:43:17 shattered Exp $ # DISTNAME= memconf -PKGNAME= memconf-1.23.2 +PKGNAME= memconf-2.16 CATEGORIES= sysutils -MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/packages/distfiles/ +MASTER_SITES= http://www.4schmidts.com/unix/ EXTRACT_SUFX= .gz +DIST_SUBDIR= ${PKGNAME} -MAINTAINER= agc@NetBSD.org -HOMEPAGE= http://netnow.micron.net/~tschmidt/memconf.html +MAINTAINER= shattered@NetBSD.org +HOMEPAGE= http://www.4schmidts.com/memconf.html COMMENT= Physical memory information utility PKG_DESTDIR_SUPPORT= user-destdir -ONLY_FOR_PLATFORM= SunOS-*-* # only for Solaris +ONLY_FOR_PLATFORM= SunOS-*-* HPUX-*-* +ONLY_FOR_PLATFORM+= NetBSD-*-i386 NetBSD-*-x86_64 +ONLY_FOR_PLATFORM+= FreeBSD-*-i386 FreeBSD-*-x86_64 +ONLY_FOR_PLATFORM+= Linux-*-i386 Linux-*-x86_64 WRKSRC= ${WRKDIR} NO_BUILD= yes INSTALLATION_DIRS= sbin +USE_TOOLS+= perl:run + +REPLACE_PERL= memconf + +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux" +DEPENDS+= dmidecode>=2.0:../../sysutils/dmidecode +.endif do-install: ${INSTALL_SCRIPT} ${WRKSRC}/memconf ${DESTDIR}${PREFIX}/sbin/memconf diff --git a/sysutils/memconf/distinfo b/sysutils/memconf/distinfo index aab20c33c1c..6d455e1e3da 100644 --- a/sysutils/memconf/distinfo +++ b/sysutils/memconf/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.3 2005/05/25 13:38:40 wiz Exp $ +$NetBSD: distinfo,v 1.4 2010/12/21 22:43:17 shattered Exp $ -SHA1 (memconf.gz) = 1432bb5f021b535cab2a07a4aaf2b252d85c00c9 -RMD160 (memconf.gz) = 376283b9121c713ea040919e79a79378c4b9cbca -Size (memconf.gz) = 16729 bytes +SHA1 (memconf-2.16/memconf.gz) = b6f4b736cac388dddc5070670351cf7262aba048 +RMD160 (memconf-2.16/memconf.gz) = ef3fac05eebc32d89624f70fd9de032ea9743297 +Size (memconf-2.16/memconf.gz) = 69394 bytes +SHA1 (patch-aa) = 9dd88ace5ee17e41eb391ee4e831bccf50f63c9e diff --git a/sysutils/memconf/patches/patch-aa b/sysutils/memconf/patches/patch-aa new file mode 100644 index 00000000000..20e9bfdf6a1 --- /dev/null +++ b/sysutils/memconf/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1 2010/12/21 22:43:17 shattered Exp $ + +--- memconf.orig 2010-12-21 22:36:03.000000000 +0000 ++++ memconf +@@ -150,6 +150,7 @@ $uname="/bin/uname" if (-x '/bin/uname') + if (-x $uname) { + $os=&mychomp(`$uname`); + $os="Linux" if ("$os" eq "FreeBSD"); ++ $os="Linux" if ("$os" eq "NetBSD"); + $hostname=&mychomp(`$uname -n`); + if ("$os" eq "AIX") { + $machine=&mychomp(`$uname -M`); |