mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-05 09:14:03 +00:00
Get rid of the revolting hacks that were used to install the
/etc/sendmail.cf file. Submitted by: bde
This commit is contained in:
parent
9ced612d99
commit
3a233001ff
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=20979
15
etc/Makefile
15
etc/Makefile
@ -1,5 +1,5 @@
|
|||||||
# from: @(#)Makefile 5.11 (Berkeley) 5/21/91
|
# from: @(#)Makefile 5.11 (Berkeley) 5/21/91
|
||||||
# $Id: Makefile,v 1.144 1996/12/13 10:24:42 jkh Exp $
|
# $Id: Makefile,v 1.145 1996/12/13 17:01:51 bde Exp $
|
||||||
|
|
||||||
# -rw-r--r--
|
# -rw-r--r--
|
||||||
BINOWN= root
|
BINOWN= root
|
||||||
@ -34,9 +34,6 @@ COPYRIGHT= COPYRIGHT
|
|||||||
FREEBSD=
|
FREEBSD=
|
||||||
FREEBSD+= ${COPYRIGHT}
|
FREEBSD+= ${COPYRIGHT}
|
||||||
|
|
||||||
# Sendmail configuration file for release
|
|
||||||
SENDMAILCF?= freebsd.cf
|
|
||||||
|
|
||||||
# Compatibility stuff, remove those links
|
# Compatibility stuff, remove those links
|
||||||
LATIN1LINKS = \
|
LATIN1LINKS = \
|
||||||
da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_US es_ES fi_FI \
|
da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_US es_ES fi_FI \
|
||||||
@ -62,6 +59,7 @@ distribution:
|
|||||||
( cd ${.CURDIR}/../gnu/libexec/uucp/sample; ${MAKE} install ); \
|
( cd ${.CURDIR}/../gnu/libexec/uucp/sample; ${MAKE} install ); \
|
||||||
( cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap ); \
|
( cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap ); \
|
||||||
( cd ${.CURDIR}/../usr.sbin/rmt; ${MAKE} etc-rmt ); \
|
( cd ${.CURDIR}/../usr.sbin/rmt; ${MAKE} etc-rmt ); \
|
||||||
|
( cd ${.CURDIR}/../usr.sbin/sendmail/cf/cf; ${MAKE} etc-sendmail.cf ); \
|
||||||
pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd; \
|
pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd; \
|
||||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \
|
||||||
MAKEDEV.local etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev )
|
MAKEDEV.local etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev )
|
||||||
@ -106,15 +104,6 @@ distribution:
|
|||||||
${DESTDIR}/var/run/utmp
|
${DESTDIR}/var/run/utmp
|
||||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 ${.CURDIR}/minfree \
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 ${.CURDIR}/minfree \
|
||||||
${DESTDIR}/var/crash
|
${DESTDIR}/var/crash
|
||||||
(cd ${.CURDIR}/../usr.sbin/sendmail/src; \
|
|
||||||
${MAKE} obj; \
|
|
||||||
${MAKE} all; \
|
|
||||||
${MAKE} install; \
|
|
||||||
cd ../cf/cf; \
|
|
||||||
${MAKE} objlink; \
|
|
||||||
${MAKE} ${SENDMAILCF}; \
|
|
||||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 obj/${SENDMAILCF} \
|
|
||||||
${DESTDIR}/etc/sendmail.cf)
|
|
||||||
(cd ${.CURDIR}/..; \
|
(cd ${.CURDIR}/..; \
|
||||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${FREEBSD} \
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${FREEBSD} \
|
||||||
${DESTDIR}/)
|
${DESTDIR}/)
|
||||||
|
Loading…
Reference in New Issue
Block a user