From 7ffbd981cd4eb9df419cebd2d3fa4f7986381db3 Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Tue, 8 Jan 2013 22:23:42 +0100 Subject: Bump squash_dir --- sys-fs/squash_dir/ChangeLog | 5 ++ sys-fs/squash_dir/Manifest | 2 +- sys-fs/squash_dir/squash_dir-12.7.ebuild | 79 -------------------------------- sys-fs/squash_dir/squash_dir-12.8.ebuild | 79 ++++++++++++++++++++++++++++++++ 4 files changed, 85 insertions(+), 80 deletions(-) delete mode 100644 sys-fs/squash_dir/squash_dir-12.7.ebuild create mode 100644 sys-fs/squash_dir/squash_dir-12.8.ebuild diff --git a/sys-fs/squash_dir/ChangeLog b/sys-fs/squash_dir/ChangeLog index 108147a4..9cc197a4 100644 --- a/sys-fs/squash_dir/ChangeLog +++ b/sys-fs/squash_dir/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*squash_dir-12.8 (08 Jan 2013) + + 08 Jan 2013; Martin Väth + Version bump, remove old ebuild. + *squash_dir-12.7 (01 Jan 2013) 01 Jan 2013; Martin Väth diff --git a/sys-fs/squash_dir/Manifest b/sys-fs/squash_dir/Manifest index 65b7c7e1..03668c4c 100644 --- a/sys-fs/squash_dir/Manifest +++ b/sys-fs/squash_dir/Manifest @@ -1 +1 @@ -DIST squash_dir-12.7.tar.gz 28635 SHA256 e474280ff869df25937b570d15e12eec9e741d4fd544c931fc8575d2c40d9f87 SHA512 24d37539fee58c3d60b247ebbbf80fd252c8de81922f4da72f752d9c6cb7f53cffa192a02a7e9bd4ab7477a5de58a717e92ba6fef298e51a39b25b0a25ac0e08 WHIRLPOOL 52f87bec562d16698571879c9c3fb9bd9c80793068cdce81237784d02c7328bb8a597f7507aff29dc6740a8dbe4251bea9cf7059c2a93395ad577f8a8ef7f1fe +DIST squash_dir-12.8.tar.gz 28931 SHA256 1a9e915bdedf2f54f2161e37b097c9a176d4c2304e36360d112f71016ed86733 SHA512 9542f4afb4c732c13b73b43200cbf9faf1a568e35eaf33591ad35c6baec8ed0f97b3c7d3293f8e2cd32655f7e3c81258fab76cf01ac01250fd050bd70f64b33c WHIRLPOOL 94aeb525a340df014b4b8def28f40c3bed4854e05316c12b3929734d31f551dbbeb2e0d5356afed63729daa7ebc699fc6202879ad11005271390bc08bbc6437c diff --git a/sys-fs/squash_dir/squash_dir-12.7.ebuild b/sys-fs/squash_dir/squash_dir-12.7.ebuild deleted file mode 100644 index 8b871f44..00000000 --- a/sys-fs/squash_dir/squash_dir-12.7.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 -RESTRICT="mirror" -WANT_LIBTOOL=none -inherit autotools eutils linux-info vcs-snapshot - -DESCRIPTION="Keep directories compressed with squashfs. Useful for portage tree, texmf-dist" -HOMEPAGE="http://forums.gentoo.org/viewtopic-t-465367.html" -SRC_URI="http://github.com/vaeth/${PN}/tarball/release-${PV} -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="aufs overlayfs +title unionfs-fuse zsh-completion" - -RDEPEND="sys-fs/squashfs-tools - !=app-shells/runtitle-2.3[zsh-completion?] ) - unionfs-fuse? ( sys-fs/unionfs-fuse )" -DEPEND=">=sys-devel/autoconf-2.65" - -src_prepare() { - if [ -n "${EPREFIX%/}" ] - then sed -i \ - -e "s\"'[^']*/etc/conf[.]d/${PN}'\"'${EPREFIX%/}/etc/conf.d/${PN}'\"g" \ - "init.d/${PN}" - fi - epatch_user - eautoreconf -} - -src_configure() { - local order= - use unionfs-fuse && order=unionfs-fuse - use aufs && order=aufs - use overlayfs && order=overlayfs - econf --docdir="${EPREFIX}/usr/share/doc/${PF}" \ - "$(use_with zsh-completion)" ${order:+"--with-first-order=${order}"} -} - -linux_config_missing() { - ! linux_config_exists || ! linux_chkconfig_present "${1}" -} - -pkg_postinst() { - local fs=aufs - use unionfs-fuse && fs=unionfs-fuse - use aufs && fs=aufs - use overlayfs && fs=overlayfs - CONFIG_CHECK="~SQUASHFS" - case ${fs} in - overlayfs) - if linux_config_missing 'OVERLAYFS_FS' - then ewarn "To use ${PN} activate overlayfs in your kernel." - ewarn "Unless you use a patched kernel, apply e.g. top patches from some head of" - ewarn "http://git.kernel.org/?p=linux/kernel/git/mszeredi/vfs.git;a=summary" - fi;; - aufs) - if ! has_version sys-fs/aufs3 && ! has_version sys-fs/aufs2 && linux_config_missing 'AUFS_FS' - then ewarn "To use ${PN} activate aufs in your kernel. Use e.g. sys-fs/aufs*" - fi;; - esac - local i ok=false - for i in ${REPLACING_VERSIONS[*]} - do case ${i} in - [0-9].*|1[01].*|12.[0-6]) continue;; - esac - ok=: - break - done - ${ok} || elog "Please adopt ${EPREFIX}/etc/conf.d/${PN} to your needs" - if ! has_version sys-fs/squashfs-tools[progress-redirect] - then elog "For better output of ${PN}, it is recommended to install" - elog "sys-fs/squashfs-tools from the mv overlay with USE=progress-redirect" - fi -} diff --git a/sys-fs/squash_dir/squash_dir-12.8.ebuild b/sys-fs/squash_dir/squash_dir-12.8.ebuild new file mode 100644 index 00000000..8b871f44 --- /dev/null +++ b/sys-fs/squash_dir/squash_dir-12.8.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +RESTRICT="mirror" +WANT_LIBTOOL=none +inherit autotools eutils linux-info vcs-snapshot + +DESCRIPTION="Keep directories compressed with squashfs. Useful for portage tree, texmf-dist" +HOMEPAGE="http://forums.gentoo.org/viewtopic-t-465367.html" +SRC_URI="http://github.com/vaeth/${PN}/tarball/release-${PV} -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="aufs overlayfs +title unionfs-fuse zsh-completion" + +RDEPEND="sys-fs/squashfs-tools + !=app-shells/runtitle-2.3[zsh-completion?] ) + unionfs-fuse? ( sys-fs/unionfs-fuse )" +DEPEND=">=sys-devel/autoconf-2.65" + +src_prepare() { + if [ -n "${EPREFIX%/}" ] + then sed -i \ + -e "s\"'[^']*/etc/conf[.]d/${PN}'\"'${EPREFIX%/}/etc/conf.d/${PN}'\"g" \ + "init.d/${PN}" + fi + epatch_user + eautoreconf +} + +src_configure() { + local order= + use unionfs-fuse && order=unionfs-fuse + use aufs && order=aufs + use overlayfs && order=overlayfs + econf --docdir="${EPREFIX}/usr/share/doc/${PF}" \ + "$(use_with zsh-completion)" ${order:+"--with-first-order=${order}"} +} + +linux_config_missing() { + ! linux_config_exists || ! linux_chkconfig_present "${1}" +} + +pkg_postinst() { + local fs=aufs + use unionfs-fuse && fs=unionfs-fuse + use aufs && fs=aufs + use overlayfs && fs=overlayfs + CONFIG_CHECK="~SQUASHFS" + case ${fs} in + overlayfs) + if linux_config_missing 'OVERLAYFS_FS' + then ewarn "To use ${PN} activate overlayfs in your kernel." + ewarn "Unless you use a patched kernel, apply e.g. top patches from some head of" + ewarn "http://git.kernel.org/?p=linux/kernel/git/mszeredi/vfs.git;a=summary" + fi;; + aufs) + if ! has_version sys-fs/aufs3 && ! has_version sys-fs/aufs2 && linux_config_missing 'AUFS_FS' + then ewarn "To use ${PN} activate aufs in your kernel. Use e.g. sys-fs/aufs*" + fi;; + esac + local i ok=false + for i in ${REPLACING_VERSIONS[*]} + do case ${i} in + [0-9].*|1[01].*|12.[0-6]) continue;; + esac + ok=: + break + done + ${ok} || elog "Please adopt ${EPREFIX}/etc/conf.d/${PN} to your needs" + if ! has_version sys-fs/squashfs-tools[progress-redirect] + then elog "For better output of ${PN}, it is recommended to install" + elog "sys-fs/squashfs-tools from the mv overlay with USE=progress-redirect" + fi +} -- cgit v1.2.3-65-gdbad