From c6d7ec083281cc39be565c926ba3207591924287 Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 3 Sep 2018 17:03:52 +0200 Subject: [PATCH] games-server/factorio-server: Added 0.16.51 Package-Manager: Portage-2.3.40, Repoman-2.3.9 Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07 --- games-server/factorio-server/Manifest | 15 ++++ .../factorio-server-0.16.51.ebuild | 28 +++++++ .../factorio-server/files/factorio.confd | 4 + .../factorio-server/files/factorio.initd | 21 ++++++ games-server/factorio-server/metadata.xml | 11 +++ licenses/Factorio | 74 +++++++++++++++++++ profiles/license_groups | 1 + 7 files changed, 154 insertions(+) create mode 100644 games-server/factorio-server/Manifest create mode 100644 games-server/factorio-server/factorio-server-0.16.51.ebuild create mode 100644 games-server/factorio-server/files/factorio.confd create mode 100755 games-server/factorio-server/files/factorio.initd create mode 100644 games-server/factorio-server/metadata.xml create mode 100644 licenses/Factorio diff --git a/games-server/factorio-server/Manifest b/games-server/factorio-server/Manifest new file mode 100644 index 000000000..3ac0d4283 --- /dev/null +++ b/games-server/factorio-server/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX factorio.confd 154 BLAKE2B f5f5b1496e1ea3b27dd05e048a2ca803009551c740c0cc3017d80683ad49ac37ccdc638e0b1d2284d5a0700e14aa0d35728cd0be42f0781f48bc77ade36aa086 SHA512 49d47b0b47c4cb15d238a684800f5c0c6c07c7cb0641864b9ee5fd3c4956e5e31912a19519aefa65d3fbca235384af325ba6715954f9adb57e654a1d1542fbb2 +AUX factorio.initd 505 BLAKE2B dc6da87a8f11c725a10f82a1165096569ed07bdaa44c12e1d4738a22d6b268ea65c2331945f2f7c5ff8396cd3c8d3aaf242eda6035fe9b85122bc79a0fe2e606 SHA512 bf2a1ea2cde53c2182e8b802a41c4c821bbab7223e9ea7df070b1eef89ae3dd038e1c2944dc9935acbf6f8ffa62b3943c48604e8fd3bf5a3c01932b2adab7eb6 +DIST factorio-server-0.16.51.tar.xz 24259652 BLAKE2B fd7874b1b7e2f4a7d3dcfd1c954ee1dfcb580b0e8e10a7cbe3301aa60af29629070cd80832d2b54ad8e8b8675ad45edce3118375e2a7ee5df6ac4e6439d3f64d SHA512 f062b5696f412da2bd694107cdf55840c61f61aa28976e5db30b8e4a10632986b8203e6a9697100ca4f3a6d07dd8a419c7244c576ffec53c673588c144cfd774 +EBUILD factorio-server-0.16.51.ebuild 688 BLAKE2B 83be0e45941636cb37388cf16025407bc74d1414c528974eeff1a49464b6ce691816794b928c6c40f6b968908c555c5eff498e01889cceccb8b8fb4ae0af78d8 SHA512 b70e56209bec602fd5e79b4e49685dd6675b9272c98050f116608657eaab29abeed40aa269cf38fd22816f24e5c6fd2994dbc6ac655e75247e0404b2ce85683e +MISC metadata.xml 617 BLAKE2B a32884112de93f2f16f242375f28ee73a0eb66113519b75c8ab9cf5454dd299a1e742a903664e291185d5505694ccbcbe84c2164da7888e6f52d10ebfe32ccd0 SHA512 17ca8276fc728b512d15c3e9f05e5b528ab011f9ad5fefbd3c9e42b3151e9ccda9e7d89861687649fbcbb9c2c0eaaaa1aad57f3a3eaa4a2a4992a061ab64bd35 +-----BEGIN PGP SIGNATURE----- + +iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCW41NWAAKCRDPw5SX8bJu +B0m0AP9Qq6BQFAOjta9xX4f3UrQ5ZjQ4V+EiG0w1LHLsI7K8RwEAgmlIzvYKCAzO +yMMeJs2Lggri1BsVNsFSlnLpRBB3T4w= +=EcJV +-----END PGP SIGNATURE----- diff --git a/games-server/factorio-server/factorio-server-0.16.51.ebuild b/games-server/factorio-server/factorio-server-0.16.51.ebuild new file mode 100644 index 000000000..0778d7ca9 --- /dev/null +++ b/games-server/factorio-server/factorio-server-0.16.51.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Factorio is a game in which you build and maintain factories." +HOMEPAGE="https://www.factorio.com/" +SRC_URI="https://www.factorio.com/get-download/0.16.51/headless/linux64 -> ${P}.tar.xz" +LICENSE="Factorio" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +RDEPEND=">=app-misc/screen-4.6.1" +DEPEND="" + +src_unpack() { + default_src_unpack + mv factorio ${P} +} + +src_install() { + insinto /opt/factorio + doins -r bin + doins -r data + doins -r config-path.cfg + newinitd "${FILESDIR}"/factorio.initd factorio + newconfd "${FILESDIR}"/factorio.confd factorio +} diff --git a/games-server/factorio-server/files/factorio.confd b/games-server/factorio-server/files/factorio.confd new file mode 100644 index 000000000..09342ff5c --- /dev/null +++ b/games-server/factorio-server/files/factorio.confd @@ -0,0 +1,4 @@ +FACTORIO_PATH="/opt/factorio" +FACTORIO_OPTS="--start-server-load-latest --server-settings ./data/server-settings.json" +FACTORIO_USER="" +FACTORIO_GROUP="" diff --git a/games-server/factorio-server/files/factorio.initd b/games-server/factorio-server/files/factorio.initd new file mode 100755 index 000000000..31d234eec --- /dev/null +++ b/games-server/factorio-server/files/factorio.initd @@ -0,0 +1,21 @@ +#!/sbin/openrc-run +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +name="Factorio" +pidfile="/run/factorio.pid" +start_stop_daemon_args="--chdir ${FACTORIO_PATH}" +command="screen" +command_args="-DmUS factorio ./bin/x64/factorio ${FACTORIO_OPTS}" +command_background="true" + +if [ -n "${FACTORIO_USER}" ]; then + command_user="${FACTORIO_USER}" +fi +if [ -n "${FACTORIO_GROUP}" ]; then + command_group="${FACTORIO_GROUP}" +fi + +depend() { + use net +} diff --git a/games-server/factorio-server/metadata.xml b/games-server/factorio-server/metadata.xml new file mode 100644 index 000000000..3c475135b --- /dev/null +++ b/games-server/factorio-server/metadata.xml @@ -0,0 +1,11 @@ + + + + + gentoo@tastytea.de + tastytea + + + You will be mining resources, researching technologies, building infrastructure, automating production and fighting enemies. Use your imagination to design your factory, combine simple elements into ingenious structures, apply management skills to keep it working, and protect it from the creatures who don't really like you. + + diff --git a/licenses/Factorio b/licenses/Factorio new file mode 100644 index 000000000..ca6d9b3e8 --- /dev/null +++ b/licenses/Factorio @@ -0,0 +1,74 @@ +--------------------------------------------------------------------------------------------------- +END USER LICENSE AGREEMENT +--------------------------------------------------------------------------------------------------- + +Terms of service + + The Game: + - Factorio is still in the development. That means it is an unfinished product so it may contain bugs and unfinished features. + - The game is still evolving and is subject to changes in the future. + - We are not liable for any damage that might be caused to you by downloading, installing and using our software. + - Especially we are not responsible if you stay awake all night long playing Factorio and can't go to school / work in the morning :) + - You download, install and use Factorio at your own risk. + - There's always the possibility of the development of the project being discontinued at any time. + - Use of our online matching server and mod portal requires an account on our website. + + The Mod Portal: + - The mod portal website and in-game integration are available for all purchasers of the game + - We reserve the right to remove a mod or edit any mods listing without notice. + - All mods uploaded must have the permission from the author of the mod, and must not contain any copyrighted material (without permission). + - Any inappropriate behaviour by users in the discussions feature can lead to account deactivation. + + Intellectual Property and Sharing: + - You may use Factorio and other paid content for your own personal use. + - All the content in the game is owned by us. This includes the user provided content that makes it into the game as well (for instance namely translations). + - Don't sell, copy, transfer or distribute the game, its hacked / altered version, any of its parts, or any of our paid content. + - Ask us for approval to use the game, any of its parts or any materials on our website for any commercial purpose. + - You may use the free Factorio headless server to run and operate a commercial service providing servers to players. However we reserve the right to request the cessation of the service should an issue with the service provider arise. + + Use of service: + - Children may use an account established by their parent or legal guardian with the approval of such a person. + - The game doesn't contain explicit violence and we believe it is appropriate for children from 12 years. + - If you wish to cancel your account please send us an email to support@factorio.com. + - We reserve the right to restrict or suspend accounts of users that will clearly violate the terms of service or our privacy policy. In such a case we will first try to resolve the situation by communicating with the user. Suspending the account is the last resort. + + Other: + - Don't do anything that could harm the development of the game or its distribution. + - The materials appearing in the game or on the Factorio website may include technical or typographical errors. We don't warrant that any of the materials are complete, accurate, or up to date. + - Any kind of abusive or clearly inappropriate behavior in regards to service we run (forums, mod portal, matching server) is a violation of these terms of service. + - There are couple of places where you can share ideas and opinions with other players (our Forum, Twitter, Facebook page). Please behave there appropriately and don’t do anything that gets us into trouble. + - In case of legal dispute, the governing laws of the Czech Republic will apply. + - We reserve the right to update these terms at any point in time with immediate effect. Last update was on 22nd of Feb 2018 + +--------------------------------------------------------------------------------------------------- + +Privacy + + Information we collect: + - We store only the minimum of information necessary to properly provide our service. + - When an account is created we store the email, the username and the hash of the password. This allows us to provide login functionality. + - When a game is downloaded or automatic updater is used we store the time, the type of the download and the username of who made the download. This is necessary for our download statistics and download breach protections. + - We never store user address, credit card information or any other data except from those described above. + - In the event of an unexpected game error, we will securely send the anonymous game log file and crash report to our server. + + Email privacy: + - We don't have any newsletters or global email notifications. + - In case we have such a mechanism in the future there will always be a simple to-do opt-out. + + Third party disclosure: + - We don't provide any user information (including email address) to third parties. + - We will never do this unless we are ordered to do so by law. + + Account confidentiality: + - You are responsible for maintaining the confidentiality of your account name and password. + - Do not allow any other person to use your account. + - If you think your account name and/or password have been compromised please inform us. + + Accessing privacy information: + - If you wish to remove your login data from our system, then email us at support@factorio.com. This will mean deleting your account. + - The download log and purchase log information cannot be removed because we use them for statistics and accounting purposes. + - If you would like any more information or details regarding the privacy policy please contact us at support@factorio.com. + + Policy change: + - We reserve the right to update this policy in the future. + - This policy was last modified on 22nd of Feb 2018. diff --git a/profiles/license_groups b/profiles/license_groups index c01f9d580..79b4a36f5 100644 --- a/profiles/license_groups +++ b/profiles/license_groups @@ -1 +1,2 @@ MISC-FREE hug-ware +EULA Factorio