fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ stdenv, fetchurl, fetchpatch }:
2
3stdenv.mkDerivation rec {
4 name = "super-3.30.0";
5
6 src = fetchurl {
7 name = "${name}.tar.gz";
8 url = "http://www.ucolick.org/~will/RUE/super/${name}-tar.gz";
9 sha256 = "0k476f83w7f45y9jpyxwr00ikv1vhjiq0c26fgjch9hnv18icvwy";
10 };
11
12 patches = [
13 (fetchpatch { url = http://anonscm.debian.org/cgit/users/robert/super.git/plain/debian/patches/14-Fix-unchecked-setuid-call.patch;
14 sha256 = "08m9hw4kyfjv0kqns1cqha4v5hkgp4s4z0q1rgif1fnk14xh7wqh";
15 })
16 ];
17
18 NIX_CFLAGS_COMPILE = "-D_GNU_SOURCE";
19
20 configureFlags = "--sysconfdir=/etc --localstatedir=/var";
21
22 installFlags = "sysconfdir=$(out)/etc localstatedir=$(TMPDIR)";
23
24 meta = {
25 homepage = http://www.ucolick.org/~will/;
26 description = "Allows users to execute scripts as if they were root";
27 longDescription =
28 ''
29 This package provides two commands: 1) “super”, which allows
30 users to execute commands under a different uid/gid (specified
31 in /etc/super.tab); and 2) “setuid”, which allows root to
32 execute a command under a different uid.
33 '';
34 };
35}