aboutsummaryrefslogtreecommitdiff
path: root/news/inn
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-03-01 15:47:06 +0000
committerClement Laforet <clement@FreeBSD.org>2004-03-01 15:47:06 +0000
commitc828d7783b16dc64c8c86c611f1b226ccbe34b1d (patch)
tree4a1e5f25cf7c9034fe3e4d9f395ec2d3b8d44920 /news/inn
parent573c5108810a8497188e3768b6059a9206b70aca (diff)
downloadports-c828d7783b16dc64c8c86c611f1b226ccbe34b1d.tar.gz
ports-c828d7783b16dc64c8c86c611f1b226ccbe34b1d.zip
Strip binaries.
Noticed by: naddy (monthes ago)
Notes
Notes: svn path=/head/; revision=102650
Diffstat (limited to 'news/inn')
-rw-r--r--news/inn/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/news/inn/Makefile b/news/inn/Makefile
index 3099a49a8879..963fd9e98467 100644
--- a/news/inn/Makefile
+++ b/news/inn/Makefile
@@ -120,6 +120,17 @@ MAN8= actsync.8 actsyncd.8 archive.8 auth_smb.8 batcher.8 buffchan.8 \
radius.8 rc.news.8 scanlogs.8 send-nntp.8 send-uucp.8 sendinpaths.8 \
tally.control.8 tdx-util.8 writelog.8
+TO_BE_STRIPPED= bin/auth/resolv/domain bin/auth/resolv/ident bin/auth/passwd/auth_smb \
+ bin/auth/passwd/ckpasswd bin/auth/passwd/radius bin/rnews.libexec/decode \
+ bin/rnews.libexec/encode bin/tdx-util bin/innd bin/inndstart bin/nnrpd \
+ bin/innfeed bin/startinnfeed bin/imapfeed bin/convdate bin/expire \
+ bin/expireover bin/fastrm bin/grephistory bin/makedbz bin/makehistory \
+ bin/prunehistory bin/ctlinnd bin/getlist bin/inews bin/innconfval \
+ bin/ovdb_init bin/ovdb_monitor bin/ovdb_server bin/ovdb_stat bin/rnews \
+ bin/sm bin/actsync bin/archive bin/batcher bin/buffchan bin/cvtbatch \
+ bin/filechan bin/inndf bin/innxmit bin/innxbatch bin/ninpaths bin/nntpget \
+ bin/overchan bin/shlock bin/shrinkfile
+
.include <bsd.port.pre.mk>
.if defined(WITH_STANDARD_ETC)
@@ -137,6 +148,11 @@ post-patch:
.endif
post-install:
+.if !defined(WITHOUT_STRIP)
+.for FILE in ${TO_BE_STRIPPED}
+ ${STRIP_CMD} ${PREFIX}/news/${FILE}
+.endfor
+.endif
${CHOWN} root:wheel ${PREFIX}/man ${PREFIX}/man/man1 ${PREFIX}/man/man3 \
${PREFIX}/man/man5 ${PREFIX}/man/man8
${MKDIR} ${INN_NEWSSPOOL}