summaryrefslogtreecommitdiff
path: root/sysutils/checkperms
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-10-06 23:46:29 +0000
committerrillig <rillig@pkgsrc.org>2006-10-06 23:46:29 +0000
commit832600fbd76c1417fbcd21aa67f82bd4bb56cb7e (patch)
tree72f9f30127ae89e48e13138342c53f5aeeedcb98 /sysutils/checkperms
parentfa301a6a0b21a4cd47094467399730eac7bbd9a7 (diff)
downloadpkgsrc-832600fbd76c1417fbcd21aa67f82bd4bb56cb7e.tar.gz
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.
Diffstat (limited to 'sysutils/checkperms')
-rw-r--r--sysutils/checkperms/DESCR6
-rw-r--r--sysutils/checkperms/Makefile18
-rw-r--r--sysutils/checkperms/PLIST3
-rw-r--r--sysutils/checkperms/distinfo5
4 files changed, 32 insertions, 0 deletions
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