mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
9f94d884b7
* Use /dev/urandom, not /dev/random. svn path=/nixpkgs/trunk/; revision=262
19 lines
460 B
Bash
Executable file
19 lines
460 B
Bash
Executable file
#! /bin/sh
|
|
|
|
export NIX_LDFLAGS=-Wl,-s
|
|
|
|
. $stdenv/setup || exit 1
|
|
|
|
envpkgs="$ssl $db4 $expat"
|
|
. $setenv || exit 1
|
|
|
|
tar xvfz $src || exit 1
|
|
cd httpd-* || exit 1
|
|
./configure --prefix=$out --enable-ssl --with-ssl=$ssl --with-berkeley-db=$db4 \
|
|
--with-expat=$expat --enable-mods-shared=all --without-gdbm \
|
|
--enable-threads --with-devrandom=/dev/urandom || exit 1
|
|
make || exit 1
|
|
make install || exit 1
|
|
strip -S $out/lib/*.a || exit 1
|
|
rm -rf $out/manual || exit 1
|