head	1.30;
access;
symbols
	RELEASE_8_3_0:1.27
	RELEASE_9_0_0:1.24
	RELEASE_7_4_0:1.22
	RELEASE_8_2_0:1.22
	RELEASE_6_EOL:1.22
	RELEASE_8_1_0:1.22
	RELEASE_7_3_0:1.22
	RELEASE_8_0_0:1.22
	RELEASE_7_2_0:1.22
	RELEASE_7_1_0:1.21
	RELEASE_6_4_0:1.21
	RELEASE_5_EOL:1.21
	RELEASE_7_0_0:1.19
	RELEASE_6_3_0:1.19
	PRE_XORG_7:1.18
	RELEASE_4_EOL:1.15
	RELEASE_6_2_0:1.14
	RELEASE_6_1_0:1.13
	RELEASE_5_5_0:1.13
	RELEASE_6_0_0:1.12
	RELEASE_5_4_0:1.11
	RELEASE_4_11_0:1.10
	RELEASE_5_3_0:1.10
	RELEASE_4_10_0:1.9
	RELEASE_5_2_1:1.4
	RELEASE_5_2_0:1.4
	RELEASE_4_9_0:1.1;
locks; strict;
comment	@# @;


1.30
date	2013.02.17.09.22.06;	author svnexp;	state Exp;
branches;
next	1.29;

1.29
date	2012.11.17.06.01.03;	author svnexp;	state Exp;
branches;
next	1.28;

1.28
date	2012.06.25.04.15.50;	author ak;	state Exp;
branches;
next	1.27;

1.27
date	2012.03.04.21.20.55;	author ak;	state Exp;
branches;
next	1.26;

1.26
date	2012.03.02.23.43.45;	author ak;	state Exp;
branches;
next	1.25;

1.25
date	2011.12.27.23.10.11;	author scheidell;	state Exp;
branches;
next	1.24;

1.24
date	2011.09.23.22.25.10;	author amdmi3;	state Exp;
branches;
next	1.23;

1.23
date	2011.06.20.12.57.56;	author dhn;	state Exp;
branches;
next	1.22;

1.22
date	2008.12.26.22.16.27;	author miwi;	state Exp;
branches;
next	1.21;

1.21
date	2008.05.05.06.52.58;	author rafan;	state Exp;
branches;
next	1.20;

1.20
date	2008.04.19.17.53.23;	author miwi;	state Exp;
branches;
next	1.19;

1.19
date	2007.08.14.13.52.32;	author itetcu;	state Exp;
branches;
next	1.18;

1.18
date	2007.04.16.19.33.05;	author rafan;	state Exp;
branches;
next	1.17;

1.17
date	2007.03.23.08.41.18;	author clement;	state Exp;
branches;
next	1.16;

1.16
date	2007.03.18.17.51.18;	author clement;	state Exp;
branches;
next	1.15;

1.15
date	2006.11.03.11.15.46;	author clement;	state Exp;
branches;
next	1.14;

1.14
date	2006.05.13.04.15.01;	author edwin;	state Exp;
branches;
next	1.13;

1.13
date	2005.12.19.09.20.32;	author clement;	state Exp;
branches;
next	1.12;

1.12
date	2005.07.10.19.52.15;	author clement;	state Exp;
branches;
next	1.11;

1.11
date	2005.01.08.16.49.03;	author clement;	state Exp;
branches;
next	1.10;

1.10
date	2004.07.31.09.10.43;	author clement;	state Exp;
branches;
next	1.9;

1.9
date	2004.02.04.05.08.44;	author marcus;	state Exp;
branches;
next	1.8;

1.8
date	2004.01.21.10.38.58;	author clement;	state Exp;
branches;
next	1.7;

1.7
date	2004.01.14.12.17.48;	author clement;	state Exp;
branches;
next	1.6;

1.6
date	2004.01.13.15.04.47;	author clement;	state Exp;
branches;
next	1.5;

1.5
date	2003.12.17.11.56.01;	author krion;	state Exp;
branches;
next	1.4;

1.4
date	2003.10.11.18.05.09;	author erwin;	state Exp;
branches;
next	1.3;

