image_optim_pack 0.5.6.20190728 → 0.6.0.20201024
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +17 -4
- data/.travis.yml +15 -18
- data/CHANGELOG.markdown +21 -0
- data/LICENSE.txt +1 -1
- data/Makefile +15 -15
- data/README.markdown +13 -13
- data/Vagrantfile +0 -20
- data/boxes/.rubocop.yml +2 -5
- data/checksums.mk +5 -5
- data/image_optim_pack.gemspec +4 -4
- data/script/livecheck +9 -11
- data/spec/image_optim_spec.rb +5 -4
- data/vendor/darwin-i386/jhead +0 -0
- data/vendor/darwin-i386/jpeg-recompress +0 -0
- data/vendor/darwin-i386/jpegoptim +0 -0
- data/vendor/darwin-i386/jpegtran +0 -0
- data/vendor/darwin-i386/libjpeg.dylib +0 -0
- data/vendor/darwin-i386/pngquant +0 -0
- data/vendor/darwin-x86_64/jhead +0 -0
- data/vendor/darwin-x86_64/jpeg-recompress +0 -0
- data/vendor/darwin-x86_64/jpegoptim +0 -0
- data/vendor/darwin-x86_64/jpegtran +0 -0
- data/vendor/darwin-x86_64/libjpeg.dylib +0 -0
- data/vendor/darwin-x86_64/pngquant +0 -0
- data/vendor/linux-i686/jhead +0 -0
- data/vendor/linux-i686/jpeg-recompress +0 -0
- data/vendor/linux-i686/jpegoptim +0 -0
- data/vendor/linux-i686/jpegtran +0 -0
- data/vendor/linux-i686/libjpeg.so +0 -0
- data/vendor/linux-i686/pngquant +0 -0
- data/vendor/linux-x86_64/jhead +0 -0
- data/vendor/linux-x86_64/jpeg-recompress +0 -0
- data/vendor/linux-x86_64/jpegoptim +0 -0
- data/vendor/linux-x86_64/jpegtran +0 -0
- data/vendor/linux-x86_64/libjpeg.so +0 -0
- data/vendor/linux-x86_64/pngquant +0 -0
- metadata +12 -74
- data/boxes/definitions/freebsd-amd64/definition.rb +0 -40
- data/boxes/definitions/freebsd-amd64/install.sh +0 -66
- data/boxes/definitions/freebsd-i386/definition.rb +0 -40
- data/boxes/definitions/freebsd-i386/install.sh +0 -66
- data/boxes/definitions/freebsd-postinstall.sh +0 -38
- data/boxes/definitions/openbsd-amd64/definition.rb +0 -69
- data/boxes/definitions/openbsd-i386/definition.rb +0 -69
- data/boxes/definitions/openbsd-postinstall.sh +0 -29
- data/image_optim_pack-fake-x42.gemspec +0 -3
- data/image_optim_pack-freebsd-amd64.gemspec +0 -3
- data/image_optim_pack-freebsd-x86.gemspec +0 -3
- data/image_optim_pack-openbsd-x86.gemspec +0 -3
- data/image_optim_pack-openbsd-x86_64.gemspec +0 -3
- data/vendor/fake-x42/.gitkeep +0 -0
- data/vendor/freebsd-amd64/advpng +0 -0
- data/vendor/freebsd-amd64/gifsicle +0 -0
- data/vendor/freebsd-amd64/jhead +0 -0
- data/vendor/freebsd-amd64/jpeg-recompress +0 -0
- data/vendor/freebsd-amd64/jpegoptim +0 -0
- data/vendor/freebsd-amd64/jpegtran +0 -0
- data/vendor/freebsd-amd64/libjpeg.so +0 -0
- data/vendor/freebsd-amd64/libpng.so +0 -0
- data/vendor/freebsd-amd64/libz.so +0 -0
- data/vendor/freebsd-amd64/optipng +0 -0
- data/vendor/freebsd-amd64/pngcrush +0 -0
- data/vendor/freebsd-amd64/pngquant +0 -0
- data/vendor/freebsd-i386/advpng +0 -0
- data/vendor/freebsd-i386/gifsicle +0 -0
- data/vendor/freebsd-i386/jhead +0 -0
- data/vendor/freebsd-i386/jpeg-recompress +0 -0
- data/vendor/freebsd-i386/jpegoptim +0 -0
- data/vendor/freebsd-i386/jpegtran +0 -0
- data/vendor/freebsd-i386/libjpeg.so +0 -0
- data/vendor/freebsd-i386/libpng.so +0 -0
- data/vendor/freebsd-i386/libz.so +0 -0
- data/vendor/freebsd-i386/optipng +0 -0
- data/vendor/freebsd-i386/pngcrush +0 -0
- data/vendor/freebsd-i386/pngquant +0 -0
- data/vendor/openbsd-amd64/advpng +0 -0
- data/vendor/openbsd-amd64/gifsicle +0 -0
- data/vendor/openbsd-amd64/jhead +0 -0
- data/vendor/openbsd-amd64/jpeg-recompress +0 -0
- data/vendor/openbsd-amd64/jpegoptim +0 -0
- data/vendor/openbsd-amd64/jpegtran +0 -0
- data/vendor/openbsd-amd64/libjpeg.so +0 -0
- data/vendor/openbsd-amd64/libpng.so +0 -0
- data/vendor/openbsd-amd64/libz.so +0 -0
- data/vendor/openbsd-amd64/optipng +0 -0
- data/vendor/openbsd-amd64/pngcrush +0 -0
- data/vendor/openbsd-amd64/pngquant +0 -0
- 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
@@ -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
|
data/vendor/fake-x42/.gitkeep
DELETED
File without changes
|
data/vendor/freebsd-amd64/advpng
DELETED
Binary file
|
Binary file
|
data/vendor/freebsd-amd64/jhead
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/freebsd-i386/advpng
DELETED
Binary file
|
Binary file
|
data/vendor/freebsd-i386/jhead
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/freebsd-i386/libz.so
DELETED
Binary file
|
data/vendor/freebsd-i386/optipng
DELETED
Binary file
|
Binary file
|
Binary file
|
data/vendor/openbsd-amd64/advpng
DELETED
Binary file
|
Binary file
|
data/vendor/openbsd-amd64/jhead
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/openbsd-i386/advpng
DELETED
Binary file
|
Binary file
|
data/vendor/openbsd-i386/jhead
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/openbsd-i386/libz.so
DELETED
Binary file
|
data/vendor/openbsd-i386/optipng
DELETED
Binary file
|
Binary file
|
Binary file
|