summarylogtreecommitdiffstats
path: root/PKGBUILD
AgeCommit message (Collapse)Author
2018-06-11upgpkg: minecraft-server 1.12.2-2Gordian Edenhofer
Update the SystemD service file to wait for the multi-user target prior to initiating the application and remove the 'WantedBy' parameter. This makes sure that the application does not start prior to the required user being available. upgpkg: cuberite 1.12b975-1 upgpkg: spigot 1.12.2+b73-1
2017-09-18upgpkg: minecraft-server 1.12.2-1Gordian Edenhofer
2017-08-04upgpkg: minecraft-server 1.12.1-1Gordian Edenhofer
2017-07-24upgpkg: minecraft-server 1.12-4Gordian Edenhofer
Fix a bug which prohibited deleting more than one old backup at a time due to confusing spaces with new lines. upgpkg: spigot 1.12-2
2017-07-01upgpkg: minecraft-server 1.12-3Gordian Edenhofer
Circumvent a permission bug related to running GNU screen as a different user. upgpkg: spigot 1.12-2
2017-06-14upgpkg: minecraft-server 1.12-2Gordian Edenhofer
Bump pkgrel to ensure the server is used with the correct version of the java-runtime-headless package.
2017-06-14upgpkg: minecraft-server 1.12-1Gordian Edenhofer
Require java-runtime-headless version 8 since the minecraft server recently switched to it.
2017-06-07upgpkg: minecraft-server 1.12-1Gordian Edenhofer
2017-04-13upgpkg: minecraft-server 1.11.2-4Gordian Edenhofer
Do not remove the user upon un-installation and do not stop the server prior to removal in order to conform with the Arch package standards.
2017-03-27upgpkg: minecraft-server 1.11.2-3Gordian Edenhofer
Harden management script against code errors and faulty user input by disallowing the use of undeclared variables ('set -u') and returning on unhandled errors of invoked programs ('set -e') plus: * Circumvent '$?' everywhere by using 'if $()' instead. * Deprecate 'expr' in favor of shell built-ins and '`' for '$()'. * Use more quotes around variables. upgpkg: cuberite 1.9.4b712-1 upgpkg: spigot 1.10.2-2
2017-01-07Secure and clean up PKGBUILDs (https, sha512sums)Gordian Edenhofer
* Switch to https wherever possible * Use unique source names where applicable (e.g. not *-git packages) * Switch to sha512sums everywhere * Update URL if necessary upgpkg: certbot-git 0.8.1.r25.gaa4a263-1 upgpkg: certbot-plugins-git 0.8.1.r25.gaa4a263-1 upgpkg: cuberite 1.9.4-6 upgpkg: electricfence 2.2.4-1 upgpkg: fakepkg 1.40.2-1 upgpkg: gnome-shell-theme-copernico-git 15.73fa7ca-1 upgpkg: gnome-shell-theme-elegance-colors-git 238.ca44e2f-4 upgpkg: grive 0.5.0-5 upgpkg: grive-git 434.7bbb01c-2 upgpkg: gtk-theme-iris-dark-git 107.3468e91-1 upgpkg: gtk-theme-iris-light-git 105.aca7c34-1 upgpkg: letshelp-certbot-git 0.8.1.r25.gaa4a263-1 upgpkg: libinput-gestures-git r21.db6b688-1 upgpkg: luv-icon-theme-git 0.4.r82.g961ba1f-1 upgpkg: minecraft-server 1.11.2-2 upgpkg: mt7610u_sta-dkms-git r25.5f01636-1 upgpkg: munge 0.5.12-1 upgpkg: munge-git 1040.1d12405-1 upgpkg: paper-gtk-theme-git 299.cecb923-1 upgpkg: pcc 1.1.0-1 upgpkg: pcc-libs 1.1.0-1 upgpkg: python-acme-git 0.8.1.r25.gaa4a263-1 upgpkg: routersploit 2.2.1-1 upgpkg: routersploit-git 2.2.1.r0.gf5b7619-1 upgpkg: semt 1.1.1-1 upgpkg: unity-editor-bin 5.5.0p1+20161220-1 upgpkg: zoom 2.0.75971.1216-1
2017-01-02upgpkg: minecraft-server 1.11.2-2Gordian Edenhofer
Change the idle_server naming schema in the script. Previously screen was used to select a session with a specific well defined name however apparently screen selects anything starting with the specified pattern. This let to some confusion between the server and the idle_server. To circumvent this behaviour simply change the naming schema of the idle_server. THIS IS NOT A FIX! - part 2
2016-12-29upgpkg: minecraft-server 1.11.2-2Gordian Edenhofer
Previously screen was used to select a session with a specific well defined name however apparently screen selects anything starting with the specified pattern. This let to some confusion between the server and the idle_server. To circumvent this behaviour simply change the naming schema of the idle_server. THIS IS NOT A FIX!
2016-12-29upgpkg: minecraft-server 1.11.2-1Gordian Edenhofer
Tweak proceeding sed command instead of piping to awk.
2016-12-21upgpkg: minecraft-server 1.11.2-1Gordian Edenhofer
2016-12-20upgpkg: minecraft-server 1.11.1-1Gordian Edenhofer
Switch from md5sum to sha512sum for additional security.
2016-11-15upgpkg: minecraft-server 1.11-1Gordian Edenhofer
2016-08-09upgpkg: minecraft-server 1.10.2-3Gordian Edenhofer
Treat IDLE_SERVER varible case insensitive when comparing to "true". upgpkg: cuberite 1.9.4-5 upgpkg: spigot 1.10.2-1
2016-08-04upgpkg: minecraft-server 1.10.2-3Gordian Edenhofer
* invoke SESSION_NAME when setting IDLE_SESSION_NAME * make the destination of the game command dump configurable * surpress error messages when sourcing since some variables might be set to read-only
2016-06-24upgpkg: minecraft-server 1.10.2-3Gordian Edenhofer
Create log dir with mode 2755 instead of 775. Remove .install notice about obsolete backups.
2016-06-24upgpkg: minecraft-server 1.10.2-2Gordian Edenhofer
* Handle server command output completely through screen instead of relying on a possible outdated log file. (Implemented in the game_command function.) The default screen command dump resides in /tmp. * LOGPATH is not needed anymore. * Unite various java options into one lengthier SERVER_START_CMD. * Update configuration file accordingly. * Create log dir in PKGBUILD. * Fix some style inconsistencies.
2016-06-23upgpkg: minecraft-server 1.10.2-1Gordian Edenhofer
2016-06-09upgpkg: minecraft-server 1.10-2Gordian Edenhofer
Fix false greater than comparison if checking for active players.
2016-06-08upgpkg: minecraft-server 1.10-1Gordian Edenhofer
2016-05-28upgpkg: minecraft-server 1.9.4-4Gordian Edenhofer
Add awk and sed to dep array. upgpkg: spigot 1.9.4-2
2016-05-28upgpkg: minecraft-server 1.9.4-4Gordian Edenhofer
Let player check handle more formats from different plugins etc. in which the number of players is communicated. upgpkg: spigot 1.9.4-2
2016-05-22upgpkg: minecraft-server 1.9.4-3Gordian Edenhofer
Fix bug on when to reset the no_player time: a false elif was used instead of a simple else. Typo. upgpkg: spigot 1.9.4-2
2016-05-20upgpkg: (minecraft-server|spigot) 1.9.4-2Gordian Edenhofer
Pause player checking when in idle_server mode as long as someone is connected to the server console. Not only does it make sense for any admin which wants to monitor the console, it also removes annoying list invocations from the console while e.g. typing in it. upgpkg: minecraft-server 1.9.4-2 upgpkg: spigot 1.9.4-2
2016-05-11upgpkg: minecraft-server 1.9.4-1Gordian Edenhofer
Reset timer to ( IDLE_IF_TIME - 300 seconds [5 min.] ) on shutdown, so after pinging the server it will go down earlier instead of waiting the full IDLE_IF_TIME. This only affects the idle_server_daemon.
2016-05-01Change email address to GmailGordian Edenhofer
Gmail has been my main email address for a couple of years and the yahoo.de address is merely my spam mail. Since I trust Google spam filers and have a certain aversion for yahoo mail, I am switching.
2016-04-03Upgpkg: 1.9.2-4Gordian Edenhofer
Reset no_player timer after the server has been shut down.
2016-04-03Upgpkg: 1.9.2-3Gordian Edenhofer
Escape colored game-command output when evaluating the logs. Though this is not the default for the stock server, some plugins add color to e.g. list. Set tail -f refresh interval to 0.1s (default 1s) to speedily escape.
2016-04-03Upgpkg: 1.9.2-2Gordian Edenhofer
Do not save server files immediately before going down in case there is no player on the server. The files are saved on shutdown eitherway and the save-all command heavily delays the list command which is triggered later.
2016-04-03Upgpkg: 1.9.2-2Gordian Edenhofer
The list command prints a line containing the usernames after the last occurrence of ": " and since playernames may not contain this string the clean player-list can be easily retrieved through the use of sed. This surpasses the usefulness of the player_delimiter. Increase waiting period between executing the list game-command and scanning the logs from 0.3 seconds to 0.6 seconds. Tweak tail -f command in server_command. Use ${_game} variable aggressively in PKGBUILD.
2016-03-30Upgpkg: 1.9.2-1Gordian Edenhofer
Bump up to version 1.9.2 and omit version 1.9.1 since it was released the same day and does not contain a patch for connection issues described in MC-100283.
2016-03-29Upgpkg: 1.9-8Gordian Edenhofer
Stop server immediately if no player is on the server. Increase waiting period between executing a game-command and scanning the logs from 0.2 seconds to 0.3 seconds. Wait before scanning the logs when checking for active players. Fix typo occured --> occurred and some spacing issues.
2016-03-20Upgpkg: 1.9-7Gordian Edenhofer
Increase pkgrel afterwards.
2016-03-14Upgpkg: 1.9-6Gordian Edenhofer
Renaming variables in the configuration file. Increase time-out time to 10 seconds when shutting down the idle_server. Minor redesign when passing commands to the minecraft server console.
2016-03-06Upgpkg: 1.9-6Gordian Edenhofer
On server stop, return to the prompt as soon as the server has completely shut down, not as soon as the shutdown command has been sent. Thereby fixing the restart capability. Introduce sanity check whether the servers is really down in idle_daemon and server_start as well. Signed-off-by: Gordian Edenhofer <gordian.edenhofer@gmail.com>
2016-03-05Upgpkg: 1.9-5Gordian Edenhofer
Fix issues with how the idle_server is handled. (Tested and at least works for me...)
2016-03-05Upgpkg: 1.9-4Gordian Edenhofer
Fix wrong netcat invocation. Fix faulty systemd unit files with variables in capital letters.
2016-03-04Upgpkg: 1.9-3Gordian Edenhofer
Fix faulty systemd unit files with wrong use of environment variables.
2016-03-02Upgpkg: 1.9-2Gordian Edenhofer
Fix serious problem which let to the idle_server_daemon being started independently from whether the user actually wanting it.
2016-03-01Upgpkg: 1.9-1Gordian Edenhofer
Use server_root whenever possible. Add note to remove the /etc/conf.d/minecraft update-check oneday.
2016-02-29Upgpkg: 1.9-1Gordian Edenhofer
Make script and build files more easily adaptable for especially other flavors of minecraft servers.
2016-02-29Upgpkg: 1.9-1Gordian Edenhofer
Add suspending capability for the minecraft server through the control script and an additional screen session which listens on the same port with netcat. * Update .conf accordingly * IDLE_SERVER can be either true or false * The default is no idle server * Choose an available netcat flavor automatically Variable renaming in .install. Notify the user of kept directories on post_remove and alter ownership to root before removing the game user. Print error messages to stderr.
2016-02-01Upgpkg: 1.8.9-4Gordian Edenhofer
updpkgsums
2016-02-01Upgpkg: 1.8.9-4Gordian Edenhofer
Fix bug which prevented users from taking backups of multiple worlds. It occured due to an out-of-place quotation of a variable.
2016-01-30Upgpkg: 1.8.9-3Gordian Edenhofer
Remove out-of-place Type option from backup timer State that the config file is interpreted in bash
2016-01-26Upgpkg: 1.8.9-2Gordian Edenhofer
Check whether sudo is required for command execution Replace [ with [[ (bash)