FreeBSD Bugzilla – Attachment 185469 Details for
Bug 221552
[PATCH] sysutils/rubygem-facter runs extremely slow on non ec2 virtual machines
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Add make config option to remove ec2 facts
rubygem-facter.patch (text/plain), 1023 bytes, created by
Jim Pirzyk
on 2017-08-16 03:00:35 UTC
(
hide
)
Description:
Add make config option to remove ec2 facts
Filename:
MIME Type:
Creator:
Jim Pirzyk
Created:
2017-08-16 03:00:35 UTC
Size:
1023 bytes
patch
obsolete
>--- Makefile.orig 2017-08-14 09:24:04.280487000 -0500 >+++ Makefile 2017-08-14 09:23:51.623482000 -0500 >@@ -3,6 +3,7 @@ > > PORTNAME= facter > PORTVERSION= 2.5.0 >+PORTREVISION= 1 > CATEGORIES= sysutils rubygems > MASTER_SITES= RG \ > http://downloads.puppetlabs.com/facter/ >@@ -18,10 +19,11 @@ > > PLIST_FILES= bin/facter > >-OPTIONS_DEFINE= ZFS_FACTS >+OPTIONS_DEFINE= ZFS_FACTS EC2_FACTS > ZFS_FACTS_DESC= Generate ZFS-related facts >+EC2_FACTS_DESC= Generate EC2-related facts > >-OPTIONS_DEFAULT= ZFS_FACTS >+OPTIONS_DEFAULT= ZFS_FACTS EC2_FACTS > > .include <bsd.port.pre.mk> > >@@ -34,4 +36,8 @@ > @${REINPLACE_CMD} -e 's/\,\ \"lib\/facter\/zfs_version.rb\"//' ${WRKSRC}/${PORTNAME}.gemspec > @${REINPLACE_CMD} -e 's/\,\ \"lib\/facter\/zpool_version.rb\"//' ${WRKSRC}/${PORTNAME}.gemspec > >+post-patch-EC2_FACTS-off: >+ @${REINPLACE_CMD} -e 's/\,\ \"lib\/facter\/ec2.rb\"//' ${WRKSRC}/${PORTNAME}.gemspec >+ @${REINPLACE_CMD} -e 's/\,\ \"lib\/facter\/ec2\/rest.rb\"//' ${WRKSRC}/${PORTNAME}.gemspec >+ > .include <bsd.port.post.mk>
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 221552
: 185469