pkgsrc-WIP-changes archive

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

Import rootsh-1.5.3 as wip/rootsh



Module Name:	pkgsrc-wip
Committed By:	Aleksej Lebedev <root%zta.lk@localhost>
Pushed By:	zhtw
Date:		Thu May 25 15:37:03 2017 +0200
Changeset:	d08743d8b19f1ef9259c8553bb198312f0df69b0

Added Files:
	rootsh/DESCR
	rootsh/Makefile
	rootsh/PLIST
	rootsh/distinfo
	rootsh/patches/patch-src_rootsh.c

Log Message:
Import rootsh-1.5.3 as wip/rootsh

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d08743d8b19f1ef9259c8553bb198312f0df69b0

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

diffstat:
 rootsh/DESCR                      |  4 ++++
 rootsh/Makefile                   | 14 ++++++++++++++
 rootsh/PLIST                      |  3 +++
 rootsh/distinfo                   |  7 +++++++
 rootsh/patches/patch-src_rootsh.c | 13 +++++++++++++
 5 files changed, 41 insertions(+)

diffs:
diff --git a/rootsh/DESCR b/rootsh/DESCR
new file mode 100644
index 0000000000..0dde7e3b31
--- /dev/null
+++ b/rootsh/DESCR
@@ -0,0 +1,4 @@
+Rootsh is a wrapper for shells which logs all echoed keystrokes and terminal
+output to a file and/or to syslog. It's main purpose is the auditing of users
+who need a shell with root privileges. They start rootsh through the sudo
+mechanism.
diff --git a/rootsh/Makefile b/rootsh/Makefile
new file mode 100644
index 0000000000..c3be2aef86
--- /dev/null
+++ b/rootsh/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+DISTNAME=	rootsh-1.5.3
+CATEGORIES=	sysutils
+MASTER_SITES=	https://sourceforge.net/projects/rootsh/files/rootsh/1.5.3/
+
+MAINTAINER=	root%zta.lk@localhost
+HOMEPAGE=	https://sourceforge.net/projects/rootsh
+COMMENT=	Logging wrapper for shells
+LICENSE=	gnu-gpl-v2
+
+GNU_CONFIGURE=	yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/rootsh/PLIST b/rootsh/PLIST
new file mode 100644
index 0000000000..0ef91bc297
--- /dev/null
+++ b/rootsh/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/rootsh
+man/man1/rootsh.1
diff --git a/rootsh/distinfo b/rootsh/distinfo
new file mode 100644
index 0000000000..228531e446
--- /dev/null
+++ b/rootsh/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (rootsh-1.5.3.tar.gz) = fa0049002b853a3d18b567dd60e4e714f9db2222
+RMD160 (rootsh-1.5.3.tar.gz) = 1e5083c37a89b7c00606b4ca7367b90bc4ad58cb
+SHA512 (rootsh-1.5.3.tar.gz) = 46e2492656d1a90387d820bff2433ae8404e620cd8b0a08d79086cf145d78048e3ce7cac0bf522b64904a6986a08b1158cdda6c0e3839f69556d17b0629fb120
+Size (rootsh-1.5.3.tar.gz) = 147408 bytes
+SHA1 (patch-src_rootsh.c) = bc6fcc9a75d4223d85de4fc4f3ad83646f5ae55f
diff --git a/rootsh/patches/patch-src_rootsh.c b/rootsh/patches/patch-src_rootsh.c
new file mode 100644
index 0000000000..285a317851
--- /dev/null
+++ b/rootsh/patches/patch-src_rootsh.c
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/rootsh.c.orig	2008-05-14 20:10:00.000000000 +0000
++++ src/rootsh.c
+@@ -680,7 +680,7 @@ int beginlogging(void) {
+     //  Open the logfile 
+     */
+     if ((logFile = open(logFileName, O_RDWR|O_CREAT|O_SYNC|O_CREAT|O_APPEND|
+-        S_IRUSR|S_IWUSR)) == -1) {
++        S_IRUSR|S_IWUSR, 0640)) == -1) {
+       perror(logFileName);
+       return(0);
+     }


Home | Main Index | Thread Index | Old Index