Mantis - postfix
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
3063 | packaging | minor | always | 2009-02-11 23:40 | 2010-09-03 12:48 |
|
|||||
Reporter: | skayser | Platform: | |||
Assigned To: | skayser | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | |||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | |||
|
|||||
Summary: | 0003063: /opt/csw/libexec/postfix not stripped, takes ~30MB | ||||
Description: |
I just wondered why the CSWpostfix package is so huge (10MB). No wonder, files in /opt/csw/libexec/postfix are compiled with debugging symbols and are not stripped ;) /opt/csw/libexec/postfix# du -ks . 30533 . Notice the -g flag /opt/csw/libexec/postfix# /opt/SUNWspro/bin/dwarfdump -i lmtp | grep DW_AT_SUN_command | head -1 DW_AT_SUN_command_line /opt/SUNWspro/prod/bin/cc -DUSE_TLS -DUSE_SASL_AUTH -DHAS_LDAP -DHAS_PCRE -DHAS_MYSQL -DHAS_PGSQL -DHAS_DB -DDEF_MANPAGE_DIR='"/opt/csw/man"' -DDEF_COMMAND_DIR='"/opt/csw/sbin"' -DDEF_CONFIG_DIR='"/etc/opt/csw/postfix"' -DDEF_DAEMON_DIR='"/opt/csw/libexec/postfix"' -DDEF_MAILQ_PATH='"/opt/csw/bin/mailq"' -DDEF_HTML_DIR='"yes"' -DDEF_NEWALIAS_PATH='"/opt/csw/bin/newaliases"' -DDEF_QUEUE_DIR='"/opt/csw/var/spool/postfix"' -DDEF_README_DIR='"yes"' -I/opt/csw/include -I/opt/csw/include/openssl -I/opt/csw/include/sasl -I/opt/csw/mysql4/include/mysql -I/opt/csw/postgresql/include -I/opt/csw/bdb4/include -DNO_CLOSEFROM -DNO_DEV_URANDOM -DNO_FUTIMESAT -Dstrcasecmp='fix_strcasecmp' -Dstrncasecmp='fix_strncasecmp' -g -O -I. -I../../include -DSUNOS5 -c smtp.c -W0,-xp.XAAj6I\$vgRPIV9P. After a strip, it looks better /opt/csw/libexec/postfix# strip * /opt/csw/libexec/postfix# du -ks . 12091 . Just add STRIP_DIRS = $(DESTDIR)$(libexecdir)/postfix to your GAR Makefile and you should be fine. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: | |||||
|
|||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2009-02-11 23:40 | skayser | New Issue | |||
2009-02-11 23:41 | skayser | Note Added: 0005523 | |||
2009-02-11 23:43 | skayser | Project | sasl => postfix | ||
2010-08-17 17:46 | skayser | Status | new => assigned | ||
2010-08-17 17:46 | skayser | Assigned To | => skayser | ||
2010-08-17 17:47 | skayser | Note Added: 0008204 | |||
2010-08-17 17:47 | skayser | Status | assigned => resolved | ||
2010-08-17 17:47 | skayser | Resolution | open => fixed | ||
2010-09-03 12:48 | skayser | Note Added: 0008254 | |||
2010-09-03 12:48 | skayser | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|