FreeBSD Bugzilla – Attachment 100700 Details for
Bug 140045
[patch] sysutils/zfs-snapshot-mgmt: respect ${PREFIX} and ${LOCALBASE}
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
respect_PREFIX_and_LOCALBASE.diff
respect_PREFIX_and_LOCALBASE.diff (text/plain), 1.47 KB, created by
swell.k
on 2009-10-28 12:00:08 UTC
(
hide
)
Description:
respect_PREFIX_and_LOCALBASE.diff
Filename:
MIME Type:
Creator:
swell.k
Created:
2009-10-28 12:00:08 UTC
Size:
1.47 KB
patch
obsolete
>Index: sysutils/zfs-snapshot-mgmt/Makefile >=================================================================== >RCS file: /a/.cvsup/ports/sysutils/zfs-snapshot-mgmt/Makefile,v >retrieving revision 1.3 >diff -u -p -r1.3 Makefile >--- sysutils/zfs-snapshot-mgmt/Makefile 31 Jul 2009 17:47:57 -0000 1.3 >+++ sysutils/zfs-snapshot-mgmt/Makefile 28 Oct 2009 11:39:36 -0000 >@@ -22,6 +22,12 @@ MAN8= zfs-snapshot-mgmt.8 > SUB_FILES= pkg-message > PKGMESSAGE= ${WRKDIR}/pkg-message > >+post-patch: .SILENT >+ ${FIND} ${WRKSRC} -type f -exec ${REINPLACE_CMD} \ >+ -e 's|/usr/local|${PREFIX}|g' \ >+ -e 's|${PREFIX}\(/bin/ruby\)|${LOCALBASE}\1|g' \ >+ {} + >+ > do-install: > @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin > @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MANPREFIX}/man/man8 >Index: sysutils/zfs-snapshot-mgmt/files/pkg-message.in >=================================================================== >RCS file: /a/.cvsup/ports/sysutils/zfs-snapshot-mgmt/files/pkg-message.in,v >retrieving revision 1.1 >diff -u -p -r1.1 pkg-message.in >--- sysutils/zfs-snapshot-mgmt/files/pkg-message.in 16 Jul 2008 21:30:30 -0000 1.1 >+++ sysutils/zfs-snapshot-mgmt/files/pkg-message.in 28 Oct 2009 11:22:34 -0000 >@@ -3,7 +3,7 @@ To actually turn on the automatic snapsh > > 1. Add an appropriate crontab entry, e.g.: > >- echo "*/5 * * * * root /usr/local/bin/zfs-snapshot-mgmt" >> /etc/crontab >+ echo "*/5 * * * * root %%PREFIX%%/bin/zfs-snapshot-mgmt" >> /etc/crontab > > See zfs-snapshot-mgmt(8) manpage for more details.
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 140045
: 100700