From aa351fb4f5599d6a6808bc7e95b4d37399774e2c Mon Sep 17 00:00:00 2001 From: naddy Date: Fri, 17 May 2024 14:42:00 +0000 Subject: [PATCH] remove duplicate copy of relink kit for sshd-session --- usr.bin/ssh/sshd-session/Makefile | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/usr.bin/ssh/sshd-session/Makefile b/usr.bin/ssh/sshd-session/Makefile index dccf5fcbe91..40d5ee270e7 100644 --- a/usr.bin/ssh/sshd-session/Makefile +++ b/usr.bin/ssh/sshd-session/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2024/05/17 00:33:25 deraadt Exp $ +# $OpenBSD: Makefile,v 1.3 2024/05/17 14:42:00 naddy Exp $ .PATH: ${.CURDIR}/.. @@ -69,24 +69,3 @@ afterinstall: ${PROG}.tar ${DESTDIR}/usr/share/relink/${BINDIR}/${PROG} install -o ${BINOWN} -g ${BINGRP} -m 640 \ ${PROG}.tar ${DESTDIR}/usr/share/relink/${BINDIR}/${PROG}/${PROG}.tar - -# The random relink kit, used on OpenBSD by /etc/rc - -CLEANFILES+= ${PROG}.tar install.sh - -install.sh: Makefile - echo "set -o errexit" > $@ - echo "${CC} ${LDFLAGS} ${LDSTATIC} -o ${PROG}" \ - "\`echo " ${OBJS} "| tr ' ' '\\\n' | sort -R\`" ${LDADD} >> $@ - echo "./${PROG} -V # test it works" >> $@ - echo "install -c -s -o root -g bin -m ${BINMODE} ${PROG} " \ - "${BINDIR}/${PROG}" >> $@ - -${PROG}.tar: ${OBJS} install.sh - tar cf $@ ${OBJS} install.sh - -afterinstall: ${PROG}.tar - install -d -o root -g wheel -m 755 \ - ${DESTDIR}/usr/share/relink/${BINDIR}/${PROG} - install -o ${BINOWN} -g ${BINGRP} -m 640 \ - ${PROG}.tar ${DESTDIR}/usr/share/relink/${BINDIR}/${PROG}/${PROG}.tar -- 2.20.1