head	1.21;
access;
symbols
	RELEASE_8_3_0:1.20
	RELEASE_9_0_0:1.20
	RELEASE_7_4_0:1.16
	RELEASE_8_2_0:1.16
	RELEASE_6_EOL:1.16
	RELEASE_8_1_0:1.16
	RELEASE_7_3_0:1.16
	RELEASE_8_0_0:1.16
	RELEASE_7_2_0:1.16
	RELEASE_7_1_0:1.16
	RELEASE_6_4_0:1.16
	RELEASE_5_EOL:1.16
	RELEASE_7_0_0:1.16
	RELEASE_6_3_0:1.16
	PRE_XORG_7:1.16
	RELEASE_4_EOL:1.16
	RELEASE_6_2_0:1.16
	RELEASE_6_1_0:1.14
	RELEASE_5_5_0:1.14
	RELEASE_6_0_0:1.14
	RELEASE_5_4_0:1.14
	RELEASE_4_11_0:1.14
	RELEASE_5_3_0:1.14
	RELEASE_4_10_0:1.14
	RELEASE_5_2_1:1.14
	RELEASE_5_2_0:1.14
	RELEASE_4_9_0:1.14
	RELEASE_5_1_0:1.14
	RELEASE_4_8_0:1.14
	RELEASE_5_0_0:1.13
	RELEASE_4_7_0:1.11
	RELEASE_4_6_2:1.11
	RELEASE_4_6_1:1.11
	RELEASE_4_6_0:1.11
	RELEASE_5_0_DP1:1.11
	RELEASE_4_5_0:1.11
	RELEASE_4_4_0:1.11
	RELEASE_4_3_0:1.11
	RELEASE_4_2_0:1.11
	RELEASE_4_1_1:1.11
	RELEASE_4_1_0:1.11
	RELEASE_3_5_0:1.10
	RELEASE_4_0_0:1.6
	RELEASE_3_4_0:1.6
	RELEASE_3_3_0:1.6
	RELEASE_3_2_0:1.4
	RELEASE_3_1_0:1.4
	RELEASE_2_2_8:1.4
	RELEASE_3_0_0:1.4
	RELEASE_2_2_7:1.4
	RELEASE_2_2_6:1.3
	RELEASE_2_2_5:1.3
	RELEASE_2_2_1:1.3
	RELEASE_2_2_2:1.3
	v1_04:1.1.1.1
	PORTS:1.1.1;
locks; strict;
comment	@# @;


1.21
date	2012.11.17.06.01.02;	author svnexp;	state Exp;
branches;
next	1.20;

1.20
date	2011.09.04.13.29.30;	author mandree;	state Exp;
branches;
next	1.19;

1.19
date	2011.09.03.08.03.36;	author cy;	state Exp;
branches;
next	1.18;

1.18
date	2011.05.01.20.14.15;	author bapt;	state dead;
branches;
next	1.17;

1.17
date	2011.03.13.21.30.56;	author bapt;	state Exp;
branches;
next	1.16;

1.16
date	2006.05.26.03.59.53;	author mnag;	state Exp;
branches;
next	1.15;

1.15
date	2006.05.25.01.46.00;	author mnag;	state Exp;
branches;
next	1.14;

1.14
date	2003.02.20.18.59.03;	author knu;	state Exp;
branches;
next	1.13;

1.13
date	2002.11.10.16.47.48;	author lioux;	state Exp;
branches;
next	1.12;

1.12
date	2002.11.06.22.46.46;	author adamw;	state Exp;
branches;
next	1.11;

1.11
date	2000.07.15.17.35.28;	author will;	state Exp;
branches;
next	1.10;

1.10
date	2000.05.02.14.48.07;	author jedgar;	state Exp;
branches;
next	1.9;

1.9
date	2000.04.21.22.07.32;	author fenner;	state Exp;
branches;
next	1.8;

1.8
date	2000.04.10.04.43.48;	author cpiazza;	state Exp;
branches;
next	1.7;

1.7
date	2000.04.09.18.29.28;	author cpiazza;	state Exp;
branches;
next	1.6;

1.6
date	99.08.31.01.50.58;	author peter;	state Exp;
branches;
next	1.5;

1.5
date	99.08.22.18.59.52;	author mharo;	state Exp;
branches;
next	1.4;

1.4
date	98.06.04.04.11.55;	author vanilla;	state Exp;
branches;
next	1.3;

1.3
date	96.11.18.07.31.46;	author obrien;	state Exp;
branches;
next	1.2;

1.2
date	96.11.17.19.29.55;	author obrien;	state Exp;
branches;
next	1.1;

1.1
date	96.11.17.18.29.54;	author jfitz;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	96.11.17.18.29.54;	author jfitz;	state Exp;
branches;
next	;


desc
@@


