pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/rtty



Module Name:    pkgsrc
Committed By:   he
Date:           Fri Sep 10 08:28:22 UTC 2021

Modified Files:
        pkgsrc/sysutils/rtty: Makefile
Added Files:
        pkgsrc/sysutils/rtty/patches: patch-agelogs.sh

Log Message:
rtty: allow overriding the number of saved daily log files
via NLOGS environment variable.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/sysutils/rtty/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/rtty/patches/patch-agelogs.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/rtty/Makefile
diff -u pkgsrc/sysutils/rtty/Makefile:1.33 pkgsrc/sysutils/rtty/Makefile:1.34
--- pkgsrc/sysutils/rtty/Makefile:1.33  Thu Jan 19 18:52:26 2017
+++ pkgsrc/sysutils/rtty/Makefile       Fri Sep 10 08:28:21 2021
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.33 2017/01/19 18:52:26 agc Exp $
+# $NetBSD: Makefile,v 1.34 2021/09/10 08:28:21 he Exp $
 
 DISTNAME=      rtty-3.2
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    sysutils
 MASTER_SITES=  http://gatekeeper.hpl.hp.com/archive/pub/misc/vixie/
 MASTER_SITES+= ftp://gatekeeper.hpl.hp.com/pub/misc/vixie/

Added files:

Index: pkgsrc/sysutils/rtty/patches/patch-agelogs.sh
diff -u /dev/null pkgsrc/sysutils/rtty/patches/patch-agelogs.sh:1.1
--- /dev/null   Fri Sep 10 08:28:22 2021
+++ pkgsrc/sysutils/rtty/patches/patch-agelogs.sh       Fri Sep 10 08:28:21 2021
@@ -0,0 +1,23 @@
+$NetBSD: patch-agelogs.sh,v 1.1 2021/09/10 08:28:21 he Exp $
+
+Allow overriding the number of daily saved logs via
+NLOGS environment variable.
+
+--- agelogs.sh.orig    1996-08-23 22:25:26.000000000 +0000
++++ agelogs.sh
+@@ -19,12 +19,14 @@
+ 
+ agelog=/usr/etc/agelog
+ 
++nlogs=${NLOGS:-7}
++
+ cd DESTPATH/dev
+ for tty in *
+ do
+       $agelog -m DESTPATH/log/$tty \
+               -p `cat DESTPATH/pid/$tty` \
+-              7 \
++              $nlogs \
+               DESTPATH/log/.aged
+ done
+ 



Home | Main Index | Thread Index | Old Index