redmine: disable format hardening
This commit is contained in:
parent
33f7d0b3f6
commit
4c9c4c4dcd
@ -11,6 +11,8 @@ in stdenv.mkDerivation rec {
|
|||||||
sha256 = "0x0zwxyj4dwbk7l64s3lgny10mjf0ba8jwrbafsm4d72sncmacv0";
|
sha256 = "0x0zwxyj4dwbk7l64s3lgny10mjf0ba8jwrbafsm4d72sncmacv0";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hardening_format = false;
|
||||||
|
|
||||||
# taken from redmine (2.5.1-2~bpo70+3) in debian wheezy-backports
|
# taken from redmine (2.5.1-2~bpo70+3) in debian wheezy-backports
|
||||||
# needed to separate run-time and build-time directories
|
# needed to separate run-time and build-time directories
|
||||||
patches = [
|
patches = [
|
||||||
@ -18,6 +20,7 @@ in stdenv.mkDerivation rec {
|
|||||||
./2004_FHS_plugins_assets.patch
|
./2004_FHS_plugins_assets.patch
|
||||||
./2003_externalize_session_config.patch
|
./2003_externalize_session_config.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace lib/redmine/plugin.rb --replace "File.join(Rails.root, 'plugins')" "ENV['RAILS_PLUGINS']"
|
substituteInPlace lib/redmine/plugin.rb --replace "File.join(Rails.root, 'plugins')" "ENV['RAILS_PLUGINS']"
|
||||||
substituteInPlace lib/redmine/plugin.rb --replace "File.join(Rails.root, 'plugins', id.to_s, 'db', 'migrate')" "File.join(ENV['RAILS_PLUGINS'], id.to_s, 'db', 'migrate')"
|
substituteInPlace lib/redmine/plugin.rb --replace "File.join(Rails.root, 'plugins', id.to_s, 'db', 'migrate')" "File.join(ENV['RAILS_PLUGINS'], id.to_s, 'db', 'migrate')"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user