diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-12-01 17:26:53 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-12-01 17:26:53 +0100 |
commit | 3ce3c4fd596debefbad77328a9b62a39eccf753c (patch) | |
tree | 8ea8842d946335dbd124e71336a11b928481c544 /unmaintained/redmine/redmine.post-install | |
parent | 62b8ba5f8fe6d62d56b2d078b4f12f72830ee4af (diff) | |
download | aports-3ce3c4fd596debefbad77328a9b62a39eccf753c.tar.bz2 aports-3ce3c4fd596debefbad77328a9b62a39eccf753c.tar.xz |
unmaintained/*: purge aports not touched since v3.5.0
We agreed with ncopa on #alpine-devel (2017-12-01 16:20 UTC) to
periodically purge aports in unmaintained that haven't been touched
in last 1 year (2 releases).
Diffstat (limited to 'unmaintained/redmine/redmine.post-install')
-rw-r--r-- | unmaintained/redmine/redmine.post-install | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/unmaintained/redmine/redmine.post-install b/unmaintained/redmine/redmine.post-install deleted file mode 100644 index f68632c78e..0000000000 --- a/unmaintained/redmine/redmine.post-install +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh - -tokenfile=/var/lib/redmine/secret_token.rb -if [ -e $tokenfile ]; then - exit 0 -fi - -if [ -e /dev/urandom ] && [ -x /usr/bin/hexdump ]; then - token=$(/usr/bin/hexdump -n 32 -v -e '/1 "%02x"' /dev/urandom) -else - token=$(for i in $(seq 0 31); do echo $RANDOM; done | sha1sum | awk '{print $1}') -fi - -umask 027 -cat >$tokenfile<<EOF -# This file was generated by redmine apk post-install script, and should -# not be made visible to public. -# If you have a load-balancing Redmine cluster, you will need to use the -# same version of this file on each machine. And be sure to restart your -# server when you modify this file. -# -# Your secret key for verifying cookie session data integrity. If you -# change this key, all old sessions will become invalid! Make sure the -# secret is at least 30 characters and all random, no regular words or -# you'll be exposed to dictionary attacks. -RedmineApp::Application.config.secret_key_base = '$token' -EOF - -chgrp www-data $tokenfile |