Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
749d6fb64f |
10
Makefile
10
Makefile
@@ -8,22 +8,22 @@
|
|||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
DEPENDS = dash,glibc
|
DEPENDS = dash,glibc,perl
|
||||||
ARCH = x86_64
|
ARCH = x86_64
|
||||||
URL = https://github.com/dex4er/fakechroot
|
URL = https://github.com/dex4er/fakechroot
|
||||||
REPO = main
|
REPO = main
|
||||||
BRIEF = creates a fake chroot environment
|
BRIEF = creates a fake chroot environment
|
||||||
DESC = fakechroot runs a command in an environment which is similar to chroot \
|
DESC = fakechroot runs a command in an environment which is similar to chroot \
|
||||||
but does not require root privileges
|
but does not require root privileges
|
||||||
SNAPVER = 0
|
SLVER = 1
|
||||||
|
|
||||||
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
||||||
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
||||||
SRCDIR := $(shell tar -tf $(ARCHIVE)|head -1|sed 's/\/.*//')
|
SRCDIR := $(shell tar -tf $(ARCHIVE)|head -1|sed 's/\/.*//')
|
||||||
PATCHDIR := $(PWD)/SRC/patches
|
PATCHDIR := $(PWD)/SRC/patches
|
||||||
VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'|sed 's/^-//')-$(SNAPVER)
|
VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'|sed 's/^-//')-$(SLVER)
|
||||||
|
|
||||||
include /usr/share/snap/Makefile.snaplinux
|
include /usr/share/sl/Makefile.snaplinux
|
||||||
|
|
||||||
$(SRCDIR)/configure: $(ARCHIVE)
|
$(SRCDIR)/configure: $(ARCHIVE)
|
||||||
@if [ '$(TYPE)' == 'application/x-bzip2' ]; then \
|
@if [ '$(TYPE)' == 'application/x-bzip2' ]; then \
|
||||||
@@ -70,7 +70,7 @@ test: $(ROOT)
|
|||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -rvf $(ROOT) \
|
@rm -rvf $(ROOT) \
|
||||||
$(SNAPINFO) \
|
$(SLINFO) \
|
||||||
$(MANIFEST) \
|
$(MANIFEST) \
|
||||||
$(FILES) \
|
$(FILES) \
|
||||||
$(SRCDIR)
|
$(SRCDIR)
|
||||||
|
|||||||
Binary file not shown.
@@ -1,21 +0,0 @@
|
|||||||
f6b53fedfab51206d62d3695f63c9d4a10a2ecac -rw-r--r-- usr/share/man/man1/fakechroot.1.gz
|
|
||||||
________________________________________ drwxr-xr-x usr/share/man/man1
|
|
||||||
________________________________________ drwxr-xr-x usr/share/man
|
|
||||||
________________________________________ drwxr-xr-x usr/share
|
|
||||||
cb162be6f16dd7ebeff740f7f1af23b176ec90cb -rwxr-xr-x usr/sbin/chroot.fakechroot
|
|
||||||
________________________________________ drwxr-xr-x usr/sbin
|
|
||||||
4447c5f43b125cc6e1a1724bc2c2ed156fc47e71 -rwxr-xr-x usr/lib/fakechroot/libfakechroot.so
|
|
||||||
9690a3644463d976119b01e602fc2bf7d6c1e656 -rwxr-xr-x usr/lib/fakechroot/libfakechroot.la
|
|
||||||
092ce9ba8d93bfb3c3165b1fa960ed422425de8b -rw-r--r-- usr/lib/fakechroot/libfakechroot.a
|
|
||||||
________________________________________ drwxr-xr-x usr/lib/fakechroot
|
|
||||||
________________________________________ drwxr-xr-x usr/lib
|
|
||||||
08dc281d14b55a9d749353d3f8e7999287f43a48 -rw-r--r-- usr/etc/fakechroot/rinse.env
|
|
||||||
6a432b29d9437e9bfc9908e7d270ccfb75d4b9a0 -rw-r--r-- usr/etc/fakechroot/debootstrap.env
|
|
||||||
9985a83de58eb5eb73f1217ca56735aa1ea508dc -rw-r--r-- usr/etc/fakechroot/chroot.env
|
|
||||||
________________________________________ drwxr-xr-x usr/etc/fakechroot
|
|
||||||
________________________________________ drwxr-xr-x usr/etc
|
|
||||||
0ddcc0518305a13a76b7fd8bcf2f6847b8679cab -rwxr-xr-x usr/bin/ldd.fakechroot
|
|
||||||
6c2ba6633e8efb5883cbf118c0732952d009b6fd -rwxr-xr-x usr/bin/fakechroot
|
|
||||||
c76ff3b1f33f50d1ab73e0635c38f5310bb12801 -rwxr-xr-x usr/bin/env.fakechroot
|
|
||||||
________________________________________ drwxr-xr-x usr/bin
|
|
||||||
________________________________________ drwxr-xr-x usr
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
name: fakechroot
|
|
||||||
version: 2.19-0
|
|
||||||
arch: x86_64
|
|
||||||
depends: dash,glibc
|
|
||||||
builddeps:
|
|
||||||
srcpkg: fakechroot
|
|
||||||
bytes: 1536000
|
|
||||||
url: https://github.com/dex4er/fakechroot
|
|
||||||
repo: main
|
|
||||||
sha256man: ae2ee5ba9749b3aace1dff4634fc9122aa052aeb797e4837ba2096bc0e642967
|
|
||||||
brief: creates a fake chroot environment
|
|
||||||
description: fakechroot runs a command in an environment which is similar to chroot but does not require root privileges
|
|
||||||
Reference in New Issue
Block a user