summaryrefslogtreecommitdiff
path: root/sys-fs/vzquota
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/vzquota')
-rw-r--r--sys-fs/vzquota/Manifest2
-rw-r--r--sys-fs/vzquota/vzquota-3.1.ebuild13
2 files changed, 9 insertions, 6 deletions
diff --git a/sys-fs/vzquota/Manifest b/sys-fs/vzquota/Manifest
index 810f2afea396..46b3daff2a9d 100644
--- a/sys-fs/vzquota/Manifest
+++ b/sys-fs/vzquota/Manifest
@@ -1,3 +1,3 @@
DIST vzquota-3.1.tar.bz2 46848 BLAKE2B ae347ecf3c1d537901b0055f635839e1d65f3801507ffd986aa5c857a1df98336a4ada2065c72e94885266c5a95b070e89cfc2e3da95ab31a6dd0d8deab424b5 SHA512 e2289df9235149c8d511a6b2846f672574622fb39ca5cd8f5780af9a4cc204ce12f1a2ecd0382143c04eca93e64ce6851caab0782e8ad178352954ca599ffaac
-EBUILD vzquota-3.1.ebuild 816 BLAKE2B 8886c17b93f5a6dbdca2e6df5828b9f060f132df0f7afda2ba7baafc7291c4e670f8abf59a282350c7c30ccfe79d7e063c9dc765ac253e493e698c66d107f632 SHA512 097c81909c969662ae637f7e91942ee91df3e4e7a291c085537137adeceaf32d54a66cbb009c1a5e96e55b7e5353cc890cdb958d697c5f3bd594b2789ca973e0
+EBUILD vzquota-3.1.ebuild 816 BLAKE2B 6aaa5ff15a18b8260afbbcd5171d8e4399c8c3ea028332c5d5ab5aa744f16939dcfb2b80206f1d45a1b2e2b4e1ad10d9814518e0d9cb868d26300f6f8ba65436 SHA512 ab2d0a23491a35339ff8876f29cba4dcb269395f31255128dd3f2f89f4a5053060787227af7561a638da143526ced070b6997b682b0e0cb12abae03ade09a945
MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33
diff --git a/sys-fs/vzquota/vzquota-3.1.ebuild b/sys-fs/vzquota/vzquota-3.1.ebuild
index 342d9e6b24ef..cddea014503f 100644
--- a/sys-fs/vzquota/vzquota-3.1.ebuild
+++ b/sys-fs/vzquota/vzquota-3.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
inherit toolchain-funcs
@@ -12,19 +12,22 @@ SRC_URI="http://download.openvz.org/utils/${PN}/${PV}/src/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ia64 ~ppc64 ~sparc x86"
-IUSE=""
src_prepare() {
+ default
+
sed -e 's,$(INSTALL) -s -m,$(INSTALL) -m,' \
-e 's:$(CC) $(CFLAGS) -o:$(CC) $(CFLAGS) $(LDFLAGS) -o:' \
-e 's:-Werror ::' \
- -i "${S}/src/Makefile" || die 'sed on src/Makefile failed'
+ -i "${S}/src/Makefile" || die "sed on src/Makefile failed"
+
tc-export CC
}
src_install() {
emake DESTDIR="${ED}" INSTALL="${EPREFIX}/usr/bin/install" install
keepdir /var/vzquota
+
# remove accidentally created man8 dir
- rm -r "${ED}/man8" || die 'remove man8 directory failed'
+ rm -r "${ED}/man8" || die "remove man8 directory failed"
}