image_optim_pack 0.5.1.20190105-x86-openbsd → 0.5.2-x86-openbsd
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +10 -11
- data/CHANGELOG.markdown +5 -0
- data/Makefile +2 -1
- data/README.markdown +2 -0
- data/Vagrantfile +4 -4
- data/boxes/Gemfile +0 -3
- data/boxes/Rakefile +17 -75
- data/boxes/definitions/openbsd-amd64/definition.rb +18 -22
- data/boxes/definitions/openbsd-i386/definition.rb +18 -22
- data/boxes/definitions/openbsd-postinstall.sh +2 -2
- data/image_optim_pack.gemspec +1 -1
- data/script/run +29 -12
- data/vendor/openbsd-i386/advpng +0 -0
- data/vendor/openbsd-i386/gifsicle +0 -0
- data/vendor/openbsd-i386/jhead +0 -0
- data/vendor/openbsd-i386/jpeg-recompress +0 -0
- data/vendor/openbsd-i386/jpegoptim +0 -0
- data/vendor/openbsd-i386/jpegtran +0 -0
- data/vendor/openbsd-i386/libjpeg.so +0 -0
- data/vendor/openbsd-i386/libpng.so +0 -0
- data/vendor/openbsd-i386/libz.so +0 -0
- data/vendor/openbsd-i386/optipng +0 -0
- data/vendor/openbsd-i386/pngcrush +0 -0
- data/vendor/openbsd-i386/pngquant +0 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f3512a0779c9fbe2510d7be88d8872602d4dfd7a04489a93e6627bc5fe492c9
|
4
|
+
data.tar.gz: 001fb47c9d74bcc88ce0041040e72f6f8c246dfb01292ae9bd947a261ace6cfd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31913c36bbfd4c23f65fb08b8f41fc8d7ea5f24677445cc2c2cfa5652c7185675dce0f1b21479ec7b5f65c203a67205b80dd176d1bce44bf2de4cb0a9fe4104c
|
7
|
+
data.tar.gz: 83e8d19fa56abcefe59f3d8817436aa73118853752d27d12224aff56e77023d4cbcc8c4cd792cf3b8960f83355b9864d315f68495b45bad4a0d3eb507bf4c7ab
|
data/.travis.yml
CHANGED
@@ -7,19 +7,18 @@ rvm:
|
|
7
7
|
- '2.1.10'
|
8
8
|
- '2.2.10'
|
9
9
|
- '2.3.8'
|
10
|
-
- '2.4.
|
11
|
-
- '2.5.
|
12
|
-
- '2.6.
|
13
|
-
- 'jruby-9.0.5.0'
|
10
|
+
- '2.4.6'
|
11
|
+
- '2.5.5'
|
12
|
+
- '2.6.2'
|
14
13
|
- 'jruby-9.1.9.0'
|
15
14
|
script:
|
16
15
|
- make test
|
17
16
|
- bundle exec image_optim --info
|
18
17
|
- bundle exec rspec
|
19
18
|
before_install:
|
20
|
-
- gem install
|
21
|
-
- ruby -e 'require "rubygems"; require "bundler/inline"; gemfile{ source "https://rubygems.org"; gem "rubygems-update" }' # get compatible version of rubygems-update
|
19
|
+
- gem install rubygems-update || gem install rubygems-update --version '< 3'
|
22
20
|
- gem update --system
|
21
|
+
- gem install bundler || gem install bundler --version '< 2'
|
23
22
|
- if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew install imagemagick; fi
|
24
23
|
- make ldd-version
|
25
24
|
matrix:
|
@@ -28,16 +27,16 @@ matrix:
|
|
28
27
|
rvm: default
|
29
28
|
- os: osx
|
30
29
|
rvm: default
|
31
|
-
osx_image:
|
30
|
+
osx_image: xcode8.3
|
32
31
|
- os: osx
|
33
32
|
rvm: default
|
34
|
-
osx_image:
|
33
|
+
osx_image: xcode9.4
|
35
34
|
- os: osx
|
36
35
|
rvm: default
|
37
|
-
osx_image:
|
36
|
+
osx_image: xcode10.1
|
38
37
|
- env: RUBOCOP=✓
|
39
|
-
rvm: '2.
|
38
|
+
rvm: '2.6.2'
|
40
39
|
script: bundle exec rubocop
|
41
40
|
- env: CHECK_RUBIES=✓
|
42
|
-
rvm: '2.
|
41
|
+
rvm: '2.6.2'
|
43
42
|
script: bundle exec travis_check_rubies
|
data/CHANGELOG.markdown
CHANGED
@@ -2,6 +2,11 @@
|
|
2
2
|
|
3
3
|
## unreleased
|
4
4
|
|
5
|
+
## v0.5.2 (2019-04-10)
|
6
|
+
|
7
|
+
* Use libc++ instead of libstdc++ on darwin and set deployment target to 10.7 [#15](https://github.com/toy/image_optim_pack/issues/15) [@toy](https://github.com/toy)
|
8
|
+
* Switch to openbsd 5.9 [@toy](https://github.com/toy)
|
9
|
+
|
5
10
|
## v0.5.1.20190105 (2019-01-05)
|
6
11
|
|
7
12
|
* jhead 3.03 [@toy](https://github.com/toy)
|
data/Makefile
CHANGED
@@ -327,8 +327,9 @@ export CPPFLAGS = $(GCC_FLAGS)
|
|
327
327
|
export LDFLAGS = $(GCC_FLAGS)
|
328
328
|
|
329
329
|
ifdef IS_DARWIN
|
330
|
-
export MACOSX_DEPLOYMENT_TARGET := 10.
|
330
|
+
export MACOSX_DEPLOYMENT_TARGET := 10.7
|
331
331
|
GCC_FLAGS += -arch $(ARCH)
|
332
|
+
CXXFLAGS += -stdlib=libc++
|
332
333
|
endif
|
333
334
|
|
334
335
|
ifdef IS_BSD
|
data/README.markdown
CHANGED
@@ -10,6 +10,8 @@ Precompiled binaries for [`image_optim`](https://github.com/toy/image_optim).
|
|
10
10
|
|
11
11
|
Contains binaries for Mac OS X (>= 10.6, i386 and x86\_64), Linux (i686 and x86\_64), FreeBSD (i386 and amd64) and OpenBSD (i386 and amd64).
|
12
12
|
|
13
|
+
A test application with latest `image_optim` and `image_optim_pack` is available on heroku: https://iopack.herokuapp.com/.
|
14
|
+
|
13
15
|
## Binaries and libraries
|
14
16
|
|
15
17
|
* [advpng](http://www.advancemame.it/doc-advpng.html) by Andrea Mazzoleni and Filipe Estima ([GNU GPLv3](acknowledgements/advancecomp.txt))
|
data/Vagrantfile
CHANGED
@@ -48,10 +48,10 @@ Vagrant.configure('2') do |config|
|
|
48
48
|
<<-SH
|
49
49
|
set -ex
|
50
50
|
pkg_add -z rsync-- ntp gmake gtar-- wget g++-4.8.2p2 autoconf-2.69 automake-1.14.1 libtool nasm
|
51
|
-
|
52
|
-
mkdir -p $
|
53
|
-
chown vagrant:vagrant $
|
54
|
-
ln -nfs $
|
51
|
+
real_workdir_path=/home/vagrant/shared
|
52
|
+
mkdir -p $real_workdir_path
|
53
|
+
chown vagrant:vagrant $real_workdir_path
|
54
|
+
ln -nfs $real_workdir_path /vagrant
|
55
55
|
SH
|
56
56
|
end
|
57
57
|
|
data/boxes/Gemfile
CHANGED
data/boxes/Rakefile
CHANGED
@@ -1,38 +1,15 @@
|
|
1
|
-
require 'atlas'
|
2
|
-
require 'dotenv/tasks'
|
3
1
|
require 'pathname'
|
4
|
-
require 'progress'
|
5
|
-
|
6
|
-
# Show progress when file is read by excon used by atlas
|
7
|
-
class BodyProgress # :nodoc:
|
8
|
-
def initialize(path, &block)
|
9
|
-
fail ArgumentError, 'block required' unless block
|
10
|
-
|
11
|
-
@io = File.open(path)
|
12
|
-
Progress.start(path, File.size(path)) do
|
13
|
-
yield self
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
|
-
def size
|
18
|
-
@io.size
|
19
|
-
end
|
20
|
-
|
21
|
-
def read(length)
|
22
|
-
data = @io.read(length)
|
23
|
-
Progress.step data.length if data
|
24
|
-
data
|
25
|
-
end
|
26
|
-
end
|
27
2
|
|
28
3
|
class Box # :nodoc:
|
29
|
-
attr_reader :definition_path, :definition_dir, :name, :path
|
4
|
+
attr_reader :definition_path, :definition_dir, :name, :path, :groups
|
30
5
|
|
31
6
|
def initialize(definition_path)
|
32
7
|
@definition_path = Pathname(definition_path)
|
33
8
|
@definition_dir = @definition_path.dirname
|
34
9
|
@name = @definition_dir.basename.to_s
|
35
10
|
@path = Pathname("#{@name}.box")
|
11
|
+
parts = @name.split('-')
|
12
|
+
@groups = (1...parts.length).map{ |n| parts.take(n).join('-') }
|
36
13
|
end
|
37
14
|
|
38
15
|
def dependencies
|
@@ -55,26 +32,6 @@ class Box # :nodoc:
|
|
55
32
|
sh(*%W[vagrant box add --force --name boxes/#{path} #{path}])
|
56
33
|
end
|
57
34
|
|
58
|
-
def upload(version)
|
59
|
-
assert_box_created
|
60
|
-
|
61
|
-
box = Atlas::Box.create({
|
62
|
-
:username => 'image_optim_pack',
|
63
|
-
:name => name,
|
64
|
-
:short_description => "minimal #{name} (bash, wget) from #{definition[:iso_file]}",
|
65
|
-
})
|
66
|
-
|
67
|
-
version = box.create_version(:version => version)
|
68
|
-
|
69
|
-
provider = version.create_provider(:name => 'virtualbox')
|
70
|
-
|
71
|
-
BodyProgress.new(path) do |f|
|
72
|
-
provider.upload(f)
|
73
|
-
end
|
74
|
-
|
75
|
-
version.release
|
76
|
-
end
|
77
|
-
|
78
35
|
private
|
79
36
|
|
80
37
|
def definition
|
@@ -92,49 +49,34 @@ private
|
|
92
49
|
end
|
93
50
|
end
|
94
51
|
|
95
|
-
task :atlas => :dotenv do
|
96
|
-
token = ENV['ATLAS_TOKEN'].to_s
|
97
|
-
fail 'ATLAS_TOKEN missing' if token.empty?
|
98
|
-
|
99
|
-
Atlas.configure do |config|
|
100
|
-
config.access_token = token
|
101
|
-
end
|
102
|
-
end
|
103
|
-
|
104
|
-
desc 'build all boxes'
|
105
|
-
task :build
|
106
|
-
|
107
|
-
desc 'add all boxes to vagrant'
|
108
|
-
task :add
|
109
|
-
|
110
|
-
desc 'upload all boxes to atlas'
|
111
|
-
task :upload
|
112
|
-
|
113
|
-
version = Time.now.strftime('%Y%m%d.0.0')
|
114
52
|
Dir['definitions/*/definition.rb'].each do |definition_path|
|
115
53
|
box = Box.new(definition_path)
|
116
54
|
|
117
|
-
desc "build #{box.
|
55
|
+
desc "build #{box.name} box"
|
118
56
|
file box.path => box.dependencies do
|
119
57
|
box.build
|
120
58
|
end
|
121
|
-
task :build => box.path
|
122
59
|
|
123
60
|
namespace :add do
|
124
|
-
desc "add #{box.
|
61
|
+
desc "add #{box.name} box to vagrant"
|
125
62
|
task box.name => box.path do
|
126
63
|
box.add
|
127
64
|
end
|
128
65
|
end
|
129
|
-
task :add => "add:#{box.name}"
|
130
66
|
|
131
|
-
|
132
|
-
desc "
|
133
|
-
task
|
134
|
-
|
135
|
-
|
67
|
+
box.groups.each do |group|
|
68
|
+
desc "build #{group} boxes"
|
69
|
+
task "build:#{group}" => box.path
|
70
|
+
|
71
|
+
desc "add #{group} boxes to vagrant"
|
72
|
+
task "add:#{group}" => "add:#{box.name}"
|
136
73
|
end
|
137
|
-
|
74
|
+
|
75
|
+
desc 'build all boxes'
|
76
|
+
task :build => box.path
|
77
|
+
|
78
|
+
desc 'add all boxes to vagrant'
|
79
|
+
task :add => "add:#{box.name}"
|
138
80
|
end
|
139
81
|
|
140
82
|
desc 'remove *.box and iso dir'
|
@@ -5,50 +5,46 @@ Veewee::Session.declare({
|
|
5
5
|
:disk_format => 'VDI',
|
6
6
|
:hostiocache => 'off',
|
7
7
|
:os_type_id => 'OpenBSD_64',
|
8
|
-
:iso_file => 'OpenBSD-5.
|
9
|
-
:iso_src => 'https://www.mirrorservice.org/pub/OpenBSD/5.
|
10
|
-
:iso_sha256 => '
|
8
|
+
:iso_file => 'OpenBSD-5.9-amd64.iso',
|
9
|
+
:iso_src => 'https://www.mirrorservice.org/pub/OpenBSD/5.9/amd64/install59.iso',
|
10
|
+
:iso_sha256 => '685262fc665425c61a2952b2820389a2d331ac5558217080e6d564d2ce88eecb',
|
11
11
|
:iso_download_timeout => '1000',
|
12
12
|
:boot_wait => '50',
|
13
13
|
:boot_cmd_sequence => [
|
14
14
|
'I<Enter>', # I - install
|
15
15
|
'us<Enter>', # set the keyboard
|
16
|
-
'
|
16
|
+
'OpenBSD59-x64<Enter>', # set the hostname
|
17
17
|
'<Enter>', # Which nic to config ? [em0]
|
18
18
|
'<Enter>', # do you want dhcp ? [dhcp]
|
19
19
|
'<Wait>' * 5,
|
20
|
-
'
|
21
|
-
'
|
20
|
+
'<Enter>', # IPV6 for em0 ? [none]
|
21
|
+
'<Enter>', # Which other nic do you wish to configure [done]
|
22
22
|
'vagrant<Enter>', # Pw for root account
|
23
23
|
'vagrant<Enter>',
|
24
24
|
'yes<Enter>', # Start sshd by default ? [yes]
|
25
|
-
'no<Enter>', # Start ntpd by default ? [yes]
|
26
25
|
'no<Enter>', # Do you want the X window system [yes]
|
27
26
|
'vagrant<Enter>', # Setup a user ?
|
28
27
|
'vagrant<Enter>', # Full username
|
29
28
|
'vagrant<Enter>', # Pw for this user
|
30
29
|
'vagrant<Enter>',
|
31
|
-
'
|
30
|
+
'yes<Enter>', # Do you want to allow sshd for root ? [no]
|
32
31
|
'GB<Enter>', # What timezone are you in ?
|
33
32
|
'<Enter>', # Available disks [sd0]
|
34
|
-
'<Enter>', # Use DUIDs rather than device names in fstab ? [yes]
|
35
33
|
'W<Enter>', # Use (W)whole disk or (E)edit MBR ? [whole]
|
36
34
|
'A<Enter>', # Use (A)auto layout ... ? [a]
|
37
|
-
'<Wait>' *
|
38
|
-
'
|
39
|
-
'<Enter>', #
|
40
|
-
'<Enter>',
|
41
|
-
'-
|
42
|
-
'-
|
43
|
-
'-
|
44
|
-
'-
|
45
|
-
'-xfont55.tgz<Enter>',
|
46
|
-
'-xserv55.tgz<Enter>',
|
35
|
+
'<Wait>' * 5,
|
36
|
+
'<Enter>', # location of the sets [cd0]
|
37
|
+
'<Enter>', # Pathname to sets ? [5.9/amd64]
|
38
|
+
'-game59.tgz<Enter>', # Remove games and X
|
39
|
+
'-xbase59.tgz<Enter>',
|
40
|
+
'-xshare59.tgz<Enter>',
|
41
|
+
'-xfont59.tgz<Enter>',
|
42
|
+
'-xserv59.tgz<Enter>',
|
47
43
|
'done<Enter>',
|
48
44
|
'<Wait>',
|
49
|
-
'yes<Enter>', # CD does not contain SHA256.sig (5.
|
50
|
-
'
|
51
|
-
'<
|
45
|
+
'yes<Enter>', # CD does not contain SHA256.sig (5.9) Continue without verification?
|
46
|
+
'<Wait>' * 60,
|
47
|
+
'done<Enter>', # Location of sets?
|
52
48
|
'yes<Enter><Wait>', # Time appears wrong. Set to ...? [yes]
|
53
49
|
'<Wait>' * 6,
|
54
50
|
'reboot<Enter>',
|
@@ -5,50 +5,46 @@ Veewee::Session.declare({
|
|
5
5
|
:disk_format => 'VDI',
|
6
6
|
:hostiocache => 'off',
|
7
7
|
:os_type_id => 'OpenBSD',
|
8
|
-
:iso_file => 'OpenBSD-5.
|
9
|
-
:iso_src => 'https://www.mirrorservice.org/pub/OpenBSD/5.
|
10
|
-
:iso_sha256 => '
|
8
|
+
:iso_file => 'OpenBSD-5.9-i386.iso',
|
9
|
+
:iso_src => 'https://www.mirrorservice.org/pub/OpenBSD/5.9/i386/install59.iso',
|
10
|
+
:iso_sha256 => 'd5579f49e1100c3131c674260959ee024b80ad579ea8fff767500652c9691030',
|
11
11
|
:iso_download_timeout => '1000',
|
12
12
|
:boot_wait => '50',
|
13
13
|
:boot_cmd_sequence => [
|
14
14
|
'I<Enter>', # I - install
|
15
15
|
'us<Enter>', # set the keyboard
|
16
|
-
'
|
16
|
+
'OpenBSD59-x32<Enter>', # set the hostname
|
17
17
|
'<Enter>', # Which nic to config ? [em0]
|
18
18
|
'<Enter>', # do you want dhcp ? [dhcp]
|
19
19
|
'<Wait>' * 5,
|
20
|
-
'
|
21
|
-
'
|
20
|
+
'<Enter>', # IPV6 for em0 ? [none]
|
21
|
+
'<Enter>', # Which other nic do you wish to configure [done]
|
22
22
|
'vagrant<Enter>', # Pw for root account
|
23
23
|
'vagrant<Enter>',
|
24
24
|
'yes<Enter>', # Start sshd by default ? [yes]
|
25
|
-
'no<Enter>', # Start ntpd by default ? [yes]
|
26
25
|
'no<Enter>', # Do you want the X window system [yes]
|
27
26
|
'vagrant<Enter>', # Setup a user ?
|
28
27
|
'vagrant<Enter>', # Full username
|
29
28
|
'vagrant<Enter>', # Pw for this user
|
30
29
|
'vagrant<Enter>',
|
31
|
-
'
|
30
|
+
'yes<Enter>', # Do you want to allow sshd for root ? [no]
|
32
31
|
'GB<Enter>', # What timezone are you in ?
|
33
32
|
'<Enter>', # Available disks [sd0]
|
34
|
-
'<Enter>', # Use DUIDs rather than device names in fstab ? [yes]
|
35
33
|
'W<Enter>', # Use (W)whole disk or (E)edit MBR ? [whole]
|
36
34
|
'A<Enter>', # Use (A)auto layout ... ? [a]
|
37
|
-
'<Wait>' *
|
38
|
-
'
|
39
|
-
'<Enter>', #
|
40
|
-
'<Enter>',
|
41
|
-
'-
|
42
|
-
'-
|
43
|
-
'-
|
44
|
-
'-
|
45
|
-
'-xfont55.tgz<Enter>',
|
46
|
-
'-xserv55.tgz<Enter>',
|
35
|
+
'<Wait>' * 5,
|
36
|
+
'<Enter>', # location of the sets [cd0]
|
37
|
+
'<Enter>', # Pathname to sets ? [5.9/i386]
|
38
|
+
'-game59.tgz<Enter>', # Remove games and X
|
39
|
+
'-xbase59.tgz<Enter>',
|
40
|
+
'-xshare59.tgz<Enter>',
|
41
|
+
'-xfont59.tgz<Enter>',
|
42
|
+
'-xserv59.tgz<Enter>',
|
47
43
|
'done<Enter>',
|
48
44
|
'<Wait>',
|
49
|
-
'yes<Enter>', # CD does not contain SHA256.sig (5.
|
50
|
-
'
|
51
|
-
'<
|
45
|
+
'yes<Enter>', # CD does not contain SHA256.sig (5.9) Continue without verification?
|
46
|
+
'<Wait>' * 60,
|
47
|
+
'done<Enter>', # Location of sets?
|
52
48
|
'yes<Enter><Wait>', # Time appears wrong. Set to ...? [yes]
|
53
49
|
'<Wait>' * 6,
|
54
50
|
'reboot<Enter>',
|
@@ -7,8 +7,8 @@ export PKG_PATH=http://ftp3.usa.openbsd.org/pub/OpenBSD/`uname -r`/packages/`arc
|
|
7
7
|
echo "export PKG_PATH=$PKG_PATH" >> /root/.profile
|
8
8
|
echo "export PKG_PATH=$PKG_PATH" >> /home/vagrant/.profile
|
9
9
|
|
10
|
-
# install bash and
|
11
|
-
pkg_add bash wget
|
10
|
+
# install bash, wget and sudo
|
11
|
+
pkg_add -z bash wget sudo--
|
12
12
|
|
13
13
|
# set vagrant shell to bash
|
14
14
|
usermod -s /usr/local/bin/bash vagrant
|
data/image_optim_pack.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = 'image_optim_pack'
|
5
|
-
s.version = '0.5.
|
5
|
+
s.version = '0.5.2'
|
6
6
|
s.summary = %q{Precompiled binaries for image_optim: advpng, gifsicle, jhead, jpeg-recompress, jpegoptim, jpegtran, optipng, pngcrush, pngquant}
|
7
7
|
s.homepage = "http://github.com/toy/#{s.name}"
|
8
8
|
s.authors = ['Ivan Kuchin']
|
data/script/run
CHANGED
@@ -24,34 +24,51 @@ header() {
|
|
24
24
|
printf '\033[1;7m######## %s ########\033[0m\n' "$1"
|
25
25
|
}
|
26
26
|
|
27
|
-
if [[
|
27
|
+
if [[ $(uname -s) != 'Darwin' ]]; then
|
28
28
|
echo 'expected to run on Mac OS X'
|
29
29
|
exit 1
|
30
30
|
fi
|
31
31
|
|
32
32
|
for arch in i386 x86_64; do
|
33
|
-
|
34
|
-
|
33
|
+
platform="darwin-$arch"
|
34
|
+
passes-filter "$platform" || continue
|
35
|
+
header "$platform"
|
35
36
|
|
36
|
-
|
37
|
+
build_dir=~_image_optim/pack
|
38
|
+
|
39
|
+
mkdir -p "vendor/$platform"
|
40
|
+
|
41
|
+
sudo -u _image_optim bash -c "
|
42
|
+
set -e
|
43
|
+
|
44
|
+
mkdir -p '$build_dir'
|
45
|
+
cd '$build_dir'
|
46
|
+
|
47
|
+
ln -nsf '$PWD/Makefile' '$PWD/checksums.mk' '$PWD/download' .
|
48
|
+
rsync -aR --del '$PWD/./vendor/$platform' .
|
49
|
+
|
50
|
+
make $MAKE_TASK ARCH=$arch
|
51
|
+
"
|
52
|
+
|
53
|
+
rsync -aR --del "$build_dir/./vendor/$platform" .
|
37
54
|
done
|
38
55
|
|
39
56
|
for vm in $(perl -pe "s/.*?'(.+?-.+?)'\s+=>\s+'.+?\/.+?'.*|.*/\$1/" Vagrantfile); do
|
40
57
|
passes-filter "$vm" || continue
|
41
58
|
header "$vm"
|
42
59
|
|
43
|
-
[[ -n "$NO_UP" ]] || vagrant up $vm
|
60
|
+
[[ -n "$NO_UP" ]] || vagrant up "$vm"
|
44
61
|
|
45
62
|
# create ssh config
|
46
|
-
ssh_config
|
47
|
-
vagrant ssh-config $vm > $ssh_config
|
63
|
+
ssh_config=".vagrant/ssh_config.$vm"
|
64
|
+
vagrant ssh-config "$vm" > "$ssh_config"
|
48
65
|
|
49
66
|
# rsync needed files to the box
|
50
|
-
mkdir -p vendor/$vm
|
51
|
-
rsync -e "ssh -F $ssh_config" -aR --del Makefile checksums.mk download vendor/$vm $vm:/vagrant
|
67
|
+
mkdir -p "vendor/$vm"
|
68
|
+
rsync -e "ssh -F $ssh_config" -aR --del Makefile checksums.mk download "vendor/$vm" "$vm:/vagrant"
|
52
69
|
|
53
70
|
# sync time and run make
|
54
|
-
ssh -F $ssh_config $vm "
|
71
|
+
ssh -F "$ssh_config" "$vm" "
|
55
72
|
set -e
|
56
73
|
|
57
74
|
sudo ntpdate pool.ntp.org
|
@@ -65,7 +82,7 @@ for vm in $(perl -pe "s/.*?'(.+?-.+?)'\s+=>\s+'.+?\/.+?'.*|.*/\$1/" Vagrantfile)
|
|
65
82
|
"
|
66
83
|
|
67
84
|
# rsync files in vendor from the box
|
68
|
-
rsync -e "ssh -F $ssh_config" -aR --del $vm:/vagrant/./vendor/$vm .
|
85
|
+
rsync -e "ssh -F $ssh_config" -aR --del "$vm:/vagrant/./vendor/$vm" .
|
69
86
|
|
70
|
-
[[ -n "$NO_HALT" ]] || vagrant halt $vm
|
87
|
+
[[ -n "$NO_HALT" ]] || vagrant halt "$vm"
|
71
88
|
done
|
data/vendor/openbsd-i386/advpng
CHANGED
Binary file
|
Binary file
|
data/vendor/openbsd-i386/jhead
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/openbsd-i386/libz.so
CHANGED
Binary file
|
data/vendor/openbsd-i386/optipng
CHANGED
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: image_optim_pack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: x86-openbsd
|
6
6
|
authors:
|
7
7
|
- Ivan Kuchin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: image_optim
|
@@ -163,7 +163,7 @@ licenses:
|
|
163
163
|
metadata:
|
164
164
|
bug_tracker_uri: https://github.com/toy/image_optim_pack/issues
|
165
165
|
changelog_uri: https://github.com/toy/image_optim_pack/blob/master/CHANGELOG.markdown
|
166
|
-
documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.5.
|
166
|
+
documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.5.2
|
167
167
|
source_code_uri: https://github.com/toy/image_optim_pack
|
168
168
|
post_install_message:
|
169
169
|
rdoc_options: []
|
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
180
180
|
- !ruby/object:Gem::Version
|
181
181
|
version: '0'
|
182
182
|
requirements: []
|
183
|
-
rubygems_version: 3.0.
|
183
|
+
rubygems_version: 3.0.3
|
184
184
|
signing_key:
|
185
185
|
specification_version: 4
|
186
186
|
summary: 'Precompiled binaries for image_optim: advpng, gifsicle, jhead, jpeg-recompress,
|