{"id":19788327,"url":"https://github.com/graylog2/fpm-recipes","last_synced_at":"2025-05-01T00:30:56.784Z","repository":{"id":17446252,"uuid":"20219969","full_name":"Graylog2/fpm-recipes","owner":"Graylog2","description":"Graylog package build recipes","archived":false,"fork":false,"pushed_at":"2025-04-30T12:35:18.000Z","size":652,"stargazers_count":18,"open_issues_count":2,"forks_count":18,"subscribers_count":21,"default_branch":"6.1","last_synced_at":"2025-04-30T14:02:24.949Z","etag":null,"topics":["deb","debian-packages","fpm-cookery","graylog","graylog-server","packaging","rpm"],"latest_commit_sha":null,"homepage":"http://docs.graylog.org/en/latest/pages/installation/operating_system_packages.html","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Graylog2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-05-27T12:56:36.000Z","updated_at":"2025-04-17T12:24:46.000Z","dependencies_parsed_at":"2024-04-17T13:32:32.945Z","dependency_job_id":"a051fcd7-9539-4bda-bc75-a12e59833d71","html_url":"https://github.com/Graylog2/fpm-recipes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Graylog2%2Ffpm-recipes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Graylog2%2Ffpm-recipes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Graylog2%2Ffpm-recipes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Graylog2%2Ffpm-recipes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Graylog2","download_url":"https://codeload.github.com/Graylog2/fpm-recipes/tar.gz/refs/heads/6.1","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251802703,"owners_count":21646261,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deb","debian-packages","fpm-cookery","graylog","graylog-server","packaging","rpm"],"created_at":"2024-11-12T06:26:52.995Z","updated_at":"2025-05-01T00:30:56.237Z","avatar_url":"https://github.com/Graylog2.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Graylog Package Builds\n=======================\n\nThis repository contains [fpm-cookery][fpm-cookery] recipes to build the\nofficial Graylog packages.\n\nThe package builds are executed in isolated [Docker][docker] containers by\nusing the [Vagrant Docker Provider][vagrant-docker].\n\nPlease open an [issue](https://github.com/Graylog2/fpm-recipes/issues) if you\nrun into any problems with the packages.\n\n## Setup\n\n* Install [Vagrant][vagrant]\n* Install [Docker][docker]\n\n### Linux\n\nMake sure that the user that executes the package builds via\n`vagrant docker-run` is a member of the `docker` group. Otherwise there will\nbe errors regarding the Docker socket.\n\n### Mac OSX\n\nSince Docker does not have native support for Mac OSX, Vagrant will\nautomatically use a small virtual machine to run docker. This requires\n[VirtualBox][virtualbox] to be installed.\n\n## Build Packages\n\nFor now the `fpm-cook` command to build the package has to be executed via\n`vagrant docker-run`. See the example below.\n\n### Example\n\nThe following example command builds the graylog-server package for Ubuntu\n14.04.\n\n```\n$ vagrant docker-run ubuntu2004 -- fpm-cook package /vagrant/recipes/graylog-server/recipe.rb\n==\u003e ubuntu2004: Building the container from a Dockerfile...\n    ubuntu2004: Image: 0f7af5021f9f\n==\u003e ubuntu2004: Creating the container...\n    ubuntu2004:   Name: recipes_ubuntu2004_1399476701\n    ubuntu2004:  Image: 0f7af5021f9f\n    ubuntu2004:    Cmd: fpm-cook package /vagrant/recipes/graylog-server/recipe.rb\n    ubuntu2004: Volume: /src/graylog-fpm-recipes:/vagrant\n    ubuntu2004:\n    ubuntu2004: Container is starting. Output will stream in below...\n    ubuntu2004:\n    ubuntu2004: ===\u003e Starting package creation for graylog-server-1.0.0 (ubuntu, deb)\n    ubuntu2004: ===\u003e\n    ubuntu2004: ===\u003e Verifying build_depends and depends with Puppet\n    ubuntu2004: ===\u003e Verifying package: openjdk-7-jre-headless\n    ubuntu2004: ===\u003e All build_depends and depends packages installed\n    ubuntu2004: ===\u003e Fetching source:\n    ubuntu2004: ===\u003e Using cached file /vagrant/recipes/graylog-server/cache/graylog-server-1.0.0.tgz\n    ubuntu2004: ===\u003e Building in /vagrant/recipes/graylog-server/tmp-build/graylog-server-1.0.0\n    ubuntu2004: ===\u003e Installing into /vagrant/recipes/graylog-server/tmp-dest\n    ubuntu2004: ===\u003e [FPM] Converting dir to deb {}\n    ubuntu2004: ===\u003e Removing existing package file: graylog-server_1.0.0_all.deb\n    ubuntu2004: ===\u003e [FPM] No deb_installed_size set, calculating now. {}\n    ubuntu2004: ===\u003e [FPM] Reading template {\"path\":\"/var/lib/gems/1.9.1/gems/fpm-1.0.2/templates/deb.erb\"}\n    ubuntu2004: ===\u003e [FPM] Creating {\"path\":\"/tmp/package-deb-build20140507-1-32jt4z/control.tar.gz\",\"from\":\"/tmp/package-deb-build20140507-1-32jt4z/control\"}\n    ubuntu2004: ===\u003e [FPM] Created deb package {\"path\":\"graylog-server_1.0.0_all.deb\"}\n    ubuntu2004: ===\u003e Created package: /vagrant/recipes/graylog-server/pkg/graylog-server_1.0.0_all.deb\n$\n```\n\nTo build the graylog-server package on CentOS 6 only the VM name needs to\nbe exchanged.\n\n```\n$ vagrant docker-run centos8 -- fpm-cook package /vagrant/recipes/graylog-server/recipe.rb\n==\u003e centos8: Building the container from a Dockerfile...\n    centos8: Image: ca5e4f877dac\n==\u003e centos8: Creating the container...\n    centos8:   Name: graylog-fpm-recipes_centos8_1399484675\n    centos8:  Image: ca5e4f877dac\n    centos8:    Cmd: fpm-cook package /vagrant/recipes/graylog-server/recipe.rb\n    centos8: Volume: /src/graylog-fpm-recipes:/vagrant\n    centos8:\n    centos8: Container is starting. Output will stream in below...\n    centos8:\n    centos8: ===\u003e Starting package creation for graylog-server-1.0.0 (centos, rpm)\n    centos8: ===\u003e\n    centos8: ===\u003e Verifying build_depends and depends with Puppet\n    centos8: ===\u003e Verifying package: java-1.7.0-openjdk\n    centos8: ===\u003e All build_depends and depends packages installed\n    centos8: ===\u003e Fetching source:\n    centos8: ===\u003e Using cached file /vagrant/recipes/graylog-server/cache/graylog-server-1.0.0.tgz\n    centos8: ===\u003e Building in /vagrant/recipes/graylog-server/tmp-build/graylog-server-1.0.0\n    centos8: ===\u003e Installing into /vagrant/recipes/graylog-server/tmp-dest\n    centos8: ===\u003e [FPM] Converting dir to rpm {}\n    centos8: ===\u003e Removing existing package file: graylog-server-1.0.0-1.noarch.rpm\n    centos8: ===\u003e [FPM] Reading template {\"path\":\"/usr/lib/ruby/gems/1.8/gems/fpm-1.0.2/templates/rpm.erb\"}\n    centos8: ===\u003e [FPM] Running rpmbuild {\"args\":[\"rpmbuild\",\"-bb\",\"--define\",\"buildroot /tmp/package-rpm-build20140507-1-ttb91c/BUILD\",\"--define\",\"_topdir /tmp/package-rpm-build20140507-1-ttb91c\",\"--define\",\"_sourcedir /tmp/package-rpm-build20140507-1-ttb91c\",\"--define\",\"_rpmdir /tmp/package-rpm-build20140507-1-ttb91c/RPMS\",\"/tmp/package-rpm-build20140507-1-ttb91c/SPECS/graylog-server.spec\"]}\n    centos8: ===\u003e [FPM] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PiGYv6 {}\n    centos8: ===\u003e [FPM] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.14unGZ {}\n    centos8: ===\u003e [FPM] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8xL6QS {}\n    centos8: ===\u003e [FPM] Processing files: graylog-server-1.0.0-1.noarch {}\n    centos8: ===\u003e [FPM] Wrote: /tmp/package-rpm-build20140507-1-ttb91c/RPMS/noarch/graylog-server-1.0.0-1.noarch.rpm {}\n    centos8: ===\u003e [FPM] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.M2OieO {}\n    centos8: ===\u003e [FPM] Created rpm {\"path\":\"graylog-server-1.0.0-1.noarch.rpm\"}\n    centos8: ===\u003e Created package: /vagrant/recipes/graylog-server/pkg/graylog-server-1.0.0-1.noarch.rpm\n$\n```\n\n## Available Operating Systems\n\n| Name             | VM Name    |\n|------------------|------------|\n| Ubuntu 20.04 LTS | ubuntu2004 |\n| CentOS 8         | centos8    |\n\n## Credits\n\nLots of scripts and config files are based on the following great repositories\nmaintained by the community. Thank you!\n\n### DEB\n\n* https://github.com/hggh/graylog2-server\n* https://github.com/hggh/graylog2-web\n* https://github.com/hggh/graylog2-radio\n* https://github.com/hggh/graylog2-stream-dashboard\n\n### RPM\n\n* https://github.com/jaxxstorm/graylog2-server-rpm\n* https://github.com/jaxxstorm/graylog2-web-rpm\n* https://github.com/jaxxstorm/graylog2-radio-rpm\n* https://build.opensuse.org/project/monitor/home:bmanojlovic:graylog\n\n\n[fpm-cookery]: https://github.com/bernd/fpm-cookery\n[vagrant]: http://www.vagrantup.com/\n[vagrant-docker]: http://docs.vagrantup.com/v2/docker/index.html\n[docker]: http://docker.io/\n[virtualbox]: https://www.virtualbox.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraylog2%2Ffpm-recipes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgraylog2%2Ffpm-recipes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraylog2%2Ffpm-recipes/lists"}