image_optim_pack 0.5.6.20190728-x86-darwin → 0.6.0-x86-darwin

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea6615be3192ac420a653c9ceb2998b3e6694c566dd92afb6d393c33b0c5b3da
4
- data.tar.gz: 86fcb3c9c5f6d074390e53b05a327471ca2961221c873342fd30ca2dfe441a5b
3
+ metadata.gz: 4cee5a647f9cafa03fb8e268a5cfffcf566cb44d88e842c27bd6f6248a68e6bd
4
+ data.tar.gz: 465ff16403a2ed7c311eef18df1a1cf052d97728b0e1ea8e1d6687b2c8c254ad
5
5
  SHA512:
6
- metadata.gz: 0f6df218ba6f97e9caf8e5ed8d82804c6a05bf2c9988433d28eac572d30a63b122979a053f05a1077947d759adfd9cda920167b7e897e8f0b225e738f8dc1dea
7
- data.tar.gz: fc0510be12c5796eb1a7c04ecf5fd1b2c37c6b1a6e19ab4a686e4bf212ec199d7c144b30d60b7ca38ba58b558c65e45e676662d03bbecc68e5534894641de58d
6
+ metadata.gz: ef3ac332a44c6fa6ff89101c8898253e80dc0a51914326d404f6c83523fb6e9837cd844a4522b068a0885291568d4fe8c006f3a922d3e9561eef96877eb0695e
7
+ data.tar.gz: 223e6ae472cd2479e61645d9b576f56c5004fe8b7e3a854cb6f7281d4da40e83f24c33dc3aece85894cd55f2e856a45dc8f51bc5b42ceb9e30c59d1baed60007
data/.travis.yml CHANGED
@@ -24,8 +24,6 @@ before_install:
24
24
  - make ldd-version
25
25
  matrix:
26
26
  include:
27
- - dist: trusty
28
- rvm: default
29
27
  - os: osx
30
28
  rvm: default
31
29
  osx_image: xcode8.3
data/CHANGELOG.markdown CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## unreleased
4
4
 