1.21
log
@Switch exporter over
@
text
@# New ports collection makefile for:	cops
# Date created:				29 August 1996
# Whom:					oly
#
# $FreeBSD: head/security/cops/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	cops
PORTVERSION=	1.04
CATEGORIES=	security
MASTER_SITES=	http://www.fish2.com/cops/ \
		http://komquats.com/distfiles/
DISTNAME=	${PORTNAME}${PORTVERSION:S/.//g}+

MAINTAINER=	cy@@FreeBSD.org
COMMENT=	A system secureness checker

WRKSRC=		${WRKDIR}/${PORTNAME}_${PORTVERSION:S/.//g}+
HAS_CONFIGURE=	yes
CONFIGURE_SCRIPT=	reconfig
MAKEFILE=	makefile
MAKE_ARGS=	EXECUTABLE="${EXECUTABLE}" C_SRC="${C_SRC}"
MAKE_JOBS_UNSAFE=	yes

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:
	${SED} \
	    -e 's,^SECURE=/usr/foo/bar,SECURE=${PREFIX}/cops,g' \
	    -e '/^$$SECURE\/passwd\.chk.*/d' \
	    -e 's,SECURE_USERS="foo@@bar\.edu",SECURE_USERS="root@@localhost",g' \
	    -e 's/passwd\.chk pass.chk //g' \
		${WRKSRC}/cops > ${WRKSRC}/cops.out
	${MV} ${WRKSRC}/cops.out ${WRKSRC}/cops

do-install:
	${MKDIR} ${PREFIX}/cops
	${TAR} -C ${WRKSRC} --exclude "*.old" -cf - . | \
		${TAR} -C ${PREFIX}/cops --unlink -xf -
	${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/cops
	${CHMOD} -R go-rwx ${PREFIX}/cops

.include <bsd.port.mk>
@


1.20
log
@Mark MAKE_JOBS_UNSAFE.
Reported by: eadler@@.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.19
log
@Bring this old-school tool back from the dead.

Assume maintainership of this port.
@
text
@d23 1
@


1.18
log
@Remove unmaintained expired ports from security

2011-05-01 security/aafid2: Upstream disapear and distfile is no more available
2011-05-01 security/bjorb: Upstream disapear and distfile is no more available
2011-05-01 security/borzoi: Upstream disapear and distfile is no more available
2011-05-01 security/cmd5checkpw: Upstream disapear and distfile is no more available
2011-05-01 security/cops: Upstream disapear and distfile is no more available
2011-05-01 security/find_ddos: Upstream disapear and distfile is no more available
2011-05-01 security/ftpmap: Upstream disapear and distfile is no more available
2011-05-01 security/hafiye: Upstream disapear and distfile is no more available
2011-05-01 security/ident2: Upstream disapear and distfile is no more available
2011-05-01 security/liedentd: Upstream disapear and distfile is no more available
2011-05-01 security/pam_pop3: Upstream disapear and distfile is no more available
2011-05-01 security/poc: Upstream disapear and distfile is no more available
2011-05-01 security/portscanner: Upstream disapear and distfile is no more available
2011-05-01 security/ppgen: Upstream disapear and distfile is no more available
2011-05-01 security/qident: Upstream disapear and distfile is no more available
2011-05-01 security/quintuple-agent: Upstream disapear and distfile is no more available
2011-05-01 security/rc5pipe: Upstream disapear and distfile is no more available
2011-05-01 security/rid: Upstream disapear and distfile is no more available
2011-05-01 security/ssh: Upstream disapear and distfile is no more available
2011-05-01 security/tea-total: Upstream disapear and distfile is no more available
2011-05-01 security/uberkey: Upstream disapear and distfile is no more available
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cops/Makefile,v 1.17 2011/03/13 21:30:56 bapt Exp $
d12 1
a12 2
		http://mirror2.unixfreunde.de/ \
		http://freebsd.unixfreunde.de/sources/
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
a17 3
DEPRECATED=     Upstream disapear and distfile is no more available
EXPIRATION_DATE=        2011-05-01

@


1.17
log
@Deprecate unmaintained ports from security where upstream disapear and/or
where no distfiles can be found and are not used by maintained ports
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.16
log
@- Re-add primary master site, while here fix WWW

Notified by:	sam
@
text
@d19 3
@


1.15
log
@- Fix master sites

PR:		97827
Submitted by:	Martin Wilke <freebsd___unixfreunde.de>
@
text
@d11 2
a12 1
MASTER_SITES=	http://mirror2.unixfreunde.de/ \
@


1.14
log
@De-pkg-comment.
@
text
@d11 2
a12 1
MASTER_SITES=	http://www.fish.com/cops/
@


1.13
log
@o Rollback PORTCOMMENT modifications while this feature's implementation
  is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
@
text
@d15 1
@


1.12
log
@Use PORTCOMMENT in the Makefile, and whack the pkg-comment.

Approved by:	pat
@
text
@a15 2
PORTCOMMENT=	A system secureness checker

@


1.11
log
@Fix MASTER_SITES; add WWW.  Add MAINTAINER while I'm here.

PR:		19932
Submitted by:	Ports Fury
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cops/Makefile,v 1.10 2000/05/02 14:48:07 jedgar Exp $
d15 2
@


1.10
log
@Update MASTER_SITES to allow this port to be fetched again.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cops/Makefile,v 1.9 2000/04/21 22:07:32 fenner Exp $
d11 10
a20 2
MASTER_SITES=	ftp://coast.cs.purdue.edu/pub/tools/unix/cops/
DISTNAME=	${PORTNAME}.${PORTVERSION}
a21 1
WRKSRC=		${WRKDIR}/cops_104
d29 7
a35 7
	(cd ${WRKSRC} ; ./reconfig)
	(cd ${WRKSRC} ; \
	${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 ${WRKSRC} ; make EXECUTABLE="${EXECUTABLE}" C_SRC="${C_SRC}")
d38 5
a42 4
	(cd ${WRKSRC} ; ${RM} -rf ${PREFIX}/cops ; ${MKDIR} ${PREFIX}/cops ; \
	${CP} -R * ${PREFIX}/cops ; \
	${CHMOD} -R go-rwx ${PREFIX}/cops ; \
	${RM} -rf ${PREFIX}/cops/*.old ${PREFIX}/cops/src)
@


1.9
log
@Remove oly@@world.std.com as MAINTAINER; email has been bouncing for 2 months.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cops/Makefile,v 1.8 2000/04/10 04:43:48 cpiazza Exp $
d11 1
a11 1
MASTER_SITES=	ftp://ftp.cert.org/pub/tools/cops/
@


1.8
log
@Forgot to remove some variables
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cops/Makefile,v 1.7 2000/04/09 18:29:28 cpiazza Exp $
a12 2

MAINTAINER=	oly@@world.std.com
@


1.7
log
@Update with the new PORTNAME/PORTVERSION variables
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cops/Makefile,v 1.6 1999/08/31 01:50:58 peter Exp $
a9 2
DISTNAME=	cops.1.04
PKGNAME=	cops-1.04
@


1.6
log
@$Id$ -> $FreeBSD$
@
text
@a1 1
# Version required:			1.04
d5 1
a5 1
# $FreeBSD$
d8 2
d14 1
@


1.5
log
@chmod -> ${CHMOD}
chown -> ${CHOWN}
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.4 1998/06/04 04:11:55 vanilla Exp $
@


1.4
log
@1. Correct MASTER_SITES.
2. Sort pkg/PLIST.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.3 1996/11/18 07:31:46 obrien Exp $
d27 1
a27 1
	${MV} cops.out cops ; chmod u+x cops)
d35 1
a35 1
	chmod -R go-rwx ${PREFIX}/cops ; \
@


1.3
log
@Missed that PKGNAME and DISTNAME needed to be switched.
@
text
@d1 1
a1 1
# new ports collection makefile for:	cops
d6 1
a6 1
# $Id: Makefile,v 1.2 1996/11/17 19:29:55 obrien Exp $
d9 1
a9 1
DISTNAME=	cops_104
d12 1
a12 2
MASTER_SITES=	ftp://ftp.cert.org/pub/tools/cops/1.04/
EXTRACT_SUFX=	.tar.Z
d16 6
a21 5
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
d26 2
a27 2
	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)
d33 2
a34 2
	(cd ${WRKDIR} ; rm -rf ${PREFIX}/cops ; ${MKDIR} ${PREFIX}/cops ; \
	${CP} -R ${DISTNAME}/* ${PREFIX}/cops ; \
d36 1
a36 1
	rm -rf ${PREFIX}/cops/*.old ${PREFIX}/cops/src)
@


1.2
log
@Removed the hardcoded paths and used our variables instead (WRKSRC,PREFIX).
CATEGORIES+= --> CATEGORIES=
@
text
@d6 1
a6 1
# $Id$
d9 1
a10 1
DISTNAME=	cops_104
@


1.1
log
@Initial revision
@
text
@d5 3
d11 1
a11 2
CATEGORIES+=	security

d24 4
a27 2
	(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)
d30 1
a30 1
	(cd work/${DISTNAME} ; make EXECUTABLE="${EXECUTABLE}" C_SRC="${C_SRC}")
d33 4
a36 1
	(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)
@


1.1.1.1
log
@Import of the COPS system security checker.
Reviewed by:	jfitz@@FreeBSD.ORG
Submitted by:	 Oliver Oberdorf <oly@@world.std.com>
@
text
@@
