Sync with portage [Fri Jun 27 16:22:42 MSK 2014].

mhiretskiy
root 10 years ago
parent 0d09d0b245
commit c49c70c4a4

@ -1,74 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/389-admin-console/389-admin-console-1.1.7.ebuild,v 1.1 2011/06/14 19:01:03 lxnay Exp $
EAPI="2"
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
MY_PV=${PV/_alpha/.a}
MY_PV=${MY_PV/_rc/.rc}
DESCRIPTION="389 Server Management Console (jar and help files)"
HOMEPAGE="http://port389.org/"
SRC_URI="http://directory.fedoraproject.org/sources/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="1.1"
KEYWORDS="~amd64 ~x86"
IUSE=""
COMMON_DEP="dev-java/jss:3.4
dev-java/ldapsdk:4.1
>=dev-java/idm-console-framework-1.1.7"
RDEPEND="|| ( >=virtual/jre-1.5 >=virtual/jdk-1.5 )
${COMMON_DEP}"
DEPEND="sys-apps/sed
>=virtual/jdk-1.5
${COMMON_DEP}"
PDEPEND="net-nds/389-admin"
src_prepare() {
# Gentoo java rules say no jars with version number
# so sed away the version indicator '-'
sed -e "s!-\*!\*!g" -i build.xml
java-pkg_jar-from ldapsdk-4.1 ldapjdk.jar
java-pkg_jar-from jss-3.4 xpclass.jar jss4.jar
java-pkg_jar-from idm-console-framework-1.1
}
src_compile() {
eant -Dbuilt.dir="${S}"/build \
-Dldapjdk.location="${S}" \
-Djss.location="${S}" \
-Dconsole.location="${S}" ${antflags}
use doc && eant -Dbuilt.dir="${S}"/build \
-Dldapjdk.location="${S}" \
-Djss.location="${S}" \
-Dconsole.location="${S}" ${antflags} javadoc
}
src_install() {
java-pkg_jarinto /usr/share/dirsrv/html/java
# have to install versioned jars, otherwise 389-console will crash
java-pkg_newjar "${S}"/build/package/389-admin-${MY_PV}.jar 389-admin-${MY_PV}.jar
java-pkg_newjar "${S}"/build/package/389-admin-${MY_PV}_en.jar 389-admin-${MY_PV}_en.jar
dosym 389-admin-${MY_PV}.jar /usr/share/dirsrv/html/java/389-admin.jar
dosym 389-admin-${MY_PV}.jar /usr/share/dirsrv/html/java/389-admin-${SLOT}.jar
dosym 389-admin-${MY_PV}_en.jar /usr/share/dirsrv/html/java/389-admin_en.jar
dosym 389-admin-${MY_PV}_en.jar /usr/share/dirsrv/html/java/389-admin-${SLOT}_en.jar
insinto /usr/share/dirsrv/manual/en/admin
doins "${S}"/help/en/*.html
doins "${S}"/help/en/tokens.map
insinto /usr/share/dirsrv/manual/en/admin/help
doins "${S}"/help/en/help/*.html
use doc && java-pkg_dojavadoc build/doc
use source && java-pkg_dosrc src/com
}

@ -1,2 +1 @@
DIST 389-admin-console-1.1.7.tar.bz2 126272 SHA256 2590ffb33bf46c97641ee9d560e7332d3109702f9f1ebc997fbe819603f24fe1 SHA512 6fbce920c2adf135331377f3aa96aa2ae7a26ab2c80244b307f7ecc343a992bb4200e930bcf3168fb637ffa117d9a2c17a5b11b65eb14aae249b30d13a084ed5 WHIRLPOOL 3d1933abc4e49c92c7d5ece6d2613ecf1e5c0bba725fa61ff495e3d39abc16c098c3cd1e3e9b956ba484696cc7a53f0152daf4a0e47c1d0ef37edd9e9e07c23a
DIST 389-admin-console-1.1.8.tar.bz2 126004 SHA256 6f2e05299876c11380c6b98540772d45a0e2128f3ec9fcd15f9cd7cc80ce4e4d SHA512 85ac61f8032450e1a86f973b244c136784016bfe6782fff2b992881fd427190223cd4655caf6a592bda7bc8b13e6dde04a5644abbc833c0472c287127a397ae5 WHIRLPOOL f286f37744a12400f27732d17e0d1deb7b09f1801b9f110db8835ef1ff0e1d39bb7f1b897c708938ba6668a9adcfc17a46972d1a7eac57dd4d088a9d65dab519

@ -1,54 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/389-console/389-console-1.1.6.ebuild,v 1.4 2012/07/11 18:20:53 lxnay Exp $
EAPI="2"
JAVA_PKG_IUSE=""
inherit java-pkg-2 eutils java-ant-2
DESCRIPTION="A Java based console for remote management 389 server"
HOMEPAGE="http://port389.org/"
SRC_URI="http://directory.fedoraproject.org/sources/${P}.tar.bz2
http://dev.gentoo.org/~lxnay/${PN}/fedora.png"
LICENSE="LGPL-2.1"
SLOT="1.1"
KEYWORDS="~amd64 ~x86"
IUSE=""
COMMON_DEP="dev-java/jss:3.4
dev-java/ldapsdk:4.1
>=dev-java/idm-console-framework-1.1"
RDEPEND="|| ( >=virtual/jre-1.6 >=virtual/jdk-1.6 )
${COMMON_DEP}"
DEPEND=">=virtual/jdk-1.6
${COMMON_DEP}"
src_prepare() {
java-pkg_jar-from ldapsdk-4.1 ldapjdk.jar
java-pkg_jar-from jss-3.4 xpclass.jar jss4.jar
java-pkg_jar-from idm-console-framework-1.1
}
src_compile() {
eant -Dbuilt.dir="${S}"/build \
-Dldapjdk.local.location="${S}" \
-Djss.local.location="${S}" \
-Dconsole.local.location="${S}" ${antflags} \
||die "eant failed"
}
src_install() {
java-pkg_newjar "${S}"/build/389-console-1.1.4_en.jar 389-console_en.jar
java-pkg_dolauncher ${PN} --main com.netscape.management.client.console.Console \
--pwd "/usr/share/dirsrv/html/java/" \
--pkg_args "-Djava.util.prefs.systemRoot=\"\$HOME/.${PN}\" -Djava.util.prefs.userRoot=\"\$HOME/.${PN}\"" \
|| die
doicon "${DISTDIR}"/fedora.png || die "doicon failed"
make_desktop_entry ${PN} "Port389 Management Console" fedora System
}

@ -1,3 +1,2 @@
DIST 389-console-1.1.6.tar.bz2 113307 SHA256 8b5a4c250df29224f2f833395555c9a8ba4b4ed2a90fa1e9f4b36026d7c28fbb SHA512 81cef26d59ee6610ff344ed22bb47e26c7954ddb15a1ec71e10729df5edde73e631a5c25110619b046af1e583927f07c895b38878ef42a294ed85e86321f3eed WHIRLPOOL 94e617fb7691bd49dc313001858813d26a53c2d90de2a4f60c467cd4d71dac01b79ff7838ba6d23f1d2293a9f22307bb6665d1809ba48059ab4523939e92ed00
DIST 389-console-1.1.7.tar.bz2 112970 SHA256 dcaf63654ec4c6986b9a3b10d79d8e0592f334fd42d34869b0b767bbffd01a05 SHA512 d2ea4c65ea6bb01d3163271a44bb4fab4167863e2df1389e8d4bd2782083c33563ddfd232512d8b28f0de037a7cf0dd7ee554c1660d40fa50d731224748d9f6e WHIRLPOOL dc1fed080e91fdee1a4dd7150a779a5d525c81020e2121127f9e7824e4a23f366907edf40c565332515cf7ba1654262bae82c7819185b31b99154050910548f0
DIST fedora.png 11606 SHA256 88318e1704924c7d33aac3e37c195f99d29eb6f6f6235f254f254881257bbb0e SHA512 f6adbf8d3cb0e09a819baa54fc638bf48a478bbea666a49ed7f6ac91c3ee2e03ded61d7e17a184ae29dddfc128a11fee724dfaa42e0493a57dd7c91531809aad WHIRLPOOL c105c9daaa4ca4e1329a8bc7f6e403bfacf873db3f719e00b099fa2fb91eac550aa7222967518f8ad0ab99b94f59406082e27d99827c5bbf5ceeaecdb36a9d3c

@ -1,2 +1,3 @@
DIST sagan-rules-02032014.tar.gz 260618 SHA256 ca3ffef073b4a9d00b7ddc1e0c0cc9ee7b15fc074daf26bfb3faf028237bad52 SHA512 4038ff7922839da92340624ba91576020ebc2a6a9a987688662d1973f2bfeddec4cbd904ec9ca6a7ccaf8116885e6b8dd18ba61f61c54902232152f3913182ee WHIRLPOOL 3189cc7ca9df7fc21b84d632cc7eb95bd8f4e50512fe9cc0a1c2b589d2d45f15729dc7a42a5857352d3bbdf45db2bbec5e8e4be86581c21268be18ecfdcaae6f
DIST sagan-rules-20120918.tar.gz 130169 SHA256 be60c56b8ba3bdc89b8c5370d2b9d02582af60fd64e169487532c8627bebbf6f SHA512 6316eb7bb605e890a1d7fae2dd9596ac7644fc372d62eaed49a546c7b5fd312693e9c6f6ee8cdf5a71d12b4038659402b723d5e4d547c855b0120f2d728cb149 WHIRLPOOL b11e371ef7f17cd3b07c7eb27c899bda5ed33c1a68827f344acb59669d4c7b54933ea2303219366f502828412df2663b100ba8dfd41126f11cb79d621be11de1
DIST sagan-rules-20130430.tar.gz 240975 SHA256 58077c7ce1e47bb32965336afee3d372108325da67dc2f4a562a9850d986415c SHA512 bc31f043a0e14542665d9e1469d85427fea395bb86b833200dfa3c8f4cbd2591f6268f26a478c768ad8784aeb1a102e01e3bbfc63636a0384b2092193bbb9bdb WHIRLPOOL d460b320b415c71f48011406ee3cde1967b46249d5e09a11343fa028a2b1fe103c6775a2eaa485897d834b3727cbc41a90092471096b39e7a121db8a1de806e4

@ -0,0 +1,31 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/sagan-rules/sagan-rules-20140203.ebuild,v 1.1 2014/06/26 13:24:48 maksbotan Exp $
EAPI=4
DESCRIPTION="Rules for Sagan log analyzer"
HOMEPAGE="http://sagan.softwink.com/"
#SRC_URI="http://dev.gentoo.org/~maksbotan/sagan/sagan-rules-${PV}.tar.gz"
SRC_URI="http://sagan.quadrantsec.com/rules/sagan-rules-02032014.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+lognorm"
DEPEND=""
RDEPEND="${DEPEND}"
PDEPEND="app-admin/sagan"
S=${WORKDIR}/rules
src_install() {
insinto /etc/sagan-rules
doins ./*.config
doins ./*rules
doins ./*map
if use lognorm ; then
doins ./*normalize.rulebase
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/xstow/xstow-1.0.1.ebuild,v 1.1 2014/03/26 16:01:56 maksbotan Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/xstow/xstow-1.0.1.ebuild,v 1.2 2014/06/27 08:39:09 maksbotan Exp $
EAPI=5
@ -13,16 +13,13 @@ SRC_URI="mirror://sourceforge/xstow/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="ncurses static"
IUSE="ncurses"
DEPEND="ncurses? ( sys-libs/ncurses )"
RDEPEND="${DEPEND}"
src_compile() {
econf --disable-dependency-tracking\
$(use_with ncurses curses)\
$(use_enable static)
emake || die "emake failed."
src_configure() {
econf $(use_with ncurses curses)
}
src_install() {

@ -1,18 +1,3 @@
DIST upx-3.07-amd64_linux.tar.bz2 359543 SHA256 7496359c19abd0b19af7e3baa5d92c337135c1fe4e34a1f11a1305164bef1b8f SHA512 a1cbf3d9640a028b4cd91aef3f4b0cad502b7a18a0deb299ce00cb1080d90e830304186532e4c71b157cf95a00136e2d110df983b0ec910836b9d424bc41a49b WHIRLPOOL da1a2e4b259269f48da4b38381822f4f343c5444d41c7dc1d60dfc19c75a22aa863658a328fc94ad0b810562a6d4c8b5defc554104054dc1a185215a4d9acb25
DIST upx-3.07-armeb_linux.tar.bz2 343588 SHA256 7a6ceac36bea1a1c47a517ef4d54b74ea69c4f85f775b9e8dbde67c118b5db8a SHA512 eb1a073c65b684a24064c0a9ad8a8f96c097696544a0d84ccf3682a6b2cf6ff2c67bb3b2cfc40579103bebb5a5bf8086450952b56f6f3166b1a7858e35f6a6c3 WHIRLPOOL 8b5d3b5bd75189b43c0f2b010d4c520775ef3ef4816b16e24c2e3f3b4057f4bd335c287a56be64e796fa4978575cd25dddadbe1f62159759b212fa54ff7a60b1
DIST upx-3.07-i386_linux.tar.bz2 350803 SHA256 002f0981c0b70aa28c61c9360e07d5ad33c5487fece463f4513f47ba0a43f677 SHA512 b2a791b4dc34c77362993f5104400d55903577f334ae4afc7deccfc6146560697c3ab6c53fecf201988b2ad022440d4f8a6ca8e97662ba26a4370f603667249e WHIRLPOOL 30dd6af6104d60dae1f8eacc2a11a43bba68f4169217dda0f2b8c35a7b8816f3c35e897351d1aaaafc7172c4fd93f54bb669a29b7e9b4421444368ab1c67f8d5
DIST upx-3.07-mipsel_linux.tar.bz2 515589 SHA256 0bb0bc68e6a93b940672eae7c37c6d803b5e5aea2b14bcefaf230cb39d8c7b2d SHA512 0f9bdecc2cd3812f2ec881aed569f0b21b3070c896627e93f2cfa8db7e7a87d8aa48636e6ecce5985cac321d6a4b0c91f87f06cf3fdf7d4c0a7425e0b6b1bd5e WHIRLPOOL 52cbc31e006ae3a09d6d89909106973d723eb2af72f8b7da2d5487dc355da1bae226394cb4e69d1b1d0a48bcd3f6977cf72d8aa5f3617e45e4092ac7664f2c53
DIST upx-3.07-powerpc_linux.tar.bz2 460557 SHA256 4679f7a80c5c9f66004d524fb5cacb97d7630562ee033321f8481a5288592152 SHA512 6991ccda7d864d891f6fbb6795be02dbfce9b8b81afdee7c22717ab83a476eaf8f2096a44e5fcc7e64eed50efeef659dfae1129bf7f9563933a920cf8d81f6c1 WHIRLPOOL f184ee474ca9475541608c2c956f5c014609058111df8983546c173535f31cc2939c6415142330ae251d4a1ba832037f66170daf72961fb2a6ad990d3e1f14d8
DIST upx-3.08-amd64_linux.tar.bz2 363039 SHA256 cc78e91ad88c711c54516eed80d89c58af0f8af5012476f58e023c35f3254e7f SHA512 433a816feeb77ba7e6dd549bbad9964149031ab4965d83187940f0748a49f9682b108afde8b40117969e5e8ee393a82a229faff50516b678381553bf7c4a85be WHIRLPOOL c1d8872b2fef3b8ef446f4de48bc5c571916b3fd1d179fe82420e0c74fdf3df0bc7f203f840850738548cba743880397546500c90bc52a2eb4e697ba92ee2811
DIST upx-3.08-armeb_linux.tar.bz2 346943 SHA256 b0fca74ca63f492b53e2b8aa34d588aa4c5cc827e5105079b66490109e764bd8 SHA512 0564a0268dc9a75fcb302ad0b9202b59fa684d37a1db725c8748fa410a72b51c7f8ab43141a1ffc9e5029f875ecb049f8aa1363d7da3fedf70dd80bae15d2eb5 WHIRLPOOL 647fcf7f546a9093e36e34d3222623515d43fa420ca00f03f49b741eb086fee0667cc88412c3cf7e94f138372af19ef8905ec8c8a93b56b5f764cdf7223bfe91
DIST upx-3.08-i386_linux.tar.bz2 354712 SHA256 bcbbc78fe3bb83bf2398a9e0dceb9c4cc45184ec013013d4baf7197c401573f1 SHA512 8ba1d0a39ccdc3048fb59a5913e53a96c79a25d58f57d4c71c0cc352d77ac2826a8dd8e455d8c6b278e2f6fbc6f675d4d5d82d735366f7946d619d24203455b5 WHIRLPOOL 64b0be4ec5825a43247eb20f1032e310eb97da88d42f4e89d85782efbb1aa6251fbdb28618514068225a204d1a1277313bde7b1611c972e7b543af1408a798cd
DIST upx-3.08-mipsel_linux.tar.bz2 518351 SHA256 b7732fff71abeb6cbc70dcad230dd70e560e7fbe52fa5aaef1bcd81ce531bec8 SHA512 84ef7fd0d7ff0fbde99323ac8bc90ef02246ba41110abb8ad6235e60bc3ac064b44c9b1a237d51493f995547830e22a45be32520a29e72752cf8c7695de307a0 WHIRLPOOL f0865ea27122740d366b3da19ee1366cd60c8128add34febef08f3cef20eeb1615f107f6034ddc3b9fffbc457ca0323f1b81d37423434c36db7a38468ab51a3d
DIST upx-3.08-powerpc_linux.tar.bz2 462912 SHA256 b06c4e87c6ecb53f656cc9c08cca23a89fd54b4de0d238c16cbedf41d0af1c6e SHA512 7c4e81e383061707260d661573c7fa68385983c68709c52e459e7307ca325ffc10dc5b7b5eb80ae69c463173dc4fc89f01787668d5f74821da9a19b8eaea3e27 WHIRLPOOL 83a5dce2f3119d20cacc960b9f0f9c79618c5899a0dcb252d834f69d70383dffded822ed6b0a9e8f4785d73ae8b534b17b7e90aa97b9cbb90bab665ae015b406
DIST upx-3.09-amd64_linux.tar.bz2 365480 SHA256 7009040f9a3b5e0502182f5d6537a4ad9192e7dcd432c6323c96d016670ac658 SHA512 827c31ae01edaa08cd002829fc63c7dabf4a153a1dbf83f3d297f7a8171f46592dc82224bda5fedb1cccd08bc8fa10f16c585e0299ca22580891cdf9456edca9 WHIRLPOOL aea3acbecdb41b47c38911a31ffb91b0f7f39770a4630af8f54992ea81c1a0ab70b44d2bc9ffa7a60fa5ff2427ab959c4ea55e0bea6b2fe9e26885f110cd1ec0
DIST upx-3.09-armeb_linux.tar.bz2 350006 SHA256 e6b2436354214fab92b3e0f5b920b61c7167e7a4af472b134c46ef5e85a34503 SHA512 eb55e5d317047922dfe83c83cf54dcb4f98e7f0a3646cfae8298955ae1caacb2ed735571eb96fa7c01e82c87b5f44f4b1d6803458243e27869ffdbd5a002a0f4 WHIRLPOOL e625faece9420d8d2228dc3a844258821d3051713b5cfdd377243daeb96c764d4b804aad128ddaa1b81012683ee589426d96eba05881a7efdf66757efe1cb857
DIST upx-3.09-i386_linux.tar.bz2 356751 SHA256 ab7be623bcaba936021f89f7985f451bf48b7b312fd885e119b873ce95d1af1c SHA512 e857a610dc36a531ea1f7889dec9e5b0edbe8b1e66affc6ab62aebab37bb674d3b0432deb414ddcc55a27325126a385c763806c31b524585e708d1048fdae240 WHIRLPOOL 75974b5f305e9db715f3468bbd40ddb5d9169bc3ec0f762f252aa78c3af30aeb4e4b301d90fc5ae4f5b25e15106d9f7b511f3f93d0ba5eb75c5d2d31f72ae67b
DIST upx-3.09-mipsel_linux.tar.bz2 520767 SHA256 e967a69af878a883a3a05601cbf77f4a2a27dfcb9432a25171a3ed7da25db02e SHA512 fef09461736f46e21e4ff3fa44fc3f47a18d4e153c5c83cd5c9e25c415230aa4fca92791b6a9df3948a1f4362c628f6f8c044d41ae8a1e1cec9e4e5c371de453 WHIRLPOOL 6abd4bfa99cb761bb18521d8868dd66bfef07e478a3c9b5899536fb5dc04a8af45d2ec09d51bfc9110dbd0fd810e17f02bfcda0580ecf5e79e890d389bf11a91
DIST upx-3.09-powerpc_linux.tar.bz2 464706 SHA256 8046967b1a97f74936c6ba59624e5e9d75cd061685a5334f30dbb047296a8a4d SHA512 fc2b82bd56e082e76bac1d42262720c793e2e31f658e459353c111de13a3d15638b6cba0ecbb6cc4b1c968c4dacf5f4e80c3eca06490b441b4f390c1fc7c0333 WHIRLPOOL 76d9d6569b0ab5bdf8d512f16155d732061a511429a8beb7926063209c8c6b312d81e56e722992732f195c3da31f01bb0909cf9932c3053d2d73a311c3e78e43
DIST upx-3.91-amd64_linux.tar.bz2 373664 SHA256 ec709333175503c7388fb6e91054de4db1b34ca214b0574c98ed43dfc1aee1f0 SHA512 7f57564c89baf1bad89d6038c17a83268a3f528d2cb3cc992160c6dd4842a6b3ef7123fea86480a491d8df7f7b099d8444effa6f677532f4bf756f72a51066e9 WHIRLPOOL db06d0d4016043640ff8e7aba7931c60aa3f113abb1a4cba81b948ea1bbeba4f27f426270b583e79fe8f473e768f185798b77194630e18a19d6c65d5e669a43a
DIST upx-3.91-armeb_linux.tar.bz2 363100 SHA256 b127bfbedea0cb95c779ee55838f7ff795b9258e12bd5cbc42e4ceb560af0c1d SHA512 730fcf1b8b2a81043f1c1ff611c94c8b4e26850c7dbbbd9fdcb6a6603878792873ef6a48f073feb12e1db3cdf0a7964f747ba4d7daa75cc2bfb8844b234b4332 WHIRLPOOL f0ee5a1e20d649e0f902529a408c869111cbe1431db3d68399ba06a482a6c7fb04bec7cd160ed2a28e1c422a23aa230a2075a2f9ab4140b89f59924295506bb0
DIST upx-3.91-i386_linux.tar.bz2 366446 SHA256 af4a4682a3a1980d3e09dcc08df3066f670778461e9087c4f4ce2fd6fe296ac3 SHA512 b679fc54a4e4bbf1ed7bf11473b85ae33df82752815bdf7fae9499f6d1cb1df0251a284596d7303fcba8465b77c6dd233e1cff288806a73c84a50a48ec13aec4 WHIRLPOOL 42045dada5aaad6921ec40d2ff40338c885e13ae80e2a0b2a2adb9b9280d06e2c33f31c294e7acfd6b036765cd8b54ee1144caf0dcd49345801fc4373c680111

@ -1,36 +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/upx-bin/upx-bin-3.07-r1.ebuild,v 1.1 2011/10/10 15:29:17 matsuu Exp $
EAPI="4"
inherit pax-utils
MY_P="${PN/-bin}-${PV}"
DESCRIPTION="Ultimate Packer for eXecutables (binary version with proprietary NRV compression)"
HOMEPAGE="http://upx.sourceforge.net/"
SRC_URI="x86? ( http://upx.sourceforge.net/download/${MY_P}-i386_linux.tar.bz2 )
amd64? ( http://upx.sourceforge.net/download/${MY_P}-amd64_linux.tar.bz2 )
ppc? ( http://upx.sourceforge.net/download/${MY_P}-powerpc_linux.tar.bz2 )
arm? ( http://upx.sourceforge.net/download/${MY_P}-armeb_linux.tar.bz2 )
mips? ( http://upx.sourceforge.net/download/${MY_P}-mipsel_linux.tar.bz2 )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
RESTRICT="strip"
RDEPEND="!app-arch/upx-ucl"
S="${WORKDIR}"
src_install() {
cd ${MY_P}*
into /opt
dobin upx
pax-mark -m "${ED}"/opt/bin/upx
doman upx.1
dodoc upx.doc BUGS NEWS README* THANKS TODO
dohtml upx.html
}

@ -1,36 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/upx-bin/upx-bin-3.08.ebuild,v 1.1 2013/02/04 07:54:55 patrick Exp $
EAPI="4"
inherit pax-utils
MY_P="${PN/-bin}-${PV}"
DESCRIPTION="Ultimate Packer for eXecutables (binary version with proprietary NRV compression)"
HOMEPAGE="http://upx.sourceforge.net/"
SRC_URI="x86? ( http://upx.sourceforge.net/download/${MY_P}-i386_linux.tar.bz2 )
amd64? ( http://upx.sourceforge.net/download/${MY_P}-amd64_linux.tar.bz2 )
ppc? ( http://upx.sourceforge.net/download/${MY_P}-powerpc_linux.tar.bz2 )
arm? ( http://upx.sourceforge.net/download/${MY_P}-armeb_linux.tar.bz2 )
mips? ( http://upx.sourceforge.net/download/${MY_P}-mipsel_linux.tar.bz2 )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
RESTRICT="strip"
RDEPEND="!app-arch/upx-ucl"
S="${WORKDIR}"
src_install() {
cd ${MY_P}*
into /opt
dobin upx
pax-mark -m "${ED}"/opt/bin/upx
doman upx.1
dodoc upx.doc BUGS NEWS README* THANKS TODO
dohtml upx.html
}

@ -1,37 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/upx-bin/upx-bin-3.09.ebuild,v 1.1 2013/03/13 22:10:19 tomwij Exp $
EAPI="5"
inherit pax-utils
MY_P="${PN/-bin}-${PV}"
DESCRIPTION="Ultimate Packer for eXecutables (binary version with proprietary NRV compression)"
HOMEPAGE="http://upx.sourceforge.net/"
SRC_URI="x86? ( http://upx.sourceforge.net/download/${MY_P}-i386_linux.tar.bz2 )
amd64? ( http://upx.sourceforge.net/download/${MY_P}-amd64_linux.tar.bz2 )
ppc? ( http://upx.sourceforge.net/download/${MY_P}-powerpc_linux.tar.bz2 )
arm? ( http://upx.sourceforge.net/download/${MY_P}-armeb_linux.tar.bz2 )
mips? ( http://upx.sourceforge.net/download/${MY_P}-mipsel_linux.tar.bz2 )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
RESTRICT="strip"
RDEPEND="!app-arch/upx-ucl"
S="${WORKDIR}"
QA_PREBUILT="/opt/bin/upx"
src_install() {
cd ${MY_P}*
into /opt
dobin upx
pax-mark -m "${ED}"/opt/bin/upx
doman upx.1
dodoc upx.doc BUGS NEWS README* THANKS TODO
dohtml upx.html
}

@ -1,2 +1 @@
DIST hdup-1.6.37.tar.gz 111441 SHA256 567551d77642ad7681aa86b806c1ca6ae4f5bf44724c2487a24a6491e25538b4 SHA512 4ebdfd5aa763d66001e7d7b81e31e40843383c09b979866edc3701536bd1afb498708afaff27c11012379b0dc7ab0aac97d317425219d639200503557396ef63 WHIRLPOOL 25cd0c1135e4d953d815728ba2cb0046d03cb8e1730c2c0d4bb54ec626426df40fa6cef04f9bb1616789402ddeafaf9b03999d6ed5af965588110a7538fd1469
DIST hdup-2.0.14.tar.bz2 87803 SHA256 6781ec53a739c0ae15129bbbb4674cad012501b30b6652ab54d0b300de677609 SHA512 076876345d58bc6a1b987adc3ea10b1e82652504f52579d62c3f9f97c120fd56f3177deb4fe810b1579ab473061d2ab38b0ab97b83427ec84d5141f7043897f8 WHIRLPOOL 0f882463fcf0df0de019d18d915f87944d4dddb49e3e560c5d6c42479b947bc5ffe87808c95bdba6815f57a2ebee28c3f0e46c7666a63589811410934481dc34

@ -1,44 +0,0 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/hdup/hdup-1.6.37.ebuild,v 1.6 2008/04/21 11:07:36 chtekk Exp $
KEYWORDS="~amd64 ~ppc x86"
DESCRIPTION="Hdup is backup program using tar, find, gzip/bzip2, mcrypt and ssh."
HOMEPAGE="http://www.miek.nl/projects/hdup16/hdup16.html"
SRC_URI="http://www.miek.nl/projects/${PN}16/previous/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
DEPEND="app-arch/bzip2
app-arch/gzip
app-arch/tar"
RDEPEND="${DEPEND}
net-misc/openssh
sys-apps/coreutils
sys-apps/findutils"
S="${WORKDIR}/${PN}16"
src_compile() {
econf || die "econf failed"
emake || die "emake failed"
}
src_install() {
dodir /usr/sbin
make prefix="${D}/usr" mandir="${D}/usr/share/man" sysconfdir="${D}/etc" install || die "make install failed"
dohtml doc/FAQ.html
dodoc ChangeLog Credits INSTALL
dodoc contrib/cleanup.pl contrib/backup.pl
dodoc examples/hdup.cron examples/no-history-post-run.sh
}
pkg_postinst() {
elog "Now edit your /etc/hdup/${PN}.conf to configure your backups."
elog "You can also check included examples and contrib, see /usr/share/doc/${P}/."
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/brasero/brasero-3.11.3.ebuild,v 1.1 2014/04/27 15:22:22 eva Exp $
# $Header: /var/cvsroot/gentoo-x86/app-cdr/brasero/brasero-3.11.3.ebuild,v 1.2 2014/06/27 10:03:30 pacho Exp $
EAPI="5"
GCONF_DEBUG="no"
@ -9,7 +9,7 @@ GNOME2_LA_PUNT="yes"
inherit autotools gnome2
DESCRIPTION="CD/DVD burning application for the GNOME desktop"
HOMEPAGE="http://projects.gnome.org/brasero/"
HOMEPAGE="https://wiki.gnome.org/Apps/Brasero"
LICENSE="GPL-2+ CC-BY-SA-3.0"
SLOT="0/3.1" # subslot is 3.suffix of libbrasero-burn3
@ -71,7 +71,7 @@ src_prepare() {
-i configure.ac || die
eautoreconf
gnome2_src_configure
gnome2_src_prepare
}
src_configure() {

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>media-optical</herd>
<herd>gnome</herd>
<herd>media-optical</herd>
<use>
<flag name="packagekit">Enable support for the distro-neutral package
manager GUI <pkg>app-admin/packagekit</pkg></flag>

@ -1,4 +1,5 @@
DIST ccid-1.4.14.tar.bz2 484659 SHA256 c50b04ac8e800a14246ea42cf37f73bd42fdb3645afb290b7af091f9e15cd146 SHA512 72e9a026689a308a1eb96ab7e31a6af987782e8c66721e1fd0f4eb7b575363309303cdf138863c35e3feda789517122fd6f15cbd4b03bf3ed870a5e7fae9b5ea WHIRLPOOL ddb427f1efa1e5b512fb114b9cf57e92b81a449bc46f6788b8054754c09b7d30491713f76da08fd9272c3803b1f12dfa38269ef501bc7817bd6bd47d3a739115
DIST ccid-1.4.15.tar.bz2 487625 SHA256 5436182246f15b3e78b1ad6707022b02dc400e3f50c4cb5e5d340a4e716d990a SHA512 393eb65db0fb31b58d4010c10cae6c7592078b02d0e77b7741330cc3b1e5dd768fa08dbaf75db39c547e3603fa70aa1c8aaf3b536266314f2f04d2ff2b6fb29c WHIRLPOOL 0dd511454cf8e39303318b61f9e2390f2ef27b763e80e9270f55ee15966ced8378f3f3ee5440b6380481f970f03ae37bbb2221da6c3d2d658622ea4cdc3aee3f
DIST ccid-1.4.16.tar.bz2 490965 SHA256 0a0e6aa38863c79e38673c085254fa94fd0aa040b9622304a8d6d4222b7e7ea0 SHA512 b3b1761c591ba9981f646433bda4b300e6a1a2bf80b5416c47302cd430ec4f33deac8c0753d3e0568591d0ee6aea180695f2dc8f206585a85de506d1873eb915 WHIRLPOOL 083add5ca26fd1bea18d3547c482e9f0597f65d650ba942c23718ed2cebe216afc41c03ce22d9dadf1b3b9248b9fcc17ec7026a143fc9daa93b383e887603e9d
DIST ccid-1.4.17.tar.bz2 491972 SHA256 ccdab8a9bc1ad288242d5f9ef399405e9cb96fb09caadb43e3649cbaba84c451 SHA512 65dd0020b7b586eb6e0db5953561e8dc578daee522bf472542f05355293171a9635ea64447ecf465bc65b13a5fdeb7d223e15b53ca7045b880ba8bde859bd4eb WHIRLPOOL f3044a70112bdbf061262ed69c218547d266f3ec8ae31bf211b54456829b2956b782c473d4ea21c0f8e97edc2b262c1db5a7aa45baee287f9d48fef3260f7df3
DIST ccid-1.4.8.tar.bz2 470158 SHA256 7aca09fa4b9099e423402fd5df424adbafa502888710d1fda6015b6c1ff637ef SHA512 1b5b56521e2469c23e033141236aae0791d50640f810a012d8420002a56a6929e476a1c8462653909e8939f9439b043a64b247aced7d1f511f96a7dd0071ffa0 WHIRLPOOL d0c51bf360ee63a72646af98e44b4b1940336dcf3400f249b075d8efcabdf650cfbaa6be2656d411195411646c82ac410487b8b274e88457edc8c4e4a23ac15d

@ -0,0 +1,49 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/ccid/ccid-1.4.17.ebuild,v 1.1 2014/06/26 19:57:03 flameeyes Exp $
EAPI=5
STUPID_NUM="4091"
inherit eutils toolchain-funcs udev autotools-utils
DESCRIPTION="CCID free software driver"
HOMEPAGE="http://pcsclite.alioth.debian.org/ccid.html"
SRC_URI="http://alioth.debian.org/frs/download.php/file/${STUPID_NUM}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="twinserial +usb"
RDEPEND=">=sys-apps/pcsc-lite-1.8.3
usb? ( virtual/libusb:1 )"
DEPEND="${RDEPEND}
kernel_linux? ( virtual/pkgconfig )"
DOCS=( README AUTHORS )
src_configure() {
local myeconfargs=(
LEX=:
$(use_enable twinserial)
$(use_enable usb libusb)
)
autotools-utils_src_configure
}
src_install() {
autotools-utils_src_install
if use kernel_linux; then
# note: for eudev support, rules probably will always need to be
# installed to /usr
# ccid >=1.4.11 version changed the rules drastically in a minor
# release to no longer use the pcscd group. Using the old ones in
# the mean time.
udev_newrules "${FILESDIR}"/92_pcscd_ccid.rules 92-pcsc-ccid.rules
fi
}

@ -1,2 +1 @@
DIST xmltoman-0.3.tar.gz 14780 SHA256 5dfde3066ee70b481888f5937159c120854ff660004addf80eceb44fda3920cc SHA512 e29c8038266e9479e469bc4f288dcbd760b91590a1a557dea053e44ac286741109eeaaf90d2d5258b16ce84a4fb77a709bea429575916b75fc226cd6ebb3d461 WHIRLPOOL 880da40fd1479d1caaaba3be08b53fe7aa0092ba4c1a367fb0a4437fb150e2c9e30bca2a16959a6fffa72c9cd1d142c72e210fb51a8f4f809b47508570b5f720
DIST xmltoman-0.4.tar.gz 15250 SHA256 948794a316aaecd13add60e17e476beae86644d066cb60171fc6b779f2df14b0 SHA512 347722731e2101ecd0619f88f4efdbca534810c96977a1281af685e8a61f4c1a826a71a9f0e3af43cc899936640787366a78077f36d23a9efcfeb789dbcfae22 WHIRLPOOL d55ac95434d0aa54bdb5f45dee7c4a6a7ce1467fb7a2165d08ddf2fc6a0bb6001c15b1db4edc21d8eb4791cac2a2fc32a5c83ad4b3c851216117d1d21f441838

@ -1,22 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-doc/xmltoman/xmltoman-0.3.ebuild,v 1.10 2009/06/28 13:30:44 swegener Exp $
DESCRIPTION="Simple scripts for converting xml to groff or html"
HOMEPAGE="http://sourceforge.net/projects/xmltoman/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86"
IUSE=""
RDEPEND="dev-lang/perl
dev-perl/XML-Parser"
DEPEND="${RDEPEND}"
src_install() {
emake DESTDIR="${D}" PREFIX="/usr" install || die "emake install failed"
dodoc README
doman xmltoman.1 xmlmantohtml.1
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/gvim/gvim-7.4.273.ebuild,v 1.4 2014/06/24 19:14:35 maekke Exp $
# $Header: /var/cvsroot/gentoo-x86/app-editors/gvim/gvim-7.4.273.ebuild,v 1.5 2014/06/26 18:10:20 zlogene Exp $
EAPI=5
VIM_VERSION="7.4"
@ -17,7 +17,7 @@ else
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}"
KEYWORDS="~alpha ~amd64 arm hppa ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
KEYWORDS="~alpha amd64 arm hppa ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
fi
DESCRIPTION="GUI version of the Vim text editor"

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/vim-7.4.273.ebuild,v 1.5 2014/06/24 19:14:08 maekke Exp $
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/vim-7.4.273.ebuild,v 1.6 2014/06/26 18:09:29 zlogene Exp $
EAPI=5
VIM_VERSION="7.4"
@ -17,7 +17,7 @@ else
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}"
KEYWORDS="~alpha ~amd64 arm hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
DESCRIPTION="Vim, an improved vi-style text editor"

@ -1,254 +0,0 @@
diff -up flasm-1.62/assembler.y.midrule flasm-1.62/assembler.y
--- flasm-1.62/assembler.y.midrule 2008-12-20 22:44:50.000000000 +0100
+++ flasm-1.62/assembler.y 2008-12-20 22:54:03.000000000 +0100
@@ -605,24 +605,24 @@ finally_opt
trycatchfinally
: TRY name_opt {
- $$ = writeByte(SWFACTION_TRY);
+ $<num>$ = writeByte(SWFACTION_TRY);
/* action length */
- $$ += writeShort(strlen($2)+8);
+ $<num>$ += writeShort(strlen($2)+8);
/* zero flag */
- $$ += writeByte(0);
+ $<num>$ += writeByte(0);
/* zero try length */
- $$ += writeShort(0);
+ $<num>$ += writeShort(0);
/* zero catch length */
- $$ += writeShort(0);
+ $<num>$ += writeShort(0);
/* zero finally length */
- $$ += writeShort(0);
+ $<num>$ += writeShort(0);
/* error variable name */
- $$ += writeString($2);
+ $<num>$ += writeString($2);
}
- statements_opt { $$ = $<num>3 + $4; patchLength($$ - 6, $4); }
- catch_opt { $$ = $<num>5 + $6; patchLength($$ - 8, $6); }
- finally_opt { $$ = $<num>7 + $8; patchLength($$ - 10, $8); }
+ statements_opt { $<num>$ = $<num>3 + $4; patchLength($<num>$ - 6, $4); }
+ catch_opt { $<num>$ = $<num>5 + $6; patchLength($<num>$ - 8, $6); }
+ finally_opt { $<num>$ = $<num>7 + $8; patchLength($<num>$ - 10, $8); }
END {
byte flag = 0;
$$ = $<num>9;
@@ -634,24 +634,24 @@ trycatchfinally
}
| TRY register {
- $$ = writeByte(SWFACTION_TRY);
+ $<num>$ = writeByte(SWFACTION_TRY);
/* action length */
- $$ += writeShort(8);
+ $<num>$ += writeShort(8);
/* zero flag */
- $$ += writeByte(0);
+ $<num>$ += writeByte(0);
/* zero try length */
- $$ += writeShort(0);
+ $<num>$ += writeShort(0);
/* zero catch length */
- $$ += writeShort(0);
+ $<num>$ += writeShort(0);
/* zero finally length */
- $$ += writeShort(0);
+ $<num>$ += writeShort(0);
/* error register number */
- $$ += writeByte((byte) $2);
+ $<num>$ += writeByte((byte) $2);
}
- statements_opt { $$ = $<num>3 + $4; patchLength($$ - 6, $4); }
- catch_opt { $$ = $<num>5 + $6; patchLength($$ - 8, $6); }
- finally_opt { $$ = $<num>7 + $8; patchLength($$ - 10, $8); }
+ statements_opt { $<num>$ = $<num>3 + $4; patchLength($<num>$ - 6, $4); }
+ catch_opt { $<num>$ = $<num>5 + $6; patchLength($<num>$ - 8, $6); }
+ finally_opt { $<num>$ = $<num>7 + $8; patchLength($<num>$ - 10, $8); }
END {
byte flag = 4;
$$ = $<num>9;
@@ -707,25 +707,25 @@ name_opt
function
: FUNCTION name_opt {
- $$ = writeByte(SWFACTION_DEFINEFUNCTION);
+ $<num>$ = writeByte(SWFACTION_DEFINEFUNCTION);
/* zero block length */
- $$ += writeShort(0);
- $$ += writeString($2);
+ $<num>$ += writeShort(0);
+ $<num>$ += writeString($2);
}
'(' function_args ')' {
unsigned int i;
numArgs = $5;
- $$ = $<num>3 + writeShort(numArgs);
+ $<num>$ = $<num>3 + writeShort(numArgs);
for(i = 0; i < numArgs; ++i)
- $$ += writeString(func_args[i]);
+ $<num>$ += writeString(func_args[i]);
/* zero function length */
- $$ += writeShort(0);
+ $<num>$ += writeShort(0);
/* patch block length */
- patchLength($$-3, $$-3);
+ patchLength($<num>$-3, $<num>$-3);
}
statements_opt END {
@@ -837,25 +837,25 @@ autoregarglist
function2
: FUNCTION2 name_opt {
- $$ = writeByte(SWFACTION_DEFINEFUNCTION2);
+ $<num>$ = writeByte(SWFACTION_DEFINEFUNCTION2);
/* zero block length */
- $$ += writeShort(0);
+ $<num>$ += writeShort(0);
/* function name */
- $$ += writeString($2);
+ $<num>$ += writeString($2);
curFunc++;
memset(regfunc_args[curFunc], 0, sizeof (regfunc_args[curFunc]));
numArgs = 0;
/* zero num of function arguments */
- $$ += writeShort(numArgs);
+ $<num>$ += writeShort(numArgs);
/* allocate zero registers */
numRegisters[curFunc] = 0;
- $$ += writeByte(numRegisters[curFunc]);
+ $<num>$ += writeByte(numRegisters[curFunc]);
/* zero automatic register flags */
- $$ += writeShort(0);
+ $<num>$ += writeShort(0);
}
'(' regarglist ')' {
- $$ = $<num>3 + $5;
+ $<num>$ = $<num>3 + $5;
/* patch num of function arguments */
patchLength($5 + 3, numArgs);
autoregFlags = 0;
@@ -866,9 +866,9 @@ function2
byte curautoreg = 1;
unsigned int i;
- $$ = $<num>7;
+ $<num>$ = $<num>7;
/* zero body length */
- $$ += writeShort(0);
+ $<num>$ += writeShort(0);
/* make sure auto registers are allocated in the right order */
for (i = 0; i < MAX_AUTO_REGS; i++) {
@@ -883,9 +883,9 @@ function2
}
/* patch automatic register flags */
- patchLength($$ - $<num>3, autoregFlags);
+ patchLength($<num>$ - $<num>3, autoregFlags);
/* patch block length */
- patchLength($$ - 3, $$ - 3);
+ patchLength($<num>$ - 3, $<num>$ - 3);
}
statements_opt END {
@@ -905,11 +905,11 @@ function2
with
: WITH {
- $$ = writeByte(SWFACTION_WITH);
+ $<num>$ = writeByte(SWFACTION_WITH);
/* length of with action */
- $$ += writeShort(2);
+ $<num>$ += writeShort(2);
/* length of with block - will be patched */
- $$ += writeShort(0);
+ $<num>$ += writeShort(0);
}
statements_opt END {
@@ -921,9 +921,9 @@ with
settarget
: SETTARGET STRING {
- $$ = writeByte(SWFACTION_SETTARGET);
- $$ += writeShort(strlen($2)+1);
- $$ += writeString($2);
+ $<num>$ = writeByte(SWFACTION_SETTARGET);
+ $<num>$ += writeShort(strlen($2)+1);
+ $<num>$ += writeString($2);
}
statements_opt END {
@@ -934,7 +934,7 @@ settarget
;
settargetexpression
- : SETTARGETEXPR { $$ = writeByte(SWFACTION_SETTARGETEXPRESSION); }
+ : SETTARGETEXPR { $<num>$ = writeByte(SWFACTION_SETTARGETEXPRESSION); }
statements_opt END {
$$ = $3 + writeByte(SWFACTION_SETTARGET);
$$ += $<num>2 + writeShort(1);
@@ -946,9 +946,9 @@ ifframeloadedexpression
: IFFRAMELOADEDEXPR {
if (frameloadedStart>-1)
yyerror("IfFrameLoaded actions can't be nested");
- $$ = writeByte(SWFACTION_IFFRAMELOADEDEXPRESSION);
- $$ += writeShort(1);
- $$ += writeByte(0);
+ $<num>$ = writeByte(SWFACTION_IFFRAMELOADEDEXPRESSION);
+ $<num>$ += writeShort(1);
+ $<num>$ += writeByte(0);
frameloadedStart = numActions;
}
@@ -963,10 +963,10 @@ ifframeloaded
: IFFRAMELOADED INTEGER {
if (frameloadedStart>-1)
yyerror("IfFrameLoaded actions can't be nested");
- $$ = writeByte(SWFACTION_IFFRAMELOADED);
- $$ += writeShort(3);
- $$ += writeShort($2);
- $$ += writeByte(0);
+ $<num>$ = writeByte(SWFACTION_IFFRAMELOADED);
+ $<num>$ += writeShort(3);
+ $<num>$ += writeShort($2);
+ $<num>$ += writeByte(0);
frameloadedStart = numActions;
}
@@ -1199,9 +1199,9 @@ opcode
constant_list_opt { $$ = writeConstants(); }
| PUSH {
- $$ = writeByte(SWFACTION_PUSHDATA);
+ $<num>$ = writeByte(SWFACTION_PUSHDATA);
/* length */
- $$ += writeShort(0);
+ $<num>$ += writeShort(0);
}
push_list {
@@ -1212,10 +1212,10 @@ opcode
| SWFACTION HEX {
if (xtoi($2)>0xff)
yyerror("Action code out of range");
- $$ = writeByte((char)xtoi($2));
+ $<num>$ = writeByte((char)xtoi($2));
if (xtoi($2)>=0x80)
/* length */
- $$ += writeShort(0);
+ $<num>$ += writeShort(0);
}
hexlist_opt {

@ -1,38 +0,0 @@
--- Makefile.orig 2010-02-23 11:13:31.000000000 +0100
+++ Makefile 2010-02-23 11:13:37.000000000 +0100
@@ -1,6 +1,4 @@
UNAME = $(shell uname)
-CC = gcc
-CFLAGS = -g -Wall -O2
LIBS = -lz
OFILES = util.o keywords.o flasm.o unflasm.o lex.yy.o assembler.tab.o
GARBAGE = assembler.tab.* lex.yy.c memwatch.o gmon.out memwatch.log core
@@ -9,8 +7,6 @@
ifneq (,$(findstring debug,$(MAKECMDGOALS)))
CFLAGS += -DMEMWATCH -pg -p -pedantic -W -Wcast-align -Wcast-qual -Wshadow -Wnested-externs -Wstrict-prototypes -Waggregate-return -Wmissing-prototypes -Wpointer-arith
OFILES += memwatch.o
-else
- CFLAGS += -s
endif
# executable should not depend on cygwin.dll
@@ -26,13 +22,15 @@
-rm -f ${OFILES} ${GARBAGE}
flasm: ${OFILES}
- ${CC} $(CFLAGS) -o flasm ${OFILES} ${LIBS}
+ ${CC} $(CFLAGS) $(LDFLAGS) -o flasm ${OFILES} ${LIBS}
-assembler.tab.c assembler.tab.h: assembler.y
+assembler.tab.c: assembler.tab.h
+
+assembler.tab.h: assembler.y
bison --defines --debug assembler.y
lex.yy.c: assembler.flex assembler.tab.h
flex -i assembler.flex
keywords.c: keywords.gperf assembler.tab.h
- gperf --language=ANSI-C -t -T -E -o -k 1,$$,2,5 -S8 keywords.gperf > keywords.c
\ No newline at end of file
+ gperf --language=ANSI-C -t -T -E -o -k 1,$$,2,5 -S8 keywords.gperf > keywords.c

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/flasm/flasm-1.63.ebuild,v 1.3 2014/01/17 18:02:25 creffett Exp $
# $Header: /var/cvsroot/gentoo-x86/app-misc/flasm/flasm-1.63.ebuild,v 1.4 2014/06/26 12:29:43 kensington Exp $
EAPI=5
@ -19,9 +19,9 @@ IUSE=""
RDEPEND="sys-libs/zlib"
DEPEND="${RDEPEND}
app-arch/unzip
dev-util/gperf
sys-devel/flex
virtual/yacc
dev-util/gperf
"
S=${WORKDIR}
@ -32,11 +32,11 @@ src_prepare() {
src_compile() {
tc-export CC
emake || die
emake
}
src_install() {
dobin flasm || die
dodoc CHANGES.TXT || die
dohtml flasm.html classic.css || die
dobin flasm
dodoc CHANGES.TXT
dohtml flasm.html classic.css
}

@ -1,2 +1 @@
DIST dictd-1.11.2.tar.gz 418649 SHA256 60e7f44259adee87e952ea5d7e87555685224fb1d1dca24d3735b9feb58c871f SHA512 1ff92fb4bf9b6e3f5eb9f9352371d6f8902f0c2bc0d4ea64c702a1043c32f199178f383a783f7a9b5b31a7c764c4155d0c4921f5571ff98ffbffeb522a4a76f5 WHIRLPOOL 05b6bff3dd1d20bb7fffa18278e6c4c50e34f7d123cbfd19820fc2640c0ebccbbea330f96b411579bf017400b86d0a915c58492e299f1ade9c5682d8d9adcce2
DIST dictd-1.12.1.tar.gz 423870 SHA256 a237f6ecdc854ab10de5145ed42eaa2d9b6d51ffdc495f7daee59b05cc363656 SHA512 51bceba36f9e34ffcbbf42a6235aab6097fe66ba8ed086ea60d0df8b7daf91c6449fdf7c5605150c77035d98029053233db106f9188786b30e02ecd61748209b WHIRLPOOL d9f92667c0cb66d893f4f4630cc2dae61dd54b5d96b01d312d83eebd34278ddb11b76c2fcaef40a0b6dcd608d5a542d14c6645c7769893879eb9c229e04c9648

@ -1,100 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.11.2.ebuild,v 1.8 2012/05/24 04:43:00 vapier Exp $
EAPI="3"
inherit eutils user
DESCRIPTION="Dictionary Client/Server for the DICT protocol"
HOMEPAGE="http://www.dict.org/"
SRC_URI="mirror://sourceforge/dict/${P}.tar.gz"
SLOT="0"
# We install rfc so - ISOC-rfc
LICENSE="GPL-2 ISOC-rfc"
KEYWORDS="alpha amd64 ~hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
IUSE="dbi judy minimal"
# <gawk-3.1.6 makes tests fail.
DEPEND="sys-apps/coreutils
sys-libs/zlib
dev-libs/libmaa
dbi? ( dev-db/libdbi )
judy? ( dev-libs/judy )
>=sys-apps/coreutils-6.10"
RDEPEND="${DEPEND}
>=sys-apps/gawk-3.1.6"
pkg_setup() {
enewgroup dictd # used in src_test()
enewuser dictd -1 -1 -1 dictd
}
src_prepare() {
epatch "${FILESDIR}/dictd-1.10.11-colorit-nopp-fix.patch"
[[ ${CHOST} == *-darwin* ]] && \
sed -i -e 's:libtool:glibtool:g' libmaa/Makefile.in Makefile.in
}
src_configure() {
econf \
$(use_with dbi plugin-dbi) \
$(use_with judy plugin-judy) \
--sysconfdir="${EPREFIX}"/etc/dict
}
src_compile() {
if use minimal; then
emake dictfmt dictzip dictzip || die
else
emake || die "make failed"
fi
}
src_test() {
use minimal && return 0 # All tests are for dictd which we don't build...
if [[ ${EUID} -eq 0 ]]; then
# If dictd is run as root user (-userpriv) it drops its privileges to
# dictd user and group. Give dictd group write access to test directory.
chown :dictd "${WORKDIR}" "${S}/test"
chmod 770 "${WORKDIR}" "${S}/test"
fi
emake test || die
}
src_install() {
if use minimal; then
emake DESTDIR="${D}" install.dictzip install.dict install.dictfmt || die "install failed"
else
emake DESTDIR="${D}" install || die "install failed"
dodoc doc/{dicf.ms,rfc.ms,rfc.sh,rfc2229.txt} || die "installing docs part 2 failed"
dodoc doc/{security.doc,toc.ms} || die "installing docs part 3 failed"
# conf files. For dict.conf see below.
insinto /etc/dict
for f in dictd.conf site.info colorit.conf; do
doins "${FILESDIR}/1.10.11/${f}" || die "failed to install ${f}"
done
# startups for dictd
newinitd "${FILESDIR}/1.10.11/dictd.initd" dictd || die "failed to install dictd.initd"
newconfd "${FILESDIR}/1.10.11/dictd.confd" dictd || die "failed to install dictd.confd"
fi
insinto /etc/dict
doins "${FILESDIR}/1.10.11/dict.conf" || die
# Install docs
dodoc README TODO ChangeLog ANNOUNCE NEWS || die "installing docs part 1 failed"
}
pkg_postinst() {
echo
elog "To start and use ${PN} you need to emerge at least one dictionary from"
elog "the app-dicts category with the package name starting with 'dictd-'."
elog "To install all available dictionaries, emerge app-dicts/dictd-dicts."
elog "${PN} will NOT start without at least one dictionary."
echo
}

@ -1,102 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.12.1.ebuild,v 1.1 2013/01/29 08:38:29 patrick Exp $
EAPI="4"
inherit eutils user
DESCRIPTION="Dictionary Client/Server for the DICT protocol"
HOMEPAGE="http://www.dict.org/ http://sourceforge.net/projects/dict/"
SRC_URI="mirror://sourceforge/dict/${P}.tar.gz"
SLOT="0"
# We install rfc so - ISOC-rfc
LICENSE="GPL-2 ISOC-rfc"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
IUSE="dbi judy minimal"
# <gawk-3.1.6 makes tests fail.
RDEPEND="sys-apps/coreutils
sys-libs/zlib
dev-libs/libmaa
dbi? ( dev-db/libdbi )
judy? ( dev-libs/judy )
>=sys-apps/coreutils-6.10"
DEPEND="${RDEPEND}
>=sys-apps/gawk-3.1.6
virtual/yacc"
pkg_setup() {
enewgroup dictd # used in src_test()
enewuser dictd -1 -1 -1 dictd
}
src_prepare() {
epatch "${FILESDIR}"/dictd-1.10.11-colorit-nopp-fix.patch
epatch "${FILESDIR}"/dictd-1.12.0-build.patch
[[ ${CHOST} == *-darwin* ]] && \
sed -i -e 's:libtool:glibtool:g' Makefile.in
}
src_configure() {
econf \
$(use_with dbi plugin-dbi) \
$(use_with judy plugin-judy) \
--sysconfdir="${EPREFIX}"/etc/dict
}
src_compile() {
if use minimal; then
emake dictfmt dictzip dictzip
else
emake
fi
}
src_test() {
use minimal && return 0 # All tests are for dictd which we don't build...
if [[ ${EUID} -eq 0 ]]; then
# If dictd is run as root user (-userpriv) it drops its privileges to
# dictd user and group. Give dictd group write access to test directory.
chown :dictd "${WORKDIR}" "${S}/test"
chmod 770 "${WORKDIR}" "${S}/test"
fi
emake test
}
src_install() {
if use minimal; then
emake DESTDIR="${D}" install.dictzip install.dict install.dictfmt
else
emake DESTDIR="${D}" install
dodoc doc/{dicf.ms,rfc.ms,rfc.sh,rfc2229.txt}
dodoc doc/{security.doc,toc.ms}
# conf files. For dict.conf see below.
insinto /etc/dict
for f in dictd.conf site.info colorit.conf; do
doins "${FILESDIR}/1.10.11/${f}"
done
# startups for dictd
newinitd "${FILESDIR}/1.10.11/dictd.initd" dictd
newconfd "${FILESDIR}/1.10.11/dictd.confd" dictd
fi
insinto /etc/dict
doins "${FILESDIR}/1.10.11/dict.conf"
# Install docs
dodoc README TODO ChangeLog ANNOUNCE NEWS
}
pkg_postinst() {
echo
elog "To start and use ${PN} you need to emerge at least one dictionary from"
elog "the app-dicts category with the package name starting with 'dictd-'."
elog "To install all available dictionaries, emerge app-dicts/dictd-dicts."
elog "${PN} will NOT start without at least one dictionary."
echo
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.4_beta1.ebuild,v 1.1 2014/06/26 07:20:29 patrick Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.4_beta1.ebuild,v 1.2 2014/06/27 04:21:03 patrick Exp $
EAPI="5"
@ -112,7 +112,6 @@ src_configure() {
--without-tcl \
--without-perl \
$(use_with readline) \
$(use_with kerberos krb5) \
$(use_with kerberos gssapi) \
"$(use_enable nls nls "$(wanted_languages)")" \
$(use_with pam) \

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.4_beta1.ebuild,v 1.1 2014/06/26 07:21:16 patrick Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.4_beta1.ebuild,v 1.2 2014/06/27 03:37:11 patrick Exp $
EAPI="5"
@ -20,8 +20,6 @@ SRC_URI="mirror://postgresql/source/v${MY_PV}/postgresql-${MY_PV}.tar.bz2
http://dev.gentoo.org/~patrick/postgresql-patches-${SLOT}.tbz2
http://dev.gentoo.org/~floppym/dist/postgresql-initscript-2.7.tbz2"
LICENSE="POSTGRESQL GPL-2"
DESCRIPTION="PostgreSQL server"
HOMEPAGE="http://www.postgresql.org/"

@ -1,6 +1 @@
DIST HaXml-1.13.2.tar.gz 472348 SHA256 a4473977f76a3c2514c1456fb2d4eceb4b73a64104d9a0635f10b33c98a58aa1 SHA512 03609fc0a2e634e98fced50648b048390a7df35890bac0f59fd40691c76b44f6663d67840b9ca86d03a063d4fec539d170e21bb46deafcbcc36d4d3b51a7ebd2 WHIRLPOOL eb2d4116084f0799b45600b6ed851c904e61151f7f3532a694a818ff7a495844aed4364318d7f2d6007ff9ead080694f680123b481d029aec6a357fb7b073159
DIST HaXml-1.13.3.tar.gz 472660 SHA256 60872bc3684f6884e4b8fdfca95adf455072e8dc1f74105a33a6a69781e7a921 SHA512 88f9d21304e0c1c271ae283d5b915d9bfbeb26966a56c72722e8c79e82aa2bd96b07df45143e930f11513540358f2c3061bfc24d0487ff51e69d9d12a80bfcef WHIRLPOOL 77a3eab6005b9bc6d89376021d786a3d288e3d7decb5065d11e1a90089750667d1ba183fa6746dc11bb1a56656819676d417af5c7548bb3d5fc5493cdd671a0c
DIST HaXml-1.23.2.tar.gz 146596 SHA256 68e23bdb8fff6b3e109c544e85a7d874a4cc0d8a8db4b577e442ecddc30cf809 SHA512 a340cb914e9fd41eaefc3aeff760abc02cd06e2077bbab4523c36b3b0dfd5fb49d42e9f202434804f2f63218a08f20a3a3e39a13b6c381dca38f771cb1db40d0 WHIRLPOOL 34a7d10429525a0d6cdea8c9c72ecc4a680418ccd2724760efeaa14bf7c4f009ff968f62e97dde10cf36834f8efa243504a5d8c23718822af08dbe5dbc89756b
DIST HaXml-1.23.3.tar.gz 146596 SHA256 0fe925a45f78ca87e197c8ac98976b0dd9737f56d2f9ac415b298287b6dce3be SHA512 4691d5fa86b60732b448777974ba20281288929fb37e11bedf3a4b8f0353c40ba0a9fdb6f449b0045dc58ba4a2cba222846fa36f71171e8af9bf3d7649565f33 WHIRLPOOL 1bf18b26c4e95fae6992c6a2e392cfefb1e9cda9f213cd65884009f38fcf3c063b541d936c1c42a08d19bb85b54f5ca4a45bea71c525cd8c26dbf980f8e65496
DIST HaXml-1.23.tar.gz 144359 SHA256 5061d16be9a585e6cddad96d5e07d24af6f38b12a6aba82a922defce13b6a692 SHA512 259563742595037f2ba3edb90c9062eadf05ddfe3dd5b1ce9b4891f4cf6a9891d5f0c1b9bedbfdc786d8e960c99147db5bec3e0ad58af1591680e495980692fd WHIRLPOOL 1c1bdd7cf0fc55ddcd0729f99b955dcdbb5919ec339125f7273c09eb4a7b35edbb1aa80cd3e70f2501aed1c44de075c119e0d18dcfbd929efa9b0cb374276968
DIST HaXml-1.24.tar.gz 143107 SHA256 b6f9b147f80dbac04b11633d0bd9309c7ce9d2b0cff67b83086212a4f0567ba2 SHA512 421864e4177b16f485b72d33210a67914c2040664d604db5cc70b356a518114f11dbcc1b1c8f300fd045338605613a14317bd5bf5f041a8e38990d3c5dc7e94c WHIRLPOOL 7d2bee34221d932847fb208003090997545e543ab29338673e3e23e0b895cfe982985e78ec68a17e9973ced866711d9fbc42b8a4beb14e99ef6b7d7fe3f6994e

@ -1,85 +0,0 @@
--- HaXml-1.23-orig/HaXml.cabal 2012-06-15 21:27:50.000000000 +1000
+++ HaXml-1.23/HaXml.cabal 2012-06-16 17:18:02.471555934 +1000
@@ -11,7 +11,7 @@
Haskell utilities for parsing, filtering, transforming and
generating XML documents.
build-type: Simple
-cabal-version: >=1.2
+cabal-version: >=1.8
extra-source-files: LICENCE-GPL, LICENCE-LGPL
flag splitBase
@@ -84,6 +84,7 @@
Hs-Source-Dirs: src/tools, src
cpp-options: -DMAJOR=1 -DMINOR=23
Main-Is: Canonicalise.hs
+ build-depends: base, bytestring, containers, filepath, polyparse >= 1.5, pretty
Executable CanonicaliseLazy
GHC-Options: -Wall
@@ -91,6 +92,7 @@
Hs-Source-Dirs: src/tools, src
cpp-options: -DMAJOR=1 -DMINOR=23
Main-Is: CanonicaliseLazy.hs
+ build-depends: base, bytestring, containers, filepath, polyparse >= 1.5, pretty
Executable Xtract
GHC-Options: -Wall
@@ -98,6 +100,7 @@
Hs-Source-Dirs: src/tools, src
cpp-options: -DMAJOR=1 -DMINOR=23
Main-Is: Xtract.hs
+ build-depends: base, bytestring, containers, filepath, polyparse >= 1.5, pretty
Executable Validate
GHC-Options: -Wall
@@ -105,6 +108,7 @@
Hs-Source-Dirs: src/tools, src
cpp-options: -DMAJOR=1 -DMINOR=23
Main-Is: Validate.hs
+ build-depends: base, bytestring, containers, filepath, polyparse >= 1.5, pretty
Executable MkOneOf
GHC-Options: -Wall
@@ -112,6 +116,7 @@
Hs-Source-Dirs: src/tools, src
cpp-options: -DMAJOR=1 -DMINOR=23
Main-Is: MkOneOf.hs
+ build-depends: base, bytestring, containers, filepath, polyparse >= 1.5, pretty
Executable DtdToHaskell
GHC-Options: -Wall
@@ -119,6 +124,7 @@
Hs-Source-Dirs: src/tools, src
cpp-options: -DMAJOR=1 -DMINOR=23
Main-Is: DtdToHaskell.hs
+ build-depends: base, bytestring, containers, filepath, polyparse >= 1.5, pretty
Executable XsdToHaskell
GHC-Options: -Wall
@@ -126,6 +132,7 @@
Hs-Source-Dirs: src/tools, src
cpp-options: -DMAJOR=1 -DMINOR=23
Main-Is: XsdToHaskell.hs
+ build-depends: base, bytestring, containers, filepath, polyparse >= 1.5, pretty
Executable FpMLToHaskell
GHC-Options: -Wall
@@ -133,5 +140,5 @@
Hs-Source-Dirs: src/tools, src
cpp-options: -DMAJOR=1 -DMINOR=23
Main-Is: FpMLToHaskell.hs
- build-depends: directory
+ build-depends: base, bytestring, containers, directory, filepath, HaXml == 1.23.*, polyparse >= 1.5, pretty
--- HaXml-1.23-orig/src/tools/FpMLToHaskell.hs 2012-06-15 21:27:50.000000000 +1000
+++ HaXml-1.23/src/tools/FpMLToHaskell.hs 2012-06-16 16:22:22.423493642 +1000
@@ -33,7 +33,7 @@
import Text.XML.HaXml.Schema.Environment as Env
import Text.XML.HaXml.Schema.TypeConversion as XsdToH
import Text.XML.HaXml.Schema.PrettyHaskell
-import qualified Text.XML.HaXml.Schema.PrettyHsBoot as HsBoot
+import qualified Text.XML.HaXml.Schema.PrettyHaskell as HsBoot
import qualified Text.XML.HaXml.Schema.HaskellTypeModel as Haskell
import Text.ParserCombinators.Poly
import Text.PrettyPrint.HughesPJ (render,vcat)

@ -1,37 +0,0 @@
--- HaXml-1.23-orig/src/Text/XML/HaXml/Schema/HaskellTypeModel.hs 2012-06-15 21:27:49.000000000 +1000
+++ HaXml-1.23/src/Text/XML/HaXml/Schema/HaskellTypeModel.hs 2012-06-16 16:46:26.358651992 +1000
@@ -77,8 +77,8 @@
-- rests with the input doc, not with the caller of the parser.
| ElementsAttrsAbstract {-typename-}XName
{-subtypes-}[(XName,Maybe XName)]
- -- ^ [(type name, module where declared later)]
Comment
+ -- ^ [(type name, module where declared later)]
-- becomes function
-- elementE :: Parser T
--- HaXml-1.23-orig/src/Text/XML/HaXml/Schema/PrettyHaskell.hs 2012-06-15 21:27:50.000000000 +1000
+++ HaXml-1.23/src/Text/XML/HaXml/Schema/PrettyHaskell.hs 2012-06-16 16:49:56.952051977 +1000
@@ -403,9 +403,6 @@
$$ text "data" <+> ppUnqConId nx t
$$ nest 8 (ppvList "=" "|" "" ppAbstrCons insts
$$ text "deriving (Eq,Show)")
--- $$ text "-- instance SchemaType" <+> ppUnqConId nx t
--- <+> text "(declared in Instance module)"
--- *** Declare instance here
$$ text "instance SchemaType" <+> ppUnqConId nx t <+> text "where"
$$ nest 4 (text "parseSchemaType s = do"
$$ nest 4 (vcat (intersperse (text "`onFail`")
@@ -417,12 +414,6 @@
where
ppAbstrCons (name,Nothing) = con name <+> ppConId nx name
ppAbstrCons (name,Just mod) = con name <+> ppConId nx name
--- *** Declare FwdDecl type here (proxy for type declared in later module)
--- ppAbstrCons (name,Just mod) = text "forall q . (FwdDecl" <+>
--- fwd name <+> text "q," <+>
--- text "SchemaType q) =>" <+>
--- con name <+>
--- text "("<>fwd name<>text"->q)" <+> fwd name
ppParse (name,Nothing) = text "(fmap" <+> con name <+>
text "$ parseSchemaType s)"
ppParse (name,Just _) = ppParse (name,Nothing)

@ -1,37 +0,0 @@
--- HaXml-1.23.2-orig/src/Text/XML/HaXml/Schema/HaskellTypeModel.hs 2012-06-18 23:17:57.000000000 +1000
+++ HaXml-1.23.2/src/Text/XML/HaXml/Schema/HaskellTypeModel.hs 2012-06-18 23:37:04.279978702 +1000
@@ -77,8 +77,8 @@
-- rests with the input doc, not with the caller of the parser.
| ElementsAttrsAbstract {-typename-}XName
{-subtypes-}[(XName,Maybe XName)]
- -- ^ [(type name, module where declared later)]
Comment
+ -- ^ [(type name, module where declared later)]
-- becomes function
-- elementE :: Parser T
--- HaXml-1.23.2-orig/src/Text/XML/HaXml/Schema/PrettyHaskell.hs 2012-06-18 23:17:57.000000000 +1000
+++ HaXml-1.23.2/src/Text/XML/HaXml/Schema/PrettyHaskell.hs 2012-06-18 23:34:50.954660444 +1000
@@ -403,9 +403,6 @@
$$ text "data" <+> ppUnqConId nx t
$$ nest 8 (ppvList "=" "|" "" ppAbstrCons insts
$$ text "deriving (Eq,Show)")
--- $$ text "-- instance SchemaType" <+> ppUnqConId nx t
--- <+> text "(declared in Instance module)"
--- *** Declare instance here
$$ text "instance SchemaType" <+> ppUnqConId nx t <+> text "where"
$$ nest 4 (text "parseSchemaType s = do"
$$ nest 4 (vcat (intersperse (text "`onFail`")
@@ -417,12 +414,6 @@
where
ppAbstrCons (name,Nothing) = con name <+> ppConId nx name
ppAbstrCons (name,Just mod) = con name <+> ppConId nx name
--- *** Declare FwdDecl type here (proxy for type declared in later module)
--- ppAbstrCons (name,Just mod) = text "forall q . (FwdDecl" <+>
--- fwd name <+> text "q," <+>
--- text "SchemaType q) =>" <+>
--- con name <+>
--- text "("<>fwd name<>text"->q)" <+> fwd name
ppParse (name,Nothing) = text "(fmap" <+> con name <+>
text "$ parseSchemaType s)"
ppParse (name,Just _) = ppParse (name,Nothing)

@ -1,49 +0,0 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haxml/haxml-1.13.2.ebuild,v 1.9 2007/12/13 17:57:57 dcoutts Exp $
CABAL_FEATURES="lib bin profile haddock"
inherit base haskell-cabal versionator
MY_PN=HaXml
MY_P=${MY_PN}-${PV}
DESCRIPTION="Haskell utilities for parsing, filtering, transforming and generating XML documents"
HOMEPAGE="http://www.haskell.org/HaXml/"
SRC_URI="http://www.haskell.org/HaXml/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~ia64 ppc ppc64 sparc x86"
IUSE=""
# actually, >=ghc-5.02 should be ok (if not using cabal)
# hugs and nhc98 are ok too, somebody might want to add support for them
DEPEND=">=dev-lang/ghc-6.2
>=dev-haskell/cabal-1.1.3-r1"
S=${WORKDIR}/${MY_P}
src_unpack() {
base_src_unpack
# Don't warn so much, and don't compile with -O2
sed -i 's/GHC-Options: -Wall -O2/GHC-Options: -O/' "${S}/HaXml.cabal"
# Add in the extra split-base deps
if version_is_at_least "6.8" "$(ghc-version)"; then
sed -i -e '/build-depends:/a \
, pretty, containers' \
"${S}/HaXml.cabal"
fi
}
src_install() {
cabal_src_install
if use doc; then
dohtml -r docs/*
dodoc docs/icfp99.dvi docs/icfp99.ps.gz
fi
}

@ -1,45 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haxml/haxml-1.13.3.ebuild,v 1.3 2012/09/12 15:20:42 qnikst Exp $
CABAL_FEATURES="lib bin profile haddock"
inherit haskell-cabal versionator
MY_PN="HaXml"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Utilities for manipulating XML documents"
HOMEPAGE="http://www.cs.york.ac.uk/fp/HaXml/"
SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
DEPEND=">=dev-lang/ghc-6.2"
S="${WORKDIR}/${MY_P}"
src_unpack() {
unpack ${A}
# Don't warn so much, and don't compile with -O2
sed -i 's/GHC-Options: -Wall -O2/GHC-Options: -O/' "${S}/HaXml.cabal"
# Unless ghc 6.8, remove the new packages
if ! version_is_at_least "6.8" "$(ghc-version)"; then
sed -i -e 's/, pretty, containers//' \
"${S}/HaXml.cabal"
fi
}
src_install() {
cabal_src_install
if use doc; then
dohtml -r docs/*
dodoc docs/icfp99.dvi docs/icfp99.ps.gz
fi
}

@ -1,32 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haxml/haxml-1.23.2.ebuild,v 1.2 2012/09/12 15:20:42 qnikst Exp $
EAPI=4
# ebuild generated by hackport 0.2.18.9999
CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
inherit base haskell-cabal
MY_PN="HaXml"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Utilities for manipulating XML documents"
HOMEPAGE="http://www.cs.york.ac.uk/fp/HaXml/"
SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
RDEPEND=">=dev-haskell/polyparse-1.5[profile?]
dev-haskell/random[profile?]
>=dev-lang/ghc-6.10.1"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.2"
S="${WORKDIR}/${MY_P}"
PATCHES=("${FILESDIR}/${PN}-1.23.2-haddock.patch")

@ -1,32 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haxml/haxml-1.23.3.ebuild,v 1.1 2012/11/18 12:35:04 gienah Exp $
EAPI=5
# ebuild generated by hackport 0.3.9999
CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
inherit base haskell-cabal
MY_PN="HaXml"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Utilities for manipulating XML documents"
HOMEPAGE="http://www.cs.york.ac.uk/fp/HaXml/"
SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
RDEPEND=">=dev-haskell/polyparse-1.5:=[profile?]
dev-haskell/random:=[profile?]
>=dev-lang/ghc-6.10.4:="
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.2"
S="${WORKDIR}/${MY_P}"
PATCHES=("${FILESDIR}/${PN}-1.23.3-haddock.patch")

@ -1,30 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haxml/haxml-1.23.ebuild,v 1.2 2012/09/12 15:20:42 qnikst Exp $
EAPI=4
CABAL_FEATURES="bin lib profile haddock hscolour hoogle"
inherit base haskell-cabal
MY_PN="HaXml"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Utilities for manipulating XML documents"
HOMEPAGE="http://www.cs.york.ac.uk/fp/HaXml/"
SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT=0
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
RDEPEND=">=dev-haskell/polyparse-1.5[profile?]
>=dev-lang/ghc-6.8.2"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.2"
S="${WORKDIR}/${MY_P}"
PATCHES=("${FILESDIR}/${PN}-1.23-fix-build.patch"
"${FILESDIR}/${PN}-1.23-haddock.patch")

@ -1,2 +1 @@
DIST idm-console-framework-1.1.5.tar.bz2 706718 SHA256 6d4d08955bab2bdbda624bca4c21486f310a4044cf5a8c47d0b3697ec99d9121 SHA512 48bd70f16a0d554c769ad79bf71478586543ad20a7fdd05248dd2a74d23412bc3e525bd6677aac1126c3be1ae31bf6145c783e6a5e275878dd2467be955cd4e5 WHIRLPOOL faa6fe9dba9894aa28d8751dca635165bce8102856cc875ce6e13ce167d8d4f108bea83c1a742791cd8604d49f9c021fc48e5c9201c1216c7a0cdabd1014eb40
DIST idm-console-framework-1.1.7.tar.bz2 708770 SHA256 0d3eb64b2a7ce349add244b1544fb18a3dbf04c40b09ef91ad1ad04b44286d5c SHA512 ce4441cbc9917f6ffd0ef6ced44c7ebc542c14db60e7c6eeb844f8c68cbb15fe533916b9ea363d1e865759138d92d38365e9172206c7cd0fa385f4bf443aa739 WHIRLPOOL 1fc8f1dd66e61ed3149e0cf36a76b22794e2836cf3ac95c7172a85bc4b69476d0785f2cd2da05add7e9e3db52acef89a86273715339798f9cf71d8d9f8be558a

@ -1,51 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/idm-console-framework/idm-console-framework-1.1.5.ebuild,v 1.4 2011/06/14 18:46:05 lxnay Exp $
EAPI="2"
JAVA_PKG_IUSE="doc examples source"
inherit java-pkg-2 eutils java-ant-2
DESCRIPTION="A Java Management Console framework used for remote server management"
HOMEPAGE="http://directory.fedoraproject.org/"
SRC_URI="http://directory.fedoraproject.org/sources/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="1.1"
KEYWORDS="~amd64 ~x86"
IUSE=""
COMMON_DEPEND="dev-java/jss:3.4
dev-java/ldapsdk:4.1"
RDEPEND=">=virtual/jre-1.6
${COMMON_DEPEND}"
DEPEND=">=virtual/jdk-1.6
${COMMON_DEPEND}"
src_prepare() {
java-pkg_jar-from ldapsdk-4.1 ldapjdk.jar
java-pkg_jar-from jss-3.4 xpclass.jar jss4.jar
}
src_compile() {
eant -Dbuilt.dir="${S}"/build \
-Dldapjdk.local.location="${S}" \
-Djss.local.location="${S}" ${antflags}
use doc && eant -Dbuilt.dir="${S}"/build \
-Dldapjdk.local.location="${S}" \
-Djss.local.location="${S}" ${antflags} javadoc
}
src_install() {
java-pkg_newjar "${S}"/build/release/jars/idm-console-mcc-${PV}.jar idm-console-mcc.jar
java-pkg_newjar "${S}"/build/release/jars/idm-console-mcc-${PV}_en.jar idm-console-mcc_en.jar
java-pkg_newjar "${S}"/build/release/jars/idm-console-nmclf-${PV}.jar idm-console-nmclf.jar
java-pkg_newjar "${S}"/build/release/jars/idm-console-nmclf-${PV}_en.jar idm-console-nmclf_en.jar
java-pkg_newjar "${S}"/build/release/jars/idm-console-base-${PV}.jar idm-console-base.jar
use doc && java-pkg_dojavadoc build/doc
use examples && java-pkg_doexamples examples
use source && java-pkg_dosrc src/com
}

@ -1,3 +1 @@
DIST bas-2.2.tar.gz 251580 SHA256 1172e03ac03d04f71ab410c534b638569c8970e7933b7a7620b5c06efc3c8f36 SHA512 5519e296d35fe8b117f5f5696a74618b4170b06a91d68ecd8ad256f393722eb4a4329c2fade00ba031964efd4ead50c8f6b45a4f684348aa368d6608f97bdb94 WHIRLPOOL a3cf33893731e423cc1d0e5ccf8e078908ad3af4d56e3f2c8498a7bb5455b3650cb86225468fdfe49a9efcfb23a84f1c0320ba081c0c62009a689e2613b994b7
DIST bas-2.3.tar.gz 255903 SHA256 4a6c1006f309049b2eb74bfa59cae0b90a78c01d9d3d436872d9afbd96f9155d SHA512 9cddcfa98efbc1566219f65d103c7c2d1123f1661c86e10da89b05130af61685e662220b7738fd33903391b40eb19c80d57c9d3f08ee9ee2713a01dd55ef327d WHIRLPOOL c114be3777aa99a96c6201274fa74b4f53f4f62824162331921ede430b1cf7d1901758ea11bcfd53d918e0c1d47d8a2c4cbda9f024fb5d458b4317fdd79f28b6
DIST bas-2.4.tar.gz 258055 SHA256 2a147dd75a80049c1e6030c97aadb03a31fdbb622d0e18bd7961d167c9b48fac SHA512 1a86805d1981a7bc920d7f6ab7827ee9f0ed9535b78b4c46718106e7abe0b1ef9298631e7e4d3d9bf206a8ca0e1239db48a9d94b0b85b71101aea0956d1454d7 WHIRLPOOL 15a1c8a7f00158e330c13998f00976ab10258d8dffb9689722cb01db7ddd62fd15b6a1cc8ad91368a578729e312088a34f29dcaf60b960e43736e3aa2ff8049d

@ -1,41 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/bas/bas-2.2.ebuild,v 1.1 2011/04/19 20:23:31 signals Exp $
EAPI=4
inherit autotools eutils toolchain-funcs
DESCRIPTION="An interpreter for the classic dialect of the programming language BASIC"
HOMEPAGE="http://www.moria.de/~michael/bas/"
SRC_URI="http://www.moria.de/~michael/bas/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="lr0"
RDEPEND="sys-libs/ncurses
virtual/libintl"
DEPEND="${RDEPEND}
sys-devel/gettext"
src_prepare() {
epatch \
"${FILESDIR}"/${PN}-2.1-configure.patch \
"${FILESDIR}"/${PN}-2.1-makefile.patch
eautoconf
}
src_configure() {
tc-export AR
econf \
$(use_enable lr0)
}
src_install() {
emake DESTDIR="${D}" install
dodoc NEWS README
insinto /usr/share/doc/${PF}/pdf
doins bas.pdf
}

@ -1,41 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/bas/bas-2.3.ebuild,v 1.1 2013/01/30 06:51:04 patrick Exp $
EAPI=4
inherit autotools eutils toolchain-funcs
DESCRIPTION="An interpreter for the classic dialect of the programming language BASIC"
HOMEPAGE="http://www.moria.de/~michael/bas/"
SRC_URI="http://www.moria.de/~michael/bas/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="lr0"
RDEPEND="sys-libs/ncurses
virtual/libintl"
DEPEND="${RDEPEND}
sys-devel/gettext"
src_prepare() {
epatch \
"${FILESDIR}"/${P}-configure.patch \
"${FILESDIR}"/${PN}-2.1-makefile.patch
eautoconf
}
src_configure() {
tc-export AR
econf \
$(use_enable lr0)
}
src_install() {
emake DESTDIR="${D}" install
dodoc NEWS README
insinto /usr/share/doc/${PF}/pdf
doins bas.pdf
}

@ -1,28 +0,0 @@
Remove hardcoded CFLAG -pipe
Remove hardcoded LDFLAG -g
Disable check for lrint to fix compile warning.
Patch by Kevin McCarthy <signals42@gmail.com>
--- configure.in
+++ configure.in
@@ -31,8 +31,8 @@
AC_PROG_CC
if test "$GCC" = yes
then
- CFLAGS="${CFLAGS} ${EXTRA_GCFLAGS}-pipe -Wall -Wno-unused -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common"
- LDFLAGS="${LDFLAGS} ${EXTRA_GLDFLAGS}-g"
+ CFLAGS="${CFLAGS} ${EXTRA_GCFLAGS} -Wall -Wno-unused -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common"
+ LDFLAGS="${LDFLAGS} ${EXTRA_GLDFLAGS}"
else
CFLAGS="${CFLAGS} ${EXTRA_CFLAGS}"
LDFLAGS="${LDFLAGS} ${EXTRA_LDFLAGS}"
@@ -65,7 +65,6 @@
exit 1
fi
-AC_CHECK_FUNCS(lrint)
AC_CHECK_FUNCS(nanosleep)
AC_CHECK_FUNCS(tgetent,have_tgetent=yes)

@ -1,21 +0,0 @@
--- configure.in 2012-08-30 16:29:25.000000000 +0800
+++ configure.in.new 2013-01-30 14:48:16.504664907 +0800
@@ -31,8 +31,8 @@
AC_PROG_CC
if test "$GCC" = yes
then
- CFLAGS="${CFLAGS} ${EXTRA_GCFLAGS}-pipe -Wall -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common"
- LDFLAGS="${LDFLAGS} ${EXTRA_GLDFLAGS}-g"
+ CFLAGS="${CFLAGS} ${EXTRA_GCFLAGS} -Wall -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common"
+ LDFLAGS="${LDFLAGS} ${EXTRA_GLDFLAGS}"
else
CFLAGS="${CFLAGS} ${EXTRA_CFLAGS}"
LDFLAGS="${LDFLAGS} ${EXTRA_LDFLAGS}"
@@ -66,7 +66,6 @@
fi
AC_CHECK_HEADERS(tgmath.h,have_tgmath_h=yes)
-AC_CHECK_FUNCS(lrint)
AC_CHECK_FUNCS(nanosleep)
AC_CHECK_FUNCS(tgetent,have_tgetent=yes)

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-7.6.3-r1.ebuild,v 1.10 2014/04/03 20:05:01 slyfox Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-7.6.3-r1.ebuild,v 1.11 2014/06/27 09:54:02 slyfox Exp $
# Brief explanation of the bootstrap logic:
#
@ -125,6 +125,9 @@ REQUIRED_USE="ia64? ( !gmp )"
use binary && QA_PREBUILT="*"
# haskell libraries built with cabal in configure mode, #515354
QA_CONFIGURE_OPTIONS+=" --with-compiler --with-gcc"
is_crosscompile() {
[[ ${CHOST} != ${CTARGET} ]]
}

@ -3,3 +3,4 @@ DIST nqp-2014.02.tar.gz 5045261 SHA256 92b0cadef5f7df90b079af451571b5b133320f60f
DIST nqp-2014.03.tar.gz 5047121 SHA256 11f5bd6de42f0256cc3e330f4ec7da6af7995187e41e6914e785538680e97733 SHA512 31cef80c94ee6b44a4d73964647fae50743a93552791356bb214ab9019135d28a418b0ef0e7d51fe96439e7460e00c9add20e94d23eeb4943f78935295a0a24b WHIRLPOOL 1e93bf56320542ffeaff220f489f337a107aa9d72c3bf2e894023f64d1d7839846b1429f7239d55f875da9d7f8e6174581178442d445656d7c3c06f04d6265f5
DIST nqp-2014.04.tar.gz 5057307 SHA256 a27c00b7d8b9d42cbc96e307a3cd0ffd2059b521fe0e793713aec61e98c01046 SHA512 6ae19c01fe6e11ec9a78db6b268e60a612875c31f878927afcdac4d30fbec5dfc100705c5dd918018371f368af2e15161932f667f79339325425d246134712d3 WHIRLPOOL 472d04ae7714e6e638cae545ad8d1c7b803da5aa12271e1a63cf5f86e93a21c77c1e5d5bf757d52fbe828d00e66bc68485d65293e5734571672dfc2f83135097
DIST nqp-2014.05.tar.gz 5010219 SHA256 c77665e97845d4f4413561b29da88737ab699722aebaef48e9bdaff3584772e0 SHA512 164fca1fa5cf34066b1bb25521dc34f8e9a6c7a32d5a7a6f06c85a33e4e31569a61bec142595001df7d4719b2901822b11cce8541c0ad549daf57d35bb808dc3 WHIRLPOOL 27dc99085c78973807401ff020fb9918189d945ce1d911a38bd322067475a53ac06206275816e978b1a148010da0f9d4603f50260694010beca281f5bb53bcea
DIST nqp-2014.06.tar.gz 5199811 SHA256 5d4274563c64f491b867c5d6b815bf234f2e86dbd32828dceab16461f8d532ac SHA512 33b2d8f870a670695600f50e276ea225b3fffb15a438953f092c5edbc9456e9a252bb693443deef843be27d85530730a68da68993d27e9e07970653e9d4cc9ff WHIRLPOOL ba218b6b232db7d5ffd6298ac3bc263f457fcb4dcd7a38e12f68ee4a189cd2d766dd05bf73449a0357ddefc1b5a835b451a298749a7682d5452d0791641627e1

@ -0,0 +1,53 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/nqp/nqp-2014.06.ebuild,v 1.1 2014/06/27 07:00:03 patrick Exp $
EAPI=5
inherit eutils multilib
GITCRAP=7792847
DESCRIPTION="Not Quite Perl, a Perl 6 bootstrapping compiler"
HOMEPAGE="http://rakudo.org/"
SRC_URI="http://github.com/perl6/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
#IUSE="doc +parrot java moar"
# doesn't build with parrot, disable temporarily
IUSE="doc java +moar"
REQUIRED_USE="|| ( java moar )"
RDEPEND="java? ( >=virtual/jre-1.7 )
moar? ( =dev-lang/moarvm-${PV} )"
DEPEND="${RDEPEND}
java? ( >=virtual/jdk-1.7 )
dev-lang/perl"
S=${WORKDIR}/perl6-nqp-${GITCRAP}
src_configure() {
use java && myconf+="jvm,"
use moar && myconf+="moar,"
perl Configure.pl --backend=${myconf} --prefix=/usr || die
}
src_compile() {
emake -j1 || die
}
src_test() {
emake -j1 test || die
}
src_install() {
emake DESTDIR="${ED}" install || die
dodoc CREDITS README.pod || die
if use doc; then
dodoc -r docs/* || die
fi
}

@ -1,3 +1,4 @@
DIST parrot-6.1.0.tar.gz 4602229 SHA256 87d25119c73acdb26f89ac4c68d73f3d996451ada51f3cb2cd4878b6f0e0a34c SHA512 f6945a44566cb4a4f6e4cc6c056ecb0038caf0b1b20927c12427ec24f22ba77d19043b403bde3d212324bc8f1fa83fa619661255a13e13d7066bbeb1f407b74f WHIRLPOOL cac154c3d8c78ba9ac1b86144c809261229e16fa86236303cce193ca726c914ab39aa5dc093f2678e63d117a6628242f50b936430c9a2b774203d0382f6af179
DIST parrot-6.2.0.tar.gz 4608819 SHA256 a4c97e5974cf6e6ee1e34317aafd2d87a3bd63730098a050d4f09802b13da814 SHA512 a6d99285fc4158faef783b28c6dba441abc3ced513569880d9986fdd6b48d020ffb38792dc4e0fbb843c11b58b969f063387a7e7179181e3bc3db253ab761291 WHIRLPOOL 3fde9a41d124088d8c220932e0fd8b6fd6336a524f7337f6a87be01993cbd71388fbda4ee91960dc81543f4d7266c95f617d0e32b6c487dbf7993ea0f62d3a4f
DIST parrot-6.3.0.tar.gz 4598294 SHA256 42aa409fa82d827019ebd218e8f9501b50e04ee81f3ccf705e03f59611317a1b SHA512 5b74c6f6d2044a49a1787a7e5b1b13c9367fc61452aafc8e4021d91080d569ec67e6017b044388b951abeb50391aef49fd88c35c8015a2cfd818cb08a1cce155 WHIRLPOOL 99461589a43f0e543496305010ae7861b66199f071a2adeca40649c3dbd4e8bed910560e7da883e463e4a212cf3f0d0840c71f482c5bdf8be6d773bd0749d931
DIST parrot-6.5.0.tar.gz 4615454 SHA256 249047f8fc2041ce460d3524547c10faf4462facdffd6b4f9b42f250640c79de SHA512 a1be39a3c65134c190d63b4c711c6d8f94c064f5454b0f12bac1f698598ecffa079a101bbb8eb4cc4e30be2d6257093a6afb99ada4c478cf990de2574667d408 WHIRLPOOL f13f46b194a9d4e31db4e289b3c1baac0b0276fd40027423b8c891ab5e6d4da1eb1e2b10d52329280fc70cdf0a9d82ed3606a51f7e238ae9b34d1424e3dd1c77

@ -0,0 +1,82 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/parrot-6.5.0.ebuild,v 1.1 2014/06/27 06:34:08 patrick Exp $
EAPI=5
inherit eutils multilib
# weird failures
RESTRICT="test"
DESCRIPTION="Virtual machine designed to efficiently compile and execute bytecode for dynamic languages"
HOMEPAGE="http://www.parrot.org/"
SRC_URI="ftp://ftp.parrot.org/pub/parrot/releases/all/${PV}/${P}.tar.gz"
LICENSE="Artistic-2"
SLOT="0/6.1.0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="opengl nls doc examples gdbm gmp ssl +unicode pcre"
RDEPEND="sys-libs/readline
opengl? ( media-libs/freeglut )
nls? ( sys-devel/gettext )
unicode? ( >=dev-libs/icu-2.6:= )
gdbm? ( >=sys-libs/gdbm-1.8.3-r1 )
gmp? ( >=dev-libs/gmp-4.1.4 )
ssl? ( dev-libs/openssl )
pcre? ( dev-libs/libpcre )
doc? ( dev-perl/JSON )"
DEPEND="dev-lang/perl[doc?]
${RDEPEND}"
src_configure() {
myconf="--disable-rpath"
use unicode || myconf+=" --without-icu"
use ssl || myconf+=" --without-crypto"
use gdbm || myconf+=" --without-gdbm"
use nls || myconf+=" --without-gettext"
use gmp || myconf+=" --without-gmp"
use opengl || myconf+=" --without-opengl"
use pcre || myconf+=" --without-pcre"
perl Configure.pl \
--ccflags="${CFLAGS}" \
--linkflags="${LDFLAGS}" \
--prefix="${EPREFIX}"/usr \
--libdir="${EPREFIX}"/usr/$(get_libdir) \
--mandir="${EPREFIX}"/usr/share/man \
--sysconfdir="${EPREFIX}"/etc \
--sharedstatedir="${EPREFIX}"/var/lib/parrot \
$myconf || die
}
src_compile() {
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"${S}"/blib/lib
# occasionally dies in parallel make
emake -j1 || die
if use doc ; then
emake -j1 html || die
fi
}
src_test() {
emake -j1 test || die
}
src_install() {
emake -j1 install-dev DESTDIR="${D}" DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" || die
dodoc CREDITS DONORS.pod PBC_COMPAT PLATFORMS RESPONSIBLE_PARTIES TODO || die
if use examples; then
insinto "/usr/share/doc/${PF}/examples"
doins -r examples/* || die
fi
if use doc; then
insinto "/usr/share/doc/${PF}/editor"
doins -r editor || die
cd docs/html
dohtml -r developer.html DONORS.pod.html index.html ops.html parrotbug.html pdds.html \
pmc.html tools.html docs src tools || die
fi
}

@ -1,8 +1,10 @@
DIST php-5.3.28.tar.bz2 11051714 SHA256 0cac960c651c4fbb3d21cf2f2b279a06e21948fb35a0d1439b97296cac1d8513 SHA512 84b58379ca12748ae2c9ba37de28c80e78bf8e5b96cf9715b1eafd297a3e155089e9560d6fee7b031be0139dcbe954a9c0717b583ff1fb1cd8a89308b5f6dfd3 WHIRLPOOL 6912417784ae11bc3a9134378b5db5d0ee96cdee11e78929162f61f2104870a1d67b559fc3ff3513200a37a1cae0e83e88f1ba0fb5c07f9fb11844e935101dbf
DIST php-5.4.28.tar.bz2 12266216 SHA256 3fe780e5179e90c4d37276e79acc0d0692f1bc0911985af694b92c664c0ef3c4 SHA512 6d2bfc8fff353b44c9b283b37ff23eecb0825f616953751bc78f6c32666884115a64c0bfdcf561de8504d9057b70e0a7b52f5c12f906a3acd709010b1d347b3c WHIRLPOOL 75c01b29839125efded00d3eac9d801ad50b6edc732e081ff4fb5046c013c8027350bd9db14a8b951ad51ba4632ff4dfce50a4a6c604b061b7c8c8d85e9429f6
DIST php-5.4.29.tar.bz2 12293765 SHA256 62ce3ca063cf04f6065eeac82117e43b44e20487bc0a0a8d05436e17a0b1e2a7 SHA512 bfde669baba0cba50e0986cb6b819abf2a3c33ff5fd5b0c508565bdf9491ada6496681bb2551174415336696556bb61ff1258579beddd4583bcc7df551545ecf WHIRLPOOL 584e41c93d06055a2643df2b0727d2358dcb57289e56a9928c3a840931b23d9faa1b93cc4f5adea0faccb26daf6355743ca21af863be0585439ab0f7e136a1e5
DIST php-5.4.30.tar.bz2 12315772 SHA256 32b83644e42d57388d6e5ec700c3502cde5f5e1207395b1e361e4cb2ce496ce6 SHA512 02e1fdc49420cdf3611503e3f65ad7272fe069f9a3be4edad8ad142bed42658cef25e97dbdab4e99a3f85874505e47dafd15bfe008663e31ad5fcb78e0929a17 WHIRLPOOL 0da8e3564d34766d6e63bcbb62fccdd8f383eb19166b606693b753eeddb9f6f21bd6c018ea8d1cd948805fa30f5f0ac4bec2c38fbf1eb2aeb2f852406016bef4
DIST php-5.5.12.tar.bz2 13251734 SHA256 519ee29e28532782676f3d8e31a808ffbfee383e0279ccc8cbd2b12ed53c2335 SHA512 aa576b2a89503c741c90ae69751be094856775b00e8337f6ca95befda85fa300011ce7a3833e01cde11017a1f3107fd6d6f1b9ee2fbb52a2af8ff166247685c9 WHIRLPOOL d2a3440e4ae5ea9e535bdd1d5795a3e0c00cb585878cceee4274706c66b623dc22102f2b4053f0180f28e2806dc57db910aeecb0398f43c5cd9d14f6130045ab
DIST php-5.5.13.tar.bz2 13274145 SHA256 e58a4a754eb18d2d8b1a120cad5cce4ed24a7db5d49eca5830a40e4c8ca78b9c SHA512 0c82635d73b328c5798163dba2b293fc1ad976793a9fac21a36840594c4f26d5a6582ba437f54bfaacf1fde3df2d09366b106bb555cb42a29097e6ad33ac36d9 WHIRLPOOL 65c7e6e80f07e7738af78922103918b36eb65dcac06b8334911e82c2a3f1820dfb5e484804937a995c148b65568b3146081cfecd96efb669bfb9c1f36da72fa4
DIST php-5.5.14.tar.bz2 13282773 SHA256 df5a057877f827549e0a60b43fb01e4bd440814bcf04fbd70bacbddf74482610 SHA512 344d65e2bb1dfb1e663782e6ee74818d8792790d7ebcde1ada84282430588c5649caa2d149fee93511e49446425500c91fcaafe046e0db722cb4f4fd52d74e7d WHIRLPOOL a462c334d98f621410989236aa348a25234770c3ee12a84a4e3128110c88e066e9eae773974b7a6e44670c7d05ce933a73863b6e39a89d352c0cf63ade36fcac
DIST php-5.6.0RC1.tar.bz2 13480421 SHA256 695f28e5b0751bd583986d79759b3b76871cb9bf6624bd5e8ce6bd1e64e183d7 SHA512 06ed1d4d61c9add5794c8781968319b92e4220b80e2d3eb93f585273872cbec1e2e2a458907bab8be6a07c1ce172e42c7700d7ee3527d8a974a3f5233bd0fe82 WHIRLPOOL 1634f63daef4d3b09e312a93824cc04903b621f690e1451c4cab1a050026ed3910403686061bd2f3d7cc1de3c754a2c9d36973e1c465a7851103dcb8df5ffb69
DIST php-5.6.0alpha1.tar.bz2 12989378 SHA256 17123fd1b07aa1cd16eedc9ae653dfbd560e2b7da95961f546334fda14bba804 SHA512 3cfa54c724f41790d2bbef5d9f5552ec17d6d5fdc75356ba41f747e161d5112ce46fc32f7300897227b61a959f6973558f8d67c7eb669d866569c44ad7507140 WHIRLPOOL f3fcfae2782e6de86e84913c2daaeefc03dd39796143c8001753b9e1dbd923c4f28f39beb81c05cca71d0642db283102f1dee3b4788791d6f478010335595a3e
DIST php-5.6.0beta1.tar.bz2 13358124 SHA256 85e101acdfa15da3cce63a9d18bbaa92c2f1507246305bd20baf1e5824596d7f SHA512 bc013d2dd6a356519368f9d8486b74660224689a017251df88de849f79f1fbe4ff0d3b4324581bbf37894668359a4131304adf6bc4fb8fa1a5301318c1461239 WHIRLPOOL cf97ee5b2fc744aee8f0458ac271e1a92df73c7e0c165a53017bfebbaf2802ef542929aa3dc63ee880d43c9381a62b26cb34585ff6c842a6e6ccabacd62c3b8a

@ -0,0 +1,801 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.4.30.ebuild,v 1.1 2014/06/27 10:40:39 olemarkus Exp $
EAPI=5
inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool systemd
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
function php_get_uri ()
{
case "${1}" in
"php-pre")
echo "http://downloads.php.net/stas/${2}"
;;
"php")
echo "http://www.php.net/distributions/${2}"
;;
"olemarkus")
echo "http://dev.gentoo.org/~olemarkus/php/${2}"
;;
"gentoo")
echo "mirror://gentoo/${2}"
;;
*)
die "unhandled case in php_get_uri"
;;
esac
}
PHP_MV="$(get_major_version)"
SLOT="$(get_version_component_range 1-2)"
# alias, so we can handle different types of releases (finals, rcs, alphas,
# betas, ...) w/o changing the whole ebuild
PHP_PV="${PV/_rc/RC}"
PHP_PV="${PHP_PV/_alpha/alpha}"
PHP_PV="${PHP_PV/_beta/beta}"
PHP_RELEASE="php"
[[ ${PV} == ${PV/_alpha/} ]] || PHP_RELEASE="php-pre"
[[ ${PV} == ${PV/_beta/} ]] || PHP_RELEASE="php-pre"
[[ ${PV} == ${PV/_rc/} ]] || PHP_RELEASE="php-pre"
PHP_P="${PN}-${PHP_PV}"
PHP_PATCHSET_LOC="olemarkus"
PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")"
PHP_PATCHSET="2"
PHP_PATCHSET_URI="
$(php_get_uri "${PHP_PATCHSET_LOC}" "php-patchset-${SLOT}-r${PHP_PATCHSET}.tar.bz2")"
PHP_FPM_INIT_VER="4"
PHP_FPM_CONF_VER="1"
SRC_URI="
${PHP_SRC_URI}
${PHP_PATCHSET_URI}"
DESCRIPTION="The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs."
HOMEPAGE="http://php.net/"
LICENSE="PHP-3"
S="${WORKDIR}/${PHP_P}"
# We can build the following SAPIs in the given order
SAPIS="embed cli cgi fpm apache2"
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
IUSE="${IUSE}
${SAPIS/cli/+cli}
threads"
IUSE="${IUSE} bcmath berkdb bzip2 calendar cdb cjk
crypt +ctype curl curlwrappers debug
enchant exif +fileinfo +filter firebird
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit mhash
mssql mysql mysqlnd mysqli nls
oci8-instant-client odbc pcntl pdo +phar +posix postgres qdbm
readline recode selinux +session sharedmem
+simplexml snmp soap sockets spell sqlite ssl
sybase-ct sysvipc systemd tidy +tokenizer truetype unicode wddx
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib"
DEPEND="
>=app-admin/eselect-php-0.7.1-r3[apache2?,fpm?]
>=dev-libs/libpcre-8.32[unicode]
apache2? ( www-servers/apache[threads=] )
berkdb? ( =sys-libs/db-4* )
bzip2? ( app-arch/bzip2 )
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
cjk? ( !gd? (
virtual/jpeg:0
media-libs/libpng:0=
sys-libs/zlib
) )
crypt? ( >=dev-libs/libmcrypt-2.4 )
curl? ( >=net-misc/curl-7.10.5 )
enchant? ( app-text/enchant )
exif? ( !gd? (
virtual/jpeg:0
media-libs/libpng:0=
sys-libs/zlib
) )
firebird? ( dev-db/firebird )
gd? ( virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
gdbm? ( >=sys-libs/gdbm-1.8.0 )
gmp? ( >=dev-libs/gmp-4.1.2 )
iconv? ( virtual/libiconv )
imap? ( virtual/imap-c-client[ssl=] )
intl? ( dev-libs/icu:= )
iodbc? ( dev-db/libiodbc )
kerberos? ( virtual/krb5 )
ldap? ( >=net-nds/openldap-1.2.11 )
ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 )
libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) )
mssql? ( dev-db/freetds[mssql] )
!mysqlnd? (
mysql? ( virtual/mysql )
mysqli? ( >=virtual/mysql-4.1 )
)
nls? ( sys-devel/gettext )
oci8-instant-client? ( dev-db/oracle-instantclient-basic )
odbc? ( >=dev-db/unixODBC-1.8.13 )
postgres? ( dev-db/postgresql-base )
qdbm? ( dev-db/qdbm )
readline? ( sys-libs/readline )
recode? ( app-text/recode )
sharedmem? ( dev-libs/mm )
simplexml? ( >=dev-libs/libxml2-2.6.8 )
snmp? ( >=net-analyzer/net-snmp-5.2 )
soap? ( >=dev-libs/libxml2-2.6.8 )
spell? ( >=app-text/aspell-0.50 )
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
ssl? ( >=dev-libs/openssl-0.9.7 )
sybase-ct? ( dev-db/freetds )
tidy? ( app-text/htmltidy )
truetype? (
=media-libs/freetype-2*
>=media-libs/t1lib-5.0.0
!gd? (
virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
)
unicode? ( dev-libs/oniguruma )
wddx? ( >=dev-libs/libxml2-2.6.8 )
xml? ( >=dev-libs/libxml2-2.6.8 )
xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv )
xmlreader? ( >=dev-libs/libxml2-2.6.8 )
xmlwriter? ( >=dev-libs/libxml2-2.6.8 )
xpm? (
x11-libs/libXpm
virtual/jpeg:0
media-libs/libpng:0= sys-libs/zlib
)
xslt? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
zip? ( sys-libs/zlib )
zlib? ( sys-libs/zlib )
virtual/mta
"
php="=${CATEGORY}/${PF}"
REQUIRED_USE="
truetype? ( gd )
cjk? ( gd )
exif? ( gd )
xpm? ( gd )
gd? ( zlib )
simplexml? ( xml )
soap? ( xml )
wddx? ( xml )
xmlrpc? ( || ( xml iconv ) )
xmlreader? ( xml )
xslt? ( xml )
ldap-sasl? ( ldap )
mhash? ( hash )
phar? ( hash )
mysqlnd? ( || (
mysql
mysqli
pdo
) )
qdbm? ( !gdbm )
readline? ( !libedit )
recode? ( !imap !mysql !mysqli )
sharedmem? ( !threads )
!cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )"
RDEPEND="${DEPEND}"
RDEPEND="${RDEPEND}
fpm? (
selinux? ( sec-policy/selinux-phpfpm )
systemd? ( sys-apps/systemd ) )"
DEPEND="${DEPEND}
sys-devel/flex
>=sys-devel/m4-1.4.3
>=sys-devel/libtool-1.5.18"
# Allow users to install production version if they want to
case "${PHP_INI_VERSION}" in
production|development)
;;
*)
PHP_INI_VERSION="development"
;;
esac
PHP_INI_UPSTREAM="php.ini-${PHP_INI_VERSION}"
PHP_INI_FILE="php.ini"
want_apache
pkg_setup() {
depend.apache_pkg_setup
}
php_install_ini() {
local phpsapi="${1}"
# work out where we are installing the ini file
php_set_ini_dir "${phpsapi}"
local phpinisrc="${PHP_INI_UPSTREAM}-${phpsapi}"
cp "${PHP_INI_UPSTREAM}" "${phpinisrc}"
# default to /tmp for save_path, bug #282768
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}"
# Set the extension dir
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" -i "${phpinisrc}"
# Set the include path to point to where we want to find PEAR packages
sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:'"${EPREFIX}"'/usr/share/php'${PHP_MV}':'"${EPREFIX}"'/usr/share/php"|' -i "${phpinisrc}"
if use_if_iuse opcache; then
elog "Adding opcache to ${phpinisrc}"
echo "zend_extension=${PHP_DESTDIR}/$(get_libdir)/opcache.so" >> ${phpinisrc}
fi
dodir "${PHP_INI_DIR#${EPREFIX}}"
insinto "${PHP_INI_DIR#${EPREFIX}}"
newins "${phpinisrc}" "${PHP_INI_FILE}"
elog "Installing php.ini for ${phpsapi} into ${PHP_INI_DIR#${EPREFIX}}"
elog
dodir "${PHP_EXT_INI_DIR#${EPREFIX}}"
dodir "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}"
# SAPI-specific handling
if [[ "${sapi}" == "fpm" ]] ; then
[[ -z ${PHP_FPM_CONF_VER} ]] && PHP_FPM_CONF_VER=0
einfo "Installing FPM CGI config file php-fpm.conf"
insinto "${PHP_INI_DIR#${EPREFIX}}"
newins "${FILESDIR}/php-fpm-r${PHP_FPM_CONF_VER}.conf" php-fpm.conf
# Remove bogus /etc/php-fpm.conf.default (bug 359906)
[[ -f "${ED}/etc/php-fpm.conf.default" ]] && rm "${ED}/etc/php-fpm.conf.default"
fi
# Install PHP ini files into /usr/share/php
dodoc php.ini-development
dodoc php.ini-production
}
php_set_ini_dir() {
PHP_INI_DIR="${EPREFIX}/etc/php/${1}-php${SLOT}"
PHP_EXT_INI_DIR="${PHP_INI_DIR}/ext"
PHP_EXT_INI_DIR_ACTIVE="${PHP_INI_DIR}/ext-active"
}
src_prepare() {
# USE=sharedmem (session/mod_mm to be exact) tries to mmap() this path
# ([empty session.save_path]/session_mm_[sapi][gid].sem)
# there is no easy way to circumvent that, all php calls during
# install use -n, so no php.ini file will be used.
# As such, this is the easiest way to get around
addpredict /session_mm_cli250.sem
addpredict /session_mm_cli0.sem
# Change PHP branding
# Get the alpha/beta/rc version
sed -re "s|^(PHP_EXTRA_VERSION=\").*(\")|\1-pl${PR/r/}-gentoo\2|g" \
-i configure.in || die "Unable to change PHP branding"
# Patch PHP to show Gentoo as the server platform
sed -e 's/PHP_UNAME=`uname -a | xargs`/PHP_UNAME=`uname -s -n -r -v | xargs`/g' \
-i configure.in || die "Failed to fix server platform name"
# Prevent PHP from activating the Apache config,
# as we will do that ourselves
sed -i \
-e "s,-i -a -n php${PHP_MV},-i -n php${PHP_MV},g" \
-e "s,-i -A -n php${PHP_MV},-i -n php${PHP_MV},g" \
configure sapi/apache2filter/config.m4 sapi/apache2handler/config.m4
# Patch PHP to support heimdal instead of mit-krb5
if has_version "app-crypt/heimdal" ; then
sed -e 's|gssapi_krb5|gssapi|g' -i acinclude.m4 \
|| die "Failed to fix heimdal libname"
sed -e 's|PHP_ADD_LIBRARY(k5crypto, 1, $1)||g' -i acinclude.m4 \
|| die "Failed to fix heimdal crypt library reference"
fi
#Add user patches #357637
epatch_user
#force rebuilding aclocal.m4
rm aclocal.m4
eautoreconf
if [[ ${CHOST} == *-darwin* ]] ; then
# http://bugs.php.net/bug.php?id=48795, bug #343481
sed -i -e '/BUILD_CGI="\\$(CC)/s/CC/CXX/' configure || die
fi
}
src_configure() {
addpredict /usr/share/snmp/mibs/.index
addpredict /var/lib/net-snmp/mib_indexes
PHP_DESTDIR="${EPREFIX}/usr/$(get_libdir)/php${SLOT}"
# This is a global variable and should be in caps. It isn't because the
# phpconfutils eclass relies on exactly this name...
# for --with-libdir see bug #327025
my_conf="
--prefix="${PHP_DESTDIR}"
--mandir="${PHP_DESTDIR}"/man
--infodir="${PHP_DESTDIR}"/info
--libdir="${PHP_DESTDIR}"/lib
--with-libdir=$(get_libdir)
--without-pear
$(use_enable threads maintainer-zts)"
# extension USE flag shared
my_conf+="
$(use_enable bcmath bcmath )
$(use_with bzip2 bz2 "${EPREFIX}"/usr)
$(use_enable calendar calendar )
$(use_enable ctype ctype )
$(use_with curl curl "${EPREFIX}"/usr)
$(use_with curlwrappers curlwrappers "${EPREFIX}"/usr)
$(use_enable xml dom )
$(use_with enchant enchant "${EPREFIX}"/usr)
$(use_enable exif exif )
$(use_enable fileinfo fileinfo )
$(use_enable filter filter )
$(use_enable ftp ftp )
$(use_with nls gettext "${EPREFIX}"/usr)
$(use_with gmp gmp "${EPREFIX}"/usr)
$(use_enable hash hash )
$(use_with mhash mhash "${EPREFIX}"/usr)
$(use_with iconv iconv $(use elibc_glibc || echo "${EPREFIX}"/usr))
$(use_enable intl intl )
$(use_enable ipv6 ipv6 )
$(use_enable json json )
$(use_with kerberos kerberos "${EPREFIX}"/usr)
$(use_enable xml libxml )
$(use_with xml libxml-dir "${EPREFIX}"/usr)
$(use_enable unicode mbstring )
$(use_with crypt mcrypt "${EPREFIX}"/usr)
$(use_with mssql mssql "${EPREFIX}"/usr)
$(use_with unicode onig "${EPREFIX}"/usr)
$(use_with ssl openssl "${EPREFIX}"/usr)
$(use_with ssl openssl-dir "${EPREFIX}"/usr)
$(use_enable pcntl pcntl )
$(use_enable phar phar )
$(use_enable pdo pdo )
$(use_with postgres pgsql "${EPREFIX}"/usr)
$(use_enable posix posix )
$(use_with spell pspell "${EPREFIX}"/usr)
$(use_with recode recode "${EPREFIX}"/usr)
$(use_enable simplexml simplexml )
$(use_enable sharedmem shmop )
$(use_with snmp snmp "${EPREFIX}"/usr)
$(use_enable soap soap )
$(use_enable sockets sockets )
$(use_with sqlite sqlite3 "${EPREFIX}"/usr)
$(use_with sybase-ct sybase-ct "${EPREFIX}"/usr)
$(use_enable sysvipc sysvmsg )
$(use_enable sysvipc sysvsem )
$(use_enable sysvipc sysvshm )
$(use_with systemd fpm-systemd)
$(use_with tidy tidy "${EPREFIX}"/usr)
$(use_enable tokenizer tokenizer )
$(use_enable wddx wddx )
$(use_enable xml xml )
$(use_enable xmlreader xmlreader )
$(use_enable xmlwriter xmlwriter )
$(use_with xmlrpc xmlrpc)
$(use_with xslt xsl "${EPREFIX}"/usr)
$(use_enable zip zip )
$(use_with zlib zlib "${EPREFIX}"/usr)
$(use_enable debug debug )"
# DBA support
if use cdb || use berkdb || use flatfile || use gdbm || use inifile \
|| use qdbm ; then
my_conf="${my_conf} --enable-dba${shared}"
fi
# DBA drivers support
my_conf+="
$(use_with cdb cdb)
$(use_with berkdb db4 ${EPREFIX}/usr)
$(use_enable flatfile flatfile )
$(use_with gdbm gdbm ${EPREFIX}/usr)
$(use_enable inifile inifile )
$(use_with qdbm qdbm ${EPREFIX}/usr)"
# Support for the GD graphics library
my_conf+="
$(use_with truetype freetype-dir ${EPREFIX}/usr)
$(use_with truetype t1lib ${EPREFIX}/usr)
$(use_enable cjk gd-jis-conv )
$(use_with gd jpeg-dir ${EPREFIX}/usr)
$(use_with gd png-dir ${EPREFIX}/usr)
$(use_with xpm xpm-dir ${EPREFIX}/usr)"
# enable gd last, so configure can pick up the previous settings
my_conf+="
$(use_with gd gd)"
# IMAP support
if use imap ; then
my_conf+="
$(use_with imap imap ${EPREFIX}/usr)
$(use_with ssl imap-ssl ${EPREFIX}/usr)"
fi
# Interbase/firebird support
if use firebird ; then
my_conf+="
$(use_with firebird interbase ${EPREFIX}/usr)"
fi
# LDAP support
if use ldap ; then
my_conf+="
$(use_with ldap ldap ${EPREFIX}/usr)
$(use_with ldap-sasl ldap-sasl ${EPREFIX}/usr)"
fi
# MySQL support
if use mysql ; then
if use mysqlnd ; then
my_conf+="
$(use_with mysql mysql mysqlnd)"
else
my_conf+="
$(use_with mysql mysql ${EPREFIX}/usr)"
fi
my_conf+="
$(use_with mysql mysql-sock ${EPREFIX}/var/run/mysqld/mysqld.sock)"
fi
# MySQLi support
if use mysqlnd ; then
my_conf+="
$(use_with mysqli mysqli mysqlnd)"
else
my_conf+="
$(use_with mysqli mysqli ${EPREFIX}/usr/bin/mysql_config)"
fi
# ODBC support
if use odbc ; then
my_conf+="
$(use_with odbc unixODBC ${EPREFIX}/usr)"
fi
if use iodbc ; then
my_conf+="
$(use_with iodbc iodbc ${EPREFIX}/usr)"
fi
# Oracle support
if use oci8-instant-client ; then
my_conf+="
$(use_with oci8-instant-client oci8)"
fi
# PDO support
if use pdo ; then
my_conf+="
$(use_with mssql pdo-dblib )"
if use mysqlnd ; then
my_conf+="
$(use_with mysqlnd pdo-mysql mysqlnd)"
else
my_conf+="
$(use_with mysql pdo-mysql ${EPREFIX}/usr)"
fi
my_conf+="
$(use_with postgres pdo-pgsql )
$(use_with sqlite pdo-sqlite ${EPREFIX}/usr)
$(use_with odbc pdo-odbc unixODBC,${EPREFIX}/usr)"
if use oci8-instant-client ; then
my_conf+="
$(use_with oci8-instant-client pdo-oci)"
fi
fi
# readline/libedit support
my_conf+="
$(use_with readline readline ${EPREFIX}/usr)
$(use_with libedit libedit ${EPREFIX}/usr)"
# Session support
if use session ; then
my_conf+="
$(use_with sharedmem mm ${EPREFIX}/usr)"
else
my_conf+="
$(use_enable session session )"
fi
# Use pic for shared modules such as apache2's mod_php
my_conf="${my_conf} --with-pic"
# we use the system copy of pcre
# --with-pcre-regex affects ext/pcre
# --with-pcre-dir affects ext/filter and ext/zip
my_conf="${my_conf} --with-pcre-regex=${EPREFIX}/usr --with-pcre-dir=${EPREFIX}/usr"
# Catch CFLAGS problems
# Fixes bug #14067.
# Changed order to run it in reverse for bug #32022 and #12021.
replace-cpu-flags "k6*" "i586"
# Support user-passed configuration parameters
my_conf="${my_conf} ${EXTRA_ECONF:-}"
# Support the Apache2 extras, they must be set globally for all
# SAPIs to work correctly, especially for external PHP extensions
mkdir -p "${WORKDIR}/sapis-build"
for one_sapi in $SAPIS ; do
use "${one_sapi}" || continue
php_set_ini_dir "${one_sapi}"
cp -r "${S}" "${WORKDIR}/sapis-build/${one_sapi}"
cd "${WORKDIR}/sapis-build/${one_sapi}"
sapi_conf="${my_conf} --with-config-file-path=${PHP_INI_DIR}
--with-config-file-scan-dir=${PHP_EXT_INI_DIR_ACTIVE}"
for sapi in $SAPIS ; do
case "$sapi" in
cli|cgi|embed|fpm)
if [[ "${one_sapi}" == "${sapi}" ]] ; then
sapi_conf="${sapi_conf} --enable-${sapi}"
else
sapi_conf="${sapi_conf} --disable-${sapi}"
fi
;;
apache2)
if [[ "${one_sapi}" == "${sapi}" ]] ; then
sapi_conf="${sapi_conf} --with-apxs2=${EPREFIX}/usr/sbin/apxs"
else
sapi_conf="${sapi_conf} --without-apxs2"
fi
;;
esac
done
econf ${sapi_conf}
done
}
src_compile() {
# snmp seems to run during src_compile, too (bug #324739)
addpredict /usr/share/snmp/mibs/.index
addpredict /var/lib/net-snmp/mib_indexes
for sapi in ${SAPIS} ; do
if use "${sapi}"; then
cd "${WORKDIR}/sapis-build/$sapi" || "Failed to change dir to ${WORKDIR}/sapis-build/$1"
emake || die "emake failed"
fi
done
}
src_install() {
# see bug #324739 for what happens when we don't have that
addpredict /usr/share/snmp/mibs/.index
# grab the first SAPI that got built and install common files from there
local first_sapi=""
for sapi in $SAPIS ; do
if use $sapi ; then
first_sapi=$sapi
break
fi
done
# Makefile forgets to create this before trying to write to it...
dodir "${PHP_DESTDIR#${EPREFIX}}/bin"
# Install php environment (without any sapis)
cd "${WORKDIR}/sapis-build/$first_sapi"
emake INSTALL_ROOT="${D}" \
install-build install-headers install-programs \
|| die "emake install failed"
local extension_dir="$("${ED}/${PHP_DESTDIR#${EPREFIX}}/bin/php-config" --extension-dir)"
# Create the directory where we'll put version-specific php scripts
keepdir /usr/share/php${PHP_MV}
local sapi="", file=""
local sapi_list=""
for sapi in ${SAPIS}; do
if use "${sapi}" ; then
einfo "Installing SAPI: ${sapi}"
cd "${WORKDIR}/sapis-build/${sapi}"
if [[ "${sapi}" == "apache2" ]] ; then
# We're specifically not using emake install-sapi as libtool
# may cause unnecessary relink failures (see bug #351266)
insinto "${PHP_DESTDIR#${EPREFIX}}/apache2/"
newins ".libs/libphp5$(get_libname)" "libphp${PHP_MV}$(get_libname)"
keepdir "/usr/$(get_libdir)/apache2/modules"
else
# needed each time, php_install_ini would reset it
local dest="${PHP_DESTDIR#${EPREFIX}}"
into "${dest}"
case "$sapi" in
cli)
source="sapi/cli/php"
;;
cgi)
source="sapi/cgi/php-cgi"
;;
fpm)
source="sapi/fpm/php-fpm"
;;
embed)
source="libs/libphp${PHP_MV}$(get_libname)"
;;
*)
die "unhandled sapi in src_install"
;;
esac
if [[ "${source}" == *"$(get_libname)" ]]; then
dolib.so "${source}" || die "Unable to install ${sapi} sapi"
else
dobin "${source}" || die "Unable to install ${sapi} sapi"
local name="$(basename ${source})"
dosym "${dest}/bin/${name}" "/usr/bin/${name}${SLOT}"
fi
fi
php_install_ini "${sapi}"
# construct correct SAPI string for php-config
# thanks to ferringb for the bash voodoo
if [[ "${sapi}" == "apache2" ]]; then
sapi_list="${sapi_list:+${sapi_list} }apache2handler"
else
sapi_list="${sapi_list:+${sapi_list} }${sapi}"
fi
fi
done
# Installing opcache module
if use_if_iuse opcache ; then
dolib.so "modules/opcache$(get_libname)" || die "Unable to install opcache module"
fi
# Install env.d files
newenvd "${FILESDIR}/20php5-envd" \
"20php${SLOT}"
sed -e "s|/lib/|/$(get_libdir)/|g" -i \
"${ED}/etc/env.d/20php${SLOT}"
sed -e "s|php5|php${SLOT}|g" -i \
"${ED}/etc/env.d/20php${SLOT}"
# set php-config variable correctly (bug #278439)
sed -e "s:^\(php_sapis=\)\".*\"$:\1\"${sapi_list}\":" -i \
"${ED}/usr/$(get_libdir)/php${SLOT}/bin/php-config"
if use fpm ; then
if use systemd; then
systemd_newunit "${FILESDIR}/php-fpm_at.service" "php-fpm@${SLOT}.service"
else
systemd_newunit "${FILESDIR}/php-fpm_at-simple.service" "php-fpm@${SLOT}.service"
fi
fi
}
src_test() {
echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php"
if [[ ! -x "${PHP_BIN}" ]] ; then
ewarn "Test phase requires USE=cli, skipping"
return
else
export TEST_PHP_EXECUTABLE="${PHP_BIN}"
fi
if [[ -x "${WORKDIR}/sapis/cgi/php-cgi" ]] ; then
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis/cgi/php-cgi"
fi
REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d "session.save_path=${T}" \
"${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d "session.save_path=${T}"
for name in ${EXPECTED_TEST_FAILURES}; do
mv "${name}.out" "${name}.out.orig" 2>/dev/null
done
local failed="$(find -name '*.out')"
if [[ ${failed} != "" ]] ; then
ewarn "The following test cases failed unexpectedly:"
for name in ${failed}; do
ewarn " ${name/.out/}"
done
else
einfo "No unexpected test failures, all fine"
fi
if [[ ${PHP_SHOW_UNEXPECTED_TEST_PASS} == "1" ]] ; then
local passed=""
for name in ${EXPECTED_TEST_FAILURES}; do
[[ -f "${name}.diff" ]] && continue
passed="${passed} ${name}"
done
if [[ ${passed} != "" ]] ; then
einfo "The following test cases passed unexpectedly:"
for name in ${passed}; do
ewarn " ${passed}"
done
else
einfo "None of the known-to-fail tests passed, all fine"
fi
fi
}
pkg_postinst() {
# Output some general info to the user
if use apache2 ; then
APACHE2_MOD_DEFINE="PHP5"
APACHE2_MOD_CONF="70_mod_php5"
apache-module_pkg_postinst
fi
# Create the symlinks for php
for m in ${SAPIS}; do
[[ ${m} == 'embed' ]] && continue;
if use $m ; then
local ci=$(eselect php show $m)
if [[ -z $ci ]]; then
eselect php set $m php${SLOT}
einfo "Switched ${m} to use php:${SLOT}"
einfo
elif [[ $ci != "php${SLOT}" ]] ; then
elog "To switch $m to use php:${SLOT}, run"
elog " eselect php set $m php${SLOT}"
elog
fi
fi
done
elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order"
elog "to compile extensions for the ${SLOT} ABI"
elog
if ! use readline && use cli ; then
ewarn "Note that in order to use php interactivly, you need to enable"
ewarn "the readline USE flag or php -a will hang"
fi
elog
elog "This ebuild installed a version of php.ini based on php.ini-${PHP_INI_VERSION} version."
elog "You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either"
elog "'production' or 'development' in ${EPREFIX}/etc/make.conf"
elog "Both versions of php.ini can be found in ${EPREFIX}/usr/share/doc/${PF}"
elog
elog "For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:"
elog "http://www.gentoo.org/proj/en/php/php-upgrading.xml"
elog
}
pkg_prerm() {
eselect php cleanup
}

@ -0,0 +1,780 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.5.14.ebuild,v 1.1 2014/06/27 10:40:39 olemarkus Exp $
EAPI=5
inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool systemd
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
function php_get_uri ()
{
case "${1}" in
"php-pre")
echo "http://downloads.php.net/dsp/${2}"
;;
"php")
echo "http://www.php.net/distributions/${2}"
;;
"olemarkus")
echo "http://dev.gentoo.org/~olemarkus/php/${2}"
;;
"gentoo")
echo "mirror://gentoo/${2}"
;;
*)
die "unhandled case in php_get_uri"
;;
esac
}
PHP_MV="$(get_major_version)"
SLOT="$(get_version_component_range 1-2)"
# alias, so we can handle different types of releases (finals, rcs, alphas,
# betas, ...) w/o changing the whole ebuild
PHP_PV="${PV/_rc/RC}"
PHP_PV="${PHP_PV/_alpha/alpha}"
PHP_PV="${PHP_PV/_beta/beta}"
PHP_RELEASE="php"
[[ ${PV} == ${PV/_alpha/} ]] || PHP_RELEASE="php-pre"
[[ ${PV} == ${PV/_beta/} ]] || PHP_RELEASE="php-pre"
[[ ${PV} == ${PV/_rc/} ]] || PHP_RELEASE="php-pre"
PHP_P="${PN}-${PHP_PV}"
PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")"
PHP_FPM_CONF_VER="1"
SRC_URI="${PHP_SRC_URI}"
DESCRIPTION="The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs."
HOMEPAGE="http://php.net/"
LICENSE="PHP-3"
S="${WORKDIR}/${PHP_P}"
# We can build the following SAPIs in the given order
SAPIS="embed cli cgi fpm apache2"
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
IUSE="${IUSE}
${SAPIS/cli/+cli}
threads"
IUSE="${IUSE} bcmath berkdb bzip2 calendar cdb cjk
crypt +ctype curl debug
enchant exif frontbase +fileinfo +filter firebird
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit mhash
mssql mysql libmysqlclient mysqli nls
oci8-instant-client odbc +opcache pcntl pdo +phar +posix postgres qdbm
readline recode selinux +session sharedmem
+simplexml snmp soap sockets spell sqlite ssl
sybase-ct sysvipc systemd tidy +tokenizer truetype unicode wddx
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib"
DEPEND="
>=app-admin/eselect-php-0.7.1-r3[apache2?,fpm?]
>=dev-libs/libpcre-8.32[unicode]
apache2? ( www-servers/apache[threads=] )
berkdb? ( =sys-libs/db-4* )
bzip2? ( app-arch/bzip2 )
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
cjk? ( !gd? (
virtual/jpeg:0
media-libs/libpng:0=
sys-libs/zlib
) )
crypt? ( >=dev-libs/libmcrypt-2.4 )
curl? ( >=net-misc/curl-7.10.5 )
enchant? ( app-text/enchant )
exif? ( !gd? (
virtual/jpeg:0
media-libs/libpng:0=
sys-libs/zlib
) )
firebird? ( dev-db/firebird )
gd? ( virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
gdbm? ( >=sys-libs/gdbm-1.8.0 )
gmp? ( >=dev-libs/gmp-4.1.2 )
iconv? ( virtual/libiconv )
imap? ( virtual/imap-c-client[ssl=] )
intl? ( dev-libs/icu:= )
iodbc? ( dev-db/libiodbc )
kerberos? ( virtual/krb5 )
ldap? ( >=net-nds/openldap-1.2.11 )
ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 )
libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) )
mssql? ( dev-db/freetds[mssql] )
libmysqlclient? (
mysql? ( virtual/mysql )
mysqli? ( >=virtual/mysql-4.1 )
)
nls? ( sys-devel/gettext )
oci8-instant-client? ( dev-db/oracle-instantclient-basic )
odbc? ( >=dev-db/unixODBC-1.8.13 )
postgres? ( dev-db/postgresql-base )
qdbm? ( dev-db/qdbm )
readline? ( sys-libs/readline )
recode? ( app-text/recode )
sharedmem? ( dev-libs/mm )
simplexml? ( >=dev-libs/libxml2-2.6.8 )
snmp? ( >=net-analyzer/net-snmp-5.2 )
soap? ( >=dev-libs/libxml2-2.6.8 )
spell? ( >=app-text/aspell-0.50 )
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
ssl? ( >=dev-libs/openssl-0.9.7 )
sybase-ct? ( dev-db/freetds )
tidy? ( app-text/htmltidy )
truetype? (
=media-libs/freetype-2*
>=media-libs/t1lib-5.0.0
!gd? (
virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
)
unicode? ( dev-libs/oniguruma )
wddx? ( >=dev-libs/libxml2-2.6.8 )
xml? ( >=dev-libs/libxml2-2.6.8 )
xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv )
xmlreader? ( >=dev-libs/libxml2-2.6.8 )
xmlwriter? ( >=dev-libs/libxml2-2.6.8 )
xpm? (
x11-libs/libXpm
virtual/jpeg:0
media-libs/libpng:0= sys-libs/zlib
)
xslt? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
zip? ( sys-libs/zlib )
zlib? ( sys-libs/zlib )
virtual/mta
"
php="=${CATEGORY}/${PF}"
REQUIRED_USE="
truetype? ( gd )
cjk? ( gd )
exif? ( gd )
xpm? ( gd )
gd? ( zlib )
simplexml? ( xml )
soap? ( xml )
wddx? ( xml )
xmlrpc? ( || ( xml iconv ) )
xmlreader? ( xml )
xslt? ( xml )
ldap-sasl? ( ldap )
mhash? ( hash )
phar? ( hash )
libmysqlclient? ( || (
mysql
mysqli
pdo
) )
qdbm? ( !gdbm )
readline? ( !libedit )
recode? ( !imap !mysql !mysqli )
sharedmem? ( !threads )
!cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )"
RDEPEND="${DEPEND}"
RDEPEND="${RDEPEND}
fpm? (
selinux? ( sec-policy/selinux-phpfpm )
systemd? ( sys-apps/systemd ) )"
DEPEND="${DEPEND}
sys-devel/flex
>=sys-devel/m4-1.4.3
>=sys-devel/libtool-1.5.18"
# Allow users to install production version if they want to
case "${PHP_INI_VERSION}" in
production|development)
;;
*)
PHP_INI_VERSION="development"
;;
esac
PHP_INI_UPSTREAM="php.ini-${PHP_INI_VERSION}"
PHP_INI_FILE="php.ini"
want_apache
pkg_setup() {
depend.apache_pkg_setup
}
php_install_ini() {
local phpsapi="${1}"
# work out where we are installing the ini file
php_set_ini_dir "${phpsapi}"
local phpinisrc="${PHP_INI_UPSTREAM}-${phpsapi}"
cp "${PHP_INI_UPSTREAM}" "${phpinisrc}"
# default to /tmp for save_path, bug #282768
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}"
# Set the extension dir
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" -i "${phpinisrc}"
# Set the include path to point to where we want to find PEAR packages
sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:'"${EPREFIX}"'/usr/share/php'${PHP_MV}':'"${EPREFIX}"'/usr/share/php"|' -i "${phpinisrc}"
dodir "${PHP_INI_DIR#${EPREFIX}}"
insinto "${PHP_INI_DIR#${EPREFIX}}"
newins "${phpinisrc}" "${PHP_INI_FILE}"
elog "Installing php.ini for ${phpsapi} into ${PHP_INI_DIR#${EPREFIX}}"
elog
dodir "${PHP_EXT_INI_DIR#${EPREFIX}}"
dodir "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}"
if use_if_iuse opcache; then
elog "Adding opcache to $PHP_EXT_INI_DIR"
echo "zend_extension=${PHP_DESTDIR}/$(get_libdir)/opcache.so" >> "${D}/${PHP_EXT_INI_DIR}"/opcache.ini
dosym "${PHP_EXT_INI_DIR#${EPREFIX}}/opcache.ini" "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}/opcache.ini"
fi
# SAPI-specific handling
if [[ "${sapi}" == "fpm" ]] ; then
[[ -z ${PHP_FPM_CONF_VER} ]] && PHP_FPM_CONF_VER=0
einfo "Installing FPM CGI config file php-fpm.conf"
insinto "${PHP_INI_DIR#${EPREFIX}}"
newins "${FILESDIR}/php-fpm-r${PHP_FPM_CONF_VER}.conf" php-fpm.conf
# Remove bogus /etc/php-fpm.conf.default (bug 359906)
[[ -f "${ED}/etc/php-fpm.conf.default" ]] && rm "${ED}/etc/php-fpm.conf.default"
fi
# Install PHP ini files into /usr/share/php
dodoc php.ini-development
dodoc php.ini-production
}
php_set_ini_dir() {
PHP_INI_DIR="${EPREFIX}/etc/php/${1}-php${SLOT}"
PHP_EXT_INI_DIR="${PHP_INI_DIR}/ext"
PHP_EXT_INI_DIR_ACTIVE="${PHP_INI_DIR}/ext-active"
}
src_prepare() {
# USE=sharedmem (session/mod_mm to be exact) tries to mmap() this path
# ([empty session.save_path]/session_mm_[sapi][gid].sem)
# there is no easy way to circumvent that, all php calls during
# install use -n, so no php.ini file will be used.
# As such, this is the easiest way to get around
addpredict /session_mm_cli250.sem
addpredict /session_mm_cli0.sem
# Change PHP branding
# Get the alpha/beta/rc version
sed -re "s|^(PHP_EXTRA_VERSION=\").*(\")|\1-pl${PR/r/}-gentoo\2|g" \
-i configure.in || die "Unable to change PHP branding"
# Patch PHP to show Gentoo as the server platform
sed -e 's/PHP_UNAME=`uname -a | xargs`/PHP_UNAME=`uname -s -n -r -v | xargs`/g' \
-i configure.in || die "Failed to fix server platform name"
# Prevent PHP from activating the Apache config,
# as we will do that ourselves
sed -i \
-e "s,-i -a -n php${PHP_MV},-i -n php${PHP_MV},g" \
-e "s,-i -A -n php${PHP_MV},-i -n php${PHP_MV},g" \
configure sapi/apache2filter/config.m4 sapi/apache2handler/config.m4
# Patch PHP to support heimdal instead of mit-krb5
if has_version "app-crypt/heimdal" ; then
sed -e 's|gssapi_krb5|gssapi|g' -i acinclude.m4 \
|| die "Failed to fix heimdal libname"
sed -e 's|PHP_ADD_LIBRARY(k5crypto, 1, $1)||g' -i acinclude.m4 \
|| die "Failed to fix heimdal crypt library reference"
fi
#Add user patches #357637
epatch_user
#force rebuilding aclocal.m4
rm aclocal.m4
eautoreconf
if [[ ${CHOST} == *-darwin* ]] ; then
# http://bugs.php.net/bug.php?id=48795, bug #343481
sed -i -e '/BUILD_CGI="\\$(CC)/s/CC/CXX/' configure || die
fi
}
src_configure() {
addpredict /usr/share/snmp/mibs/.index
addpredict /var/lib/net-snmp/mib_indexes
PHP_DESTDIR="${EPREFIX}/usr/$(get_libdir)/php${SLOT}"
# This is a global variable and should be in caps. It isn't because the
# phpconfutils eclass relies on exactly this name...
# for --with-libdir see bug #327025
my_conf="
--prefix="${PHP_DESTDIR}"
--mandir="${PHP_DESTDIR}"/man
--infodir="${PHP_DESTDIR}"/info
--libdir="${PHP_DESTDIR}"/lib
--with-libdir=$(get_libdir)
--without-pear
$(use_enable threads maintainer-zts)"
# extension USE flag shared
my_conf+="
$(use_enable bcmath bcmath )
$(use_with bzip2 bz2 "${EPREFIX}"/usr)
$(use_enable calendar calendar )
$(use_enable ctype ctype )
$(use_with curl curl "${EPREFIX}"/usr)
$(use_enable xml dom )
$(use_with enchant enchant "${EPREFIX}"/usr)
$(use_enable exif exif )
$(use_enable fileinfo fileinfo )
$(use_enable filter filter )
$(use_enable ftp ftp )
$(use_with nls gettext "${EPREFIX}"/usr)
$(use_with gmp gmp "${EPREFIX}"/usr)
$(use_enable hash hash )
$(use_with mhash mhash "${EPREFIX}"/usr)
$(use_with iconv iconv $(use elibc_glibc || echo "${EPREFIX}"/usr))
$(use_enable intl intl )
$(use_enable ipv6 ipv6 )
$(use_enable json json )
$(use_with kerberos kerberos "${EPREFIX}"/usr)
$(use_enable xml libxml )
$(use_with xml libxml-dir "${EPREFIX}"/usr)
$(use_enable unicode mbstring )
$(use_with crypt mcrypt "${EPREFIX}"/usr)
$(use_with mssql mssql "${EPREFIX}"/usr)
$(use_with unicode onig "${EPREFIX}"/usr)
$(use_with ssl openssl "${EPREFIX}"/usr)
$(use_with ssl openssl-dir "${EPREFIX}"/usr)
$(use_enable pcntl pcntl )
$(use_enable phar phar )
$(use_enable pdo pdo )
$(use_enable opcache opcache )
$(use_with postgres pgsql "${EPREFIX}"/usr)
$(use_enable posix posix )
$(use_with spell pspell "${EPREFIX}"/usr)
$(use_with recode recode "${EPREFIX}"/usr)
$(use_enable simplexml simplexml )
$(use_enable sharedmem shmop )
$(use_with snmp snmp "${EPREFIX}"/usr)
$(use_enable soap soap )
$(use_enable sockets sockets )
$(use_with sqlite sqlite3 "${EPREFIX}"/usr)
$(use_with sybase-ct sybase-ct "${EPREFIX}"/usr)
$(use_enable sysvipc sysvmsg )
$(use_enable sysvipc sysvsem )
$(use_enable sysvipc sysvshm )
$(use_with systemd fpm-systemd)
$(use_with tidy tidy "${EPREFIX}"/usr)
$(use_enable tokenizer tokenizer )
$(use_enable wddx wddx )
$(use_enable xml xml )
$(use_enable xmlreader xmlreader )
$(use_enable xmlwriter xmlwriter )
$(use_with xmlrpc xmlrpc)
$(use_with xslt xsl "${EPREFIX}"/usr)
$(use_enable zip zip )
$(use_with zlib zlib "${EPREFIX}"/usr)
$(use_enable debug debug )"
# DBA support
if use cdb || use berkdb || use flatfile || use gdbm || use inifile \
|| use qdbm ; then
my_conf="${my_conf} --enable-dba${shared}"
fi
# DBA drivers support
my_conf+="
$(use_with cdb cdb)
$(use_with berkdb db4 ${EPREFIX}/usr)
$(use_enable flatfile flatfile )
$(use_with gdbm gdbm ${EPREFIX}/usr)
$(use_enable inifile inifile )
$(use_with qdbm qdbm ${EPREFIX}/usr)"
# Support for the GD graphics library
my_conf+="
$(use_with truetype freetype-dir ${EPREFIX}/usr)
$(use_with truetype t1lib ${EPREFIX}/usr)
$(use_enable cjk gd-jis-conv )
$(use_with gd jpeg-dir ${EPREFIX}/usr)
$(use_with gd png-dir ${EPREFIX}/usr)
$(use_with xpm xpm-dir ${EPREFIX}/usr)"
# enable gd last, so configure can pick up the previous settings
my_conf+="
$(use_with gd gd)"
# IMAP support
if use imap ; then
my_conf+="
$(use_with imap imap ${EPREFIX}/usr)
$(use_with ssl imap-ssl ${EPREFIX}/usr)"
fi
# Interbase/firebird support
if use firebird ; then
my_conf+="
$(use_with firebird interbase ${EPREFIX}/usr)"
fi
# LDAP support
if use ldap ; then
my_conf+="
$(use_with ldap ldap ${EPREFIX}/usr)
$(use_with ldap-sasl ldap-sasl ${EPREFIX}/usr)"
fi
# MySQL support
local mysqllib="mysqlnd"
local mysqlilib="mysqlnd"
use libmysqlclient && mysqllib="${EPREFIX}/usr"
use libmysqlclient && mysqlilib="${EPREFIX}/usr/bin/mysql_config"
my_conf+=" $(use_with mysql mysql $mysqllib)"
my_conf+=" $(use_with mysqli mysqli $mysqlilib)"
local mysqlsock=" $(use_with mysql mysql-sock ${EPREFIX}/var/run/mysqld/mysqld.sock)"
if use mysql ; then
my_conf+="${mysqlsock}"
elif use mysqli ; then
my_conf+="${mysqlsock}"
fi
# ODBC support
if use odbc ; then
my_conf+="
$(use_with odbc unixODBC ${EPREFIX}/usr)"
fi
if use iodbc ; then
my_conf+="
$(use_with iodbc iodbc ${EPREFIX}/usr)"
fi
# Oracle support
if use oci8-instant-client ; then
my_conf+="
$(use_with oci8-instant-client oci8)"
fi
# PDO support
if use pdo ; then
my_conf+="
$(use_with mssql pdo-dblib )
$(use_with mysql pdo-mysql ${mysqllib})
$(use_with postgres pdo-pgsql )
$(use_with sqlite pdo-sqlite ${EPREFIX}/usr)
$(use_with odbc pdo-odbc unixODBC,${EPREFIX}/usr)"
if use oci8-instant-client ; then
my_conf+="
$(use_with oci8-instant-client pdo-oci)"
fi
fi
# readline/libedit support
my_conf+="
$(use_with readline readline ${EPREFIX}/usr)
$(use_with libedit libedit ${EPREFIX}/usr)"
# Session support
if use session ; then
my_conf+="
$(use_with sharedmem mm ${EPREFIX}/usr)"
else
my_conf+="
$(use_enable session session )"
fi
# Use pic for shared modules such as apache2's mod_php
my_conf="${my_conf} --with-pic"
# we use the system copy of pcre
# --with-pcre-regex affects ext/pcre
# --with-pcre-dir affects ext/filter and ext/zip
my_conf="${my_conf} --with-pcre-regex=${EPREFIX}/usr --with-pcre-dir=${EPREFIX}/usr"
# Catch CFLAGS problems
# Fixes bug #14067.
# Changed order to run it in reverse for bug #32022 and #12021.
replace-cpu-flags "k6*" "i586"
# Support user-passed configuration parameters
my_conf="${my_conf} ${EXTRA_ECONF:-}"
# Support the Apache2 extras, they must be set globally for all
# SAPIs to work correctly, especially for external PHP extensions
mkdir -p "${WORKDIR}/sapis-build"
for one_sapi in $SAPIS ; do
use "${one_sapi}" || continue
php_set_ini_dir "${one_sapi}"
cp -r "${S}" "${WORKDIR}/sapis-build/${one_sapi}"
cd "${WORKDIR}/sapis-build/${one_sapi}"
sapi_conf="${my_conf} --with-config-file-path=${PHP_INI_DIR}
--with-config-file-scan-dir=${PHP_EXT_INI_DIR_ACTIVE}"
for sapi in $SAPIS ; do
case "$sapi" in
cli|cgi|embed|fpm)
if [[ "${one_sapi}" == "${sapi}" ]] ; then
sapi_conf="${sapi_conf} --enable-${sapi}"
else
sapi_conf="${sapi_conf} --disable-${sapi}"
fi
;;
apache2)
if [[ "${one_sapi}" == "${sapi}" ]] ; then
sapi_conf="${sapi_conf} --with-apxs2=${EPREFIX}/usr/sbin/apxs"
else
sapi_conf="${sapi_conf} --without-apxs2"
fi
;;
esac
done
econf ${sapi_conf}
done
}
src_compile() {
# snmp seems to run during src_compile, too (bug #324739)
addpredict /usr/share/snmp/mibs/.index
addpredict /var/lib/net-snmp/mib_indexes
for sapi in ${SAPIS} ; do
if use "${sapi}"; then
cd "${WORKDIR}/sapis-build/$sapi" || "Failed to change dir to ${WORKDIR}/sapis-build/$1"
emake || die "emake failed"
fi
done
}
src_install() {
# see bug #324739 for what happens when we don't have that
addpredict /usr/share/snmp/mibs/.index
# grab the first SAPI that got built and install common files from there
local first_sapi=""
for sapi in $SAPIS ; do
if use $sapi ; then
first_sapi=$sapi
break
fi
done
# Makefile forgets to create this before trying to write to it...
dodir "${PHP_DESTDIR#${EPREFIX}}/bin"
# Install php environment (without any sapis)
cd "${WORKDIR}/sapis-build/$first_sapi"
emake INSTALL_ROOT="${D}" \
install-build install-headers install-programs \
|| die "emake install failed"
local extension_dir="$("${ED}/${PHP_DESTDIR#${EPREFIX}}/bin/php-config" --extension-dir)"
# Create the directory where we'll put version-specific php scripts
keepdir /usr/share/php${PHP_MV}
local sapi="", file=""
local sapi_list=""
for sapi in ${SAPIS}; do
if use "${sapi}" ; then
einfo "Installing SAPI: ${sapi}"
cd "${WORKDIR}/sapis-build/${sapi}"
if [[ "${sapi}" == "apache2" ]] ; then
# We're specifically not using emake install-sapi as libtool
# may cause unnecessary relink failures (see bug #351266)
insinto "${PHP_DESTDIR#${EPREFIX}}/apache2/"
newins ".libs/libphp5$(get_libname)" "libphp${PHP_MV}$(get_libname)"
keepdir "/usr/$(get_libdir)/apache2/modules"
else
# needed each time, php_install_ini would reset it
local dest="${PHP_DESTDIR#${EPREFIX}}"
into "${dest}"
case "$sapi" in
cli)
source="sapi/cli/php"
;;
cgi)
source="sapi/cgi/php-cgi"
;;
fpm)
source="sapi/fpm/php-fpm"
;;
embed)
source="libs/libphp${PHP_MV}$(get_libname)"
;;
*)
die "unhandled sapi in src_install"
;;
esac
if [[ "${source}" == *"$(get_libname)" ]]; then
dolib.so "${source}" || die "Unable to install ${sapi} sapi"
else
dobin "${source}" || die "Unable to install ${sapi} sapi"
local name="$(basename ${source})"
dosym "${dest}/bin/${name}" "/usr/bin/${name}${SLOT}"
fi
fi
php_install_ini "${sapi}"
# construct correct SAPI string for php-config
# thanks to ferringb for the bash voodoo
if [[ "${sapi}" == "apache2" ]]; then
sapi_list="${sapi_list:+${sapi_list} }apache2handler"
else
sapi_list="${sapi_list:+${sapi_list} }${sapi}"
fi
fi
done
# Installing opcache module
if use_if_iuse opcache ; then
dolib.so "modules/opcache$(get_libname)" || die "Unable to install opcache module"
fi
# Install env.d files
newenvd "${FILESDIR}/20php5-envd" \
"20php${SLOT}"
sed -e "s|/lib/|/$(get_libdir)/|g" -i \
"${ED}/etc/env.d/20php${SLOT}"
sed -e "s|php5|php${SLOT}|g" -i \
"${ED}/etc/env.d/20php${SLOT}"
# set php-config variable correctly (bug #278439)
sed -e "s:^\(php_sapis=\)\".*\"$:\1\"${sapi_list}\":" -i \
"${ED}/usr/$(get_libdir)/php${SLOT}/bin/php-config"
if use fpm ; then
if use systemd; then
systemd_newunit "${FILESDIR}/php-fpm_at.service" "php-fpm@${SLOT}.service"
else
systemd_newunit "${FILESDIR}/php-fpm_at-simple.service" "php-fpm@${SLOT}.service"
fi
fi
}
src_test() {
echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php"
if [[ ! -x "${PHP_BIN}" ]] ; then
ewarn "Test phase requires USE=cli, skipping"
return
else
export TEST_PHP_EXECUTABLE="${PHP_BIN}"
fi
if [[ -x "${WORKDIR}/sapis/cgi/php-cgi" ]] ; then
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis/cgi/php-cgi"
fi
REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d "session.save_path=${T}" \
"${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d "session.save_path=${T}"
for name in ${EXPECTED_TEST_FAILURES}; do
mv "${name}.out" "${name}.out.orig" 2>/dev/null
done
local failed="$(find -name '*.out')"
if [[ ${failed} != "" ]] ; then
ewarn "The following test cases failed unexpectedly:"
for name in ${failed}; do
ewarn " ${name/.out/}"
done
else
einfo "No unexpected test failures, all fine"
fi
if [[ ${PHP_SHOW_UNEXPECTED_TEST_PASS} == "1" ]] ; then
local passed=""
for name in ${EXPECTED_TEST_FAILURES}; do
[[ -f "${name}.diff" ]] && continue
passed="${passed} ${name}"
done
if [[ ${passed} != "" ]] ; then
einfo "The following test cases passed unexpectedly:"
for name in ${passed}; do
ewarn " ${passed}"
done
else
einfo "None of the known-to-fail tests passed, all fine"
fi
fi
}
pkg_postinst() {
# Output some general info to the user
if use apache2 ; then
APACHE2_MOD_DEFINE="PHP5"
APACHE2_MOD_CONF="70_mod_php5"
apache-module_pkg_postinst
fi
# Create the symlinks for php
for m in ${SAPIS}; do
[[ ${m} == 'embed' ]] && continue;
if use $m ; then
local ci=$(eselect php show $m)
if [[ -z $ci ]]; then
eselect php set $m php${SLOT}
einfo "Switched ${m} to use php:${SLOT}"
einfo
elif [[ $ci != "php${SLOT}" ]] ; then
elog "To switch $m to use php:${SLOT}, run"
elog " eselect php set $m php${SLOT}"
elog
fi
fi
done
elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order"
elog "to compile extensions for the ${SLOT} ABI"
elog
if ! use readline && use cli ; then
ewarn "Note that in order to use php interactivly, you need to enable"
ewarn "the readline USE flag or php -a will hang"
fi
elog
elog "This ebuild installed a version of php.ini based on php.ini-${PHP_INI_VERSION} version."
elog "You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either"
elog "'production' or 'development' in ${EPREFIX}/etc/make.conf"
elog "Both versions of php.ini can be found in ${EPREFIX}/usr/share/doc/${PF}"
elog
elog "For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:"
elog "http://www.gentoo.org/proj/en/php/php-upgrading.xml"
elog
}
pkg_prerm() {
eselect php cleanup
}

@ -3,3 +3,4 @@ DIST rakudo-2014.02.tar.gz 1326047 SHA256 b787b496766d439b1b85b22c7aa8a8dba3a627
DIST rakudo-2014.03.01.tar.gz 1337402 SHA256 2429e9150ac219eca024dd28cc4b60d051ffbd410dfb0f89182cff95761349ae SHA512 d701edba17b18ff04f05ea0afb7e5329fa7a184a728a2ad766bd85f7f4bbfb8e564f1d20a1fbebe9038e6c1e5a6f58d4fe401019ccb0f16b945ff00e2606eb5e WHIRLPOOL 3ccb469bab075775cfe32d722db8f7a19bb9ce73f169117e8578e49f5eb58efe455edab8c74a2c7a9d1346f1dfbbdb7eae8ddf7b6676e448e0c33e071711c5fd
DIST rakudo-2014.04.tar.gz 1360404 SHA256 95131349661ad8f52fbf850974248304ede55b585cce9219ccdb1a3ad6d13014 SHA512 1298310727bd4007a76ca2d5970ead88e30faaac4735cae9da51968c253f89c2d8afac5f51e49c8ac1886c7c30bd26cafb8cd24459241b477823fca05221b6d9 WHIRLPOOL 1144747f4647f0c59936236654d6e42590be8bb1ddd6c5a32ae6d47e035f8b42afed79adbea8f7ba12f3b9749ac166d54cdfe18a6e029f2e8ec4a5635d9c0b8d
DIST rakudo-2014.05.tar.gz 1399555 SHA256 95846d80c9985f59bc53c6c2968ce611dd285f4b213271bfca3d1bbfe01041fb SHA512 d83c1ca82de02ab70095de8b73f0edbea9d6e17789897558e3b15b9b668a6dc1776185d0e78f4794806cbdcee6bf416a5fd3abe39e33d29bca0ae49f1f38e2fd WHIRLPOOL 2b8dc15fe80cb2cd8f65665b4cfc1ad1d766701f552ccc72d5fc95b727f28edbd5fa425b289afecde7882925fced67780e73121ee2f7cccf129bc13b50e82b5e
DIST rakudo-2014.06.tar.gz 1417667 SHA256 a791ee71252d928f1446794c5dc55ab4836c2df696847647b5ed4632d7293195 SHA512 148686220517cf1cd894749c3bdffb669c5d4060aef7f1d577b6da83c5d3404276eacd5abc15b943b539edd3aaddf0c916cdb355e6b76a3865bcecd7bdfa861d WHIRLPOOL 0b31a7031604b9419064b0f123b438955f8a140933903673def86db838925e487d5d18442ff74a141bccbd3237ec2611b7a192ff5c31e85e42529cebf2cbe481

@ -0,0 +1,47 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/rakudo/rakudo-2014.06.ebuild,v 1.1 2014/06/27 07:06:27 patrick Exp $
EAPI=5
inherit eutils multilib
DESCRIPTION="A Perl 6 implementation built on the Parrot virtual machine"
HOMEPAGE="http://rakudo.org/"
SRC_URI="http://rakudo.org/downloads/${PN}/${P}.tar.gz"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc java +moar"
RDEPEND=">=dev-lang/nqp-${PV}[java?,moar?]"
DEPEND="${RDEPEND}
dev-lang/perl"
src_prepare() {
sed -i "s,\$(DOCDIR)/rakudo$,&-${PVR}," tools/build/Makefile-Parrot.in || die
}
src_configure() {
use java && myconf+="jvm,"
use moar && myconf+="moar,"
perl Configure.pl --backends=${myconf} --prefix=/usr || die
}
src_test() {
emake -j1 test || die
}
src_install() {
emake -j1 DESTDIR="${ED}" install || die
dodoc CREDITS README.md docs/ChangeLog docs/ROADMAP || die
if use doc; then
dohtml -A svg docs/architecture.html docs/architecture.svg || die
dodoc docs/*.pod || die
docinto announce
dodoc docs/announce/* || die
fi
}

@ -1,46 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/389-adminutil/389-adminutil-1.1.14.ebuild,v 1.2 2012/05/04 18:35:54 jdhore Exp $
EAPI="2"
inherit libtool eutils
MY_PV=${PV/_rc/.rc}
MY_PV=${MY_PV/_a/.a}
MY_P=${P/_rc/.rc}
MY_P=${MY_P/_a/.a}
DESCRIPTION="389 adminutil"
HOMEPAGE="http://port389.org/"
SRC_URI="http://port389.org/sources/${MY_P}.tar.bz2"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug"
COMMON_DEPEND=">=dev-libs/nss-3.11.4
>=dev-libs/nspr-4.6.4
>=dev-libs/svrcore-4.0.3
>=dev-libs/mozldap-6.0.2
>=dev-libs/cyrus-sasl-2.1.19
>=dev-libs/icu-3.4"
DEPEND="virtual/pkgconfig ${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}"
src_prepare() {
elibtoolize
}
src_configure() {
econf $(use_enable debug) \
--with-fhs \
--disable-rpath \
--disable-tests ||die "econf failed"
}
src_install () {
emake DESTDIR="${D}" install || die "emake failed"
dodoc README NEWS
}

@ -1,2 +1 @@
DIST 389-adminutil-1.1.14.tar.bz2 284042 SHA256 d900e28b409cf3f8e5514a86cfad953f7bb53bf474300f006b4bbb021973d890 SHA512 09190bc6a15ace8252ebff117f4ebb0c2f447d021059770479965cce121afce7113e25a29c538107cb45b39de76dffdf37b009c5c79890cbe11c070d95dcb29c WHIRLPOOL b0427b24e5a862883946c22c95e998a9fde646e6f8a30ecca3376a6b376f278af16eb980c773e9bdb766f0692d67034c73cbafd5756743f8511e8d64586b0f46
DIST 389-adminutil-1.1.15.tar.bz2 283825 SHA256 8ca29db779c87f3c8c41ba793864454b094f41b5cdbf74b9b45967a81eb17958 SHA512 5ed8d758ee47a2e276bab73696067dd2acd36f15ea5b93b32e3e244530920d74d95a4a4ff96cd325f22ae4ce2cc764fef03c90497c0181cbc1f0291f260d8ddf WHIRLPOOL e68fd5975a2d871e0e2c79580ecc24f48091fc1418ec04816e39799ac17b2495fd3b25c26e7e55626da46210909a8e9ffc1c8d6ad140e3fce0f3665dff0de903

@ -1,3 +1,4 @@
DIST ding-libs-0.1.3.tar.gz 526095 SHA256 97c9c02fee77c8467d759dc4fe3a9136cd1349aa7abb29c9af1d36c6fb25e33e SHA512 5bab16cfffcb70162cf9034a8639c59eae0a9b454fa85670eb19b2ec490410534c8119d7c5400095b04c791d4bbc37a20d407473416d8073de0f087a7317d8e2 WHIRLPOOL a60794d781b359c06d4609d34fb259882b166793d30e721dfff14762a30860a8ec03f7874d2e2293b69c69c7472cf8d7d0bce160850efd5accdcb6693e48e2bb
DIST ding-libs-0.2.91.tar.gz 584390 SHA256 25b186688d62ef6ad1374bb9c71f91e8a13745d7ab52241c5ccdc2d37e286e41 SHA512 e65a7a46927ab07cc9848d61a33888ba204d3b1ba772004e124c3e6f9745ef6a23982729ee6b5c303194759ec4a45f02467d37324ae0023fc97cc47ba9e1f83e WHIRLPOOL c1171609d8f83e5e021b4b0e6c14479a6f2c93084515e69dbe3bdb6a28fb85a5d18983056539b30108b87d82e24e863bdec723b9e29502e462bc507dde3d23be
DIST ding-libs-0.3.0.1.tar.gz 612258 SHA256 7b3b57b8de9c84ffccc93c452697f445de3d57585df77bba01d26509f811fc26 SHA512 7895870dcb49f605fb872365d7e664790f3d18de5391210dbf31fb87592dc125291a8e95f3e01c7ba2e7f0acc7b4d5c2f01b3e2582a1e588aa51f78a231795b4 WHIRLPOOL 5a3c1138662777d10c8ad57ba429d22a91f3e7dc9d313a1ab7c6b808f1202d01628e9a159d9b50dc8916e3d35805312bb24d884981febe7f475102c11f438885
DIST ding-libs-0.4.0.tar.gz 827058 SHA256 bdeb90b07ceaa9145e6784ce40a71b69a37fffc7373c51fee258ffffd5390457 SHA512 e062e104f4ad75eea0b59bb113b7a6a4044a42230d96b9b9dda611535835cd0809635b1da1408ae58e97f9ff9a9f4fd48f751365901f9b066b465df3523730a0 WHIRLPOOL 41733ac92c3c7fcaa19f19843a2464a0644632cc345b77fc033910974fa449f91780725302fafadd233c6ef4379174261bbab45e49830e8673a46d9ee3d6f652

@ -0,0 +1,24 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/ding-libs/ding-libs-0.4.0.ebuild,v 1.1 2014/06/27 08:54:58 maksbotan Exp $
EAPI=5
inherit autotools-multilib
DESCRIPTION="Library set needed for build sssd"
HOMEPAGE="https://fedorahosted.org/sssd"
SRC_URI="https://fedorahosted.org/released/${PN}/${P}.tar.gz"
LICENSE="LGPL-3 GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux"
IUSE="test static-libs"
RDEPEND=""
DEPEND="${RDEPEND}
virtual/pkgconfig
test? ( dev-libs/check )
"

@ -1,2 +1,3 @@
DIST folks-0.4.3.tar.bz2 635168 SHA256 e5a5bbe1524130ff5b6400726db3e12299b12ffefa108bc89169509f343d925e SHA512 dfd7cb055aba691e7b8e7daa3e887e20f021d230617641c0dcf91787b53b576601fabeeba654e98009b47ecff39969ea1b560822d4452ee497c7eeedc16c423b WHIRLPOOL 49cee01e55e9223b6566d76c21f8de68a15c6a2534ce4b4d6ed752e9cf8dadd256b5343a46c26e0236155901864e34b6677764aa70c43c8e18df692c40d8c85d
DIST folks-0.9.6.tar.xz 1694012 SHA256 a67e055b5a2724a34a80946e2940c4c0ad708cb1f4e0a09407c6b69a5e40267f SHA512 613d4cfb84f4ce9656994950f66d974c99c074317c5f1c92f4501760261021e8e86d85e56c7720fa0f6a20db818a1e813d6cd40e67d4157fd3005a3770a86127 WHIRLPOOL ae564d02ec3bea7efca04bd9a0f77732fdc03217538d1cb410bf7c467cca606adcf8bc395d7f8f4ed386eb07e687203889b75c930a8103dc104ce2ce1afb0d94
DIST folks-0.9.7.1.tar.xz 1860208 SHA256 8d53cf9f6ccb7d9499a352c7367170b103b14a7d59da0bd06dda8c57b689276a SHA512 26926d7eb284322618ac6fd654bc5e0f600b7e6ee5feaf9e7f5216f33eac9dd0a58549a0fd9715a273c5feafd6f5f83e21aa4a60595a252aa6a872a07e38e9cd WHIRLPOOL 216ab08a4053eee22cd52612d4c37751f1bfc533940ae86fb354c4ca08e42dea3ec200871d1cae7d26fb153999f90afba7c80820a4c811b13db94b3b26e8ca28

@ -0,0 +1,92 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/folks/folks-0.9.7.1.ebuild,v 1.1 2014/06/26 10:42:13 pacho Exp $
EAPI="5"
GCONF_DEBUG="yes"
VALA_MIN_API_VERSION="0.22"
VALA_USE_DEPEND="vapigen"
inherit gnome2 vala virtualx
DESCRIPTION="Library for aggregating people from multiple sources"
HOMEPAGE="https://wiki.gnome.org/Projects/Folks"
LICENSE="LGPL-2.1+"
SLOT="0/25" # subslot = libfolks soname version
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-linux"
# TODO: --enable-profiling
# Vala isn't really optional, https://bugzilla.gnome.org/show_bug.cgi?id=701099
IUSE="bluetooth eds socialweb +telepathy test tracker utils zeitgeist"
REQUIRED_USE="bluetooth? ( eds )"
COMMON_DEPEND="
$(vala_depend)
>=dev-libs/glib-2.38.2:2
dev-libs/dbus-glib
>=dev-libs/libgee-0.10:0.8[introspection]
dev-libs/libxml2
sys-libs/ncurses:=
sys-libs/readline:=
bluetooth? ( >=net-wireless/bluez-5 )
eds? ( >=gnome-extra/evolution-data-server-3.8:=[vala] )
socialweb? ( >=net-libs/libsocialweb-0.25.20 )
telepathy? ( >=net-libs/telepathy-glib-0.19[vala] )
tracker? ( >=app-misc/tracker-1:0= )
zeitgeist? ( >=gnome-extra/zeitgeist-0.9.14 )
"
# telepathy-mission-control needed at runtime; it is used by the telepathy
# backend via telepathy-glib's AccountManager binding.
RDEPEND="${COMMON_DEPEND}
net-im/telepathy-mission-control
"
# folks socialweb backend requires that libsocialweb be built with USE=vala,
# even when building folks with --disable-vala.
#
# FIXME:
# test? ( bluetooth? ( dbusmock is missing in the tree ) )
DEPEND="${COMMON_DEPEND}
>=dev-libs/gobject-introspection-1.30
>=dev-util/intltool-0.50.0
sys-devel/gettext
virtual/pkgconfig
socialweb? ( >=net-libs/libsocialweb-0.25.15[vala] )
test? ( sys-apps/dbus
bluetooth? (
>=gnome-extra/evolution-data-server-3.9.1
>=dev-libs/glib-2.39.2 ) )
!<dev-lang/vala-0.22.1:0.22
"
src_prepare() {
# Allow building against tracker-1.0
sed -e 's/\(TRACKER_SPARQL_MAJOR\)=0.16/\1=1.0/' \
-i configure{.ac,} || die
vala_src_prepare
gnome2_src_prepare
}
src_configure() {
# Rebuilding docs needs valadoc, which has no release
gnome2_src_configure \
$(use_enable bluetooth bluez-backend) \
$(use_enable eds eds-backend) \
$(use_enable eds ofono-backend) \
$(use_enable socialweb libsocialweb-backend) \
$(use_enable telepathy telepathy-backend) \
$(use_enable tracker tracker-backend) \
$(use_enable utils inspect-tool) \
$(use_enable test tests) \
$(use_enable zeitgeist) \
--enable-vala \
--enable-import-tool \
--disable-docs \
--disable-fatal-warnings
}
src_test() {
dbus-launch Xemake check
}

@ -4,3 +4,4 @@ DIST GeoIPv6.dat.gz 613971 SHA256 ba76c683d525a7119c3e588ea0ed97ec0dbb52c93d506a
DIST GeoLiteCity.dat.gz 11312286 SHA256 998b3a90122807b003c21d714b1114d6c4f882b44efd2bad3f8b74f5a0c9afcb SHA512 9ef440e9ab8b383346b60f78b475621f054a9a8897cebb699d63b6b204e2662217a990eb37abb440c6b802363d0fa4d98ddd2d729472f1af7af51e04b0762907 WHIRLPOOL 15052c95d8b758d7e60bfb3dd5f76390b55dd4b6d24000b09509371e9cdc85dcb4fa9979a6644bc9bd1c724097b5fc0a3087e7ad126ceae0d962f225fee1f4b6
DIST GeoLiteCityv6.dat.gz 11538424 SHA256 520ac5834cc1b060ee071f55f280348098bd0315a8607cd58fabd954e2931cd6 SHA512 c40f5781c69201c9a0cda9b6fbd80ccc234be21158a754501303df153da1ac82a4d562d0138076121584928ec63be69fac24ebc100c66d6e16a92879bec058a1 WHIRLPOOL c165a26a29a8b171bc2b9e005587e6cfc14849fd092af8c24c64d685115ba98699c3796abbd2f69b0c5a31b9165f03e699dad0b986b3103461978d2b9ee10b4a
DIST geoip-1.6.0.tar.gz 160178 SHA256 61bed5907e9544d5b1071ea962a55154dd0827c04bd8a5814fb5863897c9a024 SHA512 b8cb2fff83ebf5a96981aa91d8d1d54e421ca290116ec4ecbf799c67c77524a245316db67fa538ae17a4e123338a1414e85c641ee156fb385887647c31a1a9e9 WHIRLPOOL 3689ffd74fec7e59afbe5db470cb15457b3dfd9c36a93577e4126425fcd64cdec59c51fa09b30e14cea31994f1f372c41c5d1bae45b9356448a4cc280220cad1
DIST geoip-1.6.1.tar.gz 162851 SHA256 ce9463b6273800a55c03ed70f26b65575e30cc26e323e208b07ec9163ff247f5 SHA512 64e274c2e62a563b5c482191db9f359b4f809bc00d309a600351be22123dac5a416acbe0bb68fbefaf666ae4577ad1a90ff09c0c80449d77579fd19b1c7a34dc WHIRLPOOL 00673e76480793861ef25dc36222b6a891da5a5491bef7fd473c788fdd8e57c66b16684085a42d876b3e43508eda7b0d9a1c5fb1efa05b84c0bce2aab3f66fc5

@ -0,0 +1,43 @@
#!/bin/sh
GEOIP_MIRROR="https://geolite.maxmind.com/download/geoip/database"
GEOIPDIR=@PREFIX@/usr/share/GeoIP
TMPDIR=
DATABASES="
GeoIPv6
GeoLiteCity
GeoLiteCityv6-beta/GeoLiteCityv6
GeoLiteCountry/GeoIP
asnum/GeoIPASNum
asnum/GeoIPASNumv6
"
if [ "${1}" = -f ] || [ "${1}" = --force ]; then
force=true
fi
if [ -d "${GEOIPDIR}" ]; then
cd $GEOIPDIR
if [ -n "${DATABASES}" ]; then
TMPDIR=$(mktemp -d geoipupdate.XXXXXXXXXX)
echo "Updating GeoIP databases..."
for db in $DATABASES; do
fname=$(basename $db)
if [ -f "${GEOIPDIR}/${fname}.dat" ] || [ ${force} ]; then
wget --no-verbose -t 3 -T 60 \
"${GEOIP_MIRROR}/${db}.dat.gz" \
-O "${TMPDIR}/${fname}.dat.gz"
if [ $? -eq 0 ]; then
gunzip -fdc "${TMPDIR}/${fname}.dat.gz" > "${TMPDIR}/${fname}.dat"
mv "${TMPDIR}/${fname}.dat" "${GEOIPDIR}/${fname}.dat"
chmod 0644 "${GEOIPDIR}/${fname}.dat"
fi
fi
done
[ -d "${TMPDIR}" ] && rm -rf $TMPDIR
fi
fi

@ -0,0 +1,51 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/geoip/geoip-1.6.1.ebuild,v 1.1 2014/06/26 20:12:16 jer Exp $
EAPI=5
inherit autotools eutils
DESCRIPTION="easily lookup countries by IP addresses, even when Reverse DNS entries don't exist"
HOMEPAGE="https://github.com/maxmind/geoip-api-c"
SRC_URI="
https://github.com/maxmind/${PN}-api-c/archive/v${PV}.tar.gz -> ${P}.tar.gz
"
# GPL-2 for md5.c - part of libGeoIPUpdate, MaxMind for GeoLite Country db
LICENSE="LGPL-2.1 GPL-2 MaxMind2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos"
IUSE="static-libs"
RESTRICT="test"
DEPEND="net-misc/wget"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}-api-c-${PV}"
src_prepare() {
eautoreconf
}
src_configure() {
econf $(use_enable static-libs static)
sed -e "s|@PREFIX@|${ROOT}|g" "${FILESDIR}"/geoipupdate-r4.sh > geoipupdate.sh || die
}
src_install() {
default
dodoc AUTHORS ChangeLog README* TODO
prune_libtool_files
keepdir /usr/share/GeoIP
dosbin geoipupdate.sh
}
pkg_postinst() {
elog "Don't forget to run the included geoipupdate.sh or geoipupdate (from"
elog "net-misc/geoipupdate) regularly to populate ${ROOT}/usr/share/GeoIP/"
elog "with geo-located IP address databases."
}

@ -1,2 +1,2 @@
DIST igraph-0.6.4.tar.gz 3021465 SHA256 1da6359240fe7c6fdc46cc0d6a5a083daba9baf130e0933b939977696e059e43 SHA512 1faeea0202381f5e2b2aafb180b6670121b3c24622f60729f2ff461bcfd06da61be28743327470c8700d67e9c08d01a6a1fd19ad27ec5e06e60069f27e04af10 WHIRLPOOL 3637ed0d2a67705f1409a451330035e8892cd1fa7136de67525c9a5b668549941f6f500a542257fcd0e2832c59b024e5272e1abeefcebb0045aeda469e2a31c9
DIST igraph-0.6.5.tar.gz 3209599 SHA256 7d1f8da9ebb6dd7acc648d9c7d6f4c490e998c5ca54ddf85db0017de3cc73fa2 SHA512 820ef71236942be21c393aede5913fe0d699cc901925ce3d989f4cc543eeac748d97e6e7c82f96c505a1c8580371447b27adf8369047b9d8f3d009eb9be6880d WHIRLPOOL cc9b2b084771b063455d0aa5353a6838e0684cd6a93d8c957973e2534333832e2680d6b975c7471cfabce55d00f88b9d4c6e1b120009f1cd2e17609a1c7d6f2d
DIST igraph-0.7.1.tar.gz 2967134 SHA256 d978030e27369bf698f3816ab70aa9141e9baf81c56cc4f55efbe5489b46b0df SHA512 ac7d7e3fbc6d27ae69079224881ca03db2c7e0b50d016706f3e167c614e2c9332c675d2fcd3cde12874e13a8fc402d42222308c6195afadee15152cec93f94dd WHIRLPOOL bb860c90796b8706ffed708bc5ba1a1a83ab73b57f9fd49aa0d05548c6f2758f8305a09386dc6da7d86bd568261df35b207231facffc7045527c7ab0b0ec89ea

@ -1,31 +1,18 @@
configure.in | 32 ++++++++++++-------------------
examples/simple/igraph_arpack_rnsolve.out | 3 +++
examples/simple/igraph_layout_merge2.out | 20 +++++++++----------
examples/simple/igraph_sparsemat2.c | 2 +-
examples/simple/igraph_sparsemat3.c | 2 +-
examples/simple/igraph_sparsemat4.c | 2 +-
src/Makefile.am | 11 +++--------
src/sparsemat.c | 2 +-
tests/Makefile.am | 2 +-
tests/mt.at | 2 +-
tests/types.at | 2 +-
11 files changed, 35 insertions(+), 45 deletions(-)
diff --git a/configure.in b/configure.in
index c617aec..6d5d162 100644
--- a/configure.in
+++ b/configure.in
@@ -165,7 +165,8 @@ if test "x$enable_gmp" != "xno"; then
diff --git a/configure.ac b/configure.ac
index acf76cd..a9db7bd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -167,7 +167,8 @@ if test "x$enable_gmp" != "xno"; then
AC_CHECK_HEADER([gmp.h], [
AC_DEFINE([HAVE_GMP], [1], [Define to 1 if you have the GMP library])
gmp_support=yes
- LDFLAGS="${LDFLAGS} -lgmp"
- LDFLAGS="${LDFLAGS} -lgmp"
+ GMP_LIBS="-lgmp"
+ AC_SUBST(GMP_LIBS)
+ AC_SUBST(GMP_LIBS)
PKGCONFIG_LIBS_PRIVATE="${PKGCONFIG_LIBS_PRIVATE} -lgmp"
])
])
fi
@@ -223,23 +224,15 @@ else
@@ -231,24 +232,16 @@ else
fi
if test "$internal_blas" = "no"; then
@ -37,6 +24,7 @@ index c617aec..6d5d162 100644
- LDFLAGS="${LDFLAGS} -lblas"
+ PKG_CHECK_MODULES([BLAS],[blas])
+ CPPFLAGS="${CPPFLAGS} ${BLAS_CFLAGS}"
PKGCONFIG_LIBS_PRIVATE="${PKGCONFIG_LIBS_PRIVATE} -lblas"
else
AC_DEFINE([INTERNAL_BLAS], [1], [Define to 1 if you use the internal BLAS library])
fi
@ -50,10 +38,10 @@ index c617aec..6d5d162 100644
- LDFLAGS="${LDFLAGS} -llapack"
+ PKG_CHECK_MODULES([LAPACK],[lapack])
+ CPPFLAGS="${CPPFLAGS} ${LAPACK_CFLAGS}"
PKGCONFIG_LIBS_PRIVATE="${PKGCONFIG_LIBS_PRIVATE} -llapack"
else
AC_DEFINE([INTERNAL_LAPACK], [1], [Define to 1 if you use the internal LAPACK library])
fi
@@ -248,16 +241,14 @@ if test "$internal_arpack" = "no"; then
@@ -258,17 +251,15 @@ if test "$internal_arpack" = "no"; then
if test "$tls_support" = "yes"; then
AC_MSG_ERROR([Thread-local storage only supported with internal ARPACK library])
fi
@ -65,6 +53,7 @@ index c617aec..6d5d162 100644
- LDFLAGS="${LDFLAGS} -larpack"
+ PKG_CHECK_MODULES([ARPACK],[arpack])
+ CPPFLAGS="${CPPFLAGS} ${ARPACK_CFLAGS}"
PKGCONFIG_LIBS_PRIVATE="${PKGCONFIG_LIBS_PRIVATE} -larpack"
else
AC_DEFINE([INTERNAL_ARPACK], [1], [Define to 1 if you use the internal ARPACK library])
fi
@ -72,42 +61,45 @@ index c617aec..6d5d162 100644
+PKG_CHECK_MODULES([CS],[cxsparse])
+
glpk_support=no
if test "$internal_glpk" = "no"; then
AC_CHECK_LIB([glpk], [glp_read_mps], [
@@ -270,7 +261,8 @@ if test "$internal_glpk" = "no"; then
], [
AC_DEFINE([HAVE_GLPK], [1], [Define to 1 if you have the GLPK library])
glpk_support=yes
- LDFLAGS="${LDFLAGS} -lglpk"
+ GLPK_LIBS="-lglpk"
+ AC_SUBST(GLPK_LIBS)
AC_ARG_ENABLE(glpk, AC_HELP_STRING([--disable-glpk], [Compile without the GLPK library]))
if test "x$enable_glpk" != "xno"; then
@@ -283,7 +274,8 @@ if test "x$enable_glpk" != "xno"; then
], [
AC_DEFINE([HAVE_GLPK], [1], [Define to 1 if you have the GLPK library])
glpk_support=yes
- LDFLAGS="${LDFLAGS} -lglpk"
+ GLPK_LIBS="-lglpk"
+ AC_SUBST(GLPK_LIBS)
PKGCONFIG_LIBS_PRIVATE="${PKGCONFIG_LIBS_PRIVATE} -lglpk"
])
])
])
])
diff --git a/examples/simple/igraph_arpack_rnsolve.out b/examples/simple/igraph_arpack_rnsolve.out
index ec38497..47b1a6b 100644
index ec38497..6603034 100644
--- a/examples/simple/igraph_arpack_rnsolve.out
+++ b/examples/simple/igraph_arpack_rnsolve.out
@@ -17,6 +17,7 @@
@@ -16,7 +16,7 @@
---
22.0483 0
-21.3281 0
-3.00735 -19.2957
--3.00735 -19.2957
+-3.00735 19.2957
---
0.373224 0.226696 0.204213 0.0473383
-0.289145 -0.296079 -0.0479785 0.156365
@@ -32,6 +33,7 @@
@@ -31,7 +31,7 @@
---
-21.3281 0
-12.4527 0
-3.00735 -19.2957
--3.00735 -19.2957
+-3.00735 19.2957
---
-0.226696 0.695866 -0.204213 -0.0473383
0.296079 0.120213 0.0479785 -0.156365
@@ -47,6 +49,7 @@
@@ -46,7 +46,7 @@
---
-3.00735 19.2957
-3.00735 -19.2957
12.1099 6.27293
-12.1099 6.27293
+12.1099 -6.27293
---
0.0768616 -0.195028 -0.152389 0.21912
@ -141,7 +133,7 @@ index dfe2c22..9fe81bf 100644
-4.92661 5.80435
-3.69637 8.92826
diff --git a/examples/simple/igraph_sparsemat2.c b/examples/simple/igraph_sparsemat2.c
index 296e52e..3abd0e3 100644
index c39d0e5..fdfd264 100644
--- a/examples/simple/igraph_sparsemat2.c
+++ b/examples/simple/igraph_sparsemat2.c
@@ -21,7 +21,7 @@
@ -180,7 +172,7 @@ index 4d85bde..7497faf 100644
#include <igraph_sparsemat.h>
diff --git a/src/Makefile.am b/src/Makefile.am
index af7cae7..5db09eb 100644
index e7085c5..194f4a0 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -9,9 +9,6 @@ AM_YFLAGS = -d
@ -202,7 +194,7 @@ index af7cae7..5db09eb 100644
if INTERNAL_GLPK
libglpk_la_SOURCES = $(GLPK)
libglpk_la_CFLAGS = -I$(top_srcdir)/optional/glpk
@@ -247,7 +242,7 @@ libigraph_la_SOURCES = $(HEADERS_PRIVATE) \
@@ -255,7 +250,7 @@ SOURCES = basic_query.c games.c cocitation.c iterators.c \
drl_layout_3d.cpp drl_graph_3d.cpp \
DensityGrid_3d.cpp \
foreign-dl-parser.y foreign-dl-lexer.l \
@ -211,19 +203,19 @@ index af7cae7..5db09eb 100644
version.c optimal_modularity.c \
igraph_fixed_vectorlist.c separators.c \
igraph_marked_queue.c igraph_estack.c st-cuts.c \
@@ -263,8 +258,8 @@ libigraph_la_SOURCES = $(HEADERS_PRIVATE) \
@@ -274,8 +269,8 @@ libigraph_la_SOURCES = $(SOURCES) $(HEADERS_PRIVATE)
libigraph_la_CFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include $(WARNING_CFLAGS)
libigraph_la_CXXFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include $(WARNING_CFLAGS)
libigraph_la_LDFLAGS = -no-undefined
-libigraph_la_LIBADD = -lm $(XML2_LIBS) $(F2C_LIB) $(BLAS_LIB) \
- $(LAPACK_LIB) $(ARPACK_LIB) $(GLPK_LIB) $(PLFIT_LIB)
- $(LAPACK_LIB) $(ARPACK_LIB) $(GLPK_LIB) $(PRPACK_LIB) \
+libigraph_la_LIBADD = -lm $(XML2_LIBS) $(F2C_LIB) $(BLAS_LIBS) $(GMP_LIBS) \
+ $(LAPACK_LIBS) $(ARPACK_LIBS) $(GLPK_LIBS) $(PLFIT_LIB) $(CS_LIBS)
+ $(LAPACK_LIBS) $(ARPACK_LIBS) $(GLPK_LIBS) $(PRPACK_LIB) $(CS_LIBS) \
$(PLFIT_LIB)
if INTERNAL_GLPK
libigraph_la_CFLAGS += -I$(top_srcdir)/optional/glpk
diff --git a/src/sparsemat.c b/src/sparsemat.c
index 2cbdab1..b78b88d 100644
index f96d022..6990c91 100644
--- a/src/sparsemat.c
+++ b/src/sparsemat.c
@@ -23,7 +23,7 @@
@ -231,15 +223,15 @@ index 2cbdab1..b78b88d 100644
#include "config.h"
-#include "cs/cs.h"
+#include <cs.h>
+#include "cs.h"
#include "igraph_sparsemat.h"
#include "igraph_error.h"
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 6d0ba59..af9bca9 100644
index 6da83b2..c0b82d6 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -13,7 +13,7 @@ $(srcdir)/package.m4: $(top_srcdir)/configure.in
@@ -13,7 +13,7 @@ $(srcdir)/package.m4: $(top_srcdir)/configure.ac
echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
} >$(srcdir)/package.m4
@ -249,7 +241,7 @@ index 6d0ba59..af9bca9 100644
TESTSUITE_AT = \
testsuite.at \
diff --git a/tests/mt.at b/tests/mt.at
index 050974a..e1496ac 100644
index 050974a..9558d6f 100644
--- a/tests/mt.at
+++ b/tests/mt.at
@@ -29,5 +29,5 @@ AT_CLEANUP
@ -260,7 +252,7 @@ index 050974a..e1496ac 100644
+ [-lpthread $(${PKG_CONFIG} --libs arpack)])
AT_CLEANUP
diff --git a/tests/types.at b/tests/types.at
index f80a6a2..45087e8 100644
index f80a6a2..29ac739 100644
--- a/tests/types.at
+++ b/tests/types.at
@@ -133,7 +133,7 @@ AT_CLEANUP
@ -272,3 +264,6 @@ index f80a6a2..45087e8 100644
AT_CLEANUP
AT_SETUP([Sparse matrix, indexing (igraph_sparsemat_t): ])
--
2.0.0

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/igraph/igraph-0.6.4.ebuild,v 1.4 2013/03/01 10:44:58 jlec Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/igraph/igraph-0.7.1.ebuild,v 1.1 2014/06/26 14:04:57 mrueg Exp $
EAPI=5
@ -9,8 +9,8 @@ AUTOTOOLS_AUTORECONF=true
inherit autotools-utils toolchain-funcs
DESCRIPTION="Creating and manipulating undirected and directed graphs"
HOMEPAGE="http://igraph.sourceforge.net/index.html"
SRC_URI="mirror://sourceforge/project/${PN}/C%20library/${PV}/${P}.tar.gz"
HOMEPAGE="http://igraph.org"
SRC_URI="http://igraph.org/nightly/get/c/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@ -19,10 +19,10 @@ IUSE="debug gmp static-libs"
RDEPEND="
dev-libs/libxml2
sci-libs/arpack
>=sci-libs/arpack-3
virtual/blas
virtual/lapack
sci-libs/cxsparse
>=sci-libs/cxsparse-3
sci-mathematics/glpk
gmp? ( dev-libs/gmp )"
DEPEND="${RDEPEND}

@ -1,3 +1 @@
DIST libmaa-1.3.0.tar.gz 286870 SHA256 188b7092e546b44ab31a1e6d75e31ea62c52cfb66ed0bce4e977c926d96f5c92 SHA512 0d238720d17985c6be5d36ddf18046418d64ae5766c0be42d86b46b4372e17c3e6f7819a9b755363f4f49a57f01be1bd4176d46be5f388d9d2b70afea16521d7 WHIRLPOOL 305bce69a2d3632526e082c6cf13baca48bcfcd3fdb23efb22fb9076ce06a821d864b026dc5343121a4ff845959c8432cde91ec8775a856d67d25ceec9659d06
DIST libmaa-1.3.1.tar.gz 287084 SHA256 53401077333ea1a8b9fd0669b2fcb62bee435a6b95c6678c605640d8d4f5f077 SHA512 877d6bb44d16c070cc4a9d23ba99377e5086f7c6da7d8093bc7f50985f7a152ad9224ba0dd70b5c9438be97e14623729e5db81e15e0a3bf4e4ff63b8c2252c69 WHIRLPOOL e98be6ea80b6385c7cbb77360563631c6dfe56131be4fea0e7d738af133732cedd1da833f1037829663b0822f42f9511eebb71723e0d17731ba0e5071ca02e05
DIST libmaa-1.3.2.tar.gz 287198 SHA256 59a5a01e3a9036bd32160ec535d25b72e579824e391fea7079e9c40b0623b1c5 SHA512 dde91e8bf1c08515ff4662282d16a03b18a1dfb16eb7b95be980ba398ed1e65d8cd88e58d454e03a03f48a5ecca8bf23b4ebaf475a98630a9178318c12a1b176 WHIRLPOOL 9e650e7d896d89730901166222ed57d994a8f87f78ae29aaae09c03b4d1618815ec9e8a1421ea69324ec86293934f2fc70347049c59fe14bf54dc643c2c01418

@ -1,19 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmaa/libmaa-1.3.0.ebuild,v 1.7 2012/03/18 19:50:20 armin76 Exp $
EAPI="4"
DESCRIPTION="Library with low-level data structures which are helpful for writing compilers"
HOMEPAGE="http://www.dict.org/"
SRC_URI="mirror://sourceforge/dict/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ~hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~ia64-linux ~x86-linux"
IUSE=""
src_install() {
emake DESTDIR="${D}" install
dodoc ChangeLog NEWS README doc/libmaa.600dpi.ps
}

@ -1,16 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmaa/libmaa-1.3.1.ebuild,v 1.8 2012/09/02 18:44:27 armin76 Exp $
EAPI=4
DESCRIPTION="Library with low-level data structures which are helpful for writing compilers"
HOMEPAGE="http://www.dict.org/"
SRC_URI="mirror://sourceforge/dict/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ~hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~ia64-linux ~x86-linux"
IUSE=""
DOCS="ChangeLog NEWS README doc/libmaa.600dpi.ps"

@ -2,3 +2,4 @@ DIST libtasn1-2.13.tar.gz 1964659 SHA256 a56e46483d1d42fe44ba58c9758620844042468
DIST libtasn1-2.14.tar.gz 1977010 SHA256 bc2936cd20267859278145e563427c274d27aaae30ecdf50a04cdd4ec0153d54 SHA512 572b21f8b2e1dec2b2a8819c69dcc6a3985079cfbc64ccfd0b248b8c1c0eac367f4d8c6d97d8ef127f2054cb74fd6652fb1818b6b94dc9a09597202fefa85873 WHIRLPOOL 59e9b3df23e3e54fd56230a4c8541935fda4cc00098b459d7de2204277c0f286642f4b696efe1eba56413163c9243e0274972aa7f32ada50fbc544f7fc7a133c
DIST libtasn1-3.4.tar.gz 1844115 SHA256 f353507a458fe2372b791016a056c95946eebfc7256b49013851f134a5e6acc8 SHA512 2f06291b811e9415e7906b9b7c7d82fd5543c5bfce591093f6c44b59ee58deb8f78c7d1a025b9d08cffc87e98d15b3dac08872d6becf6734b0958631d51db14e WHIRLPOOL 2589edb77dfc3788fe86b68914eccd18b765965c34f20ef46534d0ea3d5d110cae3e0269e86bae21f9181de3383227cbfe9c0633571ba7ff143a832ffeda75d2
DIST libtasn1-3.6.tar.gz 1849205 SHA256 19e34766a38abc74cec1863cc30c8a4e13f763310ecaf7a5e861ba1d143ea430 SHA512 c682cd7502c687e3a304216366fdbb9de62052cb5f3394bbe1172ccb5eae8fd00bbf7282ad642c58a6be5f1ad224353a4a3f7d9a6bad14ab7016d530883a5d9e WHIRLPOOL 5b5981b25535f5ce82567b86f4099255c9ef4f4a16fabd2cde0380c956e09607a138c28720711b838c7ce386659ccc38bea1920a3ef1605643be9907d9254a33
DIST libtasn1-4.0.tar.gz 1862977 SHA256 41d044f7644bdd1c4f8a5c15ac1885ca1fcbf32f5f6dd4760a19278b979857fe SHA512 f55c0afc5ddd1dedb4c206e215640d551f86feb6436a2097d618d27f0547493a54aa9ebee08ec1271bfcaf45784753d99c6dc90d2dd9d9a0dacfcc30b5e16dee WHIRLPOOL 5e24d66eb2d2178a670561aaa5958f400a9f67233c5ed58821559c59f2dc1ad495ee7e6ad38fc30bc65e03713fecd8853b2d8f029cba52427f87690e20f1df72

@ -0,0 +1,42 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtasn1/libtasn1-4.0.ebuild,v 1.1 2014/06/26 18:51:44 alonbl Exp $
EAPI=5
inherit autotools-multilib
DESCRIPTION="ASN.1 library"
HOMEPAGE="http://www.gnu.org/software/libtasn1/"
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
LICENSE="GPL-3 LGPL-2.1"
SLOT="0/6" # subslot = libtasn1 soname version
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
IUSE="doc static-libs"
DEPEND=">=dev-lang/perl-5.6
sys-apps/help2man
virtual/yacc"
RDEPEND="
abi_x86_32? (
!<=app-emulation/emul-linux-x86-baselibs-20131008-r16
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
)"
DOCS=( AUTHORS ChangeLog NEWS README THANKS )
src_configure() {
local myeconfargs
[[ "${VALGRIND_TESTS}" == "0" ]] && myeconfargs+=( --disable-valgrind-tests )
autotools-multilib_src_configure
}
src_install() {
autotools-multilib_src_install
if use doc ; then
dodoc doc/libtasn1.pdf
dohtml doc/reference/html/*
fi
}

@ -1,2 +1,3 @@
DIST ucommon-5.2.2.tar.gz 792081 SHA256 9d5f3f4d1ef897482fe470b0dd65b0df516aaeb874eac3a33a455abca13f39e9 SHA512 5d5e526675cb39dffea48c38a14dff4eb1316a59c60e2352cfdbb0727ff4db00417e9704026f106da5d34f92ec2be3385b0763d66196f345f0b775bf62eb0125 WHIRLPOOL f857c4b06aff4bbb1ff84edc810d674c7d77a92bb4bcdb62fed64e77e9979c7d736b93596166de6c5fb848745aa7efc1b666231bdb6a33c3b959953b4b114ac2
DIST ucommon-6.0.3.tar.gz 806841 SHA256 228f3a0fa78173e9fa43e154250a7ed4f1e5be720a81fd2768506c088190c432 SHA512 3ff30865a7f3fae955717c9bc2d3b37ad8f63dff8d3addc05eb9ddefa2311792f21b97ede852e22959ae6aae5114cce777a04b937aa07d564dd92d6f25f77762 WHIRLPOOL 93135ae4ec3c0e6d5203ebed6c6736b9b768d623d99a20674ee0a0ce48622d783efea6b8ca4eb22d5c2653b5059ff9626a35bf0ccfbad7d422a5cdf6c190c7c8
DIST ucommon-6.1.8.tar.gz 833017 SHA256 9a2b3eb0b71198adcccd74303df59551fdd016c3a2848fb8be003fb1ac2e7fc5 SHA512 86fcd9b2fbafd06d87470a16bc3d377716e7040f29ccb91bf1fbe9ce66ef88e936141bd7c388d4bb63b9d4dea5e22ec9a0aae39cf3cf58e8a0e3ac9cb9b546b4 WHIRLPOOL a87ae7a929920710ad601d04bbf907c626ca4ade92d19c18ac0cba004428505d52082742ff65a0ce00862f04507e69a31012a365ababdc9bbbf5b0866c557047

@ -0,0 +1,11 @@
--- Doxyfile.orig 2014-06-26 23:56:45.724303475 +0300
+++ Doxyfile 2014-06-26 23:57:12.875021734 +0300
@@ -40,7 +40,7 @@
GENERATE_HTMLHELP = YES
GENERATE_TREEVIEW = NO
TREEVIEW_WIDTH = 256
-GENERATE_LATEX = YES
+GENERATE_LATEX = NO
COMPACT_LATEX = YES
PDF_HYPERLINKS = YES
USE_PDFLATEX = NO

@ -0,0 +1,58 @@
diff --git a/Makefile.am b/Makefile.am
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,6 +8,8 @@
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ACLOCAL_AMFLAGS = -I m4
+
EXTRA_DIST = autogen.sh README* *.pc.in *.spec.in *.spec *-config.in \
*-config.1 Doxyfile cmodel.sh BUILDS SUPPORT COPYING* COPYRIGHT \
CMakeLists.txt ucommon-config.cmake ucommon.pc.cmake cmake-abi.sh \
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -40,6 +40,9 @@
CHECKFLAGS="$CHECKFLAGS"
+m4_include([m4/libgcrypt.m4])
+
+
case "$with_crypto" in
ssl|openssl)
ssl="openssl"
@@ -698,6 +701,8 @@
gnutls|gnu)
if test ! -z "$GNUTLS_LIBS" ; then
SECURE_LIBS="$GNUTLS_LIBS"
+ AM_PATH_LIBGCRYPT
+ SECURE_LIBS="$GNUTLS_LIBS $LIBGCRYPT_LIBS"
SECURE="gnutls"
fi
;;
diff --git a/utils/Makefile.am b/utils/Makefile.am
--- a/utils/Makefile.am
+++ b/utils/Makefile.am
@@ -9,9 +9,9 @@
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
MAINTAINERCLEANFILES = Makefile.in Makefile
-AM_CXXFLAGS = -I$(top_srcdir)/inc @UCOMMON_FLAGS@
+AM_CXXFLAGS = -I$(top_srcdir)/inc @UCOMMON_FLAGS@ @LIBGCRYPT_CFLAGS@
AM_CPPFLAGS = -I$(top_srcdir)/inc
-LDADD = ../corelib/libucommon.la @UCOMMON_LIBS@ @UCOMMON_CLINK@
+LDADD = ../corelib/libucommon.la @UCOMMON_LIBS@ @UCOMMON_CLINK@ @LIBGCRYPT_LIBS@
EXTRA_DIST = *.1
man_MANS = args.1 scrub-files.1 mdsum.1 zerofill.1 car.1 sockaddr.1 \
@@ -30,7 +30,7 @@
scrub_files_LDFLAGS = @SECURE_LOCAL@
mdsum_SOURCES = mdsum.cpp
-mdsum_LDFLAGS = @SECURE_LOCAL@
+mdsum_LDFLAGS = @SECURE_LOCAL@ @LIBGCRYPT_LIBS@
zerofill_SOURCES = zerofill.cpp
zerofill_LDFLAGS = @SECURE_LOCAL@

@ -0,0 +1,128 @@
diff --git a/m4/libgcrypt.m4 b/m4/libgcrypt.m4
new file mode 100644
--- /dev/null
+++ m4/libgcrypt.m4
@@ -0,0 +1,123 @@
+dnl Autoconf macros for libgcrypt
+dnl Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+dnl
+dnl This file is free software; as a special exception the author gives
+dnl unlimited permission to copy and/or distribute it, with or without
+dnl modifications, as long as this notice is preserved.
+dnl
+dnl This file is distributed in the hope that it will be useful, but
+dnl WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
+dnl implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+
+dnl AM_PATH_LIBGCRYPT([MINIMUM-VERSION,
+dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
+dnl Test for libgcrypt and define LIBGCRYPT_CFLAGS and LIBGCRYPT_LIBS.
+dnl MINIMUN-VERSION is a string with the version number optionalliy prefixed
+dnl with the API version to also check the API compatibility. Example:
+dnl a MINIMUN-VERSION of 1:1.2.5 won't pass the test unless the installed
+dnl version of libgcrypt is at least 1.2.5 *and* the API number is 1. Using
+dnl this features allows to prevent build against newer versions of libgcrypt
+dnl with a changed API.
+dnl
+AC_DEFUN([AM_PATH_LIBGCRYPT],
+[ AC_ARG_WITH(libgcrypt-prefix,
+ AC_HELP_STRING([--with-libgcrypt-prefix=PFX],
+ [prefix where LIBGCRYPT is installed (optional)]),
+ libgcrypt_config_prefix="$withval", libgcrypt_config_prefix="")
+ if test x$libgcrypt_config_prefix != x ; then
+ if test x${LIBGCRYPT_CONFIG+set} != xset ; then
+ LIBGCRYPT_CONFIG=$libgcrypt_config_prefix/bin/libgcrypt-config
+ fi
+ fi
+
+ AC_PATH_TOOL(LIBGCRYPT_CONFIG, libgcrypt-config, no)
+ tmp=ifelse([$1], ,1:1.2.0,$1)
+ if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then
+ req_libgcrypt_api=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'`
+ min_libgcrypt_version=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\2/'`
+ else
+ req_libgcrypt_api=0
+ min_libgcrypt_version="$tmp"
+ fi
+
+ AC_MSG_CHECKING(for LIBGCRYPT - version >= $min_libgcrypt_version)
+ ok=no
+ if test "$LIBGCRYPT_CONFIG" != "no" ; then
+ req_major=`echo $min_libgcrypt_version | \
+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\1/'`
+ req_minor=`echo $min_libgcrypt_version | \
+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\2/'`
+ req_micro=`echo $min_libgcrypt_version | \
+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\3/'`
+ libgcrypt_config_version=`$LIBGCRYPT_CONFIG --version`
+ major=`echo $libgcrypt_config_version | \
+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\1/'`
+ minor=`echo $libgcrypt_config_version | \
+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\2/'`
+ micro=`echo $libgcrypt_config_version | \
+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\3/'`
+ if test "$major" -gt "$req_major"; then
+ ok=yes
+ else
+ if test "$major" -eq "$req_major"; then
+ if test "$minor" -gt "$req_minor"; then
+ ok=yes
+ else
+ if test "$minor" -eq "$req_minor"; then
+ if test "$micro" -ge "$req_micro"; then
+ ok=yes
+ fi
+ fi
+ fi
+ fi
+ fi
+ fi
+ if test $ok = yes; then
+ AC_MSG_RESULT([yes ($libgcrypt_config_version)])
+ else
+ AC_MSG_RESULT(no)
+ fi
+ if test $ok = yes; then
+ # If we have a recent libgcrypt, we should also check that the
+ # API is compatible
+ if test "$req_libgcrypt_api" -gt 0 ; then
+ tmp=`$LIBGCRYPT_CONFIG --api-version 2>/dev/null || echo 0`
+ if test "$tmp" -gt 0 ; then
+ AC_MSG_CHECKING([LIBGCRYPT API version])
+ if test "$req_libgcrypt_api" -eq "$tmp" ; then
+ AC_MSG_RESULT([okay])
+ else
+ ok=no
+ AC_MSG_RESULT([does not match. want=$req_libgcrypt_api got=$tmp])
+ fi
+ fi
+ fi
+ fi
+ if test $ok = yes; then
+ LIBGCRYPT_CFLAGS=`$LIBGCRYPT_CONFIG --cflags`
+ LIBGCRYPT_LIBS=`$LIBGCRYPT_CONFIG --libs`
+ ifelse([$2], , :, [$2])
+ if test x"$host" != x ; then
+ libgcrypt_config_host=`$LIBGCRYPT_CONFIG --host 2>/dev/null || echo none`
+ if test x"$libgcrypt_config_host" != xnone ; then
+ if test x"$libgcrypt_config_host" != x"$host" ; then
+ AC_MSG_WARN([[
+***
+*** The config script $LIBGCRYPT_CONFIG was
+*** built for $libgcrypt_config_host and thus may not match the
+*** used host $host.
+*** You may want to use the configure option --with-libgcrypt-prefix
+*** to specify a matching config script.
+***]])
+ fi
+ fi
+ fi
+ else
+ LIBGCRYPT_CFLAGS=""
+ LIBGCRYPT_LIBS=""
+ ifelse([$3], , :, [$3])
+ fi
+ AC_SUBST(LIBGCRYPT_CFLAGS)
+ AC_SUBST(LIBGCRYPT_LIBS)
+])

@ -0,0 +1,75 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/ucommon/ucommon-6.1.8.ebuild,v 1.1 2014/06/27 08:46:59 maksbotan Exp $
EAPI="5"
AUTOTOOLS_AUTORECONF=1
inherit autotools-utils eutils
DESCRIPTION="Portable C++ runtime for threads and sockets"
HOMEPAGE="http://www.gnu.org/software/commoncpp"
SRC_URI="mirror://gnu/commoncpp/${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
IUSE="doc static-libs socks +cxx debug ssl gnutls"
RDEPEND="ssl? (
!gnutls? ( dev-libs/openssl )
gnutls? (
net-libs/gnutls
dev-libs/libgcrypt
)
)"
DEPEND="virtual/pkgconfig
doc? ( app-doc/doxygen )
${RDEPEND}"
DOCS=(README NEWS SUPPORT ChangeLog AUTHORS)
PATCHES=( "${FILESDIR}"/6.1/disable_rtf_gen_doxy.patch
"${FILESDIR}"/6.1/install_gcrypt.m4_file.patch
"${FILESDIR}"/6.1/gcrypt_autotools.patch )
#AUTOTOOLS_IN_SOURCE_BUILD=1
src_prepare() {
# Aclocal 1.13 deprecated error BGO #467674
sed -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' -i configure.ac || die
autotools-utils_src_prepare
}
src_configure() {
local myconf=""
if use ssl; then
myconf+=" --with-sslstack=$(usex gnutls gnu ssl) "
else
myconf+=" --with-sslstack=nossl ";
fi
local myeconfargs=(
$(use_enable socks)
$(use_enable cxx stdcpp)
${myconf}
--enable-atomics
--with-pkg-config
)
autotools-utils_src_configure
}
src_compile() {
autotools-utils_src_compile
use doc && autotools-utils_src_compile doxy
}
src_install() {
autotools-utils_src_install
if use doc; then
dohtml doc/html/*
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-SNMP/Net-SNMP-6.0.1-r1.ebuild,v 1.2 2013/09/14 02:19:50 patrick Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-SNMP/Net-SNMP-6.0.1-r1.ebuild,v 1.3 2014/06/27 10:32:56 zlogene Exp $
EAPI=5
@ -12,7 +12,7 @@ inherit perl-module
DESCRIPTION="A SNMP Perl Module"
SLOT="0"
KEYWORDS=~"alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~sparc-solaris ~x86-solaris"
KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86 ~ppc-aix ~sparc-solaris ~x86-solaris"
# Package warrants IUSE examples
IUSE=""

@ -1,27 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-SNMP/Net-SNMP-6.0.1.ebuild,v 1.9 2012/09/01 11:44:24 grobian Exp $
EAPI=3
MY_P=${PN}-v${PV}
S=${WORKDIR}/${MY_P}
MODULE_AUTHOR=DTOWN
inherit perl-module
DESCRIPTION="A SNMP Perl Module"
SLOT="0"
KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86 ~ppc-aix ~sparc-solaris ~x86-solaris"
IUSE=""
RDEPEND="
>=dev-perl/Crypt-DES-2.03
>=virtual/perl-Digest-MD5-2.11
>=dev-perl/Digest-SHA1-1.02
>=dev-perl/Digest-HMAC-1.0
>=virtual/perl-libnet-1.0703"
DEPEND="${RDEPEND}
virtual/perl-Module-Build"
SRC_TEST=do

@ -1,2 +1 @@
DIST Parallel-ForkManager-0.7.5.tar.gz 5935 SHA256 77736f583ee6828aa00214bc5f08197a6978ad103755e6de223a6506b88648b4 SHA512 d8c4de63d74e48aa0e6bd438ff63511437d63643f8b710130d3470e58c2a0471c8716b4c25471c7935e4685f84b732b39a32dd26cf2e5a62cceec18cb1b2a8be WHIRLPOOL dfe1e418eb13cff143049806d7b4dd758ce122dda2b1aa0dd9edda74f280c427ddf80f0c6c9923ab76087d153629c17aa09a4c458612c7ad5d9335402aa798d9
DIST Parallel-ForkManager-1.02.tar.gz 13270 SHA256 fb005d9a25b9bab86244673deaeefc18e83c590dd2b9b74ef53d21134c981534 SHA512 a5efaf348939019494dc5c7bb56c817ffab09782907de80f0258ef75a4639e56919bb35608321a17aa9322c838def4eb789f2e4dc56ad44825a4b2997b798ed7 WHIRLPOOL 800bb5bd36d078c30fe594405011bfe10fb528c3f87dd15a87b82df1f9b76c31f2f5d58ed6d934a6fe1fbaa90595c44756704ed1b655de622ecbe420fcf9ba23

@ -1,14 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Parallel-ForkManager/Parallel-ForkManager-0.7.5.ebuild,v 1.13 2010/03/18 19:04:43 darkside Exp $
EAPI=2
MODULE_AUTHOR=DLUX
inherit perl-module
DESCRIPTION="Parallel ForkManager module"
SLOT="0"
KEYWORDS="alpha amd64 ia64 ~ppc sparc x86 ~sparc-solaris ~x86-solaris"
IUSE=""

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Parallel-ForkManager/Parallel-ForkManager-1.20.0.ebuild,v 1.5 2012/12/28 15:09:16 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Parallel-ForkManager/Parallel-ForkManager-1.20.0.ebuild,v 1.6 2014/06/27 10:17:10 zlogene Exp $
EAPI=4
@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="A simple parallel processing fork manager"
SLOT="0"
KEYWORDS="~alpha amd64 ia64 ~ppc sparc x86 ~sparc-solaris ~x86-solaris"
KEYWORDS="alpha amd64 ia64 ~ppc sparc x86 ~sparc-solaris ~x86-solaris"
IUSE=""
SRC_TEST=do

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/PortageXS/PortageXS-0.02.12.ebuild,v 1.3 2014/06/22 12:34:06 zlogene Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/PortageXS/PortageXS-0.02.12.ebuild,v 1.4 2014/06/27 09:22:38 zlogene Exp $
EAPI=5
@ -18,13 +18,14 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
IUSE="minimal"
DEPEND="dev-lang/perl
virtual/perl-Module-Build
virtual/perl-Term-ANSIColor
dev-perl/Shell-EnvImporter
!minimal? ( dev-perl/IO-Socket-SSL
virtual/perl-Sys-Syslog )"
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.02.10-prefix.patch
epatch "${FILESDIR}"/${PV}/${P}-prefix.patch
eprefixify \
lib/PortageXS/Core.pm \

@ -0,0 +1,198 @@
lib/PortageXS.pm | 16 ++++++++--------
lib/PortageXS/Core.pm | 8 ++++----
lib/PortageXS/examples/getParamFromFile.pl | 2 +-
t/01_Core.t | 12 ++++++------
usr/bin/portagexs_client | 8 ++++----
usr/sbin/portagexsd | 12 ++++++------
6 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/lib/PortageXS.pm b/lib/PortageXS.pm
index db57a25..6cec46e 100644
--- a/lib/PortageXS.pm
+++ b/lib/PortageXS.pm
@@ -71,8 +71,8 @@ sub new {
$pxs->{'VERSION'} = $PortageXS::VERSION;
$pxs->{'PORTDIR'} = $pxs->getPortdir();
- $pxs->{'PKG_DB_DIR'} = '/var/db/pkg/';
- $pxs->{'PATH_TO_WORLDFILE'} = '/var/lib/portage/world';
+ $pxs->{'PKG_DB_DIR'} = '@GENTOO_PORTAGE_EPREFIX@/var/db/pkg/';
+ $pxs->{'PATH_TO_WORLDFILE'} = '@GENTOO_PORTAGE_EPREFIX@/var/lib/portage/world';
$pxs->{'IS_INITIALIZED'} = 1;
$pxs->{'EXCLUDE_DIRS'}{'.'} = 1;
@@ -85,17 +85,17 @@ sub new {
$pxs->{'EXCLUDE_DIRS'}{'CVS'} = 1;
$pxs->{'EXCLUDE_DIRS'}{'.cache'} = 1;
- $pxs->{'PORTAGEXS_ETC_DIR'} = '/etc/pxs/';
- $pxs->{'ETC_DIR'} = '/etc/';
+ $pxs->{'PORTAGEXS_ETC_DIR'} = '@GENTOO_PORTAGE_EPREFIX@/etc/pxs/';
+ $pxs->{'ETC_DIR'} = '@GENTOO_PORTAGE_EPREFIX@/etc/';
$pxs->{'MAKE_PROFILE_PATHS'} = [
- '/etc/make.profile',
- '/etc/portage/make.profile'
+ '@GENTOO_PORTAGE_EPREFIX@/etc/make.profile',
+ '@GENTOO_PORTAGE_EPREFIX@/etc/portage/make.profile'
];
$pxs->{'MAKE_CONF_PATHS'} = [
- '/etc/make.conf',
- '/etc/portage/make.conf'
+ '@GENTOO_PORTAGE_EPREFIX@/etc/make.conf',
+ '@GENTOO_PORTAGE_EPREFIX@/etc/portage/make.conf'
];
for my $path ( @{ $pxs->{'MAKE_PROFILE_PATHS'} } ) {
diff --git a/lib/PortageXS/Core.pm b/lib/PortageXS/Core.pm
index 5d51023..3dd0b84 100644
--- a/lib/PortageXS/Core.pm
+++ b/lib/PortageXS/Core.pm
@@ -122,7 +122,7 @@ sub getPortageMakeParam {
my $self = shift;
my $param = shift;
my @files = ();
- my @etcfiles = qw(/usr/share/portage/config/make.globals /etc/make.conf);
+ my @etcfiles = qw(@GENTOO_PORTAGE_EPREFIX@/usr/share/portage/config/make.globals @GENTOO_PORTAGE_EPREFIX@/etc/make.conf);
my $v = '';
my $parent = '';
my $curPath;
@@ -166,7 +166,7 @@ sub getPortageMakeParam {
# - Defaults >
if ($param eq 'PORTDIR' && !$v) {
- $v='/usr/portage';
+ $v='@GENTOO_PORTAGE_EPREFIX@/usr/portage';
}
return $v;
@@ -193,7 +193,7 @@ sub getPortdir {
return $self->{'PORTDIR'};
}
else {
- $self->{'PORTDIR'}=$self->getParamFromFile($self->getFileContents('/usr/share/portage/config/make.globals').$self->getFileContents('/etc/portage/make.conf'),'PORTDIR','lastseen');
+ $self->{'PORTDIR'}=$self->getParamFromFile($self->getFileContents('@GENTOO_PORTAGE_EPREFIX@/usr/share/portage/config/make.globals').$self->getFileContents('@GENTOO_PORTAGE_EPREFIX@/etc/portage/make.conf'),'PORTDIR','lastseen');
return $self->{'PORTDIR'};
}
}
@@ -210,7 +210,7 @@ sub getPortdirOverlay {
my $self = shift;
my $forcereload = shift;
- return split(/ /,$self->getParamFromFile($self->getFileContents('/usr/share/portage/config/make.globals').$self->getFileContents('/etc/make.conf'),'PORTDIR_OVERLAY','lastseen'));
+ return split(/ /,$self->getParamFromFile($self->getFileContents('@GENTOO_PORTAGE_EPREFIX@/usr/share/portage/config/make.globals').$self->getFileContents('@GENTOO_PORTAGE_EPREFIX@/etc/make.conf'),'PORTDIR_OVERLAY','lastseen'));
}
# Description:
diff --git a/lib/PortageXS/examples/getParamFromFile.pl b/lib/PortageXS/examples/getParamFromFile.pl
index 416b1be..9ea88bb 100755
--- a/lib/PortageXS/examples/getParamFromFile.pl
+++ b/lib/PortageXS/examples/getParamFromFile.pl
@@ -8,4 +8,4 @@ use PortageXS;
my $pxs=PortageXS->new();
print "CFLAGS are set to: ";
-print join(' ',$pxs->getParamFromFile($pxs->getFileContents('/etc/make.globals').$pxs->getFileContents('/etc/make.conf'),'CFLAGS','lastseen'))."\n";
+print join(' ',$pxs->getParamFromFile($pxs->getFileContents('@GENTOO_PORTAGE_EPREFIX@/etc/make.globals').$pxs->getFileContents('@GENTOO_PORTAGE_EPREFIX@/etc/make.conf'),'CFLAGS','lastseen'))."\n";
diff --git a/t/01_Core.t b/t/01_Core.t
index d01dc31..6daba99 100644
--- a/t/01_Core.t
+++ b/t/01_Core.t
@@ -14,8 +14,8 @@ ok(-d $pxs->getPortdir(),'getPortdir: '.$pxs->getPortdir());
# - getFileContents >
{
- my $content = $pxs->getFileContents('/etc/portage/make.conf');
- ok($content ne '','getFileContents of /etc/portage/make.conf');
+ my $content = $pxs->getFileContents('@GENTOO_PORTAGE_EPREFIX@/etc/portage/make.conf');
+ ok($content ne '','getFileContents of @GENTOO_PORTAGE_EPREFIX@/etc/portage/make.conf');
}
# - searchInstalledPackage >
@@ -26,8 +26,8 @@ ok(-d $pxs->getPortdir(),'getPortdir: '.$pxs->getPortdir());
# - getParamFromFile >
{
- my $param = $pxs->getParamFromFile($pxs->getFileContents('/etc/portage/make.conf'),'CFLAGS','lastseen');
- ok($param ne '','getParamFromFile /etc/portage/make.conf - CFLAGS: '.$param);
+ my $param = $pxs->getParamFromFile($pxs->getFileContents('@GENTOO_PORTAGE_EPREFIX@/etc/portage/make.conf'),'CFLAGS','lastseen');
+ ok($param ne '','getParamFromFile @GENTOO_PORTAGE_EPREFIX@/etc/portage/make.conf - CFLAGS: '.$param);
}
# - getUseSettingsOfInstalledPackage >
@@ -65,8 +65,8 @@ ok(-d $pxs->getPortdir(),'getPortdir: '.$pxs->getPortdir());
# - fileBelongsToPackage >
{
- my @packages = $pxs->fileBelongsToPackage('/etc/gentoo-release');
- ok($#packages==0,'fileBelongsToPackage - /etc/gentoo-release: '.$packages[0]);
+ my @packages = $pxs->fileBelongsToPackage('@GENTOO_PORTAGE_EPREFIX@/etc/gentoo-release');
+ ok($#packages==0,'fileBelongsToPackage - @GENTOO_PORTAGE_EPREFIX@/etc/gentoo-release: '.$packages[0]);
}
ok(!$pxs->fileBelongsToPackage('/this/path/most/likely/does/not/exist'),'fileBelongsToPackage bogus test');
diff --git a/usr/bin/portagexs_client b/usr/bin/portagexs_client
index 598d05a..688cb97 100755
--- a/usr/bin/portagexs_client
+++ b/usr/bin/portagexs_client
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!@GENTOO_PORTAGE_EPREFIX@/usr/bin/perl
# -----------------------------------------------------------------------------
#
@@ -54,9 +54,9 @@ if(!($sock = IO::Socket::SSL->new( PeerAddr => $remote_addr,
SSL_use_cert => 1,
SSL_verify_mode => 0x01,
SSL_passwd_cb => sub { return "" },
- SSL_key_file => '/etc/pxs/certs/client-key.pem',
- SSL_cert_file => '/etc/pxs/certs/client-cert.pem',
- SSL_ca_file => '/etc/pxs/certs/my-ca.pem'
+ SSL_key_file => '@GENTOO_PORTAGE_EPREFIX@/etc/pxs/certs/client-key.pem',
+ SSL_cert_file => '@GENTOO_PORTAGE_EPREFIX@/etc/pxs/certs/client-cert.pem',
+ SSL_ca_file => '@GENTOO_PORTAGE_EPREFIX@/etc/pxs/certs/my-ca.pem'
))) {
$pxs->print_err("unable to create socket: ".&IO::Socket::SSL::errstr."\n");
$pxs->print_err("Server down?\n");
diff --git a/usr/sbin/portagexsd b/usr/sbin/portagexsd
index 638f662..e93bdfa 100755
--- a/usr/sbin/portagexsd
+++ b/usr/sbin/portagexsd
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -t
+#!@GENTOO_PORTAGE_EPREFIX@/usr/bin/perl -t
# -----------------------------------------------------------------------------
#
@@ -50,7 +50,7 @@ else {
sub main {
# - Parse config >
my %config = ();
- $config{'cfgfiledata'} = $pxs->getFileContents("/etc/pxs/portagexsd.conf");
+ $config{'cfgfiledata'} = $pxs->getFileContents("@GENTOO_PORTAGE_EPREFIX@/etc/pxs/portagexsd.conf");
$config{'Port'} = $pxs->getParamFromFile($config{'cfgfiledata'},"Port","lastseen");
$config{'SSLpasswd'} = $pxs->getParamFromFile($config{'cfgfiledata'},"SSLpasswd","lastseen");
$config{'PidFile'} = $pxs->getParamFromFile($config{'cfgfiledata'},"PidFile","lastseen");
@@ -60,7 +60,7 @@ sub main {
$config{'cfgfiledata'} = undef;
if (!$config{'I_AM_ROOT_AND_I_KNOW_WHAT_I_AM_DOING'}) {
- syslog("info", 'Not starting server as it seems that you did not have a look at the configs yet! (/etc/pxs/portagexsd.conf)');
+ syslog("info", 'Not starting server as it seems that you did not have a look at the configs yet! (@GENTOO_PORTAGE_EPREFIX@/etc/pxs/portagexsd.conf)');
exit(0);
}
@@ -70,9 +70,9 @@ sub main {
Reuse => 1,
SSL_verify_mode => 0x01,
SSL_passwd_cb => sub {return $config{'SSLpasswd'}},
- SSL_key_file => '/etc/pxs/certs/server-key.pem',
- SSL_cert_file => '/etc/pxs/certs/server-cert.pem',
- SSL_ca_file => '/etc/pxs/certs/my-ca.pem'
+ SSL_key_file => '@GENTOO_PORTAGE_EPREFIX@/etc/pxs/certs/server-key.pem',
+ SSL_cert_file => '@GENTOO_PORTAGE_EPREFIX@/etc/pxs/certs/server-cert.pem',
+ SSL_ca_file => '@GENTOO_PORTAGE_EPREFIX@/etc/pxs/certs/my-ca.pem'
)) ) {
syslog("info", "Unable to create socket: ", &IO::Socket::SSL::errstr);
exit(0);

@ -1,2 +1 @@
DIST SVN-Mirror-0.73.tar.gz 124896 SHA256 4c7460a9fa2bf8dfc5aa42b8ddfcc21ab8ee4bc0850a16a6a6d27c890f5692e9 SHA512 6969678bb322e1a0a1858721419ca28ad21c6eb95fcc74aaf7a8d985c4acf5577adfe719f491b9640474dcad6298c22347963e3949e8a864edb51798008846c8 WHIRLPOOL b607560fc580510ae373a6c94d5dc0e1a10ea05f07a0b690375c713923c298963b4a74365472dc1a6e11275c853a5f33921d701dadb00c205cdcd970af2287ca
DIST SVN-Mirror-0.75.tar.gz 122577 SHA256 3f48d92f4210a4b7c1984f25f5d7b7f594ccc0b09c907aa3fa693fc6dd5e0cb5 SHA512 0029edf67c6983944d3cc062b8712a6d46d30f46d0f5c3e035a487ff75135d00b861bc198e0cdb78f904d103aced26b8aa7ef7ca01c948ba1370ee2e72ae4d81 WHIRLPOOL 09d4dc868c3cd4cbdcce17fe5c0aa87d78d0a75fd6bd2e334c466fdcb1482e608781e3e8c73c893421dde49f92f7bb1b5c975ceae23c7f8c48603dde2303abcc

@ -1,33 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/SVN-Mirror/SVN-Mirror-0.73.ebuild,v 1.7 2011/12/04 17:59:39 armin76 Exp $
inherit perl-module
DESCRIPTION="SVN::Mirror - Mirror remote repositories to local subversion repository"
SRC_URI="mirror://cpan/authors/id/C/CL/CLKAO/${P}.tar.gz"
HOMEPAGE="http://www.cpan.org/authors/id/C/CL/CLKAO/${P}.readme"
SLOT="0"
LICENSE="Artistic"
KEYWORDS="amd64 ppc x86"
IUSE=""
DEPEND=">=dev-vcs/subversion-1.1.3
>=dev-perl/URI-1.34
>=dev-perl/TermReadKey-2.21
>=dev-perl/SVN-Simple-0.26
dev-perl/Data-UUID
dev-perl/Class-Accessor
dev-perl/TimeDate
dev-perl/File-chdir
dev-lang/perl"
pkg_setup() {
if ! perl -MSVN::Core < /dev/null 2> /dev/null
then
eerror "You need subversion-1.0.4+ compiled with Perl bindings."
eerror "USE=\"perl\" emerge subversion"
die "Need Subversion compiled with Perl bindings."
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/SVN-Mirror/SVN-Mirror-0.750.0.ebuild,v 1.3 2014/06/22 12:43:21 zlogene Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/SVN-Mirror/SVN-Mirror-0.750.0.ebuild,v 1.4 2014/06/27 08:49:17 zlogene Exp $
EAPI=5
MODULE_AUTHOR=CLKAO
@ -10,7 +10,7 @@ inherit perl-module eutils
DESCRIPTION="SVN::Mirror - Mirror remote repositories to local subversion repository"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE=""
RDEPEND=">=dev-vcs/subversion-1.1.3[perl]

@ -0,0 +1,28 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/gtk2-trayicon/gtk2-trayicon-0.60.0-r1.ebuild,v 1.1 2014/06/27 10:08:34 zlogene Exp $
EAPI=5
MODULE_AUTHOR=BORUP
MODULE_VERSION=0.06
MY_PN=Gtk2-TrayIcon
inherit perl-module
DESCRIPTION="Perl wrappers for the egg cup Gtk2::TrayIcon utilities."
HOMEPAGE="http://gtk2-perl.sf.net/ ${HOMEPAGE}"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
IUSE=""
RDEPEND="
>=dev-perl/glib-perl-1.012
>=dev-perl/gtk2-perl-1.012
gnome-base/libglade:2.0
x11-libs/gtk+:2"
DEPEND="${RDEPEND}
dev-perl/extutils-depends
dev-perl/extutils-pkgconfig
virtual/pkgconfig"

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/apptools/apptools-4.2.0-r1.ebuild,v 1.1 2013/04/16 16:04:21 idella4 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/apptools/apptools-4.2.0-r1.ebuild,v 1.2 2014/06/27 02:17:24 floppym Exp $
EAPI=5
@ -37,7 +37,6 @@ python_compile_all() {
}
python_test() {
export TMPDIR="${T}"
VIRTUALX_COMMAND="nosetests" virtualmake
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/apptools/apptools-4.2.1.ebuild,v 1.1 2014/05/02 04:22:47 idella4 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/apptools/apptools-4.2.1.ebuild,v 1.2 2014/06/27 02:17:24 floppym Exp $
EAPI=5
@ -37,7 +37,6 @@ python_compile_all() {
}
python_test() {
export TMPDIR="${T}"
# Ignore test file that imports a long deprecated module of traits
VIRTUALX_COMMAND="nosetests -I test_state_pickler.py" virtualmake
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/cryptography-vectors/cryptography-vectors-0.3.ebuild,v 1.4 2014/06/08 12:14:30 hattya Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/cryptography-vectors/cryptography-vectors-0.3.ebuild,v 1.5 2014/06/27 02:47:43 radhermit Exp $
EAPI=5
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy )
@ -18,4 +18,6 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~x86 ~x86-fbsd"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
S=${WORKDIR}/${MY_P}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/cryptography-vectors/cryptography-vectors-0.4.ebuild,v 1.4 2014/06/22 12:41:24 klausman Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/cryptography-vectors/cryptography-vectors-0.4.ebuild,v 1.5 2014/06/27 02:47:43 radhermit Exp $
EAPI=5
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy )
@ -18,4 +18,6 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~x86 ~x86-fbsd"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
S=${WORKDIR}/${MY_P}

@ -1,3 +1,2 @@
DIST django-auth-ldap-1.0.19.tar.gz 31549 SHA256 db9ba2d367f7a39e8e6474440cf4ef0290ea51c87116ba8d59191051a46fe462 SHA512 5440e47513b0e80a2a409efc88388866b98c387ec86dd94802679ee1d4310a2a55ca2cc9319b17f489db1479fb90e9e9d7e9740b1bd7b888c802e5408a54b6ce WHIRLPOOL dffcfb8c27657f8dd4da584fbeec35671a0e1b1980882c98263d358c8bb04f7f0aa0125f8c759e5ac303ceba408e9c7a56297bd5a5ce53d08e2eb75e8c399e5f
DIST django-auth-ldap-1.1.4.tar.gz 41140 SHA256 b87919df2211cf68556aa8dbeea01bb4217a0053e6a4eef7a7bc8f2ef07b28bb SHA512 cc97b424ded2916651e5ef65bb35f1aedcc5d51cf1a201d0e9e739b9171fb319b1226dab4791e9c7da867a0b9d5dccf0af79e263599b356f9075e80f1d4c8ba9 WHIRLPOOL d7244a0716b84aa63f42e0c2f36a7faa782340a241e3dd8369e58da49e81ac8c30f57f6b64a118778bcf943d0c93555affa9ccba1e2679a44922520d8f6c6bbe
DIST django-auth-ldap-1.1.tar.gz 33022 SHA256 95f89b01c0d85a882ae3446af13e8f9804e0a2a816e9d2152ca44eaf8f2bf7a3 SHA512 422a40da476a6af185f787c7111578f3a7af81970fddf1b50faf6dad7dd51225c6063364b63e500c74fb433ee9c5cda9819ef52df86d0bb2a24f51f00878f89c WHIRLPOOL aca900ab3865e89a5db3bcc1fd5c5454f61e50ac449a1e6f455a2796bda5001cf40f5ba0384bc91331e1990a609e80c3acd0f984c5d6b3b66c43188993e51e17
DIST django-auth-ldap-1.2.0.zip 158395 SHA256 61b0aab57726eb0f0b9ef540e871c99247070178c254c16b8612c8235129adc5 SHA512 60e1370590561613b6c99eee8cc8cf80ca63de4882a7753b136d1aee7fbd8f9dcf445d146bee258dbe5f53c15e80c3ac8afc77414462919852100984ed92e4e2 WHIRLPOOL b9788ed88e1837318ac0be592d6784a3560fa5d3d0d365d67ce028a13de09f9ebfa90913bb7424d1e3ac1de62bf91da3a8748dd8d4c27b425e3ed55b47b1ac6b

@ -1,48 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/django-auth-ldap/django-auth-ldap-1.0.19.ebuild,v 1.3 2012/05/04 08:07:57 iksaif Exp $
EAPI=4
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS=1
RESTRICT_PYTHON_ABIS="3.*"
inherit distutils
DESCRIPTION="Django LDAP authentication backend"
HOMEPAGE="http://pypi.python.org/pypi/django-auth-ldap http://bitbucket.org/psagers/django-auth-ldap/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
LICENSE="BSD"
SLOT="0"
PYTHON_MODNAME="django_auth_ldap"
RDEPEND=""
DEPEND="${RDEPEND} >=dev-python/django-1.0
dev-python/python-ldap
doc? ( dev-python/sphinx )"
src_test() {
export DJANGO_SETTINGS_MODULE="django.conf"
testing() {
"$(PYTHON)" build-$(python_get_version)/lib/django_auth_ldap/tests.py
echo "tests completed for python"$(python_get_version)
}
python_execute_function testing
}
src_compile() {
distutils_src_compile
if use doc; then
emake -C docs html
fi
}
src_install() {
distutils_src_install
if use doc; then
dohtml -r docs/_build/html/*
fi
}

@ -1,49 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/django-auth-ldap/django-auth-ldap-1.1.ebuild,v 1.1 2012/05/19 13:47:56 tampakrap Exp $
EAPI=4
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS=1
RESTRICT_PYTHON_ABIS="3.*"
inherit distutils
DESCRIPTION="Django LDAP authentication backend"
HOMEPAGE="http://pypi.python.org/pypi/django-auth-ldap http://bitbucket.org/psagers/django-auth-ldap/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
LICENSE="BSD"
SLOT="0"
PYTHON_MODNAME="django_auth_ldap"
RDEPEND=">=dev-python/django-1.0"
DEPEND="${RDEPEND}
dev-python/python-ldap
doc? ( dev-python/sphinx )"
src_compile() {
distutils_src_compile
use doc && emake -C docs html
}
src_test() {
export DJANGO_SETTINGS_MODULE="django.conf"
# Python.[56] trigger a harmless deprecation warning
testing() {
"$(PYTHON)" -m django_auth_ldap.tests
}
python_execute_function testing
}
src_install() {
distutils_src_install
if use doc; then
dohtml -r docs/_build/html/
fi
}

@ -0,0 +1,43 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/django-auth-ldap/django-auth-ldap-1.2.0.ebuild,v 1.1 2014/06/26 15:46:49 idella4 Exp $
EAPI=5
# Although setup.py claims to support py3, python-ldap does not
PYTHON_COMPAT=( python2_7 pypy )
inherit distutils-r1
DESCRIPTION="Django LDAP authentication backend"
HOMEPAGE="http://pypi.python.org/pypi/django-auth-ldap http://bitbucket.org/psagers/django-auth-ldap/"
SRC_URI="https://bitbucket.org/psagers/django-auth-ldap/get/80379ce59e6b.zip -> ${P}.zip"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
LICENSE="BSD"
SLOT="0"
RDEPEND="dev-python/django[${PYTHON_USEDEP}]
>=dev-python/python-ldap-2.0[${PYTHON_USEDEP}]"
DEPEND="app-arch/unzip
test? ( ${RDEPEND}
>=dev-python/mockldap-0.2[${PYTHON_USEDEP}] )
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
S="${WORKDIR}"/psagers-${PN}-80379ce59e6b
PATCHES=( "${FILESDIR}"/docs.patch )
python_compile_all() {
use doc && emake -C docs html
}
python_test() {
PYTHONPATH=. "${PYTHON}" test/manage.py test
}
python_install_all() {
use doc && local HTML_DOCS=( docs/build/html/. )
distutils-r1_python_install_all
}

@ -1,10 +1,10 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/funcsigs/funcsigs-0.4.ebuild,v 1.1 2014/06/04 09:36:07 jlec Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/funcsigs/funcsigs-0.4.ebuild,v 1.2 2014/06/27 01:50:48 idella4 Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
PYTHON_COMPAT=( python2_7 pypy )
inherit distutils-r1
@ -17,10 +17,8 @@ LICENSE="Apache-2.0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND=""
DEPEND="${RDEPEND}
test? ( dev-python/unittest2[${PYTHON_USEDEP}] )
"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="test? ( dev-python/unittest2[${PYTHON_USEDEP}] )"
python_test() {
esetup.py test

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/gevent-socketio/gevent-socketio-0.3.5_rc2.ebuild,v 1.1 2012/08/27 13:52:49 ultrabug Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/gevent-socketio/gevent-socketio-0.3.5_rc2.ebuild,v 1.2 2014/06/27 07:03:59 jlec Exp $
EAPI="4"
PYTHON_DEPEND="2:2.5"
@ -25,6 +25,7 @@ IUSE=""
RDEPEND="dev-python/gevent-websocket"
DEPEND="${RDEPEND}
dev-python/gevent
dev-python/setuptools"
dev-python/setuptools
dev-python/versiontools"
S="${WORKDIR}/${MY_P}"

@ -1,17 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
<herd>proxy-maintainers</herd>
<maintainer>
<email>ultrabug@gentoo.org</email>
<name>Ultrabug</name>
<description>main maintainer</description>
</maintainer>
<maintainer>
<email>julien@thebault.co</email>
<name>Lujeni</name>
<description>Proxy Maintainer. CC on bugs</description>
</maintainer>
<longdescription>SocketIO server based on the Gevent pywsgi server</longdescription>
<herd>python</herd>
<herd>proxy-maintainers</herd>
<maintainer>
<email>ultrabug@gentoo.org</email>
<name>Ultrabug</name>
<description>main maintainer</description>
</maintainer>
<maintainer>
<email>julien@thebault.co</email>
<name>Lujeni</name>
<description>Proxy Maintainer. CC on bugs</description>
</maintainer>
<longdescription>SocketIO server based on the Gevent pywsgi server</longdescription>
</pkgmetadata>

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/jdcal/jdcal-1.0.ebuild,v 1.1 2014/06/26 03:27:17 idella4 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/jdcal/jdcal-1.0.ebuild,v 1.2 2014/06/26 11:34:53 idella4 Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
@ -12,5 +12,5 @@ HOMEPAGE="http://github.com/phn/jdcal"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
SLOT="0"

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save