diff options
author | Markus Dittrich <markusle@gentoo.org> | 2006-01-10 03:14:43 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2006-01-10 03:14:43 +0000 |
commit | 1c2e6eb2c6c091329cd6f082f345e83dd6a15f28 (patch) | |
tree | 4d6065e7a36db998ccda07c9824ac3fb8338d220 /sci-misc/qcad-parts | |
parent | Fixed mod_php dependency (diff) | |
download | gentoo-2-1c2e6eb2c6c091329cd6f082f345e83dd6a15f28.tar.gz gentoo-2-1c2e6eb2c6c091329cd6f082f345e83dd6a15f28.tar.bz2 gentoo-2-1c2e6eb2c6c091329cd6f082f345e83dd6a15f28.zip |
Use doins to install files in order to avoid world writable files. This fixes bug #114207.
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'sci-misc/qcad-parts')
-rw-r--r-- | sci-misc/qcad-parts/ChangeLog | 11 | ||||
-rw-r--r-- | sci-misc/qcad-parts/Manifest | 16 | ||||
-rw-r--r-- | sci-misc/qcad-parts/files/digest-qcad-parts-2.0.1.2-r1 | 1 | ||||
-rw-r--r-- | sci-misc/qcad-parts/qcad-parts-2.0.1.2-r1.ebuild | 38 |
4 files changed, 52 insertions, 14 deletions
diff --git a/sci-misc/qcad-parts/ChangeLog b/sci-misc/qcad-parts/ChangeLog index 576e11f8762a..2a84761849a3 100644 --- a/sci-misc/qcad-parts/ChangeLog +++ b/sci-misc/qcad-parts/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-misc/qcad-parts -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/qcad-parts/ChangeLog,v 1.4 2005/08/27 23:39:40 cryos Exp $ +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/qcad-parts/ChangeLog,v 1.5 2006/01/10 03:14:43 markusle Exp $ + +*qcad-parts-2.0.1.2-r1 (10 Jan 2006) + + 10 Jan 2006; Markus Dittrich <markusle@gentoo.org> + +qcad-parts-2.0.1.2-r1.ebuild: + Use doins to install files in order to avoid world writable files. + This fixes bug #114207. 24 Aug 2005; Marcus D. Hanwell <cryos@gentoo.org> qcad-parts-2.0.1.2.ebuild: diff --git a/sci-misc/qcad-parts/Manifest b/sci-misc/qcad-parts/Manifest index f06b72d01860..d25ad8bd40a1 100644 --- a/sci-misc/qcad-parts/Manifest +++ b/sci-misc/qcad-parts/Manifest @@ -1,14 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 571a2721f4dad5b92e7994a0edfec3e1 qcad-parts-2.0.1.2.ebuild 1458 MD5 0648f777f1aac33094e99aa973fa8740 ChangeLog 1111 -MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 MD5 0c1db012ad805f07e316ba39b5fa0c22 files/digest-qcad-parts-2.0.1.2 72 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFDEPnIntT9W3vfTuoRAvg7AKCQmZk4ub3/ovRnOPXdwCgCvMJ3wwCfTCXS -tHXjtdZ2+X0EO7MwWG+OXHg= -=2+LA ------END PGP SIGNATURE----- +MD5 0c1db012ad805f07e316ba39b5fa0c22 files/digest-qcad-parts-2.0.1.2-r1 72 +MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 +MD5 66d0879b643f6a4271a5d27de635979d qcad-parts-2.0.1.2-r1.ebuild 1131 +MD5 571a2721f4dad5b92e7994a0edfec3e1 qcad-parts-2.0.1.2.ebuild 1458 diff --git a/sci-misc/qcad-parts/files/digest-qcad-parts-2.0.1.2-r1 b/sci-misc/qcad-parts/files/digest-qcad-parts-2.0.1.2-r1 new file mode 100644 index 000000000000..cc04cb15b6bc --- /dev/null +++ b/sci-misc/qcad-parts/files/digest-qcad-parts-2.0.1.2-r1 @@ -0,0 +1 @@ +MD5 cac084e684bc286968beb6065aa96fb8 partlibrary-2.0.1.2-1.zip 12243050 diff --git a/sci-misc/qcad-parts/qcad-parts-2.0.1.2-r1.ebuild b/sci-misc/qcad-parts/qcad-parts-2.0.1.2-r1.ebuild new file mode 100644 index 000000000000..35e6f13cda81 --- /dev/null +++ b/sci-misc/qcad-parts/qcad-parts-2.0.1.2-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/qcad-parts/qcad-parts-2.0.1.2-r1.ebuild,v 1.1 2006/01/10 03:14:43 markusle Exp $ + +MY_PN="partlibrary" +MY_PV="${PV}-1" + +DESCRIPTION="Collection of CAD files that can be used from the library browser of QCad" +LICENSE="GPL-2" +HOMEPAGE="http://www.ribbonsoft.com/qcad_library.html" +SRC_URI="http://www.ribbonsoft.com/archives/partlibrary/partlibrary-${MY_PV}.zip" + +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="" + +DEPEND="app-arch/unzip" + +S="${WORKDIR}/${MY_PN}-${MY_PV}" + +src_install() { + cd "${S}" + einfo "Fixing permissions - this might take a while" + insinto /usr/share/${PN} + doins -r ./* || die "Failed installing qcad-parts files" +} + +pkg_postinst() { + einfo + einfo "The QCad parts library was installed in" + einfo "/usr/share/${PN}" + einfo "Please set this path in QCad's preferences to access it." + einfo "(Edit->Application Preferences->Paths->Part Libraries)" + einfo + einfo "After restarting QCad, you can use the library by selecting" + einfo "View->Views->Library Browser" + einfo +} |