FreeBSD Bugzilla – Attachment 164590 Details for
Bug 205570
mail/assp: cleanup
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
assp.patch (text/plain), 3.14 KB, created by
Dmitry Marakasov
on 2015-12-24 11:57:09 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2015-12-24 11:57:09 UTC
Size:
3.14 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 404120) >+++ Makefile (working copy) >@@ -18,6 +18,7 @@ > USES= perl5 zip:infozip shebangfix > SHEBANG_FILES= *.pl > NO_BUILD= yes >+NO_ARCH= yes > USE_PERL5= run > > ASSP_USER= assp >@@ -138,14 +139,17 @@ > > ${INSTALL_MAN} ${WRKDIR}/assp.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 > ${INSTALL_MAN} ${WRKDIR}/assplog.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 >- ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily >+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily > ${INSTALL_SCRIPT} ${WRKDIR}/510.assp ${STAGEDIR}${PREFIX}/etc/periodic/daily/ >- ${MKDIR} ${STAGEDIR}${ASSP_HOME} >- ${MKDIR} ${STAGEDIR}${ASSP_LOG} >+ @${MKDIR} ${STAGEDIR}${ASSP_HOME} >+ @${MKDIR} ${STAGEDIR}${ASSP_LOG} >+.for f in files images rebuildspamdb.pl reports >+ ${LN} -sf ${DATADIR}/${f} ${STAGEDIR}${ASSP_HOME}/ >+.endfor >+ ${LN} -sf ${ASSP_LOG} ${STAGEDIR}${ASSP_HOME}/logs > >-.if ${PORT_OPTIONS:MDOCS} >- ${MKDIR} ${STAGEDIR}${DOCSDIR} >+do-install-DOCS-on: >+ @${MKDIR} ${STAGEDIR}${DOCSDIR} > ${INSTALL_DATA} ${WRKSRC}/docs/*.htm ${STAGEDIR}${DOCSDIR} >-.endif > > .include <bsd.port.mk> >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 404120) >+++ pkg-plist (working copy) >@@ -98,32 +98,16 @@ > %%DATADIR%%/stat.pl > %%PORTDOCS%%%%DOCSDIR%%/Legacy - ASSP Documentation.htm > %%PORTDOCS%%%%DOCSDIR%%/Regular Expression Tutorial.htm >-%%PORTDOCS%%@dirrm %%DOCSDIR%% > man/man8/assp.8.gz > man/man8/assplog.8.gz >-@dirrmtry %%DATADIR%%/reports >-@dirrmtry %%DATADIR%%/logs >-@dirrmtry %%DATADIR%%/images >-@dirrmtry %%DATADIR%%/files >-@dirrmtry %%DATADIR%% >-@dirrmtry etc/periodic/daily >-@dirrmtry etc/periodic >-@exec ln -sf %D/%%DATADIR%%/files %%ASSP_HOME%%/ >-@unexec rm -f %%ASSP_HOME%%/files >-@exec ln -sf %D/%%DATADIR%%/images %%ASSP_HOME%%/ >-@unexec rm -f %%ASSP_HOME%%/images >-@exec ln -sf %D/%%DATADIR%%/rebuildspamdb.pl %%ASSP_HOME%%/ >-@unexec rm -f %%ASSP_HOME%%/rebuildspamdb.pl >-@exec ln -sf %D/%%DATADIR%%/reports %%ASSP_HOME%%/ >-@unexec rm -f %%ASSP_HOME%%/reports >-@exec ln -sf %%ASSP_LOG%% %%ASSP_HOME%%/logs >-@unexec rm -f %%ASSP_HOME%%/logs >-@cwd / >-@owner %%ASSP_USER%% >-@group %%ASSP_GROUP%% >-@mode 750 >-@dirrmtry %%ASSP_LOG%% >-@dirrmtry %%ASSP_HOME%% >-@unexec if [ -d %%ASSP_HOME%% ]; then echo "If you are deinstalling ASSP completely, remove the %%ASSP_HOME%% directory."; fi >-@unexec if [ -d %%ASSP_LOG%% ]; then echo "If you are deinstalling ASSP completely, remove the %%ASSP_LOG%% directory."; fi >-@unexec echo "If you are deinstalling ASSP completely, delete the ASSP user and group." >+%%ASSP_HOME%%/files >+%%ASSP_HOME%%/images >+%%ASSP_HOME%%/rebuildspamdb.pl >+%%ASSP_HOME%%/reports >+%%ASSP_HOME%%/logs >+@dir %%DATADIR%%/logs >+@dir(%%ASSP_USER%%,%%ASSP_GROUP%%,750) %%ASSP_LOG%% >+@dir(%%ASSP_USER%%,%%ASSP_GROUP%%,750) %%ASSP_HOME%% >+@postunexec if [ -d %%ASSP_HOME%% ]; then echo "If you are deinstalling ASSP completely, remove the %%ASSP_HOME%% directory."; fi >+@postunexec if [ -d %%ASSP_LOG%% ]; then echo "If you are deinstalling ASSP completely, remove the %%ASSP_LOG%% directory."; fi >+@postunexec echo "If you are deinstalling ASSP completely, delete the ASSP user and group."
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 205570
: 164590