diff options
Diffstat (limited to 'sys-fs/ufsutils')
-rw-r--r-- | sys-fs/ufsutils/Manifest | 6 | ||||
-rw-r--r-- | sys-fs/ufsutils/metadata.xml | 8 | ||||
-rw-r--r-- | sys-fs/ufsutils/ufsutils-8.2_p3.ebuild | 53 |
3 files changed, 67 insertions, 0 deletions
diff --git a/sys-fs/ufsutils/Manifest b/sys-fs/ufsutils/Manifest new file mode 100644 index 000000000000..66e558cdaf98 --- /dev/null +++ b/sys-fs/ufsutils/Manifest @@ -0,0 +1,6 @@ +DIST ufsutils_8.2-3.debian.tar.gz 23469 SHA256 6040ad18ddbf9fa37b87b084fe6cf19c50f63456d15b6726067c558f8383b795 SHA512 7bc925e742eaf4e1837ca4b46afa7966490234492eeb40ad8fabf71550a79890f3294780c2dbdf3593a82fc8e0708cf4c72baba81f4fec9a884cfa545c8895c8 WHIRLPOOL eb161eebfa50316283813cf774f701d24bdc718db268e541f564e8a93e7486eb060138c53fa1ed78bcbe3485457a59b6b9e17ca7309743805df864b215606faf +DIST ufsutils_8.2.orig.tar.gz 463499 SHA256 6298d2a94fb601f6951bf81ce074e6af597e8867ac210d8ff73348aeb3738bd9 SHA512 f378372c2493c16fe8cb3977f4ed2d104e747895e97d7642d21b5e87a2a03ac696bbac093e534e13c2f1dc4638741edcbbb0ddec5abcbfa6b4f7401efbf7cf14 WHIRLPOOL ae944c34162727d37a3ea9ff63876ed75f55830c655b6a15afbf8d29bc4bd362cf76b07e8c2521ea42b1440247c5be3d290c4f310593aa8fa0dc950c2dd65e54 +EBUILD ufsutils-8.2_p3.ebuild 1186 SHA256 33eb98fdb33829075954260f0a783a3e61a11027ad4935c1c0d3cd79bd101ccf SHA512 bb3eba0d9dab904efeaecce06bc75d25447daba89a85d1d90f7d62b93d3f837bce80d4cf27854b2c2c8205c7964f4d091a8409262badd46874c83fd65fbdeb41 WHIRLPOOL 138e22c89627765bc22837897311d3bdf586e0fb41ff3a6cf6728f881983b372fa7082abff96a405961fd6058b5c829e90c3c300abbacdeb69c5ccaf9d6d0314 +MISC ChangeLog 2735 SHA256 0fa54d80dcc5506c538978ef92dcb8f300309101c740298b285065e84f94bb6a SHA512 6b9610085067fb405c7a5bc6568f5f12b6964fe0acd8ebb417b097eec45de5618ee0a15c6d5c8fd33ddd2edae1762aa1dda75f33729b8c9a4ec8346d83daa569 WHIRLPOOL b5f4b4eafb135c0f4fb43dbc5ef783ef065363d6312d6e8f98b5ac81dea89abe7727afc09885ba256a547014ff04f174e06aa52d288f696eb3f515ceafc73d0b +MISC ChangeLog-2015 399 SHA256 b44d2ab280aa0d786bf61bb5973019c08476cdf8b7ac9b3caf8a6c6cfc901668 SHA512 573f999f38b6b1e5f23610a9416eada4b1896c34f6256db90284f9bbb37e562a23584c801df6a16069b5e18bb1f217d3f5f5a22b19075f6c0598c3227ebcdaff WHIRLPOOL 1fd0864985f0848e72603f65782239c0e04ea31b6c45920859eb03729de01f06b742bcdc4bbdd5a3d5211887ee6c9200f2d14c1d16dc91f92e43a840ecbd8f88 +MISC metadata.xml 238 SHA256 501d93b0c41ed422505100f002758cd173cd9783ae7fbb53e2ec5f238c868340 SHA512 173efaa53a514acf1e2f0c6681c82a48ec16d505844f551d2cc823ee8685b27837c7461f7956c12182059ee7e83023e2f0bcd5d1afab74beeaf998487193656d WHIRLPOOL 4ca51d994f011a5e7e4939f02a54b5c2f9f3e526665893c9ac2876c9871b7dc80361393d41c5247b3a5520e82d31d0dd10da520e7715c94b806a94ce0fed2a5a diff --git a/sys-fs/ufsutils/metadata.xml b/sys-fs/ufsutils/metadata.xml new file mode 100644 index 000000000000..a00f3aeb1f81 --- /dev/null +++ b/sys-fs/ufsutils/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 type="project"> + <email>bsd@gentoo.org</email> + <name>BSD Project</name> +</maintainer> +</pkgmetadata> diff --git a/sys-fs/ufsutils/ufsutils-8.2_p3.ebuild b/sys-fs/ufsutils/ufsutils-8.2_p3.ebuild new file mode 100644 index 000000000000..5b8ca4d7da9e --- /dev/null +++ b/sys-fs/ufsutils/ufsutils-8.2_p3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="FFS/UFS/UFS2 filesystem utilities from FreeBSD" +HOMEPAGE="http://packages.debian.org/source/sid/ufsutils" + +SRC_URI="mirror://debian/pool/main/u/${PN}/${PN}_${PV%_*}.orig.tar.gz + mirror://debian/pool/main/u/${PN}/${PN}_${PV%_*}-${PV##*_p}.debian.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="dev-libs/libbsd + dev-libs/libedit + sys-libs/ncurses" + +S="${WORKDIR}/${P%_*}" + +src_prepare() { + EPATCH_SOURCE="${WORKDIR}/debian/patches" EPATCH_SUFFIX="patch" \ + EPATCH_OPTS="-p1" EPATCH_FORCE="yes" epatch + + sed -i '1i#include <sys/sysmacros.h>' sbin/fsdb/fsdbutil.c || die #580292 + + # growfs is not properly ported + sed -e "s:sbin/growfs::" -i Makefile + + sed -e "s:^\(prefix = \)\(.*\):\1${EPREFIX}usr:" \ + -e "s:^\(libdir = \$(exec_prefix)\/\)\(.*\):\1$(get_libdir):" \ + -e "/ar rcs/s:ar:\$(AR):" \ + -i Makefile.common +} + +src_configure() { + tc-export AR CC +} + +src_compile(){ + emake -j1 +} + +src_install() { + dodir /usr/$(get_libdir) + dodir /usr/sbin + dodir /usr/share/man/man8 + emake DESTDIR="${ED}" install +} |