Add support for authentication via user list in MySQL to restund
This commit is contained in:
parent
1527b10016
commit
def0189ccd
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, zlib, openssl, libre, librem}:
|
{stdenv, fetchurl, zlib, openssl, libre, librem, mysql}:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.4.2";
|
version = "0.4.2";
|
||||||
name = "restund-${version}";
|
name = "restund-${version}";
|
||||||
@ -6,17 +6,19 @@ stdenv.mkDerivation rec {
|
|||||||
url = "http://www.creytiv.com/pub/restund-${version}.tar.gz";
|
url = "http://www.creytiv.com/pub/restund-${version}.tar.gz";
|
||||||
sha256 = "db5260939d40cb2ce531075bef02b9d6431067bdd52f3168a6f25246bdf7b9f2";
|
sha256 = "db5260939d40cb2ce531075bef02b9d6431067bdd52f3168a6f25246bdf7b9f2";
|
||||||
};
|
};
|
||||||
buildInputs = [zlib openssl libre librem];
|
buildInputs = [zlib openssl libre librem mysql];
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
"LIBRE_MK=${libre}/share/re/re.mk"
|
"LIBRE_MK=${libre}/share/re/re.mk"
|
||||||
"LIBRE_INC=${libre}/include/re"
|
"LIBRE_INC=${libre}/include/re"
|
||||||
"LIBRE_SO=${libre}/lib"
|
"LIBRE_SO=${libre}/lib"
|
||||||
"LIBREM_PATH=${librem}"
|
"LIBREM_PATH=${librem}"
|
||||||
''PREFIX=$(out)''
|
''PREFIX=$(out)''
|
||||||
|
"USE_MYSQL=1"
|
||||||
]
|
]
|
||||||
++ stdenv.lib.optional (stdenv.gcc.gcc != null) "SYSROOT_ALT=${stdenv.gcc.gcc}"
|
++ stdenv.lib.optional (stdenv.gcc.gcc != null) "SYSROOT_ALT=${stdenv.gcc.gcc}"
|
||||||
++ stdenv.lib.optional (stdenv.gcc.libc != null) "SYSROOT=${stdenv.gcc.libc}"
|
++ stdenv.lib.optional (stdenv.gcc.libc != null) "SYSROOT=${stdenv.gcc.libc}"
|
||||||
;
|
;
|
||||||
|
NIX_LDFLAGS='' -L${mysql}/lib/mysql '';
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://www.creytiv.com/restund.html";
|
homepage = "http://www.creytiv.com/restund.html";
|
||||||
platforms = with stdenv.lib.platforms; linux;
|
platforms = with stdenv.lib.platforms; linux;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user