This repository has been archived by the owner on Jan 29, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #123 from dhollinger/pkg_platforms
Added several package versions and a yum repo file
- Loading branch information
Showing
9 changed files
with
162 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[voxpupuli] | ||
name=voxpupuli | ||
baseurl=https://dl.bintray.com/voxpupuli/rpm/el/$releasever/$basearch | ||
gpgcheck=0 | ||
repo_gpgcheck=1 | ||
enabled=1 | ||
gpgkey="https://bintray.com/user/downloadSubjectPublicKey?username=voxpupuli" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# frozen_string_literal: true | ||
|
||
platform 'debian-9-amd64' do |plat| | ||
plat.servicedir '/lib/systemd/system' | ||
plat.defaultdir '/etc/default' | ||
plat.servicetype 'systemd' | ||
plat.codename 'buster' | ||
|
||
plat.docker_image 'voxpupuli/pkg_builder:buster' | ||
plat.docker_run_args '--privileged=true' | ||
|
||
plat.provision_with 'export DEBIAN_FRONTEND=noninteractive; apt-get update -qq; apt-get install -qy --no-install-recommends build-essential devscripts make quilt pkg-config debhelper rsync fakeroot' | ||
plat.install_build_dependencies_with 'DEBIAN_FRONTEND=noninteractive; apt-get install -qy --no-install-recommends ' | ||
plat.output_dir File.join('deb', plat.get_codename) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# frozen_string_literal: true | ||
|
||
platform 'debian-9-amd64' do |plat| | ||
plat.servicedir '/lib/systemd/system' | ||
plat.defaultdir '/etc/default' | ||
plat.servicetype 'systemd' | ||
plat.codename 'stretch' | ||
|
||
plat.docker_image 'voxpupuli/pkg_builder:stretch' | ||
plat.docker_run_args '--privileged=true' | ||
|
||
plat.provision_with 'export DEBIAN_FRONTEND=noninteractive; apt-get update -qq; apt-get install -qy --no-install-recommends build-essential devscripts make quilt pkg-config debhelper rsync fakeroot' | ||
plat.install_build_dependencies_with 'DEBIAN_FRONTEND=noninteractive; apt-get install -qy --no-install-recommends ' | ||
plat.output_dir File.join('deb', plat.get_codename) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# frozen_string_literal: true | ||
|
||
platform 'el-7-x86_64' do |plat| | ||
plat.servicedir '/usr/lib/systemd/system' | ||
plat.defaultdir '/etc/sysconfig' | ||
plat.servicetype 'systemd' | ||
|
||
plat.docker_image 'voxpupuli/pkg_builder:el7' | ||
plat.docker_run_args '--privileged=true' | ||
|
||
plat.provision_with "yum update -y; yum groupinstall --assumeyes 'Development Tools'; yum install --assumeyes autoconf automake createrepo devscripts fakeroot rsync gcc make rpmdevtools rpm-libs yum-utils rpm-sign" | ||
plat.install_build_dependencies_with 'yum install --assumeyes' | ||
|
||
packages = %w[ | ||
bzip2-devel | ||
readline-devel | ||
make | ||
pkgconfig | ||
zlib-devel | ||
pl-cmake | ||
pl-gcc | ||
systemtap-sdt-devel | ||
java-1.8.0-openjdk-headless | ||
] | ||
|
||
plat.provision_with "yum install --assumeyes #{packages.join(' ')}" | ||
|
||
plat.output_dir File.join('el', 'PC1') | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# frozen_string_literal: true | ||
|
||
platform 'el-8-x86_64' do |plat| | ||
plat.servicedir '/usr/lib/systemd/system' | ||
plat.defaultdir '/etc/sysconfig' | ||
plat.servicetype 'systemd' | ||
|
||
plat.docker_image 'voxpupuli/pkg_builder:el8' | ||
plat.docker_run_args '--privileged=true' | ||
|
||
plat.provision_with "yum update -y; yum groupinstall --assumeyes 'Development Tools'; yum install --assumeyes autoconf automake createrepo rsync gcc make rpmdevtools rpm-libs yum-utils rpm-sign" | ||
plat.install_build_dependencies_with 'yum install --assumeyes' | ||
|
||
packages = %w[ | ||
bzip2-devel | ||
readline-devel | ||
make | ||
pkgconfig | ||
zlib-devel | ||
pl-cmake | ||
pl-gcc | ||
systemtap-sdt-devel | ||
java-1.8.0-openjdk-headless | ||
] | ||
|
||
plat.provision_with "yum install --assumeyes #{packages.join(' ')}" | ||
|
||
plat.output_dir File.join('el', 'PC1') | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# frozen_string_literal: true | ||
|
||
platform 'ubuntu-16.04-amd64' do |plat| | ||
plat.defaultdir '/etc/default' | ||
plat.servicetype 'systemd' | ||
plat.codename 'xenial' | ||
plat.servicedir '/etc/systemd/system' | ||
|
||
plat.docker_image 'voxpupuli/pkg_builder:xenial' | ||
plat.docker_run_args '--privileged=true' | ||
|
||
plat.provision_with 'export DEBIAN_FRONTEND=noninteractive; apt-get update -qq; apt-get install -qy --no-install-recommends build-essential devscripts make quilt pkg-config debhelper rsync fakeroot' | ||
plat.install_build_dependencies_with 'DEBIAN_FRONTEND=noninteractive; apt-get install -qy --no-install-recommends --allow-unauthenticated' | ||
|
||
packages = [ | ||
'libbz2-dev', | ||
'libreadline-dev', | ||
'make', | ||
'pkg-config', | ||
'zlib1g-dev', | ||
'pl-cmake', | ||
'pl-gcc', | ||
'systemtap-sdt-dev', | ||
'openjdk-8-jre-headless' | ||
] | ||
|
||
plat.provision_with "export DEBIAN_FRONTEND=noninteractive; apt-get install -qy --no-install-recommends #{packages.join(' ')}" | ||
|
||
plat.output_dir File.join('deb', plat.get_codename, 'PC1') | ||
end |