5
+ ## v0.6.0 (2019-08-15)
6
+
7
+ * Remove FreeBSD and OpenBSD binaries/platforms [#16](https://github.com/toy/image_optim_pack/issues/16) [@toy](https://github.com/toy)
8
+
5
9
  ## v0.5.6.20190728 (2019-07-28)
6
10
 
7
11
  * pngquant 2.12.5 [@toy](https://github.com/toy)
data/README.markdown CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  Precompiled binaries for [`image_optim`](https://github.com/toy/image_optim).
10
10
 
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).
11
+ Contains binaries for Mac OS X (>= 10.7, i386 and x86\_64) and Linux (i686 and x86\_64).
12
12
 
13
13
  A test application with latest `image_optim` and `image_optim_pack` is available on heroku: https://iopack.herokuapp.com/.
14
14
 
data/Vagrantfile CHANGED
@@ -1,5 +1,3 @@
1
- Vagrant.require_version '!= 1.8.5' # OpenBSD can't be halted in 1.8.5
2
-
3
1
  Vagrant.configure('2') do |config|
4
2
  # don't mess with keys
5
3
  config.ssh.insert_key = false
@@ -19,10 +17,6 @@ Vagrant.configure('2') do |config|
19
17
  {
20
18
  'linux-x86_64' => 'boxes/centos-amd64.box',
21
19
  'linux-i686' => 'boxes/centos-i386.box',
22
- 'freebsd-amd64' => 'boxes/freebsd-amd64.box',
23
- 'freebsd-i386' => 'boxes/freebsd-i386.box',
24
- 'openbsd-amd64' => 'boxes/openbsd-amd64.box',
25
- 'openbsd-i386' => 'boxes/openbsd-i386.box',
26
20
  }.each do |name, location|
27
21
  config.vm.define name do |machine|
28
22
  machine.vm.hostname = name.gsub('_', '-')
@@ -39,20 +33,6 @@ Vagrant.configure('2') do |config|
39
33
  yum -y install rsync ntpdate make wget gcc gcc-c++ chrpath perl pkg-config autoconf automake libtool nasm
40
34
  fi
41
35
  SH
42
- when /^freebsd/
43
- <<-SH
44
- set -ex
45
- pkg install -y rsync gmake wget gcc chrpath perl5 pkgconf autoconf automake libtool nasm
46
- SH
47
- when /^openbsd/
48
- <<-SH
49
- set -ex
50
- pkg_add -z rsync-- ntp gmake gtar-- wget g++-4.8.2p2 autoconf-2.69 automake-1.14.1 libtool nasm
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
- SH
56
36
  end
57
37
 
58
38
  machine.vm.provision :shell, inline: <<-SH
@@ -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.6.20190728'
5
+ s.version = '0.6.0'
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']
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.6.20190728
4
+ version: 0.6.0
5
5
  platform: x86-darwin
6
6
  authors:
7
7
  - Ivan Kuchin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-28 00:00:00.000000000 Z
11
+ date: 2019-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: image_optim
@@ -119,24 +119,11 @@ files:
119
119
  - boxes/definitions/centos-i386/definition.rb
120
120
  - boxes/definitions/centos-i386/ks.cfg
121
121
  - boxes/definitions/centos-postinstall.sh
122
- - boxes/definitions/freebsd-amd64/definition.rb
123
- - boxes/definitions/freebsd-amd64/install.sh
124
- - boxes/definitions/freebsd-i386/definition.rb
125
- - boxes/definitions/freebsd-i386/install.sh
126
- - boxes/definitions/freebsd-postinstall.sh
127
- - boxes/definitions/openbsd-amd64/definition.rb
128
- - boxes/definitions/openbsd-i386/definition.rb
129
- - boxes/definitions/openbsd-postinstall.sh
130
122
  - checksums.mk
131
123
  - image_optim_pack-darwin-x86.gemspec
132
124
  - image_optim_pack-darwin-x86_64.gemspec
133
- - image_optim_pack-fake-x42.gemspec
134
- - image_optim_pack-freebsd-amd64.gemspec
135
- - image_optim_pack-freebsd-x86.gemspec
136
125
  - image_optim_pack-linux-x86.gemspec
137
126
  - image_optim_pack-linux-x86_64.gemspec
138
- - image_optim_pack-openbsd-x86.gemspec
139
- - image_optim_pack-openbsd-x86_64.gemspec
140
127
  - image_optim_pack.gemspec
141
128
  - lib/image_optim/pack.rb
142
129
  - lib/image_optim_pack.rb
@@ -164,7 +151,7 @@ licenses:
164
151
  metadata:
165
152
  bug_tracker_uri: https://github.com/toy/image_optim_pack/issues
166
153
  changelog_uri: https://github.com/toy/image_optim_pack/blob/master/CHANGELOG.markdown
167
- documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.5.6.20190728
154
+ documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.6.0
168
155
  source_code_uri: https://github.com/toy/image_optim_pack
169
156
  post_install_message:
170
157
  rdoc_options: []
@@ -1,40 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- Veewee::Session.declare({
4
- :cpu_count => '1',
5
- :memory_size => '512',
6
- :disk_size => '8192',
7
- :disk_format => 'VDI',
8
- :hostiocache => 'off',
9
- :os_type_id => 'FreeBSD_64',
10
- :iso_file => 'FreeBSD-10.3-RELEASE-amd64-disc1.iso',
11
- :iso_src => 'http://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/10.3/FreeBSD-10.3-RELEASE-amd64-disc1.iso',
12
- :iso_sha256 => 'fef068cf6dea26923ab84b62ba9f21461ca0bdec90a0741c8ffb0e1ca29e410d',
13
- :iso_download_timeout => '1000',
14
- :boot_wait => '10',
15
- :boot_cmd_sequence => [
16
- '<Esc>',
17
- 'boot -s',
18
- '<Enter>',
19
- '<Wait>' * 10,
20
- '/bin/sh<Enter>',
21
- 'mdmfs -s 100m md1 /tmp<Enter>',
22
- 'dhclient -l /tmp/dhclient.lease.em0 em0<Enter>',
23
- '<Wait>' * 10,
24
- 'fetch -o /tmp/install.sh http://%IP%:%PORT%/install.sh && chmod +x /tmp/install.sh && /tmp/install.sh %NAME%<Enter>',
25
- ],
26
- :kickstart_port => '7122',
27
- :kickstart_timeout => '300',
28
- :kickstart_file => 'install.sh',
29
- :ssh_login_timeout => '10000',
30
- :ssh_user => 'root',
31
- :ssh_password => 'vagrant',
32
- :ssh_key => '',
33
- :ssh_host_port => '7222',
34
- :ssh_guest_port => '22',
35
- :sudo_cmd => "sh '%f'",
36
- :shutdown_cmd => 'shutdown -p now',
37
- :postinstall_files => %w[../freebsd-postinstall.sh],
38
- :postinstall_timeout => '10000',
39
- :skip_iso_transfer => true,
40
- })
@@ -1,66 +0,0 @@
1
- #!/bin/sh -x
2
-
3
- # Credit: http://www.aisecure.net/2011/05/01/root-on-zfs-freebsd-current/
4
-
5
- NAME=$1
6
-
7
- # create disks
8
- gpart create -s gpt ada0
9
- gpart add -t freebsd-boot -l boot -b 40 -s 512K ada0
10
- gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0
11
- gpart add -t freebsd-ufs -l root -b 1M -s 2G ada0
12
- gpart add -t freebsd-swap -l swap -s 512M ada0
13
- gpart add -t freebsd-ufs -l var -s 1G ada0
14
- gpart add -t freebsd-ufs -l tmp -s 512M ada0
15
- gpart add -t freebsd-ufs -l usr -a 1M ada0
16
-
17
- # create filesystems
18
- newfs -U /dev/gpt/root
19
- newfs -U /dev/gpt/var
20
- newfs -U /dev/gpt/tmp
21
- newfs -U /dev/gpt/usr
22
-
23
- # mount the filesystems
24
- mount /dev/gpt/root /mnt
25
- mkdir /mnt/var && mount /dev/gpt/var /mnt/var
26
- mkdir /mnt/tmp && mount /dev/gpt/tmp /mnt/tmp
27
- mkdir /mnt/usr && mount /dev/gpt/usr /mnt/usr
28
-
29
- # correct permissions
30
- chmod 1777 /mnt/tmp
31
- mkdir /mnt/var/tmp && chmod 1777 /mnt/var/tmp
32
- cd /mnt && mkdir usr/home && ln -s usr/home home
33
-
34
- # Install the OS
35
- cd /usr/freebsd-dist
36
- cat base.txz | tar --unlink -xpJf - -C /mnt
37
- cat lib32.txz | tar --unlink -xpJf - -C /mnt
38
- cat kernel.txz | tar --unlink -xpJf - -C /mnt
39
- cat src.txz | tar --unlink -xpJf - -C /mnt
40
-
41
- # Enable required services
42
- cat >> /mnt/etc/rc.conf << EOT
43
- hostname="${NAME}"
44
- ifconfig_em0="dhcp"
45
- sshd_enable="YES"
46
- EOT
47
-
48
- # Enable swap
49
- cat >> /mnt/etc/fstab << EOT
50
- /dev/gpt/swap none swap sw 0 0
51
- /dev/gpt/root / ufs rw 1 1
52
- /dev/gpt/var /var ufs rw 1 1
53
- /dev/gpt/tmp /tmp ufs rw 1 1
54
- /dev/gpt/usr /usr ufs rw 1 1
55
- EOT
56
-
57
- # Install a few requirements
58
- touch /mnt/etc/resolv.conf
59
- echo 'PermitRootLogin yes' >> /mnt/etc/ssh/sshd_config
60
-
61
- # Set up user accounts
62
- mkdir /mnt/usr/home/vagrant && chown 1001:1001 /mnt/home/vagrant
63
- echo "vagrant" | pw -V /mnt/etc useradd vagrant -h 0 -s csh -G wheel -d /home/vagrant -c "Vagrant User"
64
- echo "vagrant" | pw -V /mnt/etc usermod root -h 0
65
-
66
- reboot
@@ -1,40 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- Veewee::Session.declare({
4
- :cpu_count => '1',
5
- :memory_size => '512',
6
- :disk_size => '8192',
7
- :disk_format => 'VDI',
8
- :hostiocache => 'off',
9
- :os_type_id => 'FreeBSD',
10
- :iso_file => 'FreeBSD-10.3-RELEASE-i386-disc1.iso',
11
- :iso_src => 'http://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/10.3/FreeBSD-10.3-RELEASE-i386-disc1.iso',
12
- :iso_sha256 => '8329ee2ca4779892edbb001c303670d74642e4353e97d02f4521895023cacd5d',
13
- :iso_download_timeout => '1000',
14
- :boot_wait => '10',
15
- :boot_cmd_sequence => [
16
- '<Esc>',
17
- 'boot -s',
18
- '<Enter>',
19
- '<Wait>' * 10,
20
- '/bin/sh<Enter>',
21
- 'mdmfs -s 100m md1 /tmp<Enter>',
22
- 'dhclient -l /tmp/dhclient.lease.em0 em0<Enter>',
23
- '<Wait>' * 10,
24
- 'fetch -o /tmp/install.sh http://%IP%:%PORT%/install.sh && chmod +x /tmp/install.sh && /tmp/install.sh %NAME%<Enter>',
25
- ],
26
- :kickstart_port => '7122',
27
- :kickstart_timeout => '300',
28
- :kickstart_file => 'install.sh',
29
- :ssh_login_timeout => '10000',
30
- :ssh_user => 'root',
31
- :ssh_password => 'vagrant',
32
- :ssh_key => '',
33
- :ssh_host_port => '7222',
34
- :ssh_guest_port => '22',
35
- :sudo_cmd => "sh '%f'",
36
- :shutdown_cmd => 'shutdown -p now',
37
- :postinstall_files => %w[../freebsd-postinstall.sh],
38
- :postinstall_timeout => '10000',
39
- :skip_iso_transfer => true,
40
- })
@@ -1,66 +0,0 @@
1
- #!/bin/sh -x
2
-
3
- # Credit: http://www.aisecure.net/2011/05/01/root-on-zfs-freebsd-current/
4
-
5
- NAME=$1
6
-
7
- # create disks
8
- gpart create -s gpt ada0
9
- gpart add -t freebsd-boot -l boot -b 40 -s 512K ada0
10
- gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0
11
- gpart add -t freebsd-ufs -l root -b 1M -s 2G ada0
12
- gpart add -t freebsd-swap -l swap -s 512M ada0
13
- gpart add -t freebsd-ufs -l var -s 1G ada0
14
- gpart add -t freebsd-ufs -l tmp -s 512M ada0
15
- gpart add -t freebsd-ufs -l usr -a 1M ada0
16
-
17
- # create filesystems
18
- newfs -U /dev/gpt/root
19
- newfs -U /dev/gpt/var
20
- newfs -U /dev/gpt/tmp
21
- newfs -U /dev/gpt/usr
22
-
23
- # mount the filesystems
24
- mount /dev/gpt/root /mnt
25
- mkdir /mnt/var && mount /dev/gpt/var /mnt/var
26
- mkdir /mnt/tmp && mount /dev/gpt/tmp /mnt/tmp
27
- mkdir /mnt/usr && mount /dev/gpt/usr /mnt/usr
28
-
29
- # correct permissions
30
- chmod 1777 /mnt/tmp
31
- mkdir /mnt/var/tmp && chmod 1777 /mnt/var/tmp
32
- cd /mnt && mkdir usr/home && ln -s usr/home home
33
-
34
- # Install the OS
35
- cd /usr/freebsd-dist
36
- cat base.txz | tar --unlink -xpJf - -C /mnt
37
- cat lib32.txz | tar --unlink -xpJf - -C /mnt
38
- cat kernel.txz | tar --unlink -xpJf - -C /mnt
39
- cat src.txz | tar --unlink -xpJf - -C /mnt
40
-
41
- # Enable required services
42
- cat >> /mnt/etc/rc.conf << EOT
43
- hostname="${NAME}"
44
- ifconfig_em0="dhcp"
45
- sshd_enable="YES"
46
- EOT
47
-
48
- # Enable swap
49
- cat >> /mnt/etc/fstab << EOT
50
- /dev/gpt/swap none swap sw 0 0
51
- /dev/gpt/root / ufs rw 1 1
52
- /dev/gpt/var /var ufs rw 1 1
53
- /dev/gpt/tmp /tmp ufs rw 1 1
54
- /dev/gpt/usr /usr ufs rw 1 1
55
- EOT
56
-
57
- # Install a few requirements
58
- touch /mnt/etc/resolv.conf
59
- echo 'PermitRootLogin yes' >> /mnt/etc/ssh/sshd_config
60
-
61
- # Set up user accounts
62
- mkdir /mnt/usr/home/vagrant && chown 1001:1001 /mnt/home/vagrant
63
- echo "vagrant" | pw -V /mnt/etc useradd vagrant -h 0 -s csh -G wheel -d /home/vagrant -c "Vagrant User"
64
- echo "vagrant" | pw -V /mnt/etc usermod root -h 0
65
-
66
- reboot
@@ -1,38 +0,0 @@
1
- set -ex
2
-
3
- ntpdate -v -b in.pool.ntp.org
4
- date > /etc/vagrant_box_build_time
5
-
6
- ASSUME_ALWAYS_YES=yes pkg info
7
- pkg install -y sudo bash-static wget
8
-
9
- # setup the vagrant key
10
- mkdir -p /home/vagrant/.ssh
11
- chmod 700 /home/vagrant/.ssh
12
- wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' -O /home/vagrant/.ssh/authorized_keys
13
- chmod 600 /home/vagrant/.ssh/authorized_keys
14
- chown -R vagrant /home/vagrant/.ssh
15
-
16
- # passwordless sudo
17
- echo "vagrant ALL=(ALL) NOPASSWD: ALL" >> /usr/local/etc/sudoers
18
-
19
- # undo customizations
20
- sed -i '' -e '/^REFUSE /d' /etc/portsnap.conf
21
- sed -i '' -e '/^PermitRootLogin /d' /etc/ssh/sshd_config
22
-
23
- # set vagrant shell to bash
24
- pw usermod vagrant -s /usr/local/bin/bash
25
-
26
- # cleanup
27
- sudo pkg clean -y
28
- rm -rf \
29
- /var/db/freebsd-update/* \
30
- /var/cache/pkg/* \
31
- /etc/ssh/ssh_host_key* \
32
- /usr/src \
33
- /var/log/* \
34
- /var/tmp/* \
35
- /tmp/*
36
- dd if=/dev/zero of=filler bs=1M || rm filler
37
-
38
- shutdown -p now
@@ -1,69 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- Veewee::Session.declare({
4
- :cpu_count => '1',
5
- :memory_size => '512',
6
- :disk_size => '8192',
7
- :disk_format => 'VDI',
8
- :hostiocache => 'off',
9
- :os_type_id => 'OpenBSD_64',
10
- :iso_file => 'OpenBSD-5.9-amd64.iso',
11
- :iso_src => 'https://www.mirrorservice.org/pub/OpenBSD/5.9/amd64/install59.iso',
12
- :iso_sha256 => '685262fc665425c61a2952b2820389a2d331ac5558217080e6d564d2ce88eecb',
13
- :iso_download_timeout => '1000',
14
- :boot_wait => '50',
15
- :boot_cmd_sequence => [
16
- 'I<Enter>', # I - install
17
- 'us<Enter>', # set the keyboard
18
- 'OpenBSD59-x64<Enter>', # set the hostname
19
- '<Enter>', # Which nic to config ? [em0]
20
- '<Enter>', # do you want dhcp ? [dhcp]
21
- '<Wait>' * 5,
22
- '<Enter>', # IPV6 for em0 ? [none]
23
- '<Enter>', # Which other nic do you wish to configure [done]
24
- 'vagrant<Enter>', # Pw for root account
25
- 'vagrant<Enter>',
26
- 'yes<Enter>', # Start sshd by default ? [yes]
27
- 'no<Enter>', # Do you want the X window system [yes]
28
- 'vagrant<Enter>', # Setup a user ?
29
- 'vagrant<Enter>', # Full username
30
- 'vagrant<Enter>', # Pw for this user
31
- 'vagrant<Enter>',
32
- 'yes<Enter>', # Do you want to allow sshd for root ? [no]
33
- 'GB<Enter>', # What timezone are you in ?
34
- '<Enter>', # Available disks [sd0]
35
- 'W<Enter>', # Use (W)whole disk or (E)edit MBR ? [whole]
36
- 'A<Enter>', # Use (A)auto layout ... ? [a]
37
- '<Wait>' * 5,
38
- '<Enter>', # location of the sets [cd0]
39
- '<Enter>', # Pathname to sets ? [5.9/amd64]
40
- '-game59.tgz<Enter>', # Remove games and X
41
- '-xbase59.tgz<Enter>',
42
- '-xshare59.tgz<Enter>',
43
- '-xfont59.tgz<Enter>',
44
- '-xserv59.tgz<Enter>',
45
- 'done<Enter>',
46
- '<Wait>',
47
- 'yes<Enter>', # CD does not contain SHA256.sig (5.9) Continue without verification?
48
- '<Wait>' * 60,
49
- 'done<Enter>', # Location of sets?
50
- 'yes<Enter><Wait>', # Time appears wrong. Set to ...? [yes]
51
- '<Wait>' * 6,
52
- 'reboot<Enter>',
53
- '<Wait>' * 6,
54
- ],
55
- :kickstart_port => '7122',
56
- :kickstart_timeout => '300',
57
- :kickstart_file => '',
58
- :ssh_login_timeout => '10000',
59
- :ssh_user => 'root',
60
- :ssh_password => 'vagrant',
61
- :ssh_key => '',
62
- :ssh_host_port => '7222',
63
- :ssh_guest_port => '22',
64
- :sudo_cmd => "sh '%f'",
65
- :shutdown_cmd => '/sbin/halt -p',
66
- :postinstall_files => %w[../openbsd-postinstall.sh],
67
- :postinstall_timeout => '10000',
68
- :skip_iso_transfer => true,
69
- })
@@ -1,69 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- Veewee::Session.declare({
4
- :cpu_count => '1',
5
- :memory_size => '512',
6
- :disk_size => '8192',
7
- :disk_format => 'VDI',
8
- :hostiocache => 'off',
9
- :os_type_id => 'OpenBSD',
10
- :iso_file => 'OpenBSD-5.9-i386.iso',
11
- :iso_src => 'https://www.mirrorservice.org/pub/OpenBSD/5.9/i386/install59.iso',
12
- :iso_sha256 => 'd5579f49e1100c3131c674260959ee024b80ad579ea8fff767500652c9691030',
13
- :iso_download_timeout => '1000',
14
- :boot_wait => '50',
15
- :boot_cmd_sequence => [
16
- 'I<Enter>', # I - install
17
- 'us<Enter>', # set the keyboard
18
- 'OpenBSD59-x32<Enter>', # set the hostname
19
- '<Enter>', # Which nic to config ? [em0]
20
- '<Enter>', # do you want dhcp ? [dhcp]
21
- '<Wait>' * 5,
22
- '<Enter>', # IPV6 for em0 ? [none]
23
- '<Enter>', # Which other nic do you wish to configure [done]
24
- 'vagrant<Enter>', # Pw for root account
25
- 'vagrant<Enter>',
26
- 'yes<Enter>', # Start sshd by default ? [yes]
27
- 'no<Enter>', # Do you want the X window system [yes]
28
- 'vagrant<Enter>', # Setup a user ?
29
- 'vagrant<Enter>', # Full username
30
- 'vagrant<Enter>', # Pw for this user
31
- 'vagrant<Enter>',
32
- 'yes<Enter>', # Do you want to allow sshd for root ? [no]
33
- 'GB<Enter>', # What timezone are you in ?
34
- '<Enter>', # Available disks [sd0]
35
- 'W<Enter>', # Use (W)whole disk or (E)edit MBR ? [whole]
36
- 'A<Enter>', # Use (A)auto layout ... ? [a]
37
- '<Wait>' * 5,
38
- '<Enter>', # location of the sets [cd0]
39
- '<Enter>', # Pathname to sets ? [5.9/i386]
40
- '-game59.tgz<Enter>', # Remove games and X
41
- '-xbase59.tgz<Enter>',
42
- '-xshare59.tgz<Enter>',
43
- '-xfont59.tgz<Enter>',
44
- '-xserv59.tgz<Enter>',
45
- 'done<Enter>',
46
- '<Wait>',
47
- 'yes<Enter>', # CD does not contain SHA256.sig (5.9) Continue without verification?
48
- '<Wait>' * 60,
49
- 'done<Enter>', # Location of sets?
50
- 'yes<Enter><Wait>', # Time appears wrong. Set to ...? [yes]
51
- '<Wait>' * 6,
52
- 'reboot<Enter>',
53
- '<Wait>' * 6,
54
- ],
55
- :kickstart_port => '7122',
56
- :kickstart_timeout => '300',
57
- :kickstart_file => '',
58
- :ssh_login_timeout => '10000',
59
- :ssh_user => 'root',
60
- :ssh_password => 'vagrant',
61
- :ssh_key => '',
62
- :ssh_host_port => '7222',
63
- :ssh_guest_port => '22',
64
- :sudo_cmd => "sh '%f'",
65
- :shutdown_cmd => '/sbin/halt -p',
66
- :postinstall_files => %w[../openbsd-postinstall.sh],
67
- :postinstall_timeout => '10000',
68
- :skip_iso_transfer => true,
69
- })
@@ -1,29 +0,0 @@
1
- set -ex
2
-
3
- date > /etc/vagrant_box_build_time
4
-
5
- # set pkg path for users
6
- export PKG_PATH=http://ftp3.usa.openbsd.org/pub/OpenBSD/`uname -r`/packages/`arch -s`/
7
- echo "export PKG_PATH=$PKG_PATH" >> /root/.profile
8
- echo "export PKG_PATH=$PKG_PATH" >> /home/vagrant/.profile
9
-
10
- # install bash, wget and sudo
11
- pkg_add -z bash wget sudo--
12
-
13
- # set vagrant shell to bash
14
- usermod -s /usr/local/bin/bash vagrant
15
-
16
- # sudo
17
- echo "# Uncomment to allow people in group wheel to run all commands without a password" >> /etc/sudoers
18
- echo "%wheel ALL=(ALL) NOPASSWD: SETENV: ALL" >> /etc/sudoers
19
-
20
- # setup the vagrant key
21
- mkdir -p /home/vagrant/.ssh
22
- chmod 700 /home/vagrant/.ssh
23
- wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' -O /home/vagrant/.ssh/authorized_keys
24
- chmod 600 /home/vagrant/.ssh/authorized_keys
25
- chown -R vagrant.vagrant /home/vagrant/.ssh
26
-
27
- perl -pi -e 's/(?<=:maxproc-(?:max|cur)=)\d+(?=:)/1024/' -- /etc/login.conf
28
-
29
- /sbin/halt -p
@@ -1,3 +0,0 @@
1
- # encoding: UTF-8
2
-
3
- eval "gemspec_path = #{__FILE__.inspect}; #{File.read('image_optim_pack.gemspec')}"
@@ -1,3 +0,0 @@
1
- # encoding: UTF-8
2
-
3
- eval "gemspec_path = #{__FILE__.inspect}; #{File.read('image_optim_pack.gemspec')}"
@@ -1,3 +0,0 @@
1
- # encoding: UTF-8
2
-
3
- eval "gemspec_path = #{__FILE__.inspect}; #{File.read('image_optim_pack.gemspec')}"
@@ -1,3 +0,0 @@
1
- # encoding: UTF-8
2
-
3
- eval "gemspec_path = #{__FILE__.inspect}; #{File.read('image_optim_pack.gemspec')}"
@@ -1,3 +0,0 @@
1
- # encoding: UTF-8
2
-
3
- eval "gemspec_path = #{__FILE__.inspect}; #{File.read('image_optim_pack.gemspec')}"