parent
82c512f27e
commit
0475a07dce
@ -1,6 +1,16 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
DIST eselect-rails-0.16.tar.bz2 1630 RMD160 122f9ab25b7241cdee07d0b04718e1d3b856e838 SHA1 cd323953262ce303adae7acdb7c839065c9e9762 SHA256 d3f7210e98a81c6923d8250f2286b6cbb37facb443a8ed4d00d43a25e3cfbc52
|
||||
DIST eselect-rails-0.18.tar.bz2 1628 RMD160 179ea9cdb908367b5f3ccd08580da24aecfd59be SHA1 597a1394a145cc85b78891505c3f8f3a4c444633 SHA256 6dfcefd74cfb10e83c59d8594bd9e1d39ea40071b2c3a9a3e601a6107aa49671
|
||||
EBUILD eselect-rails-0.16.ebuild 569 RMD160 162b6b593a86b45d01b7827f53db14c5a06c4183 SHA1 ce336b729aeeeccfddf0fa90b32079bf9621fe2d SHA256 55eacd23737ee63fd4ff94ba50db653ab0fcee844f5e04ec590009e57717395c
|
||||
EBUILD eselect-rails-0.18.ebuild 821 RMD160 f07fb203cf5500cf7aba53e4b74a9989f678c020 SHA1 384b0836f464d1171810a0d5d48affe307a9d0e9 SHA256 af0635d3113291b407bea0d7dfeed5b4612a548f955bf733f26fcc5ba426378b
|
||||
MISC ChangeLog 6201 RMD160 1280d90eeddec4d138eec95d4c7bb0cb94b1b90c SHA1 71fc39bce3b3dd2fd461887dfa8c97681fef58a5 SHA256 9a4de79eeca99b8f083594d49493d2b8c39ba342a0e95b576aa710084a026df2
|
||||
EBUILD eselect-rails-0.18.ebuild 823 RMD160 0f434b485e8042fa094d3aed468781e42ddced3d SHA1 0ac5145ac863eb64fe7eba7850b3749738e4b05a SHA256 12ab2845b657046a5253f4f98daf3c48c9f6a8f06ba40c7d4654cce963899be7
|
||||
MISC ChangeLog 6442 RMD160 7b81183311e481396832362b4a7141ed8e6dc31b SHA1 e7a25d927f01be1b133bdc14107f5857c59fd5b2 SHA256 2ae4a72588db24a0c56a90974c9155d040be4a1b45c5139281e5b88a6fbb2713
|
||||
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.17 (GNU/Linux)
|
||||
|
||||
iEYEAREKAAYFAk/R5WYACgkQuUQtlDBCeQLiXwCfVydbxYgrIQ7lPzdOpYRm92Oh
|
||||
Jd4AnjZR5j7HpOOoCujHFnaFZ8QeIU1e
|
||||
=V0vC
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/tenshi/tenshi-0.14.ebuild,v 1.1 2012/06/07 21:01:35 xmw Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="Log parsing and notification program"
|
||||
HOMEPAGE="http://dev.inversepath.com/trac/tenshi"
|
||||
SRC_URI="http://dev.inversepath.com/tenshi/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/perl
|
||||
dev-perl/IO-BufferedSelect
|
||||
sys-apps/coreutils"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup tenshi
|
||||
enewuser tenshi -1 -1 /var/lib/tenshi tenshi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Fix for bug #241254
|
||||
sed -i 's:^docdir =.*:docdir = /usr/share/doc/${PF}:' \
|
||||
Makefile || die "docdir substitution failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
fowners tenshi:root /etc/tenshi/tenshi.conf
|
||||
dodir /var/lib/tenshi
|
||||
fowners tenshi:root /var/lib/tenshi
|
||||
doman tenshi.8
|
||||
newinitd tenshi.gentoo-init tenshi
|
||||
keepdir /var/lib/tenshi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "The sample config installed to ${ROOT}etc/tenshi/tenshi.conf"
|
||||
ewarn "monitors /var/log/messages which, by default, can not be read"
|
||||
ewarn "by the tenshi user. Make sure that the tenshi user has read"
|
||||
ewarn "permission on all the files that you want tenshi to monitor."
|
||||
}
|
@ -1,24 +1,27 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
Hash: SHA1
|
||||
|
||||
AUX 9.04-kde4.patch 5185 RMD160 57433a9b1dbfb44b7d8b362e1cee5a5a9b5e641c SHA1 e2bbbc7ac6563ac5f097e66263b5801ecdebbc80 SHA256 facc613f8c684ca2c0baff4c89e99f0abe29b12b96ef2281e17a0041e07631c3
|
||||
AUX 9.04-makefile.patch 470 RMD160 3b114968d83174ef78acc0e9fce81fcfc7fe862e SHA1 3a3333d4703955664fdd4023c624ab4828af0ab1 SHA256 c8ef2898ed994929600c04ed0ecfd2dc2b94982d274ee217cbc05234c37750f6
|
||||
AUX p7zip 1210 RMD160 0f331392eb77077ea6c100011326202661e9b6ab SHA1 b4e1e02081e28ece33d2a8303ee69c5f0e9ad239 SHA256 28d181cd1c43628da0adb485e20f270461b6cf8d743d2187a3380f7799fbc2d5
|
||||
AUX p7zip-9.13-QA.patch 650 RMD160 ded65eadb91944cebb3a27975bbfff8515f8f14e SHA1 e484897cab5e39fff1fa07e8dc11aed9dc932749 SHA256 d44e500a5d15b8c25826fd8a60c61e9c524724c40f22683967212f9843d6db17
|
||||
AUX p7zip-9.20.1-QA.patch 650 RMD160 b7d50ece557bd97d3c32e4067039a72f79f5d1ab SHA1 66dc01e47baa44bdb5e71e757330736b2634db69 SHA256 695b6836b13699e3db3e019dbd54275e48a01b59210fd353a2d9e46224c60785
|
||||
AUX p7zip-9.20.1-execstack.patch 785 RMD160 f038096e23cbef43c77456d20ed6407bc9969b3a SHA1 7501cd3570fec18c2aef45d76fc9faac1595ad53 SHA256 0725ca42b5ac8d4024a18e2759a12c3ba04b8ea504376c14d8890f7bebba3fb1
|
||||
DIST p7zip_9.13_src_all.tar.bz2 3753579 RMD160 beb9181330f4dfa75aa4f473c68a462c76b7ab19 SHA1 81da0729561ce123c0a82656ec96a04ad5bfa522 SHA256 fc9c0fa2eabd367d6adbc3ea07bb305dbdc1f68717eea362c8c074b91c03d923
|
||||
DIST p7zip_9.20.1_src_all.tar.bz2 3835235 RMD160 c3ff2dd12459282b46d9a68ab4af7800ff46039f SHA1 1cd567e043ee054bf08244ce15f32cb3258306b7 SHA256 49557e7ffca08100f9fc687f4dfc5aea703ca207640c76d9dee7b66f03cb4782
|
||||
EBUILD p7zip-9.13-r3.ebuild 4286 RMD160 5b83e47910ac32954aeacf0ef7ae59334df9d29f SHA1 8dbbe22a74eaeb60e01a85bb9cc97bbf8ae7b817 SHA256 febdc3f7e02e6baa97309ba5dd7b81b18ae3f4a5db1fd79400af1af3d47cd9dd
|
||||
EBUILD p7zip-9.13.ebuild 3848 RMD160 753ffbc07e3eccc8db7d31d7d06ad92d23c4fd9d SHA1 1420dfa76ba1226a17c204d7230450907e15ff3e SHA256 cec2dc8b759c6f952c7d57b346711df1bf84697df477a7525b8ecd5ee8d67a76
|
||||
EBUILD p7zip-9.20.1-r1.ebuild 4231 RMD160 cc6be0fe30acddff3dc7debf2947073abb55f5da SHA1 31684f177cb936348b72295d1a3adc040348e1d1 SHA256 e928b9734d787fb83aaefdb1fb47780f0f15da8e9cfbcd4ca0ec23a208f315e9
|
||||
EBUILD p7zip-9.20.1-r2.ebuild 4290 RMD160 4b29c24053d60dff21149cb3a65b9414b72079a3 SHA1 4ec746cfb5b905e38b738f195d9b4d3977579046 SHA256 2196d9898178fa1571993bcd281acccfb2c03076556fed835946d80daf5139d7
|
||||
EBUILD p7zip-9.20.1.ebuild 4303 RMD160 1597ea7f6b8e8c013fe56e19e8df8cabbe908c0a SHA1 2808ca790f02d69236fcea50b1d7ecf2265f4bf9 SHA256 cc85ab8d55e5de0d59a3441ee05106fbcab44677e7ad84b676146dc09e05f9a9
|
||||
MISC ChangeLog 18940 RMD160 c22b9b3db11926047f9152ac9bbc9890be4cadad SHA1 fe04eb64a16ffcf706eb8474d102674d6006b7fa SHA256 6bbb7c98f68719714f2e6742f11f5cfa7ffb70550bf8f08761a42825912c3e6b
|
||||
EBUILD p7zip-9.13-r3.ebuild 4327 RMD160 46c941dfec05e20a6d2b441001a92c007b2a1e9f SHA1 7329f8f353af4c790f2467a9489f0966c5a49af8 SHA256 aee506462d83dbaaa951b6d5fd0b976061946f9b68fcfe462de3c41d7f93903f
|
||||
EBUILD p7zip-9.13.ebuild 3937 RMD160 34b77257c35f92bed2c54f25c3be83fd91051fe4 SHA1 ff3331986703902cffdf4f5e00e4532ceba4deca SHA256 84bdc4434819ae2e0f87de48e5e741c6bfab41d502c8ef57e3a9efbfe88dfecc
|
||||
EBUILD p7zip-9.20.1-r2.ebuild 4326 RMD160 81177ef4e0e8978bfc656701daa0025b626d2c17 SHA1 bcdd5bd3ff72b64d901d9c65e8a9e73952be7a32 SHA256 53c8ae08955ec6e2f42cfc77341d297025b49070e5830bf3470b4c59eb284fbc
|
||||
MISC ChangeLog 19217 RMD160 0640b71c0023ef201ed4040b5ed733a48be219d2 SHA1 d2000e07549277ac017051007a3369b1cdd849e0 SHA256 0cd798ed0fdb10c31b0b455dbbfe97f5cc28ff5329adba9de36306cb63e31d19
|
||||
MISC metadata.xml 322 RMD160 787cc0c7ce3c7080a3b847c4a02435522f831981 SHA1 84bd3fdb3f094c1c74f0d5abb1f8a446aeb284ed SHA256 4850c2010e5785e0498e0fb0a73101f2b934c71ae6daf06782938b821a0f9142
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
Comment: GPGTools - http://gpgtools.org
|
||||
|
||||
iEYEAREKAAYFAk/GeRAACgkQgAnW8HDreRYFJQCgxQeMie7v1kWubMTSN2M6NtC2
|
||||
CkwAn0SV243d2q3DSTm8XJW6skuPN6rj
|
||||
=1o+q
|
||||
iQEcBAEBAgAGBQJP0NZYAAoJEFpvPKfnPDWz86AIAIP0f8mBcMwDDNibLrWIoUHs
|
||||
M0BR7wMuUxKNYI0156d9GFg6NXQKYnWSkp1ob0lYiOwzL3AUhpu4BzPoqbMu27js
|
||||
GY02cNLezXnv5ALKR0yZ5b/HvBhusF18hlKOP2X1qDnaeTPN4vfyyZkNGtHPvmP+
|
||||
3s0FcKkYCepYdpEOziCfgi/3GQWo09qFjioT73eY/ik5hO8DSvn83lYDKgAcYYEY
|
||||
gd4K06NnqpsMiwcvWxS2Y8h3OIus5EdX+TsRi/1F0urVrejwaCiIhp9bN11KEUmB
|
||||
//26F443cydKTHF3+VdNl2U/tr1qS0X4maejGZKCLhoZ7ig+hWeGkBMLWOsphvc=
|
||||
=oI0g
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,17 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Thu Jun 7 14:29:51 UTC 2012
|
||||
Subject: fix QA warnings
|
||||
|
||||
https://sourceforge.net/tracker/?func=detail&atid=660493&aid=3532590&group_id=111810
|
||||
|
||||
--- CPP/7zip/Archive/NtfsHandler.cpp
|
||||
+++ CPP/7zip/Archive/NtfsHandler.cpp
|
||||
@@ -1250,7 +1250,7 @@
|
||||
if (recSizeLog < Header.SectorSizeLog)
|
||||
return false;
|
||||
numSectorsInRec = 1 << (recSizeLog - Header.SectorSizeLog);
|
||||
- if (!mftRec.Parse(ByteBuf, Header.SectorSizeLog, numSectorsInRec, NULL, 0))
|
||||
+ if (!mftRec.Parse(ByteBuf, Header.SectorSizeLog, numSectorsInRec, 0, NULL))
|
||||
return S_FALSE;
|
||||
if (!mftRec.IsFILE())
|
||||
return S_FALSE;
|
@ -0,0 +1,17 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Thu Jun 7 14:31:12 UTC 2012
|
||||
Subject: fix QA warnings
|
||||
|
||||
https://sourceforge.net/tracker/?func=detail&atid=660493&aid=3532590&group_id=111810
|
||||
|
||||
--- CPP/7zip/Archive/NtfsHandler.cpp
|
||||
+++ CPP/7zip/Archive/NtfsHandler.cpp
|
||||
@@ -1280,7 +1280,7 @@
|
||||
if (recSizeLog < Header.SectorSizeLog)
|
||||
return false;
|
||||
numSectorsInRec = 1 << (recSizeLog - Header.SectorSizeLog);
|
||||
- if (!mftRec.Parse(ByteBuf, Header.SectorSizeLog, numSectorsInRec, NULL, 0))
|
||||
+ if (!mftRec.Parse(ByteBuf, Header.SectorSizeLog, numSectorsInRec, 0, NULL))
|
||||
return S_FALSE;
|
||||
if (!mftRec.IsFILE())
|
||||
return S_FALSE;
|
@ -1,152 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/p7zip/p7zip-9.20.1-r1.ebuild,v 1.2 2012/05/30 19:46:18 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
WX_GTK_VER="2.8"
|
||||
|
||||
inherit eutils multilib toolchain-funcs wxwidgets
|
||||
|
||||
DESCRIPTION="Port of 7-Zip archiver for Unix"
|
||||
HOMEPAGE="http://p7zip.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_src_all.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1 rar? ( unRAR )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE="doc kde rar +pch static wxwidgets"
|
||||
|
||||
REQUIRED_USE="kde? ( wxwidgets )"
|
||||
|
||||
RDEPEND="
|
||||
kde? ( x11-libs/wxGTK:2.8[X,-odbc] kde-base/kdelibs )
|
||||
wxwidgets? ( x11-libs/wxGTK:2.8[X,-odbc] )"
|
||||
DEPEND="${RDEPEND}
|
||||
amd64? ( dev-lang/yasm )
|
||||
x86? ( dev-lang/nasm )"
|
||||
|
||||
S=${WORKDIR}/${PN}_${PV}
|
||||
|
||||
pkg_setup() {
|
||||
use wxwidgets && wxwidgets_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if ! use pch; then
|
||||
sed "s:PRE_COMPILED_HEADER=StdAfx.h.gch:PRE_COMPILED_HEADER=:g" -i makefile.* || die
|
||||
fi
|
||||
|
||||
sed \
|
||||
-e 's:-m32 ::g' \
|
||||
-e 's:-m64 ::g' \
|
||||
-e "/^CC/s:\$(ALLFLAGS):${CFLAGS} \$(ALLFLAGS):g" \
|
||||
-e "/^CXX/s:\$(ALLFLAGS):${CXXFLAGS} \$(ALLFLAGS):g" \
|
||||
-i makefile* || die
|
||||
|
||||
# remove non-free RAR codec
|
||||
if use rar; then
|
||||
ewarn "Enabling nonfree RAR decompressor"
|
||||
else
|
||||
sed -e '/Rar/d' -i makefile* || die
|
||||
rm -rf CPP/7zip/Compress/Rar || die
|
||||
epatch "${FILESDIR}"/9.04-makefile.patch
|
||||
fi
|
||||
|
||||
sed -i \
|
||||
-e "/^CXX=/s:g++:$(tc-getCXX):" \
|
||||
-e "/^CC=/s:gcc:$(tc-getCC):" \
|
||||
-e '/ALLFLAGS/s:-s ::' \
|
||||
makefile* || die "changing makefiles"
|
||||
|
||||
if use amd64; then
|
||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||
elif use x86; then
|
||||
cp -f makefile.linux_x86_asm_gcc_4.X makefile.machine || die
|
||||
elif [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# Mac OS X needs this special makefile, because it has a non-GNU linker
|
||||
[[ ${CHOST} == *64-* ]] \
|
||||
&& cp -f makefile.macosx_64bits makefile.machine \
|
||||
|| cp -f makefile.macosx_32bits makefile.machine
|
||||
# bundles have extension .bundle but don't die because USE=-rar
|
||||
# removes the Rar directory
|
||||
sed -i -e '/strcpy(name/s/\.so/.bundle/' \
|
||||
CPP/Windows/DLL.cpp || die
|
||||
sed -i -e '/^PROG=/s/\.so/.bundle/' \
|
||||
CPP/7zip/Bundles/Format7zFree/makefile \
|
||||
$(use rar && echo CPP/7zip/Compress/Rar/makefile) || die
|
||||
elif use x86-fbsd; then
|
||||
# FreeBSD needs this special makefile, because it hasn't -ldl
|
||||
sed -e 's/-lc_r/-pthread/' makefile.freebsd > makefile.machine
|
||||
fi
|
||||
|
||||
use static && sed -i -e '/^LOCAL_LIBS=/s/LOCAL_LIBS=/&-static /' makefile.machine
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
einfo "Preparing dependency list"
|
||||
emake depend
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake all3
|
||||
if use kde || use wxwidgets; then
|
||||
emake 7zG
|
||||
emake 7zFM
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test test_7z test_7zr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# this wrappers can not be symlinks, p7zip should be called with full path
|
||||
make_wrapper 7zr "/usr/$(get_libdir)/${PN}/7zr"
|
||||
make_wrapper 7za "/usr/$(get_libdir)/${PN}/7za"
|
||||
make_wrapper 7z "/usr/$(get_libdir)/${PN}/7z"
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
make_wrapper 7zG "/usr/$(get_libdir)/${PN}/7zG"
|
||||
make_wrapper 7zFM "/usr/$(get_libdir)/${PN}/7zFM"
|
||||
|
||||
make_desktop_entry 7zFM ${PN} "GTK;Utility;Archiving;Compression"
|
||||
make_desktop_entry 7zG ${PN} "GTK;Utility;Archiving;Compression"
|
||||
|
||||
dobin GUI/p7zipForFilemanager
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
doexe bin/7z{G,FM}
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins -r GUI/{Lang,help}
|
||||
|
||||
insinto /usr/share/icons/hicolor/16x16/apps/
|
||||
newins GUI/p7zip_16_ok.png p7zip.png
|
||||
|
||||
if use kde; then
|
||||
|
||||
rm GUI/kde4/p7zip_compress.desktop
|
||||
insinto /usr/share/kde4/services/ServiceMenus
|
||||
doins GUI/kde4/*.desktop
|
||||
fi
|
||||
fi
|
||||
|
||||
dobin contrib/gzip-like_CLI_wrapper_for_7z/p7zip
|
||||
doman contrib/gzip-like_CLI_wrapper_for_7z/man1/p7zip.1
|
||||
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
doexe bin/7z bin/7za bin/7zr bin/7zCon.sfx
|
||||
doexe bin/*$(get_modname)
|
||||
if use rar; then
|
||||
exeinto /usr/$(get_libdir)/${PN}/Codecs/
|
||||
doexe bin/Codecs/*$(get_modname)
|
||||
fi
|
||||
|
||||
doman man1/7z.1 man1/7za.1 man1/7zr.1
|
||||
dodoc ChangeLog README TODO
|
||||
|
||||
if use doc; then
|
||||
dodoc DOCS/*.txt
|
||||
dohtml -r DOCS/MANUAL/*
|
||||
fi
|
||||
}
|
@ -1,148 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/p7zip/p7zip-9.20.1.ebuild,v 1.4 2011/10/07 15:27:28 jlec Exp $
|
||||
|
||||
EAPI="2"
|
||||
WX_GTK_VER="2.8"
|
||||
|
||||
inherit eutils toolchain-funcs multilib wxwidgets
|
||||
|
||||
DESCRIPTION="Port of 7-Zip archiver for Unix"
|
||||
HOMEPAGE="http://p7zip.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_src_all.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1 rar? ( unRAR )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE="doc kde rar +pch static wxwidgets"
|
||||
|
||||
RDEPEND="
|
||||
kde? ( x11-libs/wxGTK:2.8[X,-odbc] kde-base/kdelibs )
|
||||
wxwidgets? ( x11-libs/wxGTK:2.8[X,-odbc] )"
|
||||
DEPEND="${RDEPEND}
|
||||
amd64? ( dev-lang/yasm )
|
||||
x86? ( dev-lang/nasm )"
|
||||
|
||||
S=${WORKDIR}/${PN}_${PV}
|
||||
|
||||
pkg_setup() {
|
||||
use wxwidgets && wxwidgets_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if ! use pch; then
|
||||
sed "s:PRE_COMPILED_HEADER=StdAfx.h.gch:PRE_COMPILED_HEADER=:g" -i makefile.* || die
|
||||
fi
|
||||
|
||||
sed \
|
||||
-e 's:-m32 ::g' \
|
||||
-e 's:-m64 ::g' \
|
||||
-e "/^CC/s:\$(ALLFLAGS):${CFLAGS} \$(ALLFLAGS):g" \
|
||||
-e "/^CXX/s:\$(ALLFLAGS):${CXXFLAGS} \$(ALLFLAGS):g" \
|
||||
-i makefile* || die
|
||||
|
||||
if use kde && ! use wxwidgets ; then
|
||||
einfo "USE-flag kde needs wxwidgets flag"
|
||||
einfo "silently enabling wxwidgets flag"
|
||||
fi
|
||||
|
||||
# remove non-free RAR codec
|
||||
if use rar; then
|
||||
ewarn "Enabling nonfree RAR decompressor"
|
||||
else
|
||||
sed -e '/Rar/d' -i makefile*
|
||||
rm -rf CPP/7zip/Compress/Rar
|
||||
epatch "${FILESDIR}"/9.04-makefile.patch
|
||||
fi
|
||||
|
||||
sed -i \
|
||||
-e "/^CXX=/s:g++:$(tc-getCXX):" \
|
||||
-e "/^CC=/s:gcc:$(tc-getCC):" \
|
||||
-e '/ALLFLAGS/s:-s ::' \
|
||||
makefile* || die "changing makefiles"
|
||||
|
||||
if use amd64; then
|
||||
cp -f makefile.linux_amd64_asm makefile.machine
|
||||
elif use x86; then
|
||||
cp -f makefile.linux_x86_asm_gcc_4.X makefile.machine
|
||||
elif [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# Mac OS X needs this special makefile, because it has a non-GNU linker
|
||||
[[ ${CHOST} == *64-* ]] \
|
||||
&& cp -f makefile.macosx_64bits makefile.machine \
|
||||
|| cp -f makefile.macosx_32bits makefile.machine
|
||||
# bundles have extension .bundle but don't die because USE=-rar
|
||||
# removes the Rar directory
|
||||
sed -i -e '/strcpy(name/s/\.so/.bundle/' \
|
||||
CPP/Windows/DLL.cpp || die
|
||||
sed -i -e '/^PROG=/s/\.so/.bundle/' \
|
||||
CPP/7zip/Bundles/Format7zFree/makefile \
|
||||
$(use rar && echo CPP/7zip/Compress/Rar/makefile) || die
|
||||
elif use x86-fbsd; then
|
||||
# FreeBSD needs this special makefile, because it hasn't -ldl
|
||||
sed -e 's/-lc_r/-pthread/' makefile.freebsd > makefile.machine
|
||||
fi
|
||||
|
||||
use static && sed -i -e '/^LOCAL_LIBS=/s/LOCAL_LIBS=/&-static /' makefile.machine
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
einfo "Preparing dependency list"
|
||||
emake depend || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake all3 || die "compilation error"
|
||||
if use kde || use wxwidgets; then
|
||||
emake 7zG || die "error building GUI"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test test_7z test_7zr || die "test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# this wrappers can not be symlinks, p7zip should be called with full path
|
||||
make_wrapper 7zr "/usr/$(get_libdir)/${PN}/7zr"
|
||||
make_wrapper 7za "/usr/$(get_libdir)/${PN}/7za"
|
||||
make_wrapper 7z "/usr/$(get_libdir)/${PN}/7z"
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
make_wrapper 7zG "/usr/$(get_libdir)/${PN}/7zG"
|
||||
|
||||
dobin GUI/p7zipForFilemanager
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
doexe bin/7zG
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins -r GUI/{Lang,help}
|
||||
|
||||
if use kde; then
|
||||
insinto /usr/share/icons/hicolor/16x16/apps/
|
||||
newins GUI/p7zip_16_ok.png p7zip.png
|
||||
|
||||
rm GUI/kde4/p7zip_compress.desktop
|
||||
insinto /usr/share/kde4/services/ServiceMenus
|
||||
doins GUI/kde4/*.desktop
|
||||
fi
|
||||
fi
|
||||
|
||||
dobin contrib/gzip-like_CLI_wrapper_for_7z/p7zip || die
|
||||
doman contrib/gzip-like_CLI_wrapper_for_7z/man1/p7zip.1 || die
|
||||
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
doexe bin/7z bin/7za bin/7zr bin/7zCon.sfx || die "doexe bins"
|
||||
doexe bin/*$(get_modname) || die "doexe *$(get_modname) files"
|
||||
if use rar; then
|
||||
exeinto /usr/$(get_libdir)/${PN}/Codecs/
|
||||
doexe bin/Codecs/*$(get_modname) || die "doexe Codecs/*$(get_modname) files"
|
||||
fi
|
||||
|
||||
doman man1/7z.1 man1/7za.1 man1/7zr.1 || die
|
||||
dodoc ChangeLog README TODO || die
|
||||
|
||||
if use doc; then
|
||||
dodoc DOCS/*.txt
|
||||
dohtml -r DOCS/MANUAL/*
|
||||
fi
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/keynote/keynote-2.3.ebuild,v 1.11 2009/12/28 11:59:51 flameeyes Exp $
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="The KeyNote Trust-Management System"
|
||||
HOMEPAGE="http://www1.cs.columbia.edu/~angelos/keynote.html"
|
||||
SRC_URI="http://www1.cs.columbia.edu/~angelos/Code/${P}.tar.gz"
|
||||
|
||||
LICENSE="as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 x86"
|
||||
IUSE="ssl"
|
||||
|
||||
DEPEND="ssl? ( dev-libs/openssl )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
sed -i -e "/^CFLAGS/s/-O2/${CFLAGS}/" \
|
||||
-e "/^AR/d" Makefile.in || die "sed failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export AR CC RANLIB
|
||||
econf
|
||||
# bug #298669
|
||||
if use ssl; then
|
||||
emake -j1 || die
|
||||
else
|
||||
emake -j1 nocrypto || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin keynote || die
|
||||
|
||||
doman man/keynote.[1345]
|
||||
|
||||
dolib.a libkeynote.a
|
||||
|
||||
insinto /usr/include
|
||||
doins keynote.h
|
||||
|
||||
dodoc README HOWTO.add.crypto TODO
|
||||
}
|
@ -1,5 +1,19 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
DIST emacs-common-gentoo-1.3.tar.gz 46819 RMD160 40c12dd355c3fd80ad65d45190c4f3c7f2134ad6 SHA1 ff743a4646d493dd14ed1e812d3adfd6323498e9 SHA256 c874088b1d9833432e1da9c3e3f79e7891cb3af41bcdecb02aa299d207c0218d
|
||||
EBUILD emacs-common-gentoo-1.3-r1.ebuild 3729 RMD160 ce48183f00bc53a80b699bddc251c9db58113d09 SHA1 e6b1c2ea16a32d12c058589c0c2828a8076a2862 SHA256 7429d7d9af1f2dff7dae46b7eaeab53c8428e3c7c349da50c61124d0065bbcac
|
||||
EBUILD emacs-common-gentoo-1.3-r2.ebuild 3387 RMD160 870c315ae508d94bf7340174817cd790ebed9c5a SHA1 014fd9e80cbe8e407ff0451643d64a3a84ef719e SHA256 82c0d6691bcc8a6d31677ceae17387661b17c6ce720fc432d4bc593f1ead13f6
|
||||
MISC ChangeLog 12502 RMD160 15a656ac5f39b129ca99a0912d6887ab25d23915 SHA1 9b48c68e389c9af70c8648557810b0d045741e63 SHA256 6d61a70d3bb164f737924e1dd1a0cf9b692cb6fe7ff375fb6d8699b4d04d77db
|
||||
EBUILD emacs-common-gentoo-1.3-r2.ebuild 3383 RMD160 4de76cdb32ab10a251d536c1197b1d8a588346ac SHA1 1519f4092feec4855d0a4a19ecc1a49a8eb60ed2 SHA256 5159122b8858028019505949816cb9d57b4ffeac9321b8a6c22cc06a91ba1eee
|
||||
MISC ChangeLog 12761 RMD160 d72fe0a29f7a6b5c7d9b7075267ef4b61dd2d4c9 SHA1 eab432bedfd75626ff994cb358f966c2bf5bdaee SHA256 691a89ff2a0dd655f15219e0daf998914a2a29912daa3486aff40122db3d3a58
|
||||
MISC metadata.xml 235 RMD160 94ec7acf062c24ce7a5c9b98fff11c2a68baf269 SHA1 c948e0bb625876a97f14834fe5848367dda93628 SHA256 81f928a2ff996d91f098bc1d718adec61bbb6afa1f8e5f1b29f0931a73902ec1
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQEcBAEBCgAGBQJP0SIXAAoJEO+t9ga+3I3aoIEIAJIt4B3S333V+Rc09tzeuTT1
|
||||
eKmm84YxtJtxas1+/uQhw5hiT3OPi9iwRzOzMtTD/xGwExRU7RaVYqY+hQnMWrkQ
|
||||
wHWuBGUkf9rI9gs+DMgPsp85V3cmgdgRGCrA9hp4ollEGNNBTsrVMhGKA7RKjHlm
|
||||
6kHqVLw9uoKBA3ROSWBOimVdiKBLlxJWZCnw2C0WFTDiXmcuDy2vaOs+5Ss7Chui
|
||||
iKd9+7RHz9wK5rfv13/T67d5jaCAEt2JZCWcTXaF15LIOG9aCX/PvORfeJ9FiLnH
|
||||
U4EDsCSNIfR+0+l9Vg+jpZk0noxDfx19ny7dlhA3C2LAGpfcilcfEXt19C6dxhI=
|
||||
=IUJ0
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue