1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name fakeroot |
---|
7 | version 1.18.4 |
---|
8 | categories sysutils |
---|
9 | platforms darwin |
---|
10 | maintainers eprofs.de:florian openmaintainer |
---|
11 | license GPL-3 |
---|
12 | |
---|
13 | description tool for simulating superuser privileges |
---|
14 | |
---|
15 | long_description fakeroot provides a fake \"root environment\" by \ |
---|
16 | means of LD_PRELOAD and SysV IPC (or TCP) trickery. It puts wrappers around \ |
---|
17 | getuid(), chown(), stat(), and other file-manipulation functions, so that \ |
---|
18 | unprivileged users can (for instance) populate tgz archives with root-owned \ |
---|
19 | files. \ |
---|
20 | On OS X, only binaries that do NOT rely on Mach-based \[e\]uid/\[e\]gid/mode \ |
---|
21 | APIs will correctly use fakeroot altered ownership/permissions. |
---|
22 | |
---|
23 | homepage http://packages.debian.org/testing/fakeroot |
---|
24 | master_sites debian:f/${name} |
---|
25 | distname ${name}_${version}.orig |
---|
26 | worksrcdir ${name}-${version} |
---|
27 | use_bzip2 yes |
---|
28 | |
---|
29 | checksums md5 706171d8d520b1ca1576ac73f2ceb4f3 \ |
---|
30 | sha1 60cdd12ea3a72f3676c0f3930ab908ff1f13b996 \ |
---|
31 | rmd160 36bc511fe3e280d167db5282b485c5f2c540d4e0 |
---|
32 | |
---|
33 | depends_build port:autoconf \ |
---|
34 | port:automake |
---|
35 | |
---|
36 | pre-configure { system -W ${worksrcpath} ./bootstrap } |
---|
37 | |
---|
38 | configure.args --disable-static |
---|
39 | |
---|
40 | test.run yes |
---|
41 | test.target check |
---|
42 | |
---|
43 | # Note, that it is necessary to have a fat binary library |
---|
44 | # for fakeroot to work properly for all executables. |
---|
45 | # Hence, we force a universal build: |
---|
46 | variant_set universal |
---|
47 | default_variants +universal |
---|
48 | |
---|
49 | # os.major > 9: |
---|
50 | configure.universal_archs x86_64 i386 |
---|
51 | |
---|
52 | platform darwin 9 { |
---|
53 | configure.universal_archs-append ppc64 ppc |
---|
54 | configure.ldflags-append -Wl,-force_cpusubtype_ALL |
---|
55 | } |
---|
56 | |
---|
57 | platform darwin 8 { |
---|
58 | configure.universal_archs-append ppc64 ppc |
---|
59 | } |
---|
60 | |
---|
61 | livecheck.type regex |
---|
62 | livecheck.url ${homepage} |
---|
63 | livecheck.regex {Package: fakeroot [(]([0-9.]+)} |
---|