diff --git a/security/Makefile b/security/Makefile index a4447bf327d..f9c636941c4 100644 --- a/security/Makefile +++ b/security/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.265 2011/06/25 07:11:30 rpointel Exp $ +# $OpenBSD: Makefile,v 1.266 2011/07/03 22:19:52 naddy Exp $ # $FreeBSD: Makefile,v 1.23 1997/11/09 10:17:02 asami Exp $ # @@ -26,7 +26,6 @@ SUBDIR += clamav SUBDIR += clamav-unofficial-sigs SUBDIR += clusterssh - SUBDIR += cops SUBDIR += corkscrew SUBDIR += cracklib SUBDIR += cryptcat diff --git a/security/cops/Makefile b/security/cops/Makefile deleted file mode 100644 index 12f386f0d65..00000000000 --- a/security/cops/Makefile +++ /dev/null @@ -1,53 +0,0 @@ -# $OpenBSD: Makefile,v 1.21 2010/11/20 17:22:43 espie Exp $ - -COMMENT= system secureness checker - -DISTNAME= cops.1.04 -PKGNAME = cops-1.04 -REVISION = 0 -CATEGORIES= security - -MASTER_SITES= ftp://ftp.cerias.purdue.edu/pub/tools/unix/scanners/cops/ - -PERMIT_PACKAGE_CDROM= No -PERMIT_PACKAGE_FTP= Yes -PERMIT_DISTFILES_CDROM= Yes -PERMIT_DISTFILES_FTP= Yes -WANTLIB= c - -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 - -WRKDIST= ${WRKDIR}/cops_104 - -pre-build: - cd ${WRKSRC} && ./reconfig - cd ${WRKSRC} && \ - sed -e 's,^SECURE=.*,SECURE=${PREFIX}/cops,g' -e '/^$$SECURE\/passwd\.chk.*/d' -e 's,^SECURE_USERS=.*,SECURE_USERS="root@localhost",g' -e 's/passwd\.chk pass.chk //g' cops > cops.out && \ - mv cops.out cops && chmod u+x cops - -MAKE_FILE= makefile -MAKE_FLAGS= EXECUTABLE="${EXECUTABLE}" C_SRC="${C_SRC}" \ - CC="${CC}" CFLAGS="${CFLAGS}" - -USE_GROFF = Yes -NO_REGRESS= Yes - -do-install: - rm -rf ${PREFIX}/cops - mkdir -p ${PREFIX}/cops - cp -R ${WRKSRC}/* ${PREFIX}/cops - chmod -R go-rwx ${PREFIX}/cops - rm -rf ${PREFIX}/cops/*.{old,orig} ${PREFIX}/cops/src \ - ${PREFIX}/cops/docs/{*.ms,makefile*} - # move man pages to correct place - for i in ${PREFIX}/cops/docs/*.1; do \ - j=`basename $$i .1`; \ - ${INSTALL_MAN} $$i ${PREFIX}/man/cat1/$$j.0; \ - rm -f ${PREFIX}/cops/docs/$$j $$i; \ - done - -.include diff --git a/security/cops/distinfo b/security/cops/distinfo deleted file mode 100644 index 3810f04a60f..00000000000 --- a/security/cops/distinfo +++ /dev/null @@ -1,5 +0,0 @@ -MD5 (cops.1.04.tar.gz) = 3CjnmF/Cj7YROEcMEe7L5Q== -RMD160 (cops.1.04.tar.gz) = g5Qz4Wl9sawVMo3kuVZNU6/0BGM= -SHA1 (cops.1.04.tar.gz) = 6Q1rm+0y843OIHYK3c7I8RUqqIM= -SHA256 (cops.1.04.tar.gz) = rcEepDkWSX8TJEFusQF/GmYY6btiWEXKxdjpOZf1r14= -SIZE (cops.1.04.tar.gz) = 290863 diff --git a/security/cops/patches/patch-docs_makefile b/security/cops/patches/patch-docs_makefile deleted file mode 100644 index ad2622c0e42..00000000000 --- a/security/cops/patches/patch-docs_makefile +++ /dev/null @@ -1,40 +0,0 @@ -$OpenBSD: patch-docs_makefile,v 1.1 2002/05/07 12:53:39 espie Exp $ ---- docs/makefile.orig Tue Mar 10 19:57:18 1992 -+++ docs/makefile Tue May 7 14:51:24 2002 -@@ -2,11 +2,11 @@ - # - # make all -- makes everything - # make -- make a given doc --DOCS = COPS.report.ms suid.man.ms kuang.man.ms -+DOCS = COPS.report.ms kuang.man.ms - MAN = cops.1 cron.chk.1 dev.chk.1 group.chk.1 is_able.chk.1 \ - passwd.chk.1 is_able.1 home.chk.1 user.chk.1 pass.chk.1 \ - root.chk.1 rc.chk.1 pass_diff.chk.1 misc.chk.1 \ -- is_writable.1 bug.chk.1 -+ is_writable.1 bug.chk.1 suid.chk.1 ftp.chk.1 - - DOC_SOURCE = COPS.report suid.man kuang.man cops cron.chk dev.chk is_able.chk \ - dir.chk file.chk group.chk passwd.chk is_able home.chk \ -@@ -18,7 +18,7 @@ ROFFLAGS = -ms - # Where the programs are.... - # - NROFF=/usr/bin/nroff --RM=/bin/rm -f -+RM=/bin/rm - - # make all - all: $(DOCS) $(MAN) -@@ -33,8 +33,11 @@ COPS.report.ms: COPS.report - kuang.man.ms: kuang.man - $(NROFF) $(ROFFLAGS) kuang.man > kuang.man.ms - --suid.man.ms: suid.man -- $(NROFF) $(ROFFLAGS) suid.man > suid.man.ms -+suid.chk.1: suid.man -+ $(NROFF) -man suid.man > suid.chk.1 -+ -+ftp.chk.1: ftp.chk -+ $(NROFF) -man ftp.chk > ftp.chk.1 - - bug.chk.1: bug.chk - $(NROFF) -man bug.chk > bug.chk.1 diff --git a/security/cops/pkg/DESCR b/security/cops/pkg/DESCR deleted file mode 100644 index 01d3e876cb3..00000000000 --- a/security/cops/pkg/DESCR +++ /dev/null @@ -1,9 +0,0 @@ -Cops is a set of programs to check how secure your -system is. It checks file and directory privileges, -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 -privileges and cops is meant to be run locally to -that directory. The perl version of cops is also -included in a subdirectory. diff --git a/security/cops/pkg/PLIST b/security/cops/pkg/PLIST deleted file mode 100644 index 37d3e8deab3..00000000000 --- a/security/cops/pkg/PLIST +++ /dev/null @@ -1,200 +0,0 @@ -@comment $OpenBSD: PLIST,v 1.5 2005/09/05 12:04:23 espie Exp $ -cops/ -cops/MANIFEST -cops/README.1 -cops/README.2.pl -cops/README.2.sh -cops/README.3 -cops/README.FIRST -cops/XTRA_CREDIT -cops/addto -cops/bug.chk -cops/bug.chk.aix -cops/bug.chk.apollo -cops/bug.chk.dec -cops/bug.chk.next -cops/bug.chk.sgi -cops/bug.chk.sun -cops/bug.chk.svr4 -cops/bug_cmp -cops/carp/ -cops/carp/How2Change -cops/carp/README -cops/carp/carp -cops/carp/carp.1 -cops/carp/carp.anlz -cops/carp/carp.anlz.1 -cops/carp/carp.awk -cops/carp/carp.table -cops/carp/carp2ps -cops/carp/carp2ps.1 -cops/checkacct/ -cops/checkacct/Article -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/write -cops/chk_strings -cops/clearfiles -cops/cops -cops/cops_filter -cops/cover_letter -cops/crc -cops/crc.chk -cops/crc_check -cops/crc_list -cops/cron.chk -cops/dev.chk -cops/disclaimer -cops/docs/ -cops/docs/COPS.report -cops/docs/COPS.tex -cops/docs/CRC.README -cops/docs/KUANG.README -cops/docs/SUID.README -cops/docs/kuang.man -cops/docs/obligitory.album -cops/docs/obligitory.joke -cops/docs/readme.C2 -cops/docs/readme.apollo -cops/docs/readme.filter -cops/docs/readme.ibm -cops/docs/readme.sequent -cops/docs/readme.shadow -cops/docs/readme.svr4 -cops/docs/readme.xenix -cops/docs/readme.yp -cops/docs/release.notes -cops/docs/suid.man -cops/docs/tilde -cops/docs/warnings -cops/extensions/ -cops/extensions/THINGS_2_DO -cops/extensions/YAR -cops/extensions/crypto-stuff -cops/extensions/netstuff -cops/extensions/passwords -cops/extensions/questions -cops/extensions/uucp.hardening -cops/extensions/writing.suid -cops/extra_src/ -cops/extra_src/README -cops/extra_src/bad_dir.pl -cops/extra_src/diff_last.sh -cops/extra_src/mail.chk -cops/extra_src/pass.mail -cops/extra_src/rhosts_sweeper -cops/extra_src/stop.make -cops/extra_src/trust.pl -cops/extra_src/uucp_1.shar -cops/extra_src/uucp_2.shar -cops/extra_src/uucp_quick.chk -cops/file.paths -cops/filewriters -cops/ftp.chk -cops/group.chk -cops/home.chk -cops/init_kuang -cops/is_able -cops/is_able.chk -cops/is_able.lst -cops/is_writable -cops/kuang -cops/kuang.pl.shar -cops/makefile -cops/members -cops/misc.chk -cops/pass.words -cops/pass_diff.chk -cops/passwd.chk -cops/patchlevel.h -cops/perl/ -cops/perl/README.kuang -cops/perl/README.sgi -cops/perl/chk_strings -cops/perl/chk_strings.pl -cops/perl/cops -cops/perl/cops.cf -@comment cops/perl/cops.cf.orig -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/is_able.pl -cops/perl/kuang -cops/perl/kuang.1 -cops/perl/misc.chk -cops/perl/pass.cache.pl -cops/perl/pass.chk -cops/perl/passwd.chk -cops/perl/pathconf.pl -cops/perl/pathconf.sh -cops/perl/prl.patch -cops/perl/rc.chk -cops/perl/reconfig.pl -cops/perl/root.chk -cops/perl/rules.pl -cops/perl/shadow.sh -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/platform -cops/quick_start -cops/rc.chk -cops/reconfig -cops/res_diff -cops/root.chk -cops/suid.chk -cops/suid.stop -cops/tilde -cops/user.chk -cops/yp_pass.chk -@man man/cat1/bug.chk.0 -@man man/cat1/cops.0 -@man man/cat1/cron.chk.0 -@man man/cat1/dev.chk.0 -@man man/cat1/ftp.chk.0 -@man man/cat1/group.chk.0 -@man man/cat1/home.chk.0 -@man man/cat1/is_able.0 -@man man/cat1/is_able.chk.0 -@man man/cat1/is_writable.0 -@man man/cat1/kuang.0 -@man man/cat1/misc.chk.0 -@man man/cat1/pass.chk.0 -@man man/cat1/pass_diff.chk.0 -@man man/cat1/passwd.chk.0 -@man man/cat1/rc.chk.0 -@man man/cat1/root.chk.0 -@man man/cat1/suid.chk.0 -@man man/cat1/user.chk.0