1.3
date	2003.10.06.12.30.05;	author edwin;	state Exp;
branches;
next	1.2;

1.2
date	2003.09.25.10.22.59;	author krion;	state Exp;
branches;
next	1.1;

1.1
date	2003.09.08.09.09.36;	author edwin;	state Exp;
branches;
next	;


desc
@@


1.30
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/312405
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Clement Laforet <sheepkiller@@cultdeadsheep.org>
# $FreeBSD: head/security/dropbear/Makefile 312405 2013-02-17 08:43:16Z ak $

PORTNAME=	dropbear
PORTVERSION=	2012.55
CATEGORIES=	security ipv6
MASTER_SITES=	http://matt.ucc.asn.au/dropbear/releases/

MAINTAINER=	ak@@FreeBSD.org
COMMENT=	SSH 2 server, designed to be usable in small memory environments

GNU_CONFIGURE=	yes
USE_BZIP2=	yes
USE_GMAKE=	yes

USE_RC_SUBR=	${PORTNAME}

PLIST_FILES=	bin/dbclient \
		bin/dropbearkey \
		bin/dropbearconvert \
		sbin/dropbear

PLIST_DIRSTRY=	etc/dropbear

MAN1=	dbclient.1
MAN8=	dropbear.8 dropbearkey.8

OPTIONS_DEFINE=	STATIC

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MSTATIC}
LDFLAGS+=	-static
.endif

