FreeBSD Bugzilla – Attachment 35957 Details for
Bug 57866
[maintainer update] security/dropbear: update to 0.38
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
dropbear.diff
dropbear.diff (text/plain), 4.45 KB, created by
Clement Laforet
on 2003-10-11 16:00:18 UTC
(
hide
)
Description:
dropbear.diff
Filename:
MIME Type:
Creator:
Clement Laforet
Created:
2003-10-11 16:00:18 UTC
Size:
4.45 KB
patch
obsolete
>Index: dropbear/Makefile >=================================================================== >RCS file: /WORK/REPO/ports/security/dropbear/Makefile,v >retrieving revision 1.3 >diff -u -r1.3 Makefile >--- dropbear/Makefile 6 Oct 2003 12:30:05 -0000 1.3 >+++ dropbear/Makefile 11 Oct 2003 14:30:37 -0000 >@@ -6,7 +6,7 @@ > # > > PORTNAME= dropbear >-PORTVERSION= 0.37 >+PORTVERSION= 0.38 > CATEGORIES= security ipv6 > MASTER_SITES= http://matt.ucc.asn.au/dropbear/releases/ > >@@ -21,21 +21,21 @@ > CONFIGURE_ENV= LDFLAGS=-static > .endif > >-BIN= dropbear dropbearkey dropbearconvert >- >+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' \ >+ ${FILESDIR}/dropbear.sh > ${WRKSRC}/dropbear.sh > >-do-install: >-.for bin in ${BIN} >- @${INSTALL_PROGRAM} ${WRKSRC}/${bin} ${PREFIX}/bin >-.endfor >+post-install: >+ @${MKDIR} ${PREFIX}/etc/dropbear > .if !defined(NOPORTDOC) > @${MKDIR} ${DOCSDIR} > @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} > .endif >+ @${INSTALL_SCRIPT} ${WRKSRC}/dropbear.sh ${PREFIX}/etc/rc.d/dropbear.sh.sample > > .include <bsd.port.mk> >Index: dropbear/distinfo >=================================================================== >RCS file: /WORK/REPO/ports/security/dropbear/distinfo,v >retrieving revision 1.2 >diff -u -r1.2 distinfo >--- dropbear/distinfo 25 Sep 2003 10:22:59 -0000 1.2 >+++ dropbear/distinfo 11 Oct 2003 14:30:37 -0000 >@@ -1 +1 @@ >-MD5 (dropbear-0.37.tar.gz) = d71da88922b23fa41e5baac582cf74dc >+MD5 (dropbear-0.38.tar.gz) = 8e6d4d12db54d2f9dde3aa8365b41e27 >Index: dropbear/pkg-plist >=================================================================== >RCS file: /WORK/REPO/ports/security/dropbear/pkg-plist,v >retrieving revision 1.1 >diff -u -r1.1 pkg-plist >--- dropbear/pkg-plist 8 Sep 2003 09:09:36 -0000 1.1 >+++ dropbear/pkg-plist 11 Oct 2003 14:30:37 -0000 >@@ -1,5 +1,7 @@ >-bin/dropbear > bin/dropbearkey > bin/dropbearconvert >+etc/rc.d/dropbear.sh.sample >+sbin/dropbear > %%PORTDOCS%%%%DOCSDIR%%/README > %%PORTDOCS%%@dirrm %%DOCSDIR%% >+@unexec rmdir %D/etc/dropbear 2>/dev/null || echo "===> You can safely remove %D/etc/dropbear directory, if you don't want to use dropbear anymore." >Index: dropbear/files/dropbear.sh >=================================================================== >RCS file: dropbear/files/dropbear.sh >diff -N dropbear/files/dropbear.sh >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ dropbear/files/dropbear.sh 11 Oct 2003 14:30:37 -0000 >@@ -0,0 +1,27 @@ >+#!/bin/sh >+PREFIX=__PREFIX__ >+ETCDIR=${PREFIX}/etc/dropbear >+SBINDIR=${PREFIX}/sbin >+BINDIR=${PREFIX}/bin >+case "$1" in >+start) >+ [ -f ${ETCDIR}/dropbear_rsa_host_key ] || \ >+ ${BINDIR}/dropbearkey -t rsa -f ${ETCDIR}/dropbear_rsa_host_key >+ [ -f __PREFIX__/dropbear_dss_host_key ] || \ >+ ${BINDIR}/dropbearkey -t dss -f ${ETCDIR}/dropbear_dss_host_key >+ ${SBINDIR}/dropbear >+ echo $! > /var/run/dropbear.pid >+ echo -n ' dropbear' >+ ;; >+stop) >+ if [ -f /var/run/dropbear.pid ]; then >+ kill -TERM `cat /var/run/dropbear.pid` >+ rm -f /var/run/dropbear.pid >+ echo -n ' dropbear' >+ fi >+ ;; >+*) >+ echo "Usage: ${0##*/}: { start | stop }" 2>&1 >+ exit 65 >+ ;; >+esac >Index: dropbear/files/patch-Makefile.in >=================================================================== >RCS file: dropbear/files/patch-Makefile.in >diff -N dropbear/files/patch-Makefile.in >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ dropbear/files/patch-Makefile.in 11 Oct 2003 14:30:37 -0000 >@@ -0,0 +1,22 @@ >+--- Makefile.in.orig Sat Oct 11 10:08:19 2003 >++++ Makefile.in Sat Oct 11 14:58:58 2003 >+@@ -46,14 +46,11 @@ >+ -strip dropbearconvert >+ >+ install: all >+- install -d -m 755 $(DESTDIR)$(sbindir) >+- install -d -m 755 $(DESTDIR)$(bindir) >+- install -m 755 dropbear $(DESTDIR)$(sbindir) >+- install -m 755 dropbearkey $(DESTDIR)$(bindir) >+- install -m 755 dropbearconvert $(DESTDIR)$(bindir) >+- -chown root:root $(DESTDIR)$(sbindir)/dropbear >+- -chown root:root $(DESTDIR)$(bindir)/dropbearkey >+- -chown root:root $(DESTDIR)$(bindir)/dropbearconvert >++ ${INSTALL} -d -m 755 $(DESTDIR)$(sbindir) >++ ${INSTALL} -d -m 755 $(DESTDIR)$(bindir) >++ ${INSTALL_PROGRAM} dropbear $(DESTDIR)$(sbindir) >++ ${INSTALL_PROGRAM} dropbearkey $(DESTDIR)$(bindir) >++ ${INSTALL_PROGRAM} dropbearconvert $(DESTDIR)$(bindir) >+ >+ >+ static: dropbear-static dropbearkey-static dropbearconvert-static
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 57866
: 35957