From 540f63fa929ee90478d4751d8341ccd733ac07f1 Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Mon, 31 Jul 2017 21:47:35 +0200 Subject: sys-fs/squashmount: Version bump --- metadata/pkg_desc_index | 2 +- sys-fs/squashmount/Manifest | 2 +- sys-fs/squashmount/squashmount-16.0.0.ebuild | 86 ------------------------ sys-fs/squashmount/squashmount-16.0.0_p1.ebuild | 88 +++++++++++++++++++++++++ 4 files changed, 90 insertions(+), 88 deletions(-) delete mode 100644 sys-fs/squashmount/squashmount-16.0.0.ebuild create mode 100644 sys-fs/squashmount/squashmount-16.0.0_p1.ebuild diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index index c6f6cf58..5e0051f1 100644 --- a/metadata/pkg_desc_index +++ b/metadata/pkg_desc_index @@ -107,7 +107,7 @@ sys-fs/aufs-util 99999999: Userspace tools for aufs sys-fs/emount 3.0.4: mount/unmount create/remove dm-crypt filesystems according to your /etc/fstab sys-fs/squash_dir 13.13: Keep directories compressed with squashfs. Useful for portage tree, texmf-dist sys-fs/squashfs-tools 4.3.1_alpha1 99999999: Tool for creating compressed filesystem type squashfs -sys-fs/squashmount 16.0.0: Keep directories compressed with squashfs. Useful for portage tree, texmf-dist +sys-fs/squashmount 16.0.0_p1: Keep directories compressed with squashfs. Useful for portage tree, texmf-dist sys-kernel/kernel 4.3: A POSIX shell script to compile the kernel with user permissions sys-power/nut 2.7.4-r1: Network-UPS Tools sys-process/systemd-cron 1.5.4 1.5.10: systemd units to create timers for cron directories and crontab diff --git a/sys-fs/squashmount/Manifest b/sys-fs/squashmount/Manifest index 5d6fdd84..a25b7c64 100644 --- a/sys-fs/squashmount/Manifest +++ b/sys-fs/squashmount/Manifest @@ -1 +1 @@ -DIST squashmount-16.0.0.tar.gz 67904 SHA256 4bb549f662fa643998390859e937f15a94d05bcf66727e42842a818b6c5deb71 +DIST squashmount-16.0.0_p1.tar.gz 67964 SHA256 b231ffdbf4329c4432870beb405e721538a5a640a445c479053e48277da3ebf4 diff --git a/sys-fs/squashmount/squashmount-16.0.0.ebuild b/sys-fs/squashmount/squashmount-16.0.0.ebuild deleted file mode 100644 index afde0793..00000000 --- a/sys-fs/squashmount/squashmount-16.0.0.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 2017 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 ChangeLog compress.txt - doinitd openrc/init.d/* - systemd_dounit systemd/system/* - dotmpfiles tmpfiles.d/* - insinto /etc - doins -r etc/revdep-rebuild etc/systemd etc/find_cruft.d - exeinto /etc/portage/repo.postsync.d - doexe etc/portage/repo.postsync.d/* - insinto /usr/lib - doins lib/* - 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-16.0.0_p1.ebuild b/sys-fs/squashmount/squashmount-16.0.0_p1.ebuild new file mode 100644 index 00000000..2e495b03 --- /dev/null +++ b/sys-fs/squashmount/squashmount-16.0.0_p1.ebuild @@ -0,0 +1,88 @@ +# Copyright 2017 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 ChangeLog compress.txt + 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