pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Update sysutils/swapd to 1.0.1.
details: https://anonhg.NetBSD.org/pkgsrc/rev/e82bfa91ee2f
branches: trunk
changeset: 482585:e82bfa91ee2f
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Sat Oct 30 07:05:51 2004 +0000
description:
Update sysutils/swapd to 1.0.1.
After talking with the author Roy Keene, my patches were applied:
* NetBSD support.
* No need to call free() in swapd_get_free_mem().
diffstat:
doc/CHANGES | 3 ++-
sysutils/swapd/Makefile | 6 ++++--
sysutils/swapd/distinfo | 8 +++-----
sysutils/swapd/patches/patch-aa | 18 ------------------
sysutils/swapd/patches/patch-ac | 17 -----------------
5 files changed, 9 insertions(+), 43 deletions(-)
diffs (92 lines):
diff -r 7a5a3e2916d4 -r e82bfa91ee2f doc/CHANGES
--- a/doc/CHANGES Sat Oct 30 06:57:45 2004 +0000
+++ b/doc/CHANGES Sat Oct 30 07:05:51 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.7615 2004/10/30 06:57:45 dmcmahill Exp $
+$NetBSD: CHANGES,v 1.7616 2004/10/30 07:05:51 xtraeme Exp $
Changes to the packages collection and infrastructure in 2004:
@@ -4979,3 +4979,4 @@
Updated tcl-expect to 5.38.0nb3 [minskim 2004-10-30]
Updated docbook-simple to 1.1rc2 [minskim 2004-10-30]
Updated octave-forge to 2004.09.09 [dmcmahill 2004-10-30]
+ Updated swapd to 1.0.1 [xtraeme 2004-10-30]
diff -r 7a5a3e2916d4 -r e82bfa91ee2f sysutils/swapd/Makefile
--- a/sysutils/swapd/Makefile Sat Oct 30 06:57:45 2004 +0000
+++ b/sysutils/swapd/Makefile Sat Oct 30 07:05:51 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2004/10/30 05:25:30 xtraeme Exp $
+# $NetBSD: Makefile,v 1.3 2004/10/30 07:05:51 xtraeme Exp $
#
-DISTNAME= swapd-1.0
+DISTNAME= swapd-1.0.1
CATEGORIES= sysutils
MASTER_SITES= http://www.rkeene.org/files/oss/swapd/source/
@@ -21,5 +21,7 @@
EGDIR= ${PREFIX}/share/examples/swapd
CONF_FILES= ${EGDIR}/swapd.conf ${PKG_SYSCONFDIR}/swapd.conf
+CFLAGS+= -DDEBUG
+
.include "../../devel/libstatgrab/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 7a5a3e2916d4 -r e82bfa91ee2f sysutils/swapd/distinfo
--- a/sysutils/swapd/distinfo Sat Oct 30 06:57:45 2004 +0000
+++ b/sysutils/swapd/distinfo Sat Oct 30 07:05:51 2004 +0000
@@ -1,7 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/10/30 05:06:14 xtraeme Exp $
+$NetBSD: distinfo,v 1.2 2004/10/30 07:05:51 xtraeme Exp $
-SHA1 (swapd-1.0.tar.gz) = 371ee3ebc8e76cecfb6f3821c001aa04d4cba5ac
-Size (swapd-1.0.tar.gz) = 89331 bytes
-SHA1 (patch-aa) = 23fb511f56514a9e49fa957dc1b60f00c8b58d8c
+SHA1 (swapd-1.0.1.tar.gz) = fee159706ba4be16b2fecc7a067ef8951dbf44fc
+Size (swapd-1.0.1.tar.gz) = 89321 bytes
SHA1 (patch-ab) = 739bd4dca1287676b5a32304f96bc214da160b72
-SHA1 (patch-ac) = 896fdfe94f658f941cb2c9d75d0bb51b59d8bc1f
diff -r 7a5a3e2916d4 -r e82bfa91ee2f sysutils/swapd/patches/patch-aa
--- a/sysutils/swapd/patches/patch-aa Sat Oct 30 06:57:45 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/10/30 05:06:15 xtraeme Exp $
-
---- configure.orig 2004-10-29 23:52:36.000000000 +0200
-+++ configure 2004-10-30 05:39:59.000000000 +0200
-@@ -12163,6 +12163,13 @@
- _ACEOF
-
- ;;
-+ netbsd*)
-+
-+cat >>confdefs.h <<\_ACEOF
-+#define SWAPD_SWAPOFF_CMDLINE "/sbin/swapctl -d \"%s\""
-+_ACEOF
-+ ;;
-+
- esac
-
-
diff -r 7a5a3e2916d4 -r e82bfa91ee2f sysutils/swapd/patches/patch-ac
--- a/sysutils/swapd/patches/patch-ac Sat Oct 30 06:57:45 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2004/10/30 05:06:15 xtraeme Exp $
-
---- swapd.c.orig 2004-10-30 06:28:26.000000000 +0200
-+++ swapd.c 2004-10-30 06:29:03.000000000 +0200
-@@ -114,9 +114,11 @@
- return(-1);
- }
-
-- retval = meminfo->free + meminfo->cache + swapinfo->free;
-+ retval = meminfo->free + swapinfo->free;
-
-+ if (!meminfo)
- free(meminfo);
-+ if (!swapinfo)
- free(swapinfo);
-
- return(retval);
Home |
Main Index |
Thread Index |
Old Index