post-patch:
	@@${REINPLACE_CMD} -e "s,_PRIV_FILENAME \"/etc/,_PRIV_FILENAME \"${PREFIX}/etc/,g; \
		s,/usr/bin/X11/,${LOCALBASE}/,g" ${WRKSRC}/options.h
	@@${REINPLACE_CMD} -e "s,sys/dir.h,dirent.h," ${WRKSRC}/*.[ch]
	@@${REINPLACE_CMD} -e "s,make clean,\$${MAKE} clean," \
				${WRKSRC}/libtomcrypt/Makefile.in

post-install:
	@@${MKDIR} ${PREFIX}/etc/dropbear
	${INSTALL_MAN} ${MAN1:S|^|${WRKSRC}/|} ${MAN1PREFIX}/man/man1
	${INSTALL_MAN} ${MAN8:S|^|${WRKSRC}/|} ${MAN8PREFIX}/man/man8

.include <bsd.port.mk>
@


1.29
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	dropbear
# Date created:				20 August 2003
# Whom:					Clement Laforet <sheepkiller@@cultdeadsheep.org>
#
# $FreeBSD: head/security/dropbear/Makefile 300897 2012-07-14 14:29:18Z beat $
#
d10 1
a10 1
COMMENT=	An SSH 2 server, designed to be usable in small memory environments
d12 3
a14 3
GNU_CONFIGURE=	YES
USE_BZIP2=	YES
USE_GMAKE=	YES
d25 3
d45 2
@


1.28
log
@- Convert to optionsNG
- Pet portlint
- Remove pkg-plist from security/dropbear

Approved by:	eadler (mentor)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.27
log
@Update to 2012.55
- fix arbitrary code execution (CVE-2012-0920)

Approved by:	eadler (mentor)
@
text
@d20 6
a25 1
OPTIONS=	STATIC  "Build statically"  off
d27 3
a29 1
USE_RC_SUBR=	${PORTNAME}
d31 1
a31 1
.include <bsd.port.pre.mk>
d33 1
a33 1
.if defined(WITH_STATIC)
a45 1
	@@${ECHO_MSG} ""
d47 1
a47 1
.include <bsd.port.post.mk>
@


1.26
log
@Update maintainer email in my ports

Approved by:	eadler (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	2011.54
@


1.25
log
@- Fix compile if WITH_STATIC is enabled [1]
- Also pr ports/163593, which is a duplicate of this one. root@@42.org [2]

PR:		ports/163217
Submitted by:	Mattia Rossi <mrossi@@swin.edu.au> [1], root@@42.org [2]
Approved by:	spam@@rm-rf.kiev.ua (maintainer), gabor (mentor)
@
text
@d13 1
a13 1
MAINTAINER=	spam@@rm-rf.kiev.ua
@


1.24
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d9 1
a9 1
PORTVERSION=	0.53.1
@


1.23
log
@- Update to 0.53.1

PR:		ports/158027
Submitted by:	Alex Kozlov <spam@@rm-rf.kiev.ua> (maintainer)
@
text
@d27 1
a27 1
CONFIGURE_ENV=	LDFLAGS=-static
@


1.22
log
@- Update to 0.52

PR:		129961
Submitted by:	Alex Kozlov <spam@@rm-rf.kiev.ua> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.52
@


1.21
log
@- Update to 0.51
- Use @@dirrmtry

PR:		ports/123355
Submitted by:	Alex Kozlov <spam at rm-rf.kiev.ua> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.51
d17 1
@


1.20
log
@- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
@
text
@d9 1
a9 1
PORTVERSION=	0.50
@


1.19
log
@- Update security/dropbear to 0.50.
-Drop deprecated WANT_* knob.

PR:		ports/115475
Submitted by:	Alex Kozlov (maintainer)
@
text
@d31 1
a31 1
		s,/usr/bin/X11/,${X11BASE}/,g" ${WRKSRC}/options.h
@


1.18
log
@- Use new world rc script

PR:		ports/111361
Approved by:	Alex Kozlov (maintainer)
Tested by:	Alex Kozlov, rafan
@
text
@d9 1
a9 2
PORTVERSION=	0.49
PORTREVISION=	1
d19 1
a19 1
OPTIONS=   STATIC  "Build statically"  off
d25 1
a25 1
.if defined(WANT_STATIC) || defined(WITH_STATIC)
a38 4
.if defined(WANT_STATIC)
	@@${ECHO_MSG} " WARNING: deprecated option WANT_STATIC used, use 'make config' instead"
	@@${ECHO_MSG} ""
.endif
@


1.17
log
@- Pass maintainership to Alex Kozlov.
@
text
@d10 1
d20 3
a22 1
OPTIONS=   STATIC  "Build statically"  off \
a35 2
	@@${SED} -e 's:__PREFIX__:${PREFIX}:g' \
		${FILESDIR}/dropbear.sh > ${WRKSRC}/dropbear.sh
a43 8
	@@${INSTALL_SCRIPT} ${WRKSRC}/dropbear.sh ${PREFIX}/etc/rc.d/dropbear.sh.sample
	@@${ECHO_MSG} " Now you have to create your SSH host key."
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} " To create RSA key:"
	@@${ECHO_MSG} " ${PREFIX}/bin/dropbearkey -t rsa -f ${PREFIX}/etc/dropbear/dropbear_rsa_host_key"
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} " For more details, run ${PREFIX}/bin/dropbearkey -h"
	@@${ECHO_MSG} ""
@


1.16
log
@- Update to 0.49
- OPTIONify
- Fix some documentation
- drop maintainership

PR:             ports/108785
Submitted by:   Alex Kozlov<spam@@rm-rf.kiev.ua>
@
text
@d13 1
a13 1
MAINTAINER=	ports@@FreeBSD.org
@


1.15
log
@- Update to 0.48.1
@
text
@d9 1
a9 1
PORTVERSION=	0.48.1
d13 1
a13 1
MAINTAINER=	clement@@FreeBSD.org
d19 5
a23 1
.if defined(WANT_STATIC)
d39 4
d47 1
a47 1
	@@${ECHO_MSG} " ${PREFIX}/sbin/dropbearkey -t rsa -f ${PREFIX}/etc/dropbear/dropbear_rsa_host_key"
d49 1
a49 1
	@@${ECHO_MSG} " For more details, run ${PREFIX}/sbin/dropbearkey -h"
d52 1
a52 1
.include <bsd.port.mk>
@


1.14
log
@Remove USE_REINPLACE from all categories starting with S
@
text
@d9 1
a9 1
PORTVERSION=	0.47
@


1.13
log
@- Update to 0.47
- SECURITY: fix for buffer allocation error in server code, could potentially
  allow authenticated users to gain elevated privileges.

PR:		ports/90531
Submitted by:	Gea-Suan Lin <gslin@@gslin.org>
@
text
@a17 1
USE_REINPLACE=	YES
@


1.12
log
@- Update to 0.46
@
text
@d9 1
a9 1
PORTVERSION=	0.46
@


1.11
log
@- Update to 0.44
@
text
@d9 1
a9 1
PORTVERSION=	0.44
d28 1
a28 1
	${REINPLACE_CMD} -e "s,make clean,\$${MAKE} clean," \
@


1.10
log
@Security fix.
- Update to 0.43
  This release fixes a DSS verification vulnerability.
  See:
  http://www.freebsd.org/ports/portaudit/0316f983-dfb6-11d8-9b0a-000347a4fa7d.html
@
text
@d9 1
a9 1
PORTVERSION=	0.43
d29 1
a29 1
				${WRKSRC}/libtomcrypt/makefile
@


1.9
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 1)
@
text
@d9 1
a9 2
PORTVERSION=	0.41
PORTREVISION=	1
d28 2
@


1.8
log
@- Update to 0.41
@
text
@d10 1
@


1.7
log
@- Update to 0.40

Approved by:        erwin (mentor) (implicitly)
@
text
@d9 1
a9 1
PORTVERSION=	0.40
@


1.6
log
@- Update my email address

Approved and reviewed by:    erwin (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	0.39
d27 1
@


1.5
log
@- Update to version 0.39

PR:		60296
Submitted by:	maintainer
@
text
@d13 1
a13 1
MAINTAINER=	sheepkiller@@cultdeadsheep.org
@


1.4
log
@Update to 0.38

PR:		57866
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	0.38
d20 1
a20 1
.if defined(IS_STATIC)
d24 4
a27 7
MAKE_ENV+=	INSTALL="${INSTALL}" INSTALL_PROGRAM="${INSTALL_PROGRAM}"
post-configure:
	@@${REINPLACE_CMD} -e "s,/etc/,${PREFIX}/etc/,g" ${WRKSRC}/options.h
	@@${REINPLACE_CMD} -e "s,/usr/bin/X11/,${X11BASE}/,g" ${WRKSRC}/options.h
	@@${REINPLACE_CMD} -e "s,^typedef int socklen_t,//typedef int socklen_t," \
		${WRKSRC}/includes.h
	${SED} -e 's:__PREFIX__:${PREFIX}:g' \
d32 1
a32 4
.if !defined(NOPORTDOC)
	@@${MKDIR} ${DOCSDIR}
	@@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
d34 7
@


1.3
log
@[maintainer patch] security/dropbear: Change fetch location

	I'm rearranging the files a bit on the Dropbear site to
	avoid problems with links going away for previous versions,
	would you be able to change the source url for Dropbear to
	be the package in the http://matt.ucc.asn.au/dropbear/releases/
	directory, rather than just the /dropbear/ dir?

PR:		ports/57643
Submitted by:	Clement Laforet <sheepkiller@@cultdeadsheep.org>
@
text
@d9 1
a9 1
PORTVERSION=	0.37
d24 1
a24 2
BIN=		dropbear dropbearkey dropbearconvert

d30 2
d33 2
a34 4
do-install:
.for bin in ${BIN}
	@@${INSTALL_PROGRAM} ${WRKSRC}/${bin} ${PREFIX}/bin
.endfor
d39 1
@


1.2
log
@- Update to version 0.37

PR:		57188
Submitted by:	maintainer
@
text
@d11 1
a11 1
MASTER_SITES=	http://matt.ucc.asn.au/dropbear/
@


1.1
log
@[new port] security/dropbear: a lightweight SSH2 server

	Dropbear is an SSH 2 server, designed to be usable in small
	memory environments.

	It supports:
		* Main features of SSH 2 protocol
		* Implements X11 forwarding, and authentication-agent forwarding
		for OpenSSH clients
		* Compatible with OpenSSH ~/.ssh/authorized_keys public key
		authentication

	WWW: http://matt.ucc.asn.au/dropbear/dropbear.html

PR:		ports/55795
Submitted by:	Clement Laforet <sheepkiller@@cultdeadsheep.org>
@
text
@d9 1
a9 1
PORTVERSION=	0.36
d29 2
@

