From 2aa6f75e79c1a426a2a67207016699dc30e4ca4b Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 11 Aug 2017 16:40:28 +0200 Subject: [PATCH 163/310] strip-freebsd.sh: Delete sendmail rc scripts as we don't ship the license either Obtained from: ElectroBSD --- release/scripts/strip-freebsd.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/release/scripts/strip-freebsd.sh b/release/scripts/strip-freebsd.sh index c6875e6baab8..e5287317b07a 100755 --- a/release/scripts/strip-freebsd.sh +++ b/release/scripts/strip-freebsd.sh @@ -140,6 +140,14 @@ get_directories_to_ditch() { echo "${potential_directory}" fi done + + # These files aren't useful without sendmail itself. + # More importantly, some of them are licensed under the + # "Sendmail License" which isn't part of the directory. + # + # Deleting them prevents them from ending up in + # the source tarball without license text. + echo etc/sendmail } purify_cwd() { -- 2.37.1