From e61c6dd9fcf136590d9c93967283efdaaf3ac3f3 Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Sun, 11 Mar 2018 18:05:41 +0100 Subject: sys-fs/squashmount: Version bump --- metadata/pkg_desc_index | 2 +- sys-fs/squashmount/Manifest | 2 +- sys-fs/squashmount/squashmount-18.1.ebuild | 89 ++++++++++++++++++++++++++++++ sys-fs/squashmount/squashmount-18.ebuild | 89 ------------------------------ 4 files changed, 91 insertions(+), 91 deletions(-) create mode 100644 sys-fs/squashmount/squashmount-18.1.ebuild delete mode 100644 sys-fs/squashmount/squashmount-18.ebuild diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index index 3f995d2b..9eefbee4 100644 --- a/metadata/pkg_desc_index +++ b/metadata/pkg_desc_index @@ -100,7 +100,7 @@ sys-fs/emount 3.0.4: mount/unmount create/remove dm-crypt filesystems according sys-fs/squash_dir 13.14: Keep directories compressed with squashfs. Useful for portage tree, texmf-dist sys-fs/squashfs-tools 4.3.1_alpha20171129 99999999: Tool for creating compressed filesystem type squashfs sys-fs/squashfuse 0.1.101: FUSE filesystem to mount squashfs archives -sys-fs/squashmount 16.1.0 18: Keep directories compressed with squashfs. Useful for portage tree, texmf-dist +sys-fs/squashmount 16.1.0 18.1: Keep directories compressed with squashfs. Useful for portage tree, texmf-dist sys-kernel/kccmp 0.3-r1: A simple tool for comparing two linux kernel .config files sys-kernel/kernel 4.4: A POSIX shell script to compile the kernel with user permissions sys-power/nut 2.7.4-r1: Network-UPS Tools diff --git a/sys-fs/squashmount/Manifest b/sys-fs/squashmount/Manifest index 24c2663c..9bf366c9 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-18.tar.gz 70148 SHA512 2e31dd2a920a0a313f140258d9946fab25883a689eec50b9246db53e640123797eec37b1d79c17c1c240f773b44f2d20dd741ebe0951b9d306abf0ff0094f442 +DIST squashmount-18.1.tar.gz 72114 SHA512 d1f00f6f4530bffd951e017fa2378c158f04e14ea2966287844e284e52971b9cf4a54d58934de86bb376e90e628c3a20668e43079fd8619c060f0bc02300b802 diff --git a/sys-fs/squashmount/squashmount-18.1.ebuild b/sys-fs/squashmount/squashmount-18.1.ebuild new file mode 100644 index 00000000..6ba9aa25 --- /dev/null +++ b/sys-fs/squashmount/squashmount-18.1.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 +} diff --git a/sys-fs/squashmount/squashmount-18.ebuild b/sys-fs/squashmount/squashmount-18.ebuild deleted file mode 100644 index 6ba9aa25..00000000 --- a/sys-fs/squashmount/squashmount-18.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 -} -- cgit v1.2.3-65-gdbad