diff options
author | Jauhien Piatlicki <jauhien@gentoo.org> | 2014-07-01 22:54:44 +0000 |
---|---|---|
committer | Jauhien Piatlicki <jauhien@gentoo.org> | 2014-07-01 22:54:44 +0000 |
commit | 16d023afaed3f9c51d6c837732d1fc1b3bd026ff (patch) | |
tree | f38999e2e72d6cf4c41419579796deb07473fa8d /dev-util | |
parent | initial import (diff) | |
download | historical-16d023afaed3f9c51d6c837732d1fc1b3bd026ff.tar.gz historical-16d023afaed3f9c51d6c837732d1fc1b3bd026ff.tar.bz2 historical-16d023afaed3f9c51d6c837732d1fc1b3bd026ff.zip |
initial import
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0xB2EFA1D4
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/ext4_utils/Manifest | 23 | ||||
-rw-r--r-- | dev-util/ext4_utils/ext4_utils-4.4.4.1.ebuild | 27 | ||||
-rw-r--r-- | dev-util/ext4_utils/files/Makefile | 102 | ||||
-rw-r--r-- | dev-util/ext4_utils/metadata.xml | 8 |
4 files changed, 159 insertions, 1 deletions
diff --git a/dev-util/ext4_utils/Manifest b/dev-util/ext4_utils/Manifest index ec67c8e7627d..36f7f5320970 100644 --- a/dev-util/ext4_utils/Manifest +++ b/dev-util/ext4_utils/Manifest @@ -1,6 +1,27 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX Makefile 2636 SHA256 c44c054dee6f71d7b77cf84337fd58e1f402d76cf59ef3aa9f562449e7cfa5ea SHA512 59c6b6a0bae81f6ec5d675f4c88a9e763d4bea5d25810b7a0ade27807ef051e4cf950b1f8d6be09dadc055bf58428b178ae4908e1b62fcca8f3668608ddabf71 WHIRLPOOL 492745aab57ac3244a8aad7ebe8a68ee41f56e29fc15775011a63e5a4636feb3a540e7e601c65e30f90b62d7d6201e9d50f4f5cd29726257ecd20db66d5fbb6e DIST android-system-core-include-4.4.4.1.tar.gz 125397 SHA256 5e7332428fed7d9f31d85e0c11782aa2c5fea488553b3978274a1d66413e487e SHA512 ab71fccc9340b09e66e4bdefd1f377bb6f466ba1948ea3b6aaafde835867c2e33de432302d24a3cb22315ad6d25cac6253adab879d4baa419d3f999f525d5069 WHIRLPOOL 43b0681ffbcc65f8b318de89359232ac50269c6a57a224958e2e70d335e4332f70324465afb149bc14893fd96c60f60016fcdb9721c2b5a5ff1f94e72b2a0566 DIST ext4_utils-4.4.4.1.tar.gz 47935 SHA256 192f2376b0214317e40d58c8897b0b9f151aac3aed5c81794ad93a5588c12efa SHA512 8580f169c165605f3334de38285cc28ea940e4f06db92160802d6ff3419784654970a137e43c8eb8b87113623587476d43916333cac8f96733d2f2b89e6cebd7 WHIRLPOOL 5c7c002475e7d77ed47520467bef8cb1afbef485d844d9ee627da5ca40d6e08064550aa6ddc72110ceb8413a599210c8c4b7bf8aa3cc97f3a66e460fc20a7afb DIST libselinux-android-4.4.4.1.tar.gz 44370 SHA256 8626457369272a4f398ac9c7cf1996abd5919f094bd0efe386c07dd8261a0cf3 SHA512 76924a44bf06a668cc55ce10c4945dd6019a2c2890dde1e1e74a3abb2fc89c176b63e76bc8ed9a88315eb5626c6bf85fca3c25499091a50b749edaffea2382b0 WHIRLPOOL 4b47c828dc219ba0ca2e9a2c94cd5ba793725e3ca4f6e5c453da7d0f9c9c8a13fdd445ec300d32aa9f30971acea8e05909a1a6582748c41f9efbd15d40b460ad -EBUILD ext4_utils-4.4.4.1.ebuild 1003 SHA256 b0edc388365efc3d9bd3d9a407727eb9a946083811f9e7fb574809ed0dc1bc9d SHA512 68fa3dd788979fab282e183585ebef7ff59435f47d75f123cee7acefe4d5f988c6a6384d6db2b08ee8931d177b046f2f7b680373f2f63efb0d5cf31a3fb46503 WHIRLPOOL 163ef23f0a17203b6c0057e733be54d3b8084093fc8978d858dba3622cf685b25d252d6c731e7002ba8390bc2f520a4a4c981da055b40ed42f27d04ddf4b4ba6 +EBUILD ext4_utils-4.4.4.1.ebuild 1111 SHA256 d3f0c74ee858534a4472f74520eab2e3095e478dcddb0f7e34a242b493b74c1a SHA512 4a00bc78c006e9ddcaa12fb60803b28deeca7cdc23f7fce05827d5f941b8082c3678f01f0f903231e3247ea80e08c37d935a2bf67879db664e366eccee25bd1b WHIRLPOOL ae623140580c44bb09a7641d261e6f5a2c888407056c788fb0aace847de61e6098dad66d2939010336a707599062c38d47bf5a6e44fa2c88c11eb1064a5e54ca +MISC ChangeLog 380 SHA256 e469cb88a00260acd950a084dd26342eee1385b19b74b645dbefc8ec8ad420e3 SHA512 b0ed3bdb5c32f5676818ffb81f3d144e01f66ab61d856e70dcaa155d5843476b066734e52d0eaf15631a10840a85e1273cfe13fb8623fa2163eb79a05beb1130 WHIRLPOOL 3a1e0fab2331f321c955bef798b52ed9cd11976e5620caf0583ca307548f4583be3325b201273411fa64101ace5948e5c8ab07b2a01dea7004d69892d7fdbb87 MISC metadata.xml 243 SHA256 18abd81b04a3651cbf1290466163ecb9269199286408c133021daa0e74869f47 SHA512 4bdc4acc90c8a444f645f1f058d2eed96adddb53fc28554f8eca840c744c320158daf264e28b644d67dcda59299d921f84eddbdd471b780b2e5bcae78ddbaaae WHIRLPOOL 0643256f713a85f274a4d748f885edc6db04407fb28eaf3c73803b96c8a9d6c79c15ce162c13096958d0f10500f8edf8d1ac0833f2d256988686ad987811622a +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.22 (GNU/Linux) + +iQIcBAEBCAAGBQJTszwxAAoJELvuk32y76HU4jsQAMVbQJNCcZQ9JRmrdQNNhsqE +cGq8HbNAsq/S2CAEovxID1xUaNI5mzWk31PQ/Im/4F8rTdosum2JQ7VRLvqRPj6k +eynqEBPU9mVdioLniI8xjGCc9lON6lqHKEynQds3qyQ35oG1sPLOpPYr/rrpWXv1 +SKleHiqAAeAGRSzsjwdMb4Wez0ZFGdVXBtN49ACSdI7uvZyc1/WYKOk4bVq48b2S +0ARRfGI6JOIqx8y7V4bGmY3D/fK74+sco4Z7AaIHgmFNCGvv2lqxcOSUh4hpjs2j +QdH+1al+N5l/HAwazvXoGrmQc4vL4VEG73X0nylrRjJsrRmZARXElheQ3ekR76pe +AzY+nkPwp6Fsn27MB7IGvEcnYodPRyceVzC6V42ebSIiPyxARerXrSpGUWsIvaMB +Km32fP68OpoP2e4/jNK4xfTrHvfjzb8MEidWli22rhf0N5vnMrvPgFkP0Inaufko +4iCo6+Y+COx5JeyggMeWJBgga/9ZB2ii4A54ULJViK8BhYR9RXrQbwvCb4/FVh7/ +ETRh3EP3MBYgEhGlkSJEBG6zRdrcsPZouhMKuwokB2onKNCun5tRbL68+DnbGKd8 +RQQZIdtsbZHf22zsNr68FM34q5Fuq6IMxDDwVx78POWUQ9WxqF2AU3dgay5tGAX5 +NMgAOX/T6Vrg0a9ZAsNV +=foBU +-----END PGP SIGNATURE----- diff --git a/dev-util/ext4_utils/ext4_utils-4.4.4.1.ebuild b/dev-util/ext4_utils/ext4_utils-4.4.4.1.ebuild new file mode 100644 index 000000000000..0061a19df065 --- /dev/null +++ b/dev-util/ext4_utils/ext4_utils-4.4.4.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/ext4_utils/ext4_utils-4.4.4.1.ebuild,v 1.1 2014/07/01 22:54:34 jauhien Exp $ + +EAPI=5 + +inherit versionator + +ANDROID_VERSION=$(get_version_component_range 1-3) +ANDROID_REVISION=$(get_version_component_range 4-) +ANDROID_SELINUX_COMMIT=8b4760949bbafdee6f7825f39423f3db745f4115 + +DESCRIPTION="Tools for Android images" +HOMEPAGE="https://android.googlesource.com/platform/system/extras" +SRC_URI="https://android.googlesource.com/platform/system/extras/+archive/android-${ANDROID_VERSION}_r${ANDROID_REVISION}/${PN}.tar.gz -> ${P}.tar.gz + https://android.googlesource.com/platform/external/libselinux/+archive/${ANDROID_SELINUX_COMMIT}.tar.gz -> libselinux-android-${PV}.tar.gz + https://android.googlesource.com/platform/system/core/+archive/android-${ANDROID_VERSION}_r${ANDROID_REVISION}/include.tar.gz -> android-system-core-include-${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +S="${WORKDIR}" + +src_prepare() { + cp "${FILESDIR}/Makefile" "${S}" +} diff --git a/dev-util/ext4_utils/files/Makefile b/dev-util/ext4_utils/files/Makefile new file mode 100644 index 000000000000..b2ce05365b80 --- /dev/null +++ b/dev-util/ext4_utils/files/Makefile @@ -0,0 +1,102 @@ +AR ?= ar +CC ?= gcc +CFLAGS := $(CFLAGS) -I. -Iinclude -DHOST -DANDROID -fPIC +LDFLAGS := $(LDFLAGS) -L. + +PREFIX ?= /usr/ +BINDIR ?= $(PREFIX)/bin +INCLUDEDIR ?= $(PREFIX)/include +LIBDIR ?= $(PREFIX)/lib + +libext4_utils_src_files := make_ext4fs.c \ + ext4fixup.c \ + ext4_utils.c \ + allocate.c \ + contents.c \ + extent.c \ + indirect.c \ + uuid.c \ + sha1.c \ + wipe.c \ + crc16.c +libext4_utils_obj_files := $(libext4_utils_src_files:.c=.o) + +selinux_src_files := src/android.c \ + src/booleans.c \ + src/canonicalize_context.c \ + src/disable.c \ + src/enabled.c \ + src/fgetfilecon.c \ + src/fsetfilecon.c \ + src/getenforce.c \ + src/getfilecon.c \ + src/getpeercon.c \ + src/lgetfilecon.c \ + src/load_policy.c \ + src/lsetfilecon.c \ + src/policyvers.c \ + src/procattr.c \ + src/setenforce.c \ + src/setfilecon.c \ + src/context.c \ + src/mapping.c \ + src/stringrep.c \ + src/compute_create.c \ + src/compute_av.c \ + src/avc.c \ + src/avc_internal.c \ + src/avc_sidtab.c \ + src/get_initial_context.c \ + src/checkAccess.c \ + src/sestatus.c \ + src/deny_unknown.c \ + src/callbacks.c \ + src/check_context.c \ + src/freecon.c \ + src/init.c \ + src/label.c \ + src/label_file.c \ + src/label_android_property.c +selinux_obj_files := $(selinux_src_files:.c=.o) + +make_ext4fs_src_files := \ + make_ext4fs_main.c +make_ext4fs_obj_files := $(make_ext4fs_src_files:.c=.o) + +ext2simg_src_files := \ + ext2simg.c +ext2simg_obj_files := $(ext2simg_src_files:.c=.o) + +ext4fixup_src_files := \ + ext4fixup_main.c +ext4fixup_obj_files := $(ext4fixup_src_files:.c=.o) + +libraries := -lext4_utils -lsparse -lz + +executables := make_ext4fs ext2simg ext4fixup + +all: $(executables) + +%.o: %.c + $(CC) $(CFLAGS) -c $< -o $@ + +libext4_utils.a: $(libext4_utils_obj_files) $(selinux_obj_files) + $(AR) rvs $@ $^ + +make_ext4fs: libext4_utils.a $(make_ext4fs_obj_files) + $(CC) $(LDFLAGS) $(make_ext4fs_obj_files) -o $@ $(libraries) + +ext2simg: libext4_utils.a $(ext2simg_obj_files) + $(CC) $(LDFLAGS) $(ext2simg_obj_files) -o $@ $(libraries) + +ext4fixup: libext4_utils.a $(ext4fixup_obj_files) + $(CC) $(LDFLAGS) $(ext4fixup_obj_files) -o $@ $(libraries) + +.PHONY: clean install + +clean: + rm -rf *.o *.so $(executables) src/*.o + +install: all + install -d $(DESTDIR)/$(BINDIR) $(DESTDIR)/$(LIBDIR) $(DESTDIR)/$(INCLUDEDIR)/sparse + install mkuserimg.sh $(executables) $(DESTDIR)/$(BINDIR) diff --git a/dev-util/ext4_utils/metadata.xml b/dev-util/ext4_utils/metadata.xml new file mode 100644 index 000000000000..0b7db932cfa4 --- /dev/null +++ b/dev-util/ext4_utils/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>jauhien@gentoo.org</email> + <name>Jauhien Piatlicki</name> + </maintainer> +</pkgmetadata> |