<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: At the risk of being told unsupported... how do I package our bash scripts info a compatible rpm in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/At-the-risk-of-being-told-unsupported-how-do-I-package-our-bash/m-p/95365#M5136</link>
    <description>&lt;P&gt;Mostly just to automate some installation scripts... add directories to the PATH, set some preferred clish settings, that sort of thing. &amp;nbsp;An RPM guarantees correct location and an install process.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Aug 2020 09:58:19 GMT</pubDate>
    <dc:creator>Greg_Harewood</dc:creator>
    <dc:date>2020-08-27T09:58:19Z</dc:date>
    <item>
      <title>At the risk of being told unsupported... how do I package our bash scripts info a compatible rpm?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/At-the-risk-of-being-told-unsupported-how-do-I-package-our-bash/m-p/95311#M5132</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Using a suitable version of Linux (CentOS 7.7), I'm able to build an RPM that almost unpacks on Gaia. &amp;nbsp;This is just to make it easier to distribute our collection of bash scripts to new firewalls. &amp;nbsp;But I'm stuck. &amp;nbsp;Please help.&lt;/P&gt;&lt;P&gt;When I try to unpack I get&lt;/P&gt;&lt;LI-CODE lang="ruby"&gt;[Expert@MDS:0]# rpm -Uhv hw.rpm
error: Failed dependencies:
info is needed by helloworld-1.0-1.el7.x86_64
rpmlib(FileDigests) &amp;lt;= 4.6.0-1 is needed by helloworld-1.0-1.el7.x86_64
rpmlib(PayloadIsXz) &amp;lt;= 5.2-1 is needed by helloworld-1.0-1.el7.x86_64
[Expert@MDS:0]#&lt;/LI-CODE&gt;&lt;P&gt;I made progress... I've flipped to older gzip and older hashing in my ~/.rpmmacros with&lt;/P&gt;&lt;LI-CODE lang="ruby"&gt;%_binary_payload w2.gzdio
%_source_filedigest_algorithm  1
%_binary_filedigest_algorithm  1&lt;/LI-CODE&gt;&lt;P&gt;...and I now get just...&lt;/P&gt;&lt;LI-CODE lang="ruby"&gt;[Expert@MDS:0]# rpm -Uhv  hw.rpm
error: Failed dependencies:
        info is needed by helloworld-1.0-1.el7.x86_64
[Expert@MDS:0]#&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm stuck. &amp;nbsp;What is the "info" module? &amp;nbsp;I have a hunch modern linux rpmbuild thinks it's a fundamental part of the core. &amp;nbsp;Or.... can I turn the info feature off with another flag? &amp;nbsp;I might be better of asking this on a generic linux forum, but I do think that the answer would be of interest to other Check Point scripters.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 23:08:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/At-the-risk-of-being-told-unsupported-how-do-I-package-our-bash/m-p/95311#M5132</guid>
      <dc:creator>Greg_Harewood</dc:creator>
      <dc:date>2020-08-26T23:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: At the risk of being told unsupported... how do I package our bash scripts info a compatible rpm</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/At-the-risk-of-being-told-unsupported-how-do-I-package-our-bash/m-p/95312#M5133</link>
      <description>&lt;P&gt;I don't know if this is still the case but i think the upgrade system will freak if it finds an unknown rpm.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 23:21:06 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/At-the-risk-of-being-told-unsupported-how-do-I-package-our-bash/m-p/95312#M5133</guid>
      <dc:creator>John_Fleming</dc:creator>
      <dc:date>2020-08-26T23:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: At the risk of being told unsupported... how do I package our bash scripts info a compatible rpm</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/At-the-risk-of-being-told-unsupported-how-do-I-package-our-bash/m-p/95313#M5134</link>
      <description>&lt;P&gt;What about ye olde --force in the rpm command?&lt;/P&gt;
&lt;P&gt;That said, I'm with&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/9001"&gt;@John_Fleming&lt;/a&gt;, I suspect this will cause issues down the road.&lt;BR /&gt;Proceed with caution.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 23:37:56 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/At-the-risk-of-being-told-unsupported-how-do-I-package-our-bash/m-p/95313#M5134</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-08-26T23:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: At the risk of being told unsupported... how do I package our bash scripts info a compatible rpm</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/At-the-risk-of-being-told-unsupported-how-do-I-package-our-bash/m-p/95343#M5135</link>
      <description>&lt;P&gt;Why use rpm instead of tgz&amp;nbsp;&lt;SPAN&gt; to distribute the collection of bash scripts to new firewalls ? I would assume that you do not need really need dependencies for a script collection...&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 07:21:19 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/At-the-risk-of-being-told-unsupported-how-do-I-package-our-bash/m-p/95343#M5135</guid>
      <dc:creator>G_W_Albrecht</dc:creator>
      <dc:date>2020-08-27T07:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: At the risk of being told unsupported... how do I package our bash scripts info a compatible rpm</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/At-the-risk-of-being-told-unsupported-how-do-I-package-our-bash/m-p/95365#M5136</link>
      <description>&lt;P&gt;Mostly just to automate some installation scripts... add directories to the PATH, set some preferred clish settings, that sort of thing. &amp;nbsp;An RPM guarantees correct location and an install process.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 09:58:19 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/At-the-risk-of-being-told-unsupported-how-do-I-package-our-bash/m-p/95365#M5136</guid>
      <dc:creator>Greg_Harewood</dc:creator>
      <dc:date>2020-08-27T09:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: At the risk of being told unsupported... how do I package our bash scripts info a compatible rpm</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/At-the-risk-of-being-told-unsupported-how-do-I-package-our-bash/m-p/95370#M5139</link>
      <description>&lt;P&gt;I suggest writing an installer bash script that sets your settings and unpacks the included bash scripts. You can pack bash scripts via base64 into other bash scripts.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 10:57:52 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/At-the-risk-of-being-told-unsupported-how-do-I-package-our-bash/m-p/95370#M5139</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2020-08-27T10:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: At the risk of being told unsupported... how do I package our bash scripts info a compatible rpm</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/At-the-risk-of-being-told-unsupported-how-do-I-package-our-bash/m-p/95397#M5140</link>
      <description>&lt;P&gt;I don't think modeling this on Centos 7.7 is a very close match also. It think Centos 6 is a closer match seeing as that ships with a 3.10 kernel as well. I would check for common rpm versions to get an even better match up (6.?). Once there you can start doing things like spinning up a vm and dump compiles and whatnot rpms on a checkpoint vm to really customize.&amp;nbsp;&lt;/P&gt;&lt;P&gt;--force would ignore the depency check like&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/7"&gt;@PhoneBoy&lt;/a&gt;&amp;nbsp;said though.&lt;/P&gt;&lt;P&gt;I'm guessing you built the RPM on the 7.7 box based on the dependency of a el7 rpm? Might be the root of your issue.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 14:02:15 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/At-the-risk-of-being-told-unsupported-how-do-I-package-our-bash/m-p/95397#M5140</guid>
      <dc:creator>John_Fleming</dc:creator>
      <dc:date>2020-08-27T14:02:15Z</dc:date>
    </item>
  </channel>
</rss>

