summaryrefslogtreecommitdiffstats
path: root/fakeroot.pkg
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-03-04 06:25:40 (EST)
committer P. J. McDermott <pjm@nac.net>2012-03-04 06:25:40 (EST)
commit33a6d2569f677b64b40267429ff4ca713c042da7 (patch)
tree69ec2daf07b6c5040a25135c90cc32e35a7fb103 /fakeroot.pkg
Initial commit.fakeroot/1.18.2-1
Diffstat (limited to 'fakeroot.pkg')
-rw-r--r--fakeroot.pkg/control10
-rw-r--r--fakeroot.pkg/install2
-rwxr-xr-xfakeroot.pkg/postinst3
-rwxr-xr-xfakeroot.pkg/prerm3
4 files changed, 18 insertions, 0 deletions
diff --git a/fakeroot.pkg/control b/fakeroot.pkg/control
new file mode 100644
index 0000000..07fbe97
--- /dev/null
+++ b/fakeroot.pkg/control
@@ -0,0 +1,10 @@
+Package: fakeroot
+Architecture: any
+Description: tool for simulating superuser privileges
+ fakeroot provides a fake "root environment" by means of LD_PRELOAD and SysV IPC
+ (or TCP) trickery. It puts wrappers around getuid(), chown(), stat(), and other
+ file-manipulation functions, so that unprivileged users can (for instance)
+ populate .opk archives with root-owned files; various build tools use fakeroot
+ for this by default.
+ .
+ This package provides the fakeroot tool.
diff --git a/fakeroot.pkg/install b/fakeroot.pkg/install
new file mode 100644
index 0000000..0324523
--- /dev/null
+++ b/fakeroot.pkg/install
@@ -0,0 +1,2 @@
+/usr/bin
+/usr/lib
diff --git a/fakeroot.pkg/postinst b/fakeroot.pkg/postinst
new file mode 100755
index 0000000..c4baf40
--- /dev/null
+++ b/fakeroot.pkg/postinst
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+ln -s opkg-cl /usr/bin/opkg
diff --git a/fakeroot.pkg/prerm b/fakeroot.pkg/prerm
new file mode 100755
index 0000000..91527fa
--- /dev/null
+++ b/fakeroot.pkg/prerm
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+rm /usr/bin/opkg