From 832600fbd76c1417fbcd21aa67f82bd4bb56cb7e Mon Sep 17 00:00:00 2001 From: rillig Date: Fri, 6 Oct 2006 23:46:29 +0000 Subject: Imported checkperms. checkperms is a small and simple program that detects many inconsistencies in file and directory permissions. Theoretically, there are 2^12 valid combinations (setuid, setgid, sticky, owner-rwx, group-rwx, other-rwx), but only very few of them are actually used. It can automatically fix the permissions if instructed so. --- sysutils/checkperms/DESCR | 6 ++++++ sysutils/checkperms/Makefile | 18 ++++++++++++++++++ sysutils/checkperms/PLIST | 3 +++ sysutils/checkperms/distinfo | 5 +++++ 4 files changed, 32 insertions(+) create mode 100644 sysutils/checkperms/DESCR create mode 100644 sysutils/checkperms/Makefile create mode 100644 sysutils/checkperms/PLIST create mode 100644 sysutils/checkperms/distinfo (limited to 'sysutils') diff --git a/sysutils/checkperms/DESCR b/sysutils/checkperms/DESCR new file mode 100644 index 00000000000..ea7e8e1576e --- /dev/null +++ b/sysutils/checkperms/DESCR @@ -0,0 +1,6 @@ +checkperms is a small and simple program that detects many +inconsistencies in file and directory permissions. Theoretically, there +are 2^12 valid combinations (setuid, setgid, sticky, owner-rwx, +group-rwx, other-rwx), but only very few of them are actually used. + +It can automatically fix the permissions if instructed so. diff --git a/sysutils/checkperms/Makefile b/sysutils/checkperms/Makefile new file mode 100644 index 00000000000..08668231409 --- /dev/null +++ b/sysutils/checkperms/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/10/06 23:46:29 rillig Exp $ +# + +DISTNAME= checkperms-1.0 +CATEGORIES= sysutils +MASTER_SITES= http://www.schlechte-software.de/checkperms/ + +MAINTAINER= rillig@NetBSD.org +HOMEPAGE= http://www.schlechte-software.de/checkperms/ +COMMENT= Check and correct file permissions + +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/checkperms ${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/checkperms.1 ${PREFIX}/${PKGMANDIR}/man1/ + +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/checkperms/PLIST b/sysutils/checkperms/PLIST new file mode 100644 index 00000000000..2104db75eaa --- /dev/null +++ b/sysutils/checkperms/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/10/06 23:46:29 rillig Exp $ +bin/checkperms +man/man1/checkperms.1 diff --git a/sysutils/checkperms/distinfo b/sysutils/checkperms/distinfo new file mode 100644 index 00000000000..270f0bb9c8d --- /dev/null +++ b/sysutils/checkperms/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/10/06 23:46:29 rillig Exp $ + +SHA1 (checkperms-1.0.tar.gz) = 9760f6fbee8e0cf775b45172713104542dd0610a +RMD160 (checkperms-1.0.tar.gz) = 93630679ecbd2b613246034a519df5a3dc886cc6 +Size (checkperms-1.0.tar.gz) = 4169 bytes -- cgit v1.2.3