Re: [RFU] ruby-puppet-lint-2.0.2-1
On 24/11/2016 08:35, Corinna Vinschen wrote: usr/bin/puppet-lint starts with a shebang line like this: #!/usr/bin/ruby.exe .exe??? Ok, never mind. I just realized that other ruby gems packages already come with that, too. How unpleasant! It looks as though the shebang is being altered by 'gem install'. There is a perfectly decent shebang when the gem is unpacked, but this gets nobbled during the install process, probably by the shebang() function in /usr/share/rubygems/rubygems/installer.rb (shebang() function starts at line 500). Ideally this should be patched if someone can work out how the '.exe' is creeping in, as that would fix all gem packages when they are rebuilt. The other option is for each gem package to call ruby_fix_shebang() in src_install() of their respective cygport files. But it would be better to patch 'gem' if at all possible. Anyway, thanks for taking the time to look at these packages. Dave.
Re: [RFU] ruby-puppet-lint-2.0.2-1
On Nov 24 09:25, Corinna Vinschen wrote: > Hi Dave, > > On Nov 11 00:52, David Stacey wrote: > > On 11/11/16 00:48, David Stacey wrote: > > > A tool for checking (and fixing) Puppet manifests. Found in most Linux > > > distros [1], including Fedora. > > > > > > BASEURL=https://dl.dropboxusercontent.com/u/119453582/Cygwin/noarch/release > > > > > > wget --no-check-certificate --no-host-directories --force-directories > > > --cut-dirs=5 \ > > > ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-2.0.2-1-src.tar.xz \ > > > ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-2.0.2-1.tar.xz \ > > > ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-doc/ruby-puppet-lint-doc-2.0.2-1.tar.xz > > > \ > > > ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-doc/setup.hint \ > > > ${BASEURL}/ruby-puppet-lint/setup.hint > > > > > > > > > Dave. > > > > > > [1] - https://pkgs.org/search/?query=puppet-lint&type=smart > > > > > > > > Subject: s/RFU/ITP/ Sorry - it's late here and my brain is already asleep... > > usr/bin/puppet-lint starts with a shebang line like this: > > #!/usr/bin/ruby.exe > > .exe??? Ok, never mind. I just realized that other ruby gems packages already come with that, too. Other than that the package looks GTG. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat signature.asc Description: PGP signature
Re: [RFU] ruby-puppet-lint-2.0.2-1
Hi Dave, On Nov 11 00:52, David Stacey wrote: > On 11/11/16 00:48, David Stacey wrote: > > A tool for checking (and fixing) Puppet manifests. Found in most Linux > > distros [1], including Fedora. > > > > BASEURL=https://dl.dropboxusercontent.com/u/119453582/Cygwin/noarch/release > > > > wget --no-check-certificate --no-host-directories --force-directories > > --cut-dirs=5 \ > > ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-2.0.2-1-src.tar.xz \ > > ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-2.0.2-1.tar.xz \ > > ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-doc/ruby-puppet-lint-doc-2.0.2-1.tar.xz > > \ > > ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-doc/setup.hint \ > > ${BASEURL}/ruby-puppet-lint/setup.hint > > > > > > Dave. > > > > [1] - https://pkgs.org/search/?query=puppet-lint&type=smart > > > > > Subject: s/RFU/ITP/ Sorry - it's late here and my brain is already asleep... usr/bin/puppet-lint starts with a shebang line like this: #!/usr/bin/ruby.exe .exe??? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat signature.asc Description: PGP signature
Re: [RFU] ruby-puppet-lint-2.0.2-1
On 11/11/16 00:48, David Stacey wrote: A tool for checking (and fixing) Puppet manifests. Found in most Linux distros [1], including Fedora. BASEURL=https://dl.dropboxusercontent.com/u/119453582/Cygwin/noarch/release wget --no-check-certificate --no-host-directories --force-directories --cut-dirs=5 \ ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-2.0.2-1-src.tar.xz \ ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-2.0.2-1.tar.xz \ ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-doc/ruby-puppet-lint-doc-2.0.2-1.tar.xz \ ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-doc/setup.hint \ ${BASEURL}/ruby-puppet-lint/setup.hint Dave. [1] - https://pkgs.org/search/?query=puppet-lint&type=smart Subject: s/RFU/ITP/ Sorry - it's late here and my brain is already asleep... Dave.
[RFU] ruby-puppet-lint-2.0.2-1
A tool for checking (and fixing) Puppet manifests. Found in most Linux distros [1], including Fedora. BASEURL=https://dl.dropboxusercontent.com/u/119453582/Cygwin/noarch/release wget --no-check-certificate --no-host-directories --force-directories --cut-dirs=5 \ ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-2.0.2-1-src.tar.xz \ ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-2.0.2-1.tar.xz \ ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-doc/ruby-puppet-lint-doc-2.0.2-1.tar.xz \ ${BASEURL}/ruby-puppet-lint/ruby-puppet-lint-doc/setup.hint \ ${BASEURL}/ruby-puppet-lint/setup.hint Dave. [1] - https://pkgs.org/search/?query=puppet-lint&type=smart