Package fakeroot: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 | %set_verify_elf_method strict Name: fakeroot Version: 1.29 Release: alt3 Summary: Run a command in an environment faking root privileges for file manipulation License: GPLv3+ Group: Development/Other Url: http://packages.qa.debian.org/f/fakeroot.html # http://git.altlinux.org/people/ldv/packages/?p=fakeroot.git Source: %name-%version-%release.tar Requires: getopt BuildRequires: libacl-devel, libcap-devel %{!?_without_check:%{!?_disable_check:BuildRequires: sharutils}} %description fakeroot runs a command in an environment were it appears to have root privileges for file manipulation. This is useful for allowing users to createarchives (tar, ar, .rpm etc.) with files in them with root permissions/ownership. Without fakeroot one would have to have root privileges to create the constituent files of the archives with the correct permissions and ownership, and then pack them up, or one would have to construct the archives directly, without using the archiver. %prep %setup -n %name-%version-%release echo 'define(FAKEROOT_VERSION, %version)' >acinclude.m4 %build grep -FZrl sys: test | xargs -r0 sed -i "s/sys:/bin:/g" -- grep -FZrl :sys test | xargs -r0 sed -i "s/:sys/:bin/g" -- mkdir build-aux autoreconf -fisv %configure --libdir=%_libdir/libfakeroot --enable-static=no %make_build LIBCPATH=/%_lib/libc.so.6 %check %make_build -k check VERBOSE=1 %install %makeinstall libdir=%buildroot%_libdir/libfakeroot find %buildroot%_libdir -type f -name \*.la -delete %files %_bindir/* %_libdir/libfakeroot %_mandir/man?/* %doc doc/README* DEBUG %changelog * Thu Apr 6 2023 Ivan Zakharyaschev <imz@altlinux.org> 1.29-alt3 - Fixed a compiler error of older GCCs (for p10) in the wrapper for syscall function. - Warn the maintainer if a function definition is missing (when it is not generated for special cases like calling a variadic function like syscall). - Added Large-File support in all internal actions (for emulating mknod with a normal file; storing internal database; and for querying the fake owner). - Shut up a few compiler warnings. * Wed Apr 5 2023 Ivan Zakharyaschev <imz@altlinux.org> 1.29-alt2 - Fixed the wrapper for syscall function so that it works even with the e2k calling convention, which is special for variadic functions. (ALT#45757) * Sat Jan 21 2023 Dmitry V. Levin <ldv@altlinux.org> 1.29-alt1 - 1.28 -> 1.29. - Wrap syscall function. * Thu Apr 28 2022 Dmitry V. Levin <ldv@altlinux.org> 1.28-alt1 - 1.25.3 -> 1.28. - Added support for stat-related *_time64 functions. * Thu Feb 18 2021 Dmitry V. Levin <ldv@altlinux.org> 1.25.3-alt1 - 1.20.2 -> 1.25.3. * Tue May 07 2019 Gleb F-Malinovskiy <glebfm@altlinux.org> 1.20.2-alt2 - Fixed build on ppc64le. * Tue May 10 2016 Dmitry V. Levin <ldv@altlinux.org> 1.20.2-alt1 - 1.18.4 -> 1.20.2. - Fixed irrelevant noise with recent changes in glibc. - Added fts64 support. * Wed Apr 17 2013 Dmitry V. Levin <ldv@altlinux.org> 1.18.4-alt1 - Updated to 1.18.4. * Mon Apr 13 2009 Dmitry V. Levin <ldv@altlinux.org> 1.12.2-alt1 - Updated to 1.12.2. * Wed Sep 24 2008 Dmitry V. Levin <ldv@altlinux.org> 1.9.6-alt2 - fakeroot: Fixed regression introduced in previous release. * Mon Sep 22 2008 Dmitry V. Levin <ldv@altlinux.org> 1.9.6-alt1 - Updated to 1.9.6. - fakeroot: Rewritten signal handling. * Fri Apr 11 2008 Dmitry V. Levin <ldv@altlinux.org> 1.9.4-alt2 - faked: Rewritten signal handling to avoid race conditions. * Thu Apr 03 2008 Dmitry V. Levin <ldv@altlinux.org> 1.9.4-alt1 - Updated to 1.9.4. * Sun Jan 20 2008 Dmitry V. Levin <ldv@altlinux.org> 1.9-alt1 - Updated to 1.9. * Mon Mar 05 2007 Dmitry V. Levin <ldv@altlinux.org> 1.5.10-alt2 - Optimized fakeroot wait loop fix. * Mon Nov 13 2006 Dmitry V. Levin <ldv@altlinux.org> 1.5.10-alt1 - Updated to 1.5.10. - Fixed fakeroot wait loop. - Fixed faked cleanup handler. * Wed Oct 19 2005 Dmitry V. Levin <ldv@altlinux.org> 1.5.4-alt2 - Fixed faked daemonize code. * Fri Oct 14 2005 Dmitry V. Levin <ldv@altlinux.org> 1.5.4-alt1 - Updated to 1.5.4. - Rediffed patches. * Wed Jun 15 2005 Dmitry V. Levin <ldv@altlinux.org> 1.3-alt1 - Updated to 1.3. * Mon Jun 13 2005 Dmitry V. Levin <ldv@altlinux.org> 1.2-alt3 - Fixed "fakeroot -s". * Mon Feb 14 2005 Dmitry V. Levin <ldv@altlinux.org> 1.2-alt2 - Wrap functions using default versioning. * Tue Dec 07 2004 Dmitry V. Levin <ldv@altlinux.org> 1.2-alt1 - Updated to 1.2. - Merged upstream patches: alt-fsugid. * Fri Oct 22 2004 Dmitry V. Levin <ldv@altlinux.org> 1.1.5-alt1 - Updated to 1.1.5. * Sun Oct 17 2004 Dmitry V. Levin <ldv@altlinux.org> 1.1.2-alt1 - Updated to 1.1.2. - Reviewed and updated patches. * Thu Nov 27 2003 Dmitry V. Levin <ldv@altlinux.org> 0.8.2-alt1 - Updated to 0.8.2, updated patches. - Do not package .la files. * Mon Sep 15 2003 Dmitry V. Levin <ldv@altlinux.org> 0.7.6-alt1 - Updated to 0.7.6 * Mon Jul 28 2003 Dmitry V. Levin <ldv@altlinux.org> 0.7.5-alt1 - Updated to 0.7.5 * Fri Jul 04 2003 Dmitry V. Levin <ldv@altlinux.org> 0.7.3-alt2 - Fixed trap usage in fakeroot script. * Thu Jun 26 2003 Dmitry V. Levin <ldv@altlinux.org> 0.7.3-alt1 - Updated to 0.7.3 - Fixed fakeroot script to correct package dependencies. - Fake setfsuid, setfsgid and setgroups (required for libtcb). - Changed faking algorithm for other [sg]et*[ug]id functions, to better match real system behaviour. * Mon May 05 2003 Dmitry V. Levin <ldv@altlinux.org> 0.6.9-alt2 - Updated build dependencies. * Thu May 01 2003 Dmitry V. Levin <ldv@altlinux.org> 0.6.9-alt1 - Updated to 0.6.9. - Fixed testsuit and enabled it by default. - Updated summary and description. * Thu Mar 13 2003 Alexander V. Nikolaev <avn@altlinux.org> 0.5.9-alt2 - Fix /usr/lib/libfakeroot permissions * Mon Feb 10 2003 Alexander V. Nikolaev <avn@altlinux.org> 0.5.9-alt1 - New upstream version - Add depends to getopt * Mon Dec 16 2002 Alexander V. Nikolaev <avn@altlinux.org> 0.5.7-alt2 - Remove static libs * Tue Dec 10 2002 Alexander V. Nikolaev <avn@altlinux.org> 0.5.7-alt1 - 0.5.7 |