ports/158659: [MAINTAINER] sysutils/atop: update to 1.26.b5
Alex Samorukov
samm at os2.kiev.ua
Tue Jul 5 08:50:05 UTC 2011
>Number: 158659
>Category: ports
>Synopsis: [MAINTAINER] sysutils/atop: update to 1.26.b5
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Jul 05 08:50:04 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Alex Samorukov
>Release: FreeBSD 8.2-RELEASE i386
>Organization:
NetArt s.r.o.
>Environment:
System: FreeBSD bsd 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011
>Description:
- Update to 1.26.b5
- Describe atop rc script variables
- Fix install message
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- atop-1.26.b5.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/atop/Makefile /root/atop/Makefile
--- /usr/ports/sysutils/atop/Makefile 2011-07-04 09:50:42.000000000 +0200
+++ /root/atop/Makefile 2011-07-05 10:36:50.000000000 +0200
@@ -6,8 +6,7 @@
#
PORTNAME= atop
-PORTVERSION= 1.26.b4
-PORTREVISION= 1
+PORTVERSION= 1.26.b5
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_BERLIOS}
MASTER_SITE_SUBDIR=atop-freebsd
diff -ruN --exclude=CVS /usr/ports/sysutils/atop/distinfo /root/atop/distinfo
--- /usr/ports/sysutils/atop/distinfo 2011-07-02 15:23:32.000000000 +0200
+++ /root/atop/distinfo 2011-07-05 10:37:07.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (atop-1.26.fbsd.beta4.tar.bz2) = 1ac8ebc8ed47c2789f2eb22b4a84e3b2e624b6c55cc6c827026e3821e861fbb0
-SIZE (atop-1.26.fbsd.beta4.tar.bz2) = 130254
+SHA256 (atop-1.26.fbsd.beta5.tar.bz2) = 7c28d0ebe4473c0041c8a392ee91e1869853674b3577a4287a3d32f759aeac65
+SIZE (atop-1.26.fbsd.beta5.tar.bz2) = 130289
diff -ruN --exclude=CVS /usr/ports/sysutils/atop/files/atop.in /root/atop/files/atop.in
--- /usr/ports/sysutils/atop/files/atop.in 2011-07-04 09:50:42.000000000 +0200
+++ /root/atop/files/atop.in 2011-07-05 10:36:14.000000000 +0200
@@ -11,6 +11,20 @@
# /etc/rc.conf.local
# /etc/rc.conf.d/atop
#
+# Add the following lines to /etc/rc.conf to enable atop in daemon mode:
+# atop_enable (bool): Set to "NO" by default.
+# Set it to "YES" to enable atop in daemon mode
+# atop_interval (str): Set to 10 by default
+# Interval for data capture.
+# atop_logdir (str): Set to "%%LOGDIR%%".
+# Directory to store atop binary logs
+# atop_keepdays (str): Set to 30 by default.
+# Number of days to keep the logs when "rotate"
+# command is running.
+# atop_flags (str): Set to "" by default.
+# Extra flags passed to start command.
+#
+#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
. /etc/rc.subr
@@ -45,7 +59,6 @@
atop_rotate()
{
-
echo "Rotating logfile (${name})."
# write final sample and stop
sig_stop=SIGUSR2
diff -ruN --exclude=CVS /usr/ports/sysutils/atop/files/pkg-message.in /root/atop/files/pkg-message.in
--- /usr/ports/sysutils/atop/files/pkg-message.in 2011-07-02 15:23:32.000000000 +0200
+++ /root/atop/files/pkg-message.in 2011-07-05 10:41:42.000000000 +0200
@@ -10,7 +10,7 @@
You will also need to add "rotate" command to the system crontab:
-0 0 * * * %%PREFIX%%/etc/rc.d/atop rotate
+0 0 * * * %%PREFIX%%/etc/rc.d/atop rotate >dev/null
To change number of days to keep the logs (default - 30) use atop_keepdays
variable in your /etc/rc.conf file.
--- atop-1.26.b5.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list