From e9c4ba46b20d91cfa5c3171f4130b439ad1bcce5 Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Sat, 10 Mar 2018 17:50:53 +0100 Subject: sys-fs/squashmount: Version bump --- sys-fs/squashmount/Manifest | 2 +- sys-fs/squashmount/squashmount-17.1_p2.ebuild | 89 --------------------------- sys-fs/squashmount/squashmount-18.ebuild | 89 +++++++++++++++++++++++++++ 3 files changed, 90 insertions(+), 90 deletions(-) delete mode 100644 sys-fs/squashmount/squashmount-17.1_p2.ebuild create mode 100644 sys-fs/squashmount/squashmount-18.ebuild (limited to 'sys-fs') diff --git a/sys-fs/squashmount/Manifest b/sys-fs/squashmount/Manifest index ba0e4229..24c2663c 100644 --- a/sys-fs/squashmount/Manifest +++ b/sys-fs/squashmount/Manifest @@ -1,2 +1,2 @@ DIST squashmount-16.1.0.tar.gz 68224 SHA512 d0530367a8edbaa01dd14a224d808259975630e77763a56fe3c1a3a15a0497e2bea341bd68ed07983f2ffd6bf539dbbabb278f03e5fa48d09043d4bb1c3c50bc -DIST squashmount-17.1_p2.tar.gz 69223 SHA512 a901a178044b2742b480fa49ce9f538ca5e6bd385219e1aee576e5ba4b43ca6ee316ab087f1b904746a88a821a2211dba3884a6ea247d8c4ab07f41ae3e76409 +DIST squashmount-18.tar.gz 70148 SHA512 2e31dd2a920a0a313f140258d9946fab25883a689eec50b9246db53e640123797eec37b1d79c17c1c240f773b44f2d20dd741ebe0951b9d306abf0ff0094f442 diff --git a/sys-fs/squashmount/squashmount-17.1_p2.ebuild b/sys-fs/squashmount/squashmount-17.1_p2.ebuild deleted file mode 100644 index 6ba9aa25..00000000 --- a/sys-fs/squashmount/squashmount-17.1_p2.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -RESTRICT="mirror" -inherit eutils readme.gentoo-r1 systemd tmpfiles - -DESCRIPTION="Keep directories compressed with squashfs. Useful for portage tree, texmf-dist" -HOMEPAGE="http://forums.gentoo.org/viewtopic-t-465367.html -https://github.com/vaeth/squashmount/" -SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="" - -# These should really depend on USE-flags but must not by policy. -# Waiting for https://bugs.gentoo.org/show_bug.cgi?id=424283 -OPTIONAL_RDEPEND="app-shells/runtitle -dev-perl/File-Which -!arm? ( !ia64? ( !sparc? ( dev-perl/String-ShellQuote ) ) )" - -RDEPEND="!=dev-lang/perl-5.22 - || ( dev-perl/File-Which sys-apps/which ) - sys-fs/squashfs-tools - !=dev-lang/perl-5.12 -# || ( >=dev-lang/perl-5.10.1 >=virtual/perl-File-Path-2.6.5 ) -# || ( >=dev-lang/perl-5.4.5 virtual/perl-File-Spec ) -# || ( >=dev-lang/perl-5.10.1 >=virtual/perl-File-Temp-0.19 ) -# || ( >=dev-lang/perl-5.6.1 >=virtual/perl-Getopt-Long-2.24 ) -# || ( >=dev-lang/perl-5.9.3 virtual/perl-IO-Compress ) -DEPEND="" - -DISABLE_AUTOFORMATTING="true" -DOC_CONTENTS="Please adapt /etc/squashmount.pl as well as -/etc/systemd/system/squashmount.service.d/timeout.conf to your needs. - -Configure the mount point 'gentoo' only if you use sync-type = squashdelta. - -For improved output use sys-fs/squashfs-tools from the mv overlay. - -It is recommended to put into your zshrc the line: -alias squashmount='noglob squashmount'" - -src_prepare() { - use prefix || sed -i \ - -e '1s"^#!/usr/bin/env perl$"#!'"${EPREFIX}/usr/bin/perl"'"' \ - -- bin/* || die - eapply_user -} - -src_install() { - dobin bin/* - dodoc README.md ChangeLog compress.txt demo.svg - docompress -x "/usr/share/doc/${PF}/demo.svg" - doinitd openrc/init.d/* - systemd_dounit systemd/system/* - dotmpfiles tmpfiles.d/* - insinto /etc - doins -r etc/revdep-rebuild etc/systemd - exeinto /etc/portage/repo.postsync.d - doexe etc/portage/repo.postsync.d/* - insinto /usr/lib - doins lib/* - doins -r lib/find_cruft - insinto /usr/share/zsh/site-functions - doins zsh/* - readme.gentoo_create_doc -} - -pkg_postinst() { - if use arm || use ia64 || use sparc - then optfeature "improved output" 'dev-perl/String-ShellQuote' - fi - optfeature "user mounting" \ - '>=sys-fs/squashfuse-0.1.100 >=sys-fs/unionfs-fuse-0.25' \ - '>=sys-fs/squashfuse-0.1.100 sys-fs/funionfs' - case " ${REPLACING_VERSIONS}" in - *' '[0-9].*|*' '1[0-4].*|*' '15.[0-2].*|*' '15.3.0*) - FORCE_PRINT_ELOG="true";; - esac - readme.gentoo_print_elog - tmpfiles_process squashmount.conf -} diff --git a/sys-fs/squashmount/squashmount-18.ebuild b/sys-fs/squashmount/squashmount-18.ebuild new file mode 100644 index 00000000..6ba9aa25 --- /dev/null +++ b/sys-fs/squashmount/squashmount-18.ebuild @@ -0,0 +1,89 @@ +# Copyright 2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +RESTRICT="mirror" +inherit eutils readme.gentoo-r1 systemd tmpfiles + +DESCRIPTION="Keep directories compressed with squashfs. Useful for portage tree, texmf-dist" +HOMEPAGE="http://forums.gentoo.org/viewtopic-t-465367.html +https://github.com/vaeth/squashmount/" +SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="" + +# These should really depend on USE-flags but must not by policy. +# Waiting for https://bugs.gentoo.org/show_bug.cgi?id=424283 +OPTIONAL_RDEPEND="app-shells/runtitle +dev-perl/File-Which +!arm? ( !ia64? ( !sparc? ( dev-perl/String-ShellQuote ) ) )" + +RDEPEND="!=dev-lang/perl-5.22 + || ( dev-perl/File-Which sys-apps/which ) + sys-fs/squashfs-tools + !=dev-lang/perl-5.12 +# || ( >=dev-lang/perl-5.10.1 >=virtual/perl-File-Path-2.6.5 ) +# || ( >=dev-lang/perl-5.4.5 virtual/perl-File-Spec ) +# || ( >=dev-lang/perl-5.10.1 >=virtual/perl-File-Temp-0.19 ) +# || ( >=dev-lang/perl-5.6.1 >=virtual/perl-Getopt-Long-2.24 ) +# || ( >=dev-lang/perl-5.9.3 virtual/perl-IO-Compress ) +DEPEND="" + +DISABLE_AUTOFORMATTING="true" +DOC_CONTENTS="Please adapt /etc/squashmount.pl as well as +/etc/systemd/system/squashmount.service.d/timeout.conf to your needs. + +Configure the mount point 'gentoo' only if you use sync-type = squashdelta. + +For improved output use sys-fs/squashfs-tools from the mv overlay. + +It is recommended to put into your zshrc the line: +alias squashmount='noglob squashmount'" + +src_prepare() { + use prefix || sed -i \ + -e '1s"^#!/usr/bin/env perl$"#!'"${EPREFIX}/usr/bin/perl"'"' \ + -- bin/* || die + eapply_user +} + +src_install() { + dobin bin/* + dodoc README.md ChangeLog compress.txt demo.svg + docompress -x "/usr/share/doc/${PF}/demo.svg" + doinitd openrc/init.d/* + systemd_dounit systemd/system/* + dotmpfiles tmpfiles.d/* + insinto /etc + doins -r etc/revdep-rebuild etc/systemd + exeinto /etc/portage/repo.postsync.d + doexe etc/portage/repo.postsync.d/* + insinto /usr/lib + doins lib/* + doins -r lib/find_cruft + insinto /usr/share/zsh/site-functions + doins zsh/* + readme.gentoo_create_doc +} + +pkg_postinst() { + if use arm || use ia64 || use sparc + then optfeature "improved output" 'dev-perl/String-ShellQuote' + fi + optfeature "user mounting" \ + '>=sys-fs/squashfuse-0.1.100 >=sys-fs/unionfs-fuse-0.25' \ + '>=sys-fs/squashfuse-0.1.100 sys-fs/funionfs' + case " ${REPLACING_VERSIONS}" in + *' '[0-9].*|*' '1[0-4].*|*' '15.[0-2].*|*' '15.3.0*) + FORCE_PRINT_ELOG="true";; + esac + readme.gentoo_print_elog + tmpfiles_process squashmount.conf +} -- cgit v1.2.3-65-gdbad