FreeBSD Bugzilla – Attachment 143757 Details for
Bug 191018
ports, net-mgmt/argus3, update for staging
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
argus3.diff
argus3.diff (text/plain), 4.43 KB, created by
pauls
on 2014-06-13 21:24:16 UTC
(
hide
)
Description:
argus3.diff
Filename:
MIME Type:
Creator:
pauls
Created:
2014-06-13 21:24:16 UTC
Size:
4.43 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 357722) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= argus > PORTVERSION= 3.0.6.1 >+PORTREVISION= 1 > CATEGORIES= net-mgmt security > MASTER_SITES= http://qosient.com/argus/src/ \ > ftp://qosient.com/pub/argus/src/ >@@ -14,12 +15,11 @@ > > CONFLICTS= argus-2* argus-sasl-2* argus-clients-2* > >-OPTIONS_DEFINE= SASL MANPAGES >-OPTIONS_DEFAULT=SASL MANPAGES >+OPTIONS_DEFINE= SASL >+OPTIONS_DEFAULT=SASL > > USE_RC_SUBR= argus > >-NO_STAGE= yes > .include <bsd.port.options.mk> > > USES= bison perl5 >@@ -27,47 +27,34 @@ > > .if ${PORT_OPTIONS:MSASL} > PKGNAMESUFFIX+= -sasl >-LIB_DEPENDS+= sasl2:${PORTSDIR}/security/cyrus-sasl2 >+LIB_DEPENDS+= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 > CONFIGURE_ARGS+= --with-sasl=${LOCALBASE} > .endif > >-.if ${PORT_OPTIONS:MMANPAGES} >-MAN5= argus.conf.5 >-MAN8= argus.8 >-.endif >- > post-patch: > @${REINPLACE_CMD} -e 's#/usr/lib/sasl2#${LOCALBASE}/lib/sasl2#' ${WRKSRC}/argus/ArgusOutput.c > >+pre-install: >+ @${REINPLACE_CMD} -e 's#/usr/bin/perl#${LOCALBASE}/usr/local/bin/perl#' ${WRKSRC}/bin/argus-lsof >+ @${REINPLACE_CMD} -e 's#/bin/bash#${LOCALBASE}/user/local/bin/bash#' ${WRKSRC}/bin/argus-vmstat >+ > do-install: >- ${INSTALL_PROGRAM} ${WRKSRC}/bin/argus ${PREFIX}/sbin/argus >+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/argus ${STAGEDIR}/${PREFIX}/sbin/argus > .for i in argus-lsof argus-snmp argus-vmstat argusbug >- ${INSTALL_SCRIPT} ${WRKSRC}/bin/$i ${PREFIX}/bin/$i >+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/$i ${STAGEDIR}/${PREFIX}/bin/$i > .endfor >- ${MKDIR} ${EXAMPLESDIR}/Archive ${EXAMPLESDIR}/Config \ >- ${EXAMPLESDIR}/Deployment ${EXAMPLESDIR}/Startup \ >- ${EXAMPLESDIR}/System >-.for i in README \ >- Archive/argusarchive \ >+ ${INSTALL_MAN} ${WRKSRC}/man/man5/argus.conf.5 ${STAGEDIR}/${PREFIX}/man/man5/ >+ ${INSTALL_MAN} ${WRKSRC}/man/man8/argus.8 ${STAGEDIR}/${PREFIX}/man/man8/ >+ ${MKDIR} ${STAGEDIR}/${EXAMPLESDIR}/Archive ${STAGEDIR}/${EXAMPLESDIR}/Config \ >+ ${STAGEDIR}/${EXAMPLESDIR}/Deployment ${STAGEDIR}/${EXAMPLESDIR}/Startup \ >+ ${STAGEDIR}/${EXAMPLESDIR}/System >+.for i in Archive/argusarchive \ > Config/argus.conf \ > Deployment/sample \ > Startup/argus Startup/README \ > System/crontab System/magic >- ${INSTALL_DATA} ${WRKSRC}/support/$i ${EXAMPLESDIR}/$i >+ ${INSTALL_DATA} ${WRKSRC}/support/$i ${STAGEDIR}/${EXAMPLESDIR}/$i >+ ${CP} ${WRKSRC}/support/Config/argus.conf ${STAGEDIR}/${PREFIX}/etc/argus.conf.example > .endfor >-.if ${PORT_OPTIONS:MDOCS} >- ${MKDIR} ${DOCSDIR}/ >-.for i in README >- ${INSTALL_DATA} ${WRKSRC}/doc/$i ${DOCSDIR}/ >-.endfor >-.endif >-.if ${PORT_OPTIONS:MMANPAGES} >-.for i in ${MAN5} >- ${INSTALL_DATA} ${WRKSRC}/man/man5/$i ${MANPREFIX}/man/man5 >-.endfor >-.for i in ${MAN8} >- ${INSTALL_DATA} ${WRKSRC}/man/man8/$i ${MANPREFIX}/man/man8 >-.endfor >-.endif > > .include <bsd.port.mk> >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 357722) >+++ pkg-plist (working copy) >@@ -1,21 +1,23 @@ >+@unexec if cmp -s %D/etc/argus.conf %D/etc/argus.conf.example ; then rm -f %D/etc/argus.conf ; fi >+etc/argus.conf.example >+@exec if [ ! -f %D/etc/argus.conf ]; then cp -p %D/%F %B/support/Config/argus.conf; fi > bin/argus-lsof > bin/argus-snmp > bin/argus-vmstat > bin/argusbug > sbin/argus >-%%PORTDOCS%%%%DOCSDIR%%/README >-%%EXAMPLESDIR%%/Archive/argusarchive >-%%EXAMPLESDIR%%/Config/argus.conf >-%%EXAMPLESDIR%%/Deployment/sample >-%%EXAMPLESDIR%%/README >-%%EXAMPLESDIR%%/Startup/README >-%%EXAMPLESDIR%%/Startup/argus >-%%EXAMPLESDIR%%/System/crontab >-%%EXAMPLESDIR%%/System/magic >-@dirrm %%EXAMPLESDIR%%/System >-@dirrm %%EXAMPLESDIR%%/Startup >-@dirrm %%EXAMPLESDIR%%/Deployment >-@dirrm %%EXAMPLESDIR%%/Config >-@dirrm %%EXAMPLESDIR%%/Archive >-@dirrm %%EXAMPLESDIR%% >-%%PORTDOCS%%@dirrm %%DOCSDIR%% >+man/man5/argus.conf.5.gz >+man/man8/argus.8.gz >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Archive/argusarchive >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Config/argus.conf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Deployment/sample >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Startup/argus >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Startup/README >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/System/crontab >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/System/magic >+%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/Archive >+%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/Config >+%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/Deployment >+%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/Startup >+%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/System >+%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%% >--- argus3.diff ends here ---
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 191018
: 143757