Use libcrypto instead of libdes.
This commit is contained in:
parent
fea326b4d1
commit
f499a39621
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57449
@ -26,7 +26,8 @@ MLINKS+=dump.8 rdump.8
|
|||||||
.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4)
|
.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4)
|
||||||
.PATH: ${.CURDIR}/../../crypto/kerberosIV/appl/bsd
|
.PATH: ${.CURDIR}/../../crypto/kerberosIV/appl/bsd
|
||||||
SRCS+= krcmd.c kcmd.c rcmd_util.c
|
SRCS+= krcmd.c kcmd.c rcmd_util.c
|
||||||
LDADD+= -lkrb -ldes
|
DPADD= ${LIBKRB} ${LIBCRYPTO}
|
||||||
|
LDADD+= -lkrb -lcrypto
|
||||||
CFLAGS+=-DKERBEROS -DHAVE_CONFIG_H \
|
CFLAGS+=-DKERBEROS -DHAVE_CONFIG_H \
|
||||||
-I${.CURDIR}/../../kerberosIV/include \
|
-I${.CURDIR}/../../kerberosIV/include \
|
||||||
-I${.CURDIR}/../../crypto/kerberosIV/include \
|
-I${.CURDIR}/../../crypto/kerberosIV/include \
|
||||||
|
@ -14,8 +14,8 @@ CFLAGS+= -DNFS -I${MOUNT} -I${UMNTALL}
|
|||||||
.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_KERBEROS) \
|
.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_KERBEROS) \
|
||||||
|| defined(MAKE_EBONES))
|
|| defined(MAKE_EBONES))
|
||||||
CFLAGS+=-DKERBEROS
|
CFLAGS+=-DKERBEROS
|
||||||
DPADD= ${LIBKRB} ${LIBDES}
|
DPADD= ${LIBKRB} ${LIBCRYPTO}
|
||||||
LDADD= -lkrb -ldes
|
LDADD= -lkrb -lcrypto
|
||||||
DISTRIBUTION= krb
|
DISTRIBUTION= krb
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
PROG= nfsd
|
PROG= nfsd
|
||||||
CFLAGS+=-DNFS
|
CFLAGS+=-DNFS
|
||||||
@ -6,12 +7,11 @@ MAN8= nfsd.8
|
|||||||
DPADD+= ${LIBUTIL}
|
DPADD+= ${LIBUTIL}
|
||||||
LDADD+= -lutil
|
LDADD+= -lutil
|
||||||
|
|
||||||
.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_KERBEROS) \
|
.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4)
|
||||||
|| defined(MAKE_EBONES))
|
|
||||||
CFLAGS+=-DKERBEROS
|
CFLAGS+=-DKERBEROS
|
||||||
DPADD+= ${LIBKRB} ${LIBDES}
|
DPADD+= ${LIBKRB} ${LIBCRYPTO}
|
||||||
LDADD+= -lkrb -ldes
|
LDADD+= -lkrb -lcrypto
|
||||||
DISTRIBUTION= krb
|
DISTRIBUTION= krb4
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -16,7 +16,8 @@ MLINKS+=restore.8 rrestore.8
|
|||||||
.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4)
|
.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4)
|
||||||
.PATH: ${.CURDIR}/../../crypto/kerberosIV/appl/bsd
|
.PATH: ${.CURDIR}/../../crypto/kerberosIV/appl/bsd
|
||||||
SRCS+= krcmd.c kcmd.c rcmd_util.c
|
SRCS+= krcmd.c kcmd.c rcmd_util.c
|
||||||
LDADD+= -lkrb -ldes
|
DPADD+= ${LIBKRB} ${LIBCRYPTO}
|
||||||
|
LDADD+= -lkrb -lcrypto
|
||||||
CFLAGS+=-DKERBEROS -DHAVE_CONFIG_H \
|
CFLAGS+=-DKERBEROS -DHAVE_CONFIG_H \
|
||||||
-I${.CURDIR}/../../kerberosIV/include \
|
-I${.CURDIR}/../../kerberosIV/include \
|
||||||
-I${.CURDIR}/../../crypto/kerberosIV/include \
|
-I${.CURDIR}/../../crypto/kerberosIV/include \
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
PROG= nfsd
|
PROG= nfsd
|
||||||
CFLAGS+=-DNFS
|
CFLAGS+=-DNFS
|
||||||
@ -6,12 +7,11 @@ MAN8= nfsd.8
|
|||||||
DPADD+= ${LIBUTIL}
|
DPADD+= ${LIBUTIL}
|
||||||
LDADD+= -lutil
|
LDADD+= -lutil
|
||||||
|
|
||||||
.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_KERBEROS) \
|
.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4)
|
||||||
|| defined(MAKE_EBONES))
|
|
||||||
CFLAGS+=-DKERBEROS
|
CFLAGS+=-DKERBEROS
|
||||||
DPADD+= ${LIBKRB} ${LIBDES}
|
DPADD+= ${LIBKRB} ${LIBCRYPTO}
|
||||||
LDADD+= -lkrb -ldes
|
LDADD+= -lkrb -lcrypto
|
||||||
DISTRIBUTION= krb
|
DISTRIBUTION= krb4
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user