summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorjfitz <jfitz@FreeBSD.org>1996-11-17 18:29:57 +0000
committerjfitz <jfitz@FreeBSD.org>1996-11-17 18:29:57 +0000
commitfd713c791d7edcb223a50ba784825628ff86687e (patch)
treedf0a3da102e4ce6263f3cc0d71a9245d28f5cbf4 /security
parentf95badcd5d093396c503762d21c6da767cf7e08f (diff)
downloadFreeBSD-ports-fd713c791d7edcb223a50ba784825628ff86687e.zip
FreeBSD-ports-fd713c791d7edcb223a50ba784825628ff86687e.tar.gz
Import of the COPS system security checker.
Reviewed by: jfitz@FreeBSD.ORG Submitted by: Oliver Oberdorf <oly@world.std.com>
Diffstat (limited to 'security')
-rw-r--r--security/cops/Makefile31
-rw-r--r--security/cops/distinfo1
-rw-r--r--security/cops/pkg-comment1
-rw-r--r--security/cops/pkg-descr14
-rw-r--r--security/cops/pkg-plist200
5 files changed, 247 insertions, 0 deletions
diff --git a/security/cops/Makefile b/security/cops/Makefile
new file mode 100644
index 0000000..a0ade64
--- /dev/null
+++ b/security/cops/Makefile
@@ -0,0 +1,31 @@
+# new ports collection makefile for: cops
+# Version required: 1.04
+# Date created: 29 August 1996
+# Whom: oly
+
+PKGNAME= cops-1.04
+DISTNAME= cops_104
+CATEGORIES+= security
+
+MASTER_SITES= ftp://ftp.cert.org/pub/tools/cops/1.04/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= oly@world.std.com
+
+EXECUTABLE = home.chk user.chk is_writable crc crc_check \
+ addto clearfiles filewriters members tilde is_able
+C_SRC = home.chk.c user.chk.c is_able.c is_something.c \
+ addto.c clearfiles.c filewriters.c members.c tilde.c \
+ crc.c crc_check.c
+
+pre-build:
+ (cd work/${DISTNAME} ; ./reconfig)
+ (cd work/${DISTNAME} ; sed 's,^SECURE=/usr/foo/bar,SECURE=${PREFIX}/cops,g' < cops | sed '/^$$SECURE\/passwd\.chk.*/d' | sed 's,SECURE_USERS="foo@bar\.edu",SECURE_USERS="root@localhost",g' | sed 's/passwd\.chk pass.chk //g' > cops.out ; mv cops.out cops ; chmod u+x cops)
+
+do-build:
+ (cd work/${DISTNAME} ; make EXECUTABLE="${EXECUTABLE}" C_SRC="${C_SRC}")
+
+do-install:
+ (cd work ; rm -rf /usr/local/cops ; ${MKDIR} /usr/local/cops ; cp -R ${DISTNAME}/* ${PREFIX}/cops ; chmod -R go-rwx ${PREFIX}/cops ; rm -f ${PREFIX}/cops/*.old ; rm -rf ${PREFIX}/cops/src)
+
+.include <bsd.port.mk>
diff --git a/security/cops/distinfo b/security/cops/distinfo
new file mode 100644
index 0000000..7b46aed
--- /dev/null
+++ b/security/cops/distinfo
@@ -0,0 +1 @@
+MD5 (cops_104.tar.Z) = 1fa416872934e5bee99068f9989cb8b0
diff --git a/security/cops/pkg-comment b/security/cops/pkg-comment
new file mode 100644
index 0000000..34a4630
--- /dev/null
+++ b/security/cops/pkg-comment
@@ -0,0 +1 @@
+A system secureness checker.
diff --git a/security/cops/pkg-descr b/security/cops/pkg-descr
new file mode 100644
index 0000000..9d370c7
--- /dev/null
+++ b/security/cops/pkg-descr
@@ -0,0 +1,14 @@
+Cops is a set of programs to check how secure your
+system is. It checks file and directory privledges,
+SUID programs, etc. It has support for checking
+passwords, but this port doesn't include it as it
+is DES based. This port installs cops in a single
+directory area. The directory has no non-user
+privledges and cops is meant to be run locally to
+that directory. The perl version of cops is also
+included in a subdirectory.
+
+This is version 1.04
+
+- Oly
+oly@world.std.com
diff --git a/security/cops/pkg-plist b/security/cops/pkg-plist
new file mode 100644
index 0000000..a30b02f
--- /dev/null
+++ b/security/cops/pkg-plist
@@ -0,0 +1,200 @@
+cops/extra_src/uucp_1.shar
+cops/extra_src/mail.chk
+cops/extra_src/trust.pl
+cops/extra_src/bad_dir.pl
+cops/extra_src/stop.make
+cops/extra_src/README
+cops/extra_src/uucp_quick.chk
+cops/extra_src/uucp_2.shar
+cops/extra_src/rhosts_sweeper
+cops/extra_src/pass.mail
+cops/extra_src/diff_last.sh
+cops/docs/KUANG.README
+cops/docs/SUID.README
+cops/docs/cops
+cops/docs/dev.chk
+cops/docs/CRC.README
+cops/docs/home.chk
+cops/docs/pass.chk
+cops/docs/is_able
+cops/docs/kuang.1
+cops/docs/kuang.man
+cops/docs/rc.chk
+cops/docs/is_able.chk
+cops/docs/release.notes
+cops/docs/suid.man
+cops/docs/tilde
+cops/docs/warnings
+cops/docs/root.chk
+cops/docs/cron.chk
+cops/docs/group.chk
+cops/docs/pass_diff.chk
+cops/docs/user.chk
+cops/docs/makefile
+cops/docs/passwd.chk
+cops/docs/ftp.chk
+cops/docs/misc.chk
+cops/docs/COPS.tex
+cops/docs/readme.sequent
+cops/docs/is_writable
+cops/docs/readme.C2
+cops/docs/readme.apollo
+cops/docs/readme.ibm
+cops/docs/readme.shadow
+cops/docs/readme.svr4
+cops/docs/readme.xenix
+cops/docs/readme.yp
+cops/docs/bug.chk
+cops/docs/readme.filter
+cops/docs/obligitory.joke
+cops/docs/obligitory.album
+cops/docs/COPS.report
+cops/docs/makefile.old
+cops/extensions/writing.suid
+cops/extensions/YAR
+cops/extensions/crypto-stuff
+cops/extensions/netstuff
+cops/extensions/passwords
+cops/extensions/questions
+cops/extensions/uucp.hardening
+cops/extensions/THINGS_2_DO
+cops/checkacct/write
+cops/checkacct/Intro
+cops/checkacct/Makefile
+cops/checkacct/README.FIRST
+cops/checkacct/bsd.m4
+cops/checkacct/ca.src
+cops/checkacct/chkacct.1l
+cops/checkacct/dotwrite
+cops/checkacct/effect.dotwrit
+cops/checkacct/effect.owners
+cops/checkacct/effect.read
+cops/checkacct/effect.rhosts
+cops/checkacct/effect.setuid
+cops/checkacct/effect.write
+cops/checkacct/owners
+cops/checkacct/prm.mm
+cops/checkacct/prompt.help
+cops/checkacct/readable
+cops/checkacct/rhosts
+cops/checkacct/rhosts.pl
+cops/checkacct/setuid
+cops/checkacct/sysV.m4
+cops/checkacct/Article
+cops/carp/How2Change
+cops/carp/carp
+cops/carp/carp.anlz
+cops/carp/carp.table
+cops/carp/carp.awk
+cops/carp/carp.anlz.1
+cops/carp/carp2ps
+cops/carp/carp2ps.1
+cops/carp/README
+cops/carp/carp.1
+cops/perl/README.sgi
+cops/perl/README.kuang
+cops/perl/cops.cf.orig
+cops/perl/cops.cf
+cops/perl/chk_strings
+cops/perl/chk_strings.pl
+cops/perl/cops
+cops/perl/cron.chk
+cops/perl/dev.chk
+cops/perl/fgrep.pl
+cops/perl/file_mode.pl
+cops/perl/file_owner.pl
+cops/perl/ftp.chk
+cops/perl/get-cf
+cops/perl/getopts.pl
+cops/perl/glob.pl
+cops/perl/group.chk
+cops/perl/hostname.pl
+cops/perl/is_able.chk
+cops/perl/is_able.lst
+cops/perl/kuang
+cops/perl/is_able.pl
+cops/perl/kuang.1
+cops/perl/misc.chk
+cops/perl/pass.chk
+cops/perl/pass.cache.pl
+cops/perl/passwd.chk
+cops/perl/pathconf.pl
+cops/perl/pathconf.sh
+cops/perl/rc.chk
+cops/perl/reconfig.pl
+cops/perl/root.chk
+cops/perl/rules.pl
+cops/perl/stat.pl
+cops/perl/suckline.pl
+cops/perl/suid.chk
+cops/perl/suid.stop
+cops/perl/user.chk
+cops/perl/yagrip.pl
+cops/perl/prl.patch
+cops/perl/shadow.sh
+cops/bug.chk.aix
+cops/cops
+cops/bug_cmp
+cops/cover_letter
+cops/crc.chk
+cops/crc_list
+cops/cron.chk
+cops/dev.chk
+cops/bug.chk.dec
+cops/disclaimer
+cops/bug.chk.sgi
+cops/ftp.chk
+cops/kuang
+cops/group.chk
+cops/init_kuang
+cops/is_able.chk
+cops/rc.chk
+cops/is_able.lst
+cops/kuang.pl.shar
+cops/makefile
+cops/misc.chk
+cops/pass.words
+cops/pass_diff.chk
+cops/bug.chk.sun
+cops/patchlevel.h
+cops/quick_start
+cops/bug.chk.apollo
+cops/bug.chk.next
+cops/bug.chk.svr4
+cops/platform
+cops/cops_filter
+cops/reconfig
+cops/res_diff
+cops/root.chk
+cops/suid.chk
+cops/yp_pass.chk
+cops/README.2.sh
+cops/README.2.pl
+cops/README.FIRST
+cops/suid.stop
+cops/file.paths
+cops/home.chk
+cops/user.chk
+cops/is_writable
+cops/crc
+cops/crc_check
+cops/addto
+cops/members
+cops/clearfiles
+cops/filewriters
+cops/tilde
+cops/MANIFEST
+cops/is_able
+cops/bug.chk
+cops/README.1
+cops/README.3
+cops/passwd.chk
+cops/XTRA_CREDIT
+cops/chk_strings
+@dirrm cops/carp
+@dirrm cops/perl
+@dirrm cops/checkacct
+@dirrm cops/extra_src
+@dirrm cops/extensions
+@dirrm cops/docs
+@dirrm cops
OpenPOWER on IntegriCloud