parent
429792875e
commit
1cf8e501b2
@ -1,2 +1,3 @@
|
||||
DIST cdrtools-3.00.tar.bz2 1978563 SHA256 7f9cb64820055573b880f77b2f16662a512518336ba95ab49228a1617973423d SHA512 93887afd6c244814b7f6a623f0ac5b551934626163065a6f32aefe82aa7438450fd7a42737ef3cdaad3f18841c066d25e72e37891531dd0be5be328692712cec WHIRLPOOL a02750131e4ec55df10387a01dab3881afee669cd8b8ea65eaed4fdd82e6bd11040c6d79fc64ccc9377e787f5903ec92ea3ae81db1945554b65a8636737cc931
|
||||
DIST cdrtools-3.01a17.tar.bz2 2061522 SHA256 3d613965b213ad83e4be0ba2535e784901839ea4d11a20a2beb6765f0eb76dfa SHA512 34a0579c536028b030cf828441ad55a705472646bc3a1ae962aad234fbe0b12c2bcb670511487c17086f5ba7643d1b8ae42a4a86bfe2940dc94f9744377daa8b WHIRLPOOL b718d559e0b36a576a42a38f84b3917891450d0bbab47b084eb1e906a396cf28ce47b79fd16565d4e0697311ee0c3d5abdd95b52ba2d7ae4e9f32d9b26bc26e1
|
||||
DIST cdrtools-3.01a18.tar.bz2 2059197 SHA256 7e9ad9e00679bb0c0456455243eb41614a5a3395eebded9371a0c843dd3494d6 SHA512 d9d7e427b9860b387a4b50c5120e564a275ed377cd933836ed68713e004fb5573bfa06640cba62a1c38e6fef2ba34d4384fe2644d64077b05338e005116c07ee WHIRLPOOL fc8dce50b17d176a1c90ad182c8ff49ab1a1cb2e0fc916938d7d3a99b4b4d2b683e7d49278be72596dba98bc2a4b8b4072cb929dee36af60b966d639bd945799
|
||||
|
@ -1,88 +0,0 @@
|
||||
--- cdrecord/priv.c 2013-10-12 09:51:46.385760482 +0200
|
||||
+++ cdrecord/priv.c 2013-10-12 09:53:16.545766912 +0200
|
||||
@@ -111,14 +111,13 @@
|
||||
/*
|
||||
* Give up privs we do not need anymore.
|
||||
* We no longer need:
|
||||
- * cap_dac_override,cap_net_bind_service,cap_sys_nice,cap_sys_resource
|
||||
+ * cap_dac_override,cap_net_bind_service,cap_sys_nice
|
||||
*/
|
||||
cap_t cset;
|
||||
cap_value_t caplist[] = {
|
||||
CAP_DAC_OVERRIDE,
|
||||
CAP_NET_BIND_SERVICE,
|
||||
CAP_SYS_NICE,
|
||||
- CAP_SYS_RESOURCE,
|
||||
CAP_SYS_RAWIO, /* Keep as CAP_EFFECTIVE */
|
||||
CAP_SYS_ADMIN /* Keep as CAP_EFFECTIVE */
|
||||
};
|
||||
@@ -128,7 +127,7 @@
|
||||
cap_set_flag(cset, CAP_EFFECTIVE, NCAPS-2, caplist, CAP_CLEAR);
|
||||
cap_set_flag(cset, CAP_INHERITABLE, NCAPS, caplist, CAP_CLEAR);
|
||||
if (cap_set_proc(cset) < 0)
|
||||
- errmsg("Cannot set process capabilities.\n");
|
||||
+ errmsg("Cannot set initial process capabilities.\n");
|
||||
#endif /* HAVE_LINUX_CAPS */
|
||||
#endif /* HAVE_PRIV_SET */
|
||||
}
|
||||
@@ -153,14 +152,13 @@
|
||||
/*
|
||||
* Get back privs we may need now.
|
||||
* We need:
|
||||
- * cap_dac_override,cap_net_bind_service,cap_sys_nice,cap_sys_resource
|
||||
+ * cap_dac_override,cap_net_bind_service,cap_sys_nice
|
||||
*/
|
||||
cap_t cset;
|
||||
cap_value_t caplist[] = {
|
||||
CAP_DAC_OVERRIDE,
|
||||
CAP_NET_BIND_SERVICE,
|
||||
- CAP_SYS_NICE,
|
||||
- CAP_SYS_RESOURCE
|
||||
+ CAP_SYS_NICE
|
||||
};
|
||||
|
||||
cset = cap_get_proc();
|
||||
@@ -168,7 +166,7 @@
|
||||
cap_set_flag(cset, CAP_EFFECTIVE, NCAPS, caplist, CAP_SET);
|
||||
cap_set_flag(cset, CAP_INHERITABLE, NCAPS, caplist, CAP_SET);
|
||||
if (cap_set_proc(cset) < 0)
|
||||
- errmsg("Cannot set process capabilities.\n");
|
||||
+ errmsg("Cannot regain process capabilities.\n");
|
||||
#endif /* HAVE_LINUX_CAPS */
|
||||
#endif /* HAVE_PRIV_SET */
|
||||
}
|
||||
@@ -193,14 +191,13 @@
|
||||
/*
|
||||
* Give up privs we do not need anymore.
|
||||
* We no longer need:
|
||||
- * cap_dac_override,cap_net_bind_service,cap_sys_nice,cap_sys_resource
|
||||
+ * cap_dac_override,cap_net_bind_service,cap_sys_nice
|
||||
*/
|
||||
cap_t cset;
|
||||
cap_value_t caplist[] = {
|
||||
CAP_DAC_OVERRIDE,
|
||||
CAP_NET_BIND_SERVICE,
|
||||
- CAP_SYS_NICE,
|
||||
- CAP_SYS_RESOURCE
|
||||
+ CAP_SYS_NICE
|
||||
};
|
||||
|
||||
cset = cap_get_proc();
|
||||
@@ -208,7 +205,7 @@
|
||||
cap_set_flag(cset, CAP_EFFECTIVE, NCAPS, caplist, CAP_CLEAR);
|
||||
cap_set_flag(cset, CAP_INHERITABLE, NCAPS, caplist, CAP_CLEAR);
|
||||
if (cap_set_proc(cset) < 0)
|
||||
- errmsg("Cannot set process capabilities.\n");
|
||||
+ errmsg("Cannot deactivate process capabilities.\n");
|
||||
#endif /* HAVE_LINUX_CAPS */
|
||||
#endif /* HAVE_PRIV_SET */
|
||||
}
|
||||
@@ -265,7 +262,7 @@
|
||||
cap_set_flag(cset, CAP_INHERITABLE, NCAPS, caplist, CAP_CLEAR);
|
||||
cap_set_flag(cset, CAP_PERMITTED, NCAPS, caplist, CAP_CLEAR);
|
||||
if (cap_set_proc(cset) < 0)
|
||||
- errmsg("Cannot set process capabilities.\n");
|
||||
+ errmsg("Cannot drop process capabilities.\n");
|
||||
#endif /* HAVE_LINUX_CAPS */
|
||||
#endif /* HAVE_PRIV_SET */
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
DIST Linux-HOWTOs-20100101.tar.bz2 7217658 SHA256 914c49b48c283b378ade4d059ab67b618f67372b9432cda2d7b3599420582f60 SHA512 b1ce2ed4b091dd85fe8b85e63d4100b89e213e60f60b5e2c958702c364972c135088bd4319ca8e2ceb01a0cb1c915b98910bbd03c3662fde6614f2f5587d5fe0 WHIRLPOOL 90d9adecf8b6cd474a865e42632023f898ead4a1666081769d0d4b77bfd15369a18f247ac5222c67ee99e27aefc3788e1a89c2e4f1b0a87fe40cfb2cede127eb
|
||||
DIST Linux-HOWTOs-20100701.tar.bz2 7220430 SHA256 193e897be336edf28411dc23b26742707795d3e4bb511990bccbbfabf6e9173e SHA512 2041a3361b522eb8377c98589d9fdbfdb2c1f20e5ba5bc74a67ec550529cd2b9b378d9e741cfddcfff8325c359b078b4e4a83337d6da10927e06254271f85a5d WHIRLPOOL 713e1881af3bdd7325880aebaf9924f5897219db878b1979706db1db4f913d5f5897cf7f25683502306208ae81eec8f48f95750c682226dcd1a5cf4f99ca1cbb
|
||||
DIST Linux-html-HOWTOs-20100101.tar.bz2 73796628 SHA256 1c358f512af72665fd9db22f24008b324f0d062dd933f7f9802387cbc4db472c SHA512 69c5670470125f8eb24454463946f6fa1a9bd29e3f19af3a579637f85f33685a2fd1e6ae359f2a67e7de3c1458ae86f28069c4b35b777dd6773ece13f53d5be7 WHIRLPOOL e047e94d0b7d000b733065745fa77bc9776658ae2c1208e43bcfda1e398afc14dfa0493c126978d5ed697096acde91aeeee990c3749d9c516ad5e0af29ec7a17
|
||||
DIST Linux-HOWTOs-20120707.tar.bz2 7221427 SHA256 8f818c0ac3bdbe01307b83fe81e3cfdc92112dbf8b32f5df9d28b41decd3def0 SHA512 329a299e2e66f17139a4ce4f6bed0106bc0bd2147773c659e101468adbc12a71c88f952fe7e96b78a483d62a3eafd5306cd8961c100c0ec93d55586ff1bddd41 WHIRLPOOL a981d645969c72e874aa30dda956ba4e09cf65919ea4ffd2f8469b5124af77a4ff3e8196fa515122a7cc878e8d1b036f263bfa910338a1984250f04c80fb422d
|
||||
DIST Linux-html-HOWTOs-20100701.tar.bz2 74332215 SHA256 bf3eaae198f465a5ec53c6878fa0bbb05b8faf2243bd2bdb88f0a0d23ff62584 SHA512 e1d9d238b69a972fec737bdfea95c34ff013e9a8caa8635ee2eb2a2e63aece143b5f65a953e64a0add75fe46fa8c9015638a1d2750e3559249fd91801409e560 WHIRLPOOL 951edb9052f1250295c34f83bd6f64c9a0d599b566b2e6ac35f125c5a291fb309818d88770390db248920045b806b0b1da3d1eb8130cd4f09277e66da6a171c0
|
||||
DIST Linux-html-single-HOWTOs-20100101.tar.bz2 7564228 SHA256 326d1e9ef22fb2d9f517322ab076bde90645e5d739d842dfe6d79c1cb3bc0b36 SHA512 8efc5e5fb8691a102507e19ede0f574217d0c3895ea097da21bdc17c2d5da0feb2d7eb536fd6ecdb25023a6f7e9658ccdf059a6a3aa8cbaaf66ff940aa85c89c WHIRLPOOL a8b0fbaee3d2c0585fbb9736d8286e4dba0b2fb006cad9444e41384657f13da352aee0fbe9dd6bdd9dddcc3b7e6f810ad62402d88290a92b3c0a54aa3b2a4ee3
|
||||
DIST Linux-html-HOWTOs-20120707.tar.bz2 75088235 SHA256 619ae9428f3c47fb9163a6b548f70877f0732e5457e9cd149c0e4d478ccd47ec SHA512 291764f596021cc098f13fc2a589a2bceb3a5865c7194db42c2b1e37bd59bceee089d34c9f55487a049a20d5f5296b5d0e67cc3303ed2aac1d2288a41caa2218 WHIRLPOOL 43cf549462ff6b6b133403eee408ba9defea0920304a4a9c7e06093d269c375082859ff7e49b8c5eb61287402c3a72738d3bb6a08dfc569b45c973a2b4e997f4
|
||||
DIST Linux-html-single-HOWTOs-20100701.tar.bz2 7567484 SHA256 251b8ddf1cba4796a6a50cf5e2a14d9cc33a40ffd22b7a19d802cfe89b871ebf SHA512 cb6756485a9f02b3bfb3765fa092298d2bd5cb7bc03d86d95b40bc81171d9167ceb47681f1643151a525f0251054f566c1783358c06bd728ce28c65fad3d1a2b WHIRLPOOL fb72ea8109ddcc4fa58fd13acee85a088c882cc60933b11059f905da9621c0344b49d678101107a7f158daecd9edefcecb4228abc62507278863996c714a9514
|
||||
DIST Linux-pdf-HOWTOs-20100101.tar.bz2 56214127 SHA256 755bb1f447921262986c03eb278a41e6d69c994071bd31d7ce9ccdecaa3bc7d7 SHA512 4a1d2e237fa3e95b18a9a1d366a72bd58f51e2cec0d4c0caaef15d6eb3ba4c4d714e392635c9b1fe2199867cf25942ed7e88a8b5e083e855dcfdaeb1cc6d8b18 WHIRLPOOL 00c3e88651d3b5c601f01d15186b6f763977efb924bc06ff04d0f339b6bce346bad41eceb006e40f618c1f016a9a00e2fe219df77d36a8a5f8a2ace5a1182bae
|
||||
DIST Linux-html-single-HOWTOs-20120707.tar.bz2 7563325 SHA256 5f80a27099ec484e8c063afaa767aba3868ea4af942dfccbb024a57eda6ba1c9 SHA512 edfc2c267c8efc66c220a5458eb514864f8b371031bc10afbfaab668558eaa8c02afd7b58c4cb65d874c5fe9b3e22f6df376e4114d3e8635be525c5d14e8bd20 WHIRLPOOL cee63efc95886acfaa25be04c7b124872a0a527d45c359cddc7d5ace5321984d5c8a829e116779c4118ce0572bd77a719df56c355b43de671c84a6521d5d58fd
|
||||
DIST Linux-pdf-HOWTOs-20100701.tar.bz2 56839500 SHA256 b8d9a245f8da038af0294335d1a98f0391792c2958e69962958f55778d2b0215 SHA512 54d2a168a186a44fe0d6f3532474e34d9542dc95f8633ee46b864d45ef91576929dd97902922d114fc4fc68c0112b14bd95b758836d25fb5b646655261eb3b7d WHIRLPOOL a600ccb734302d26d5b79bcebac44fd3d7ce7b70a55cfa34fb36b30bc7faf3fb9f3a08b130b7c6cb9290bc481345b65f166e77d764bd0180c774dd95627d4cb9
|
||||
DIST Linux-pdf-HOWTOs-20120707.tar.bz2 57436243 SHA256 7ba25461d394993229245ddef17b6f184e6d480ffea6d0fecd98f2092eed4ab2 SHA512 665387a1e2f9703042f1544ed015e39ba222744795ea676fcefc83fda94b6f9222a98aa4ed37ea5bd9164327837e924613ac41ca78a78ae9a4a4097fb64cff3e WHIRLPOOL 168fe7410c5a03c04898455b6c79725851641b88c282641ccd0d30bc1f5c674bc998f7113c04ae49b7a1b86274d3ef185b1bcaf850d9a5aa082fe42191915068
|
||||
|
@ -1,66 +1,59 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-doc/tldp-howto/tldp-howto-20100101.ebuild,v 1.7 2013/09/05 05:53:42 vapier Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-doc/tldp-howto/tldp-howto-20120707.ebuild,v 1.1 2013/10/14 05:08:18 dirtyepic Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit confutils
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="The Linux Documentation Project HOWTOs"
|
||||
HOMEPAGE="http://www.tldp.org"
|
||||
|
||||
# Yay, unversioned distfiles
|
||||
# http://www.ibiblio.org/pub/Linux/docs/HOWTO/Linux-HOWTOs.tar.bz2
|
||||
# http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html/Linux-html-HOWTOs.tar.bz2
|
||||
# ^^^ this also contains the pdfs, not sure if it's intentional as older versions don't
|
||||
# http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/Linux-html-single-HOWTOs.tar.bz2
|
||||
# http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/pdf/Linux-pdf-HOWTOs.tar.bz2
|
||||
|
||||
MY_SRC="http://www.ibiblio.org/pub/Linux/docs/HOWTO"
|
||||
SRC_URI="
|
||||
html? ( mirror://gentoo/Linux-html-HOWTOs-${PV}.tar.bz2 )
|
||||
htmlsingle? ( mirror://gentoo/Linux-html-single-HOWTOs-${PV}.tar.bz2 )
|
||||
pdf? ( mirror://gentoo/Linux-pdf-HOWTOs-${PV}.tar.bz2 )
|
||||
text? ( mirror://gentoo/Linux-HOWTOs-${PV}.tar.bz2 )"
|
||||
html? ( ${MY_SRC}/other-formats/html/Linux-html-HOWTOs-${PV}.tar.bz2 )
|
||||
htmlsingle? ( ${MY_SRC}/other-formats/html_single/Linux-html-single-HOWTOs-${PV}.tar.bz2 )
|
||||
pdf? ( ${MY_SRC}/other-formats/pdf/Linux-pdf-HOWTOs-${PV}.tar.bz2 )
|
||||
text? ( ${MY_SRC}/Linux-HOWTOs-${PV}.tar.bz2 )"
|
||||
|
||||
LICENSE="FDL-1.2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="+html htmlsingle pdf text"
|
||||
RESTRICT="binchecks strip"
|
||||
REQUIRED_USE="|| ( html htmlsingle pdf text )"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
confutils_require_any html htmlsingle pdf text
|
||||
}
|
||||
RESTRICT="binchecks strip"
|
||||
|
||||
src_unpack() {
|
||||
mkdir -p "${S}"
|
||||
mkdir -p "${S}" || die
|
||||
cd "${S}"
|
||||
if use text; then
|
||||
mkdir "${S}"/text
|
||||
pushd "${S}"/text > /dev/null
|
||||
unpack Linux-HOWTOs-${PV}.tar.bz2
|
||||
popd > /dev/null
|
||||
fi
|
||||
if use html; then
|
||||
unpack Linux-html-HOWTOs-${PV}.tar.bz2
|
||||
# for some reason this bundles the pdfs - older versions didn't
|
||||
[[ -d ${S}/HOWTO/pdf ]] && rm -r "${S}"/HOWTO/pdf
|
||||
# stray bin file, doubt anyone will ever need it
|
||||
rm -f "${S}"/HOWTO/RedHat-CD-HOWTO/rhcd-scripts/rvc
|
||||
mv "${S}"/HOWTO "${S}"/html
|
||||
fi
|
||||
if use htmlsingle; then
|
||||
mkdir "${S}"/htmlsingle
|
||||
mkdir "${S}"/htmlsingle || die
|
||||
pushd "${S}"/htmlsingle > /dev/null
|
||||
unpack Linux-html-single-HOWTOs-${PV}.tar.bz2
|
||||
popd > /dev/null
|
||||
fi
|
||||
if use pdf; then
|
||||
mkdir "${S}"/pdf
|
||||
mkdir "${S}"/pdf || die
|
||||
pushd "${S}"/pdf > /dev/null
|
||||
unpack Linux-pdf-HOWTOs-${PV}.tar.bz2
|
||||
popd > /dev/null
|
||||
fi
|
||||
if use text; then
|
||||
mkdir "${S}"/text || die
|
||||
pushd "${S}"/text > /dev/null
|
||||
unpack Linux-HOWTOs-${PV}.tar.bz2
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
@ -1,2 +1,2 @@
|
||||
DIST kraft-0.50.tar.bz2 731389 SHA256 5f3e64138bfa84a09d7be4758c65272aa50151fb4b6b19e313efde0ba755eccc SHA512 3fcd9a2dfcb4e07ddece8b87aaf501e44948a06fb956dc16750d6bd53ac9125d2faacb30c7b7b05d27dbaed33a60dd4733392aa272c75bcf7cc2db430e73ab69 WHIRLPOOL 9b3c4e38833e8e3a4e13448161ac3fd827a86e3f8e37dfb4d49fd687a005c92e3bae4efd2aec0ffb49242ae4816b8718b98a8a82b66f4edd23f97ec20429a4ec
|
||||
DIST kraft-0.51.tar.bz2 590846 SHA256 fef9a4c567e3acb6e5601eada0f4a4f2f5ef7f2871aac9d5d741ccad62b64952 SHA512 cd33d6901d582a6f9a069e7d03f3911f6d8e4e22d08622bc113e62252a245a437406ab1eb7d944446fd1f88f1a80087cf2ae392d5af246433b79f1f867b38168 WHIRLPOOL a71d96da2b207bdd22a73f0801731bc3e0eabdc7f32d460df481db9c3f0e4e46dcd0e6c00a16c77f7c758421bc1b7dc038a68bc766f6f8140f4b3440c326aaad
|
||||
DIST kraft-0.53.tar.bz2 596732 SHA256 66e40b997dea69c8b35420816b0ec22d785560f5a0aacaca49ff73825a2dba91 SHA512 f20f93d9d71ea726da61fdd5c358f86e4bf70cc70087952b84d7a7fbcb7f98f1a637684495966769999329460fbed614d9192afb820e8c569eaffa3fb108e2e3 WHIRLPOOL 8382badcf3c97d34b46ad89c6f4f258470c921cd5449b33368d1772ca0a0c1518ff6fb5f8c4c12918e47a670f799b751622879776dba5372cc28040b605cd41f
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST mdbtools-0.7.1.tar.gz 277257 SHA256 dcf310dc7b07e7ad2f9f6be16047dc81312cfe1ab1bd94d0fa739c8059af0b16 SHA512 bbad415c59a3f54c11bcd04971220b1370046c5dfd7300d1f23e597615a1df6af850c6f767e78033676d486d87a11c72dfdb141abbee8378337c3fda9a450b75 WHIRLPOOL 0e25f7d5a2108575bc3fdf2930ceedc21844412fb7947c504f2538b185f8f623712c31ca9102660446731dc19fb431217aa70c7ee658f07d951966921fc2fc7a
|
||||
DIST mdbtools-0.7.tar.gz 303359 SHA256 a6baa439f34a263009ab9264ae65e61be550aa21213a1d22ee3076aa58eef4c0 SHA512 cef034a05e5e283b1c3568a99a2a9956cef9dce1eea7783db83cb28a79f609f8f7a450114e5ace87b742cdbe23b6ef855b1f7e09c77204313d914f860e140791 WHIRLPOOL 4bf073520a9814c4cfe10e735eb40db3070551e907c7559a39391c3f7d082f5ecd0f56975549f1af2eb23eed4f117b92ecce0e87bc8b1d12479f9d75854806f3
|
||||
DIST mdbtools-cvs-20050624.tar.gz 306961 SHA256 471034a00f9441e34b3a236ce07bdb766fea0bd140fc69a3d8a9c7225bf573b3 SHA512 6b0dabbd2442a50b91ed058ae65c02b85c8622e3773e08f7f9249a6a5fe0b43a22d7343ef19c79b77277c215652091e19e46d1a3f7896a5a9b556a5d3f544d74 WHIRLPOOL 91268a6258198e1bfc8b83cb5681cd0f29582dbd711fc3ba6e7d950e38b933c8d9b91c0b6e53fdccdecfc75b6ffc22d7762e95a413ee1e6b04018dc4b0c322f4
|
||||
|
@ -0,0 +1,17 @@
|
||||
Patch for fixing parallel make issue, bug #486434
|
||||
|
||||
Related links:
|
||||
|
||||
https://github.com/brianb/mdbtools/issues/33
|
||||
https://github.com/brianb/mdbtools/issues/35
|
||||
|
||||
diff --git a/src/sql/Makefile.am b/src/sql/Makefile.am
|
||||
index 633f0c3..94b0838 100644
|
||||
--- a/src/sql/Makefile.am
|
||||
+++ b/src/sql/Makefile.am
|
||||
@@ -1,3 +1,5 @@
|
||||
+BUILT_SOURCES = parser.h
|
||||
+AM_YFLAGS = -d
|
||||
lib_LTLIBRARIES = libmdbsql.la
|
||||
libmdbsql_la_SOURCES= mdbsql.c parser.y lexer.l
|
||||
libmdbsql_la_LDFLAGS = -version-info 2:0:0 -export-symbols-regex '^mdb_sql_'
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/mdbtools/mdbtools-0.7.1.ebuild,v 1.1 2013/10/14 13:30:15 pinkbyte Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1 # needed for proper man generation
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="A set of libraries and utilities for reading Microsoft Access database (MDB) files"
|
||||
HOMEPAGE="http://mdbtools.sourceforge.net"
|
||||
SRC_URI="https://github.com/brianb/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
|
||||
IUSE="gnome odbc static-libs"
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
sys-libs/ncurses
|
||||
sys-libs/readline
|
||||
gnome? (
|
||||
gnome-base/libglade:2.0
|
||||
gnome-base/libgnomeui
|
||||
)
|
||||
odbc? ( >=dev-db/unixODBC-2.0 )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/txt2man
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
virtual/yacc"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog HACKING NEWS README TODO )
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-parallel-make.patch" )
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-gtk-doc
|
||||
$(use_enable gnome gmdb2)
|
||||
$(use odbc && echo "--with-unixodbc=${EPREFIX}/usr")
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/texmacs/texmacs-1.0.7.20.ebuild,v 1.1 2013/10/14 11:17:53 grozin Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools eutils fdo-mime gnome2-utils
|
||||
|
||||
MY_P=${P/tex/TeX}-src
|
||||
|
||||
DESCRIPTION="Wysiwyg text processor with high-quality maths"
|
||||
HOMEPAGE="http://www.texmacs.org/"
|
||||
SRC_URI="ftp://ftp.texmacs.org/pub/TeXmacs/tmftp/source/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="imlib jpeg netpbm qt4 svg spell"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="dev-scheme/guile[deprecated]
|
||||
virtual/latex-base
|
||||
app-text/ghostscript-gpl
|
||||
media-libs/freetype
|
||||
x11-libs/libXext
|
||||
x11-apps/xmodmap
|
||||
qt4? ( dev-qt/qtgui:4 )
|
||||
imlib? ( media-libs/imlib2 )
|
||||
jpeg? ( || ( media-gfx/imagemagick media-gfx/jpeg2ps ) )
|
||||
svg? ( || ( media-gfx/inkscape gnome-base/librsvg:2 ) )
|
||||
netpbm? ( media-libs/netpbm )
|
||||
spell? ( app-text/aspell )"
|
||||
DEPEND="${RDEPEND}
|
||||
x11-proto/xproto"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
# respect LDFLAGS, bug #338459
|
||||
epatch "${FILESDIR}"/${PN}-plugins.patch
|
||||
|
||||
# dont update mime and desktop databases and icon cache
|
||||
epatch "${FILESDIR}"/${PN}-updates.patch
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with imlib imlib2) \
|
||||
--enable-optimize="${CXXFLAGS}" \
|
||||
$(use_enable qt4 qt)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
domenu "${FILESDIR}"/TeXmacs.desktop
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
--- break_filelist.old 2013-10-14 17:23:01.523330534 +0800
|
||||
+++ break_filelist 2004-08-01 12:17:28.000000000 +0800
|
||||
@@ -177,7 +177,7 @@
|
||||
"p" => "pascal", "pas" => "pascal", "pp" => "pascal", "dpr" => "pascal",
|
||||
"py" => "python",
|
||||
"s" => "asm", "S" => "asm", "asm" => "asm",
|
||||
+ "sh" => "sh", "bash" => "sh", "ebuild" => "sh",
|
||||
- "sh" => "sh", "bash" => "sh",
|
||||
"csh" => "csh", "tcsh" => "csh",
|
||||
"java" => "java",
|
||||
"lisp" => "lisp", "el" => "lisp", "scm" => "lisp", "sc" => "lisp",
|
||||
@@ -879,7 +879,7 @@
|
||||
$command = $2;
|
||||
}
|
||||
|
||||
+ if ( ($command =~ m/^(bash|ksh|zsh|pdksh|sh|runscript)[0-9\.]*(\.exe)?$/i) ||
|
||||
- if ( ($command =~ m/^(bash|ksh|zsh|pdksh|sh)[0-9\.]*(\.exe)?$/i) ||
|
||||
($firstline =~
|
||||
m~^#!\s*\@_?(SCRIPT_)?(PATH_)?(BA|K)?SH(ELL)?(\d+)?\@?(\s|\Z)~)) {
|
||||
# Note: wish(1) uses a funny trick; see wish(1) for more info.
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/sloccount/sloccount-2.26-r3.ebuild,v 1.1 2013/10/14 09:32:29 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Tools for counting Source Lines of Code (SLOC) for a large number of languages"
|
||||
HOMEPAGE="http://www.dwheeler.com/sloccount/"
|
||||
SRC_URI="http://www.dwheeler.com/sloccount/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
RDEPEND="dev-lang/perl
|
||||
>=sys-apps/sed-4
|
||||
app-shells/bash"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-libexec.patch
|
||||
epatch "${FILESDIR}"/${P}-coreutils-tail-n-fix.patch
|
||||
# support for .ebuild and #!/sbin/runscript:
|
||||
epatch "${FILESDIR}"/${P}-gentoo.patch
|
||||
|
||||
sed -i \
|
||||
-e 's|^CC=gcc|CFLAGS+=|g' \
|
||||
-e 's|$(CC)|& $(CFLAGS) $(LDFLAGS)|g' \
|
||||
-e '/^DOC_DIR/ { s/-$(RPM_VERSION)//g }' \
|
||||
-e '/^MYDOCS/ { s/[^ =]\+\.html//g }' \
|
||||
makefile || die "sed makefile failed"
|
||||
|
||||
#fixed hard-codes libexec_dir in sloccount
|
||||
sed -i "s|libexec_dir=|&\"${EPREFIX}\"|" sloccount || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC=$(tc-getCC)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
PATH+=":${S}"
|
||||
emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake PREFIX="${ED}/usr" DOC_DIR="${ED}/usr/share/doc/${PF}/" install
|
||||
dohtml *html
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST base64-2.3.7.zip 50473 SHA256 28003fa44f7fc96f247a0da6e7cb451cce0423456ef8652c6f52a91df0e39edb SHA512 11411f7a75ecb67d54cf1f2de253fcb18437205d4e3b6a1ddd7ad84564f4a0881f14200c7c700521b232b857ff13ea22224a192cbbc226c278fe8c88ff8d4b07 WHIRLPOOL 0338691bb35e09fa04254366898740bac58b2d827a5860d18ee685111b81dc897c4424b0ecd1b6e1dd655cebad6cf0f448cbee302309e033b768354acc46aa15
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/base64/base64-2.3.7.ebuild,v 1.2 2013/10/14 17:35:55 ercpe Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 versionator
|
||||
|
||||
MY_PV=$(get_version_component_range 1-2)
|
||||
|
||||
DESCRIPTION="A Base64 encoder written in java"
|
||||
HOMEPAGE="http://iharder.sourceforge.net/current/java/base64/"
|
||||
SRC_URI="mirror://sourceforge/iharder/${PN}/${MY_PV}/${PN^}-v${PV}.zip -> ${P}.zip"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
DEPEND=">=virtual/jdk-1.5"
|
||||
|
||||
S="${WORKDIR}/${PN^}-v${PV}"
|
||||
JAVA_SRC_DIR="${S}"
|
||||
|
||||
src_prepare() {
|
||||
rm -r "${S}"/api || die
|
||||
mkdir -p "${S}/net/iharder" || die
|
||||
cp "${S}"/*.java "${S}/net/iharder" || die
|
||||
sed -i '1i package net.iharder;' "${S}"/net/iharder/*.java || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local build_dir="${S}/build"
|
||||
mkdir ${build_dir} || die
|
||||
ejavac -nowarn -d ${build_dir} $(find -name "*.java")
|
||||
javadoc -d api -quiet *.java || die "javadoc failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
jar cf "${PN}.jar" -C "${S}/build" . || die "jar failed"
|
||||
java-pkg_dojar "${PN}.jar"
|
||||
|
||||
use doc && java-pkg_dohtml -r api/
|
||||
use source && java-pkg_dosrc *.java
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1 @@
|
||||
DIST jackson-core-lgpl-1.9.13-sources.jar 240367 SHA256 f4dad3a1b9a20fbcfd375034309e717e16740c3d770725037f165ef2cfe852bd SHA512 eae08be1f72e868a41423a67abc0af4b63365cb98bdebff4178c8b89fdfaf24324aacec1c95b1bb3d04da0b18c2fe05c87fbe6601a52c9cdbf4a8d3de3457542 WHIRLPOOL bbf02776cfef330e6283569ba0caca323846cd4562c80e6671a6e47e4afead5fc5c5e7cca95feb9d461e560285fab301f65f33cadab1ef039ece78a6fc39e8f5
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jackson/jackson-1.9.13.ebuild,v 1.1 2013/10/14 16:59:09 ercpe Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="High-performance JSON processor"
|
||||
HOMEPAGE="http://jackson.codehaus.org"
|
||||
SRC_URI="http://repo1.maven.org/maven2/org/codehaus/${PN}/${PN}-core-lgpl/${PV}/${PN}-core-lgpl-${PV}-sources.jar"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 LGPL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
DEPEND=">=virtual/jdk-1.5"
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1 @@
|
||||
DIST java-xmlbuilder-0.6.tar.bz2 14612 SHA256 938ed969c80399a2c75e81a0283b9fc9d752d983362a265d389e1b46cb972633 SHA512 b73e0a326563af2aaa6f9cc0600d64b9ba6969430e27ad0dfff1b20b253e46d2888e5654c301c0b3b5b70c5766a2fbd94776df1ccb37d9d1e90bc76f190c5a92 WHIRLPOOL bb24b128bacd34113b6129ccb23e51bae757b6fee2070638ea3d889cfdfe3404340dd5b4f6f430afdbd7d3a832cfdbbf7a661c729177f9504556cd2b21069be9
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/java-xmlbuilder/java-xmlbuilder-0.6-r1.ebuild,v 1.1 2013/10/14 18:03:36 ercpe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="A utility that allows simple XML documents to be constructed using Java"
|
||||
HOMEPAGE="https://code.google.com/p/java-xmlbuilder/"
|
||||
SRC_URI="http://dev.gentoo.org/~ercpe/distfiles/${CATEGORY}/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="dev-java/base64:0"
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${CDEPEND}"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
${CDEPEND}
|
||||
test? ( dev-java/junit:0 )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
JAVA_GENTOO_CLASSPATH="base64"
|
||||
|
||||
src_test() {
|
||||
mkdir target/tests || die
|
||||
testcp="$(java-pkg_getjars ${JAVA_GENTOO_CLASSPATH},junit):target/tests:${S}/${PN}.jar"
|
||||
ejavac -cp "${testcp}" -d target/tests src/test/java/com/jamesmurty/utils/TestXmlBuilder.java
|
||||
ejunit4 -cp "${testcp}" com.jamesmurty.utils.TestXmlBuilder
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
</pkgmetadata>
|
@ -1,193 +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/ruby/ruby-1.8.7_p371.ebuild,v 1.12 2013/03/10 16:18:50 ago Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib versionator
|
||||
|
||||
MY_P="${PN}-$(replace_version_separator 3 '-')"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SLOT=$(get_version_component_range 1-2)
|
||||
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
|
||||
# 1.8 and 1.9 series disagree on this
|
||||
RUBYVERSION=$(get_version_component_range 1-2)
|
||||
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
if [[ ${PVR} == ${PV} ]]; then
|
||||
PATCHSET="${PV}-r0.${PATCHSET}"
|
||||
else
|
||||
PATCHSET="${PVR}.${PATCHSET}"
|
||||
fi
|
||||
else
|
||||
PATCHSET="${PVR}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An object-oriented scripting language"
|
||||
HOMEPAGE="http://www.ruby-lang.org/"
|
||||
SRC_URI="mirror://ruby/${SLOT}/${MY_P}.tar.bz2
|
||||
http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
|
||||
|
||||
LICENSE="|| ( Ruby GPL-2 )"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="+berkdb debug doc examples +gdbm ipv6 rubytests socks5 ssl threads tk xemacs ncurses +readline libedit"
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
ssl? ( >=dev-libs/openssl-0.9.8m )
|
||||
socks5? ( >=net-proxy/dante-1.1.13 )
|
||||
tk? ( dev-lang/tk[threads=] )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
libedit? ( dev-libs/libedit )
|
||||
!libedit? ( readline? ( sys-libs/readline ) )
|
||||
sys-libs/zlib
|
||||
>=app-admin/eselect-ruby-20100603
|
||||
!<dev-ruby/rdoc-2"
|
||||
DEPEND="${RDEPEND}"
|
||||
PDEPEND="xemacs? ( app-xemacs/ruby-modes )"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
|
||||
epatch "${WORKDIR}/patches"
|
||||
|
||||
# Fix a hardcoded lib path in configure script
|
||||
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
|
||||
configure.in || die "sed failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=
|
||||
|
||||
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
|
||||
filter-flags -fomit-frame-pointer
|
||||
# In many places aliasing rules are broken; play it safe
|
||||
# as it's risky with newer compilers to leave it as it is.
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
# Socks support via dante
|
||||
if use socks5 ; then
|
||||
# Socks support can't be disabled as long as SOCKS_SERVER is
|
||||
# set and socks library is present, so need to unset
|
||||
# SOCKS_SERVER in that case.
|
||||
unset SOCKS_SERVER
|
||||
fi
|
||||
|
||||
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
|
||||
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
|
||||
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
|
||||
fi
|
||||
|
||||
# ipv6 hack, bug 168939. Needs --enable-ipv6.
|
||||
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
|
||||
|
||||
if use libedit; then
|
||||
einfo "Using libedit to provide readline extension"
|
||||
myconf="${myconf} --enable-libedit --with-readline"
|
||||
elif use readline; then
|
||||
einfo "Using readline to provide readline extension"
|
||||
myconf="${myconf} --with-readline"
|
||||
else
|
||||
myconf="${myconf} --without-readline"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--program-suffix="${MY_SUFFIX}" \
|
||||
--enable-shared \
|
||||
$(use_enable socks5 socks) \
|
||||
$(use_enable doc install-doc) \
|
||||
$(use_enable threads pthread) \
|
||||
--enable-ipv6 \
|
||||
$(use_enable debug) \
|
||||
$(use_with berkdb dbm) \
|
||||
$(use_with gdbm) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tk) \
|
||||
$(use_with ncurses curses) \
|
||||
${myconf} \
|
||||
--with-sitedir=/usr/$(get_libdir)/ruby/site_ruby \
|
||||
--enable-option-checking=no \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 test || die "make test failed"
|
||||
|
||||
elog "Ruby's make test has been run. Ruby also ships with a make check"
|
||||
elog "that cannot be run until after ruby has been installed."
|
||||
elog
|
||||
if use rubytests; then
|
||||
elog "You have enabled rubytests, so they will be installed to"
|
||||
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
|
||||
elog "than root, and you must place them into a writeable directory."
|
||||
elog "Then call: "
|
||||
elog
|
||||
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
|
||||
else
|
||||
elog "Enable the rubytests USE flag to install the make check tests"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Ruby is involved in the install process, we don't want interference here.
|
||||
unset RUBYOPT
|
||||
|
||||
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
|
||||
|
||||
LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
|
||||
for d in $(find "${S}/ext" -type d) ; do
|
||||
RUBYLIB="${RUBYLIB}:$d"
|
||||
done
|
||||
export LD_LIBRARY_PATH RUBYLIB
|
||||
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitelibdir']")
|
||||
keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitearchdir']")
|
||||
|
||||
if use doc; then
|
||||
make DESTDIR="${D}" install-doc || die "make install-doc failed"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r sample
|
||||
fi
|
||||
|
||||
dosym "libruby${MY_SUFFIX}$(get_libname ${PV%_*})" \
|
||||
"/usr/$(get_libdir)/libruby$(get_libname ${PV%.*})"
|
||||
dosym "libruby${MY_SUFFIX}$(get_libname ${PV%_*})" \
|
||||
"/usr/$(get_libdir)/libruby$(get_libname ${PV%_*})"
|
||||
|
||||
dodoc ChangeLog NEWS README* ToDo || die
|
||||
|
||||
if use rubytests; then
|
||||
pushd test
|
||||
insinto /usr/share/${PN}-${SLOT}/test
|
||||
doins -r .
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
|
||||
eselect ruby set ruby${MY_SUFFIX}
|
||||
fi
|
||||
|
||||
elog
|
||||
elog "To switch between available Ruby profiles, execute as root:"
|
||||
elog "\teselect ruby set ruby(18|19|...)"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ruby cleanup
|
||||
}
|
@ -1,216 +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/ruby/ruby-1.9.3_p429.ebuild,v 1.13 2013/06/09 15:59:04 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
#PATCHSET=1
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib versionator
|
||||
|
||||
RUBYPL=$(get_version_component_range 4)
|
||||
|
||||
MY_P="${PN}-$(get_version_component_range 1-3)-${RUBYPL:-0}"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SLOT=$(get_version_component_range 1-2)
|
||||
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
|
||||
# 1.9.3 still uses 1.9.1
|
||||
RUBYVERSION=1.9.1
|
||||
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
if [[ ${PVR} == ${PV} ]]; then
|
||||
PATCHSET="${PV}-r0.${PATCHSET}"
|
||||
else
|
||||
PATCHSET="${PVR}.${PATCHSET}"
|
||||
fi
|
||||
else
|
||||
PATCHSET="${PVR}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An object-oriented scripting language"
|
||||
HOMEPAGE="http://www.ruby-lang.org/"
|
||||
SRC_URI="mirror://ruby/1.9/${MY_P}.tar.bz2
|
||||
http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
|
||||
|
||||
LICENSE="|| ( Ruby-BSD BSD-2 )"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="berkdb debug doc examples gdbm ipv6 +rdoc rubytests socks5 ssl tk xemacs ncurses +readline +yaml" #libedit
|
||||
|
||||
# libedit support is removed everywhere because of this upstream bug:
|
||||
# http://redmine.ruby-lang.org/issues/show/3698
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
ssl? ( dev-libs/openssl )
|
||||
socks5? ( >=net-proxy/dante-1.1.13 )
|
||||
tk? ( dev-lang/tk[threads] )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
readline? ( sys-libs/readline )
|
||||
yaml? ( dev-libs/libyaml )
|
||||
virtual/libffi
|
||||
sys-libs/zlib
|
||||
>=app-admin/eselect-ruby-20100402
|
||||
!<dev-ruby/rdoc-3.9.4
|
||||
!<dev-ruby/rubygems-1.8.10-r1"
|
||||
# libedit? ( dev-libs/libedit )
|
||||
# !libedit? ( readline? ( sys-libs/readline ) )
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
PDEPEND="
|
||||
>=dev-ruby/rubygems-1.8.10-r1[ruby_targets_ruby19]
|
||||
rdoc? ( >=dev-ruby/rdoc-3.9.4[ruby_targets_ruby19] )
|
||||
xemacs? ( app-xemacs/ruby-modes )"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
|
||||
epatch "${WORKDIR}/patches"
|
||||
|
||||
einfo "Unbundling gems..."
|
||||
cd "$S"
|
||||
rm -r \
|
||||
{bin,lib}/rake lib/rake.rb man/rake.1 \
|
||||
ext/json \
|
||||
bin/gem || die "removal failed"
|
||||
|
||||
# Fix a hardcoded lib path in configure script
|
||||
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
|
||||
configure.in || die "sed failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=
|
||||
|
||||
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
|
||||
filter-flags -fomit-frame-pointer
|
||||
# In many places aliasing rules are broken; play it safe
|
||||
# as it's risky with newer compilers to leave it as it is.
|
||||
append-flags -fno-strict-aliasing
|
||||
# SuperH needs this
|
||||
use sh && append-flags -mieee
|
||||
|
||||
# Socks support via dante
|
||||
if use socks5 ; then
|
||||
# Socks support can't be disabled as long as SOCKS_SERVER is
|
||||
# set and socks library is present, so need to unset
|
||||
# SOCKS_SERVER in that case.
|
||||
unset SOCKS_SERVER
|
||||
fi
|
||||
|
||||
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
|
||||
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
|
||||
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
|
||||
fi
|
||||
|
||||
# ipv6 hack, bug 168939. Needs --enable-ipv6.
|
||||
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
|
||||
|
||||
# if use libedit; then
|
||||
# einfo "Using libedit to provide readline extension"
|
||||
# myconf="${myconf} --enable-libedit --with-readline"
|
||||
# elif use readline; then
|
||||
# einfo "Using readline to provide readline extension"
|
||||
# myconf="${myconf} --with-readline"
|
||||
# else
|
||||
# myconf="${myconf} --without-readline"
|
||||
# fi
|
||||
myconf="${myconf} $(use_with readline)"
|
||||
|
||||
econf \
|
||||
--program-suffix=${MY_SUFFIX} \
|
||||
--with-soname=ruby${MY_SUFFIX} \
|
||||
--enable-shared \
|
||||
--enable-pthread \
|
||||
$(use_enable socks5 socks) \
|
||||
$(use_enable doc install-doc) \
|
||||
--enable-ipv6 \
|
||||
$(use_enable debug) \
|
||||
$(use_with berkdb dbm) \
|
||||
$(use_with gdbm) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tk) \
|
||||
$(use_with ncurses curses) \
|
||||
$(use_with yaml psych) \
|
||||
${myconf} \
|
||||
--enable-option-checking=no \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 V=1 test || die "make test failed"
|
||||
|
||||
elog "Ruby's make test has been run. Ruby also ships with a make check"
|
||||
elog "that cannot be run until after ruby has been installed."
|
||||
elog
|
||||
if use rubytests; then
|
||||
elog "You have enabled rubytests, so they will be installed to"
|
||||
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
|
||||
elog "than root, and you must place them into a writeable directory."
|
||||
elog "Then call: "
|
||||
elog
|
||||
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
|
||||
else
|
||||
elog "Enable the rubytests USE flag to install the make check tests"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Ruby is involved in the install process, we don't want interference here.
|
||||
unset RUBYOPT
|
||||
|
||||
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
|
||||
|
||||
LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
|
||||
for d in $(find "${S}/ext" -type d) ; do
|
||||
RUBYLIB="${RUBYLIB}:$d"
|
||||
done
|
||||
export LD_LIBRARY_PATH RUBYLIB
|
||||
|
||||
emake V=1 DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
# Remove installed rubygems copy
|
||||
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
|
||||
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
|
||||
rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
|
||||
if use doc; then
|
||||
make DESTDIR="${D}" install-doc || die "make install-doc failed"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r sample
|
||||
fi
|
||||
|
||||
dodoc ChangeLog NEWS doc/NEWS* README* ToDo || die
|
||||
|
||||
if use rubytests; then
|
||||
pushd test
|
||||
insinto /usr/share/${PN}-${SLOT}/test
|
||||
doins -r .
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
|
||||
eselect ruby set ruby${MY_SUFFIX}
|
||||
fi
|
||||
|
||||
elog
|
||||
elog "To switch between available Ruby profiles, execute as root:"
|
||||
elog "\teselect ruby set ruby(18|19|...)"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ruby cleanup
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST libevdev-0.4.tar.xz 345636 SHA256 ba6becd3f41430aa290ddf53694909fb46b9a65d5fe264e5fc2a4f5169484f42 SHA512 f4fa7a4947462d80ff5a23c7f6fe1b80aa0e64af579db321e251aa39606ddf773dd3ac53d91e82eba65c31252d9ebe8745ab79f2824882dd2628982cc34301be WHIRLPOOL db56f3212570620310c834711332e065f6fcbf16fd525105a066a6fb631d0e17db794589bb48087a7f08cba6e135e8a1f248610fe9bf24d4b7d2417ab0e41dae
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevdev/libevdev-0.4.ebuild,v 1.2 2013/10/14 14:39:04 chithanh Exp $
|
||||
|
||||
EAPI=5
|
||||
XORG_MULTILIB=yes
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
|
||||
inherit python-single-r1 xorg-2
|
||||
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/${PN}.git"
|
||||
|
||||
DESCRIPTION="Handler library for evdev events"
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="http://www.freedesktop.org/software/${PN}/${P}.tar.xz"
|
||||
fi
|
||||
|
||||
KEYWORDS="~amd64 ~ppc"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang libevdev/make-event-names.py
|
||||
xorg-2_src_prepare
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>x11</herd>
|
||||
</pkgmetadata>
|
@ -1,3 +1,3 @@
|
||||
DIST libtar-1.2.11.tar.gz 145354 SHA256 4a2eefb6b7088f41de57356e5059cbf1f917509b4a810f7c614625a378e87bb8 SHA512 f50edfa5ee164200f0c2636bab5b80628c1007cdf125c06925c173cf98046a24240fab3650566beecfb9252009f54390a6dc3e4a3b1d86e85fa6f3e44f33d8d3 WHIRLPOOL 913f28d6fc2a6fa1adf55d4b2b882b1bfb5ef3ecd6147efda4e38e43262b118880f2d151196723cb120b08976f1b55b35dbb15c2c30ecf3bf8c1b43369e45f01
|
||||
DIST libtar-1.2.20.tar.gz 63542 SHA256 ae5aa2092fdeb1124b83be498bac73e1a82dec52ef8374cc0815140d8e1b87bf SHA512 385a298c675ee533a9065e43f0d6258d9868473fd23064969623b8e174131e94f602c8eb0db7ec31667ff21e88c61b35f39887ffd7ef9349562a56787df147ee WHIRLPOOL 8a9db4a8dd01321952dda4436efe8386e6b4c23d6ab5f9fff6854f1dc657f1efbdc6adf84445bf24d58f4f8e4e1ce447f7131be6e75edae496dd73eb66d2c3a6
|
||||
DIST libtar-1.2.20.tar.gz 63542 SHA256 b17f84c3cfb8734c1ec5290f5fed8285037199f11ea8c0e2d8f807cbe83c9d8f SHA512 360a0296af99bedd6d93236c3d6d6746fd38deaa5287e7a138d303e1072bc8871437a693dc926d82af5b54dedba2ebdff5a3edb1f7d7dc494b4235439e477dec WHIRLPOOL c2f9b243a497df4ec03188b25d4bf5a8ab17e895c1c3c7e359c3eca869229df6ff8d5b632cafa0f297e3e613538b94755d176295d8e15673b9ab9a71bd5435d7
|
||||
DIST libtar_1.2.11-8.debian.tar.gz 10275 SHA256 ab55b827ac0d60c4b17decdbab827b1e4c79ed75383133814e103b202cc4fbbe SHA512 52cd743286d9fdcdb1518fa577b2d15b05a1400ba290a39145a6168db51b32bca65f85bab56034805d0f9beba44cb67f4b5f726f6b3f48ec8dd91ce92c85d454 WHIRLPOOL b48b0a15b38f79aaf806b529729ae21e4239b3bf3d0112d82cc4114062205e639af56aa3821f5945d99878f61b0ea4cb00188ef6634203e9ad069a7d243947dc
|
||||
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtar/libtar-1.2.20.ebuild,v 1.2 2013/10/12 16:09:46 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="C library for manipulating tar archives"
|
||||
HOMEPAGE="http://www.feep.net/libtar/ http://repo.or.cz/w/libtar.git/"
|
||||
SRC_URI="http://repo.or.cz/w/libtar.git/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="static-libs zlib"
|
||||
|
||||
RDEPEND="zlib? ( sys-libs/zlib )
|
||||
!zlib? ( app-arch/gzip )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.2.11-free.patch"
|
||||
"${FILESDIR}/${PN}-1.2.11-impl-dec.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e '/INSTALL_PROGRAM/s:-s::' \
|
||||
{doc,lib{,tar}}/Makefile.in || die
|
||||
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-encap
|
||||
--disable-epkg-install
|
||||
$(use_with zlib)
|
||||
)
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
|
||||
dodoc ChangeLog* README TODO
|
||||
newdoc compat/README README.compat
|
||||
newdoc compat/TODO TODO.compat
|
||||
newdoc listhash/TODO TODO.listhash
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/asdf/asdf-3.0.2.4.ebuild,v 1.1 2013/10/14 09:34:27 grozin Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="ASDF is Another System Definition Facility for Common Lisp"
|
||||
HOMEPAGE="http://common-lisp.net/project/asdf/"
|
||||
SRC_URI="http://common-lisp.net/project/${PN}/archives/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
SLOT="0/${PVR}"
|
||||
|
||||
DEPEND="!dev-lisp/cl-${PN}
|
||||
!dev-lisp/asdf-binary-locations
|
||||
!dev-lisp/gentoo-init
|
||||
!<dev-lisp/asdf-2.33-r3
|
||||
doc? ( virtual/texi2dvi )"
|
||||
RDEPEND=""
|
||||
PDEPEND="~dev-lisp/uiop-${PV}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_compile() {
|
||||
make
|
||||
use doc && make doc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/common-lisp/source/${PN}
|
||||
doins -r build version.lisp-expr
|
||||
dodoc README TODO
|
||||
dohtml doc/*.{html,css,ico,png}
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins doc/${PN}.pdf
|
||||
fi
|
||||
|
||||
insinto /etc/common-lisp
|
||||
doins "${FILESDIR}"/gentoo-init.lisp "${FILESDIR}"/source-registry.conf
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST ccl-1.8-linuxx86.tar.gz 43187545 SHA256 01dcafa9efef7b8fd09d17a213447dc2f47ff882c660dd62374a33119132efb5 SHA512 3e2a114a45e9e29b5db1b8827e239ffd5e10de17cdea98b95c61b973727842e8d95bcf31090e86454794233bcc87d53f7880d8f56ab3988176e8cd0ec8e639a1 WHIRLPOOL d7691cd7850ddd853dbe941f8787143bc0bbd3f51cb6dfbad2b24253c76a857381b416c5a05933e91555b5893310b2d9accc23dc61aaabe9840f2ad699318b50
|
||||
DIST ccl-1.9-linuxx86.tar.gz 43708212 SHA256 e9d1bd2e7260bdd13e63be1ead95b3cae9c8b0d18b1a1633a135724ada3e60e9 SHA512 88da805b084954055e76797b9980fd03b88879f7b52992662223030845f3b50cd2ef323fa8c90d32c630cb07e175302589e0167c30b9cbf50d20db0acd18fff3 WHIRLPOOL d33faf0b92bec5f2d11610878d098c33067b6a0d706ce920c3c94c9ce7e06f9483f28c779e226a52c4f4b06cb4c17e01d868940b4a999754f8ae13b640e7e93d
|
||||
DIST ccl-1.9_p1-linuxx86.tar.bz2 36344874 SHA256 ba3ef9718646cb56785bda634093876442287bb445a9b5b95e6478104d63d988 SHA512 b09a1f4f2e0a59bd95df09e431e95f619bc80459f5a1a799fc47fae575ccd3e0c266df98a0d7fc2b4878381e02e50e68dd3406a51c569bb056dd0e1fb973a989 WHIRLPOOL 9730171d8e4acdd1f54b81f4cc5984414c485672200c66e5f98cf7fe202a7c6f5b2835c2c75c06254960fdc7b0477854fabdd57d8b011abe8629bcd390e0f134
|
||||
|
@ -1,81 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/clozurecl/clozurecl-1.9.ebuild,v 1.2 2013/03/14 04:09:37 grozin Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib
|
||||
|
||||
MY_PN=ccl
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="ClozureCL is a Common Lisp implementation, derived from Digitool's MCL product"
|
||||
HOMEPAGE="http://ccl.clozure.com/"
|
||||
SRC_URI="x86? ( ftp://ftp.clozure.com/pub/release/${PV}/${MY_P}-linuxx86.tar.gz )
|
||||
amd64? ( ftp://ftp.clozure.com/pub/release/${PV}/${MY_P}-linuxx86.tar.gz )"
|
||||
# ppc? ( ftp://ftp.clozure.com/pub/release/${PV}/${MY_P}-linuxppc.tar.gz )
|
||||
# ppc64? ( ftp://ftp.clozure.com/pub/release/${PV}/${MY_P}-linuxppc.tar.gz )"
|
||||
|
||||
LICENSE="LLGPL-2.1"
|
||||
SLOT="0"
|
||||
# KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="!dev-lisp/openmcl"
|
||||
|
||||
S="${WORKDIR}"/${MY_PN}
|
||||
|
||||
ENVD="${T}"/50ccl
|
||||
|
||||
src_configure() {
|
||||
if use x86; then
|
||||
CCL_RUNTIME=lx86cl; CCL_HEADERS=x86-headers
|
||||
elif use amd64; then
|
||||
CCL_RUNTIME=lx86cl64; CCL_HEADERS=x86-headers64
|
||||
elif use ppc; then
|
||||
CCL_RUNTIME=ppccl; CCL_HEADERS=headers
|
||||
elif use ppc64; then
|
||||
CCL_RUNTIME=ppccl64; CCL_HEADERS=headers64
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
unset CCL_DEFAULT_DIRECTORY
|
||||
./${CCL_RUNTIME} -n -b -Q -e '(ccl:rebuild-ccl :full t)' -e '(ccl:quit)' || die "Compilation failed"
|
||||
|
||||
# remove non-owner write permissions on the full-image
|
||||
chmod go-w ${CCL_RUNTIME}{,.image}
|
||||
|
||||
# remove .svn directories
|
||||
find "${S}" -type d -name .svn -exec rm -rf {} ';' &>/dev/null
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local install_dir=/usr/$(get_libdir)/${PN}
|
||||
|
||||
exeinto ${install_dir}
|
||||
# install executable
|
||||
doexe ${CCL_RUNTIME}
|
||||
# install core image
|
||||
cp ${CCL_RUNTIME}.image "${D}"/${install_dir} || die
|
||||
# install optional libraries
|
||||
dodir ${install_dir}/tools
|
||||
cp tools/*fsl "${D}"/${install_dir}/tools || die
|
||||
|
||||
# until we figure out which source files are necessary for runtime
|
||||
# optional features and which aren't, we install all sources
|
||||
find . -type f -name '*fsl' -delete
|
||||
cp -a compiler level-0 level-1 lib library \
|
||||
lisp-kernel scripts tools xdump \
|
||||
"${D}"/${install_dir} || die
|
||||
cp -a ${CCL_HEADERS} "${D}"/${install_dir} || die
|
||||
|
||||
make_wrapper ccl "${install_dir}/${CCL_RUNTIME}"
|
||||
|
||||
echo "CCL_DEFAULT_DIRECTORY=${install_dir}" > "${ENVD}"
|
||||
doenvd "${ENVD}"
|
||||
|
||||
dodoc doc/release-notes.txt
|
||||
dohtml doc/ccl-documentation.html
|
||||
use doc && dohtml -r examples
|
||||
}
|
@ -0,0 +1,204 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-1.1.12.ebuild,v 1.1 2013/10/14 09:37:36 grozin Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit multilib eutils flag-o-matic pax-utils
|
||||
|
||||
#same order as http://www.sbcl.org/platform-table.html
|
||||
BV_X86=1.0.58
|
||||
BV_AMD64=1.1.12
|
||||
BV_PPC=1.0.28
|
||||
BV_SPARC=1.0.28
|
||||
BV_ALPHA=1.0.28
|
||||
|
||||
DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp."
|
||||
HOMEPAGE="http://sbcl.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
|
||||
x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 )
|
||||
amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 )
|
||||
ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 )
|
||||
sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
|
||||
alpha? ( mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 )"
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="debug doc source +threads +unicode zlib"
|
||||
|
||||
CDEPEND=">=dev-lisp/asdf-2.33-r3:="
|
||||
DEPEND="${CDEPEND}
|
||||
doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )"
|
||||
RDEPEND="${CDEPEND}
|
||||
elibc_glibc? ( >=sys-libs/glibc-2.3 || ( <sys-libs/glibc-2.6[nptl] >=sys-libs/glibc-2.6 ) )"
|
||||
|
||||
# Disable warnings about executable stacks, as this won't be fixed soon by upstream
|
||||
QA_EXECSTACK="usr/bin/sbcl"
|
||||
|
||||
CONFIG="${S}/customize-target-features.lisp"
|
||||
ENVD="${T}/50sbcl"
|
||||
|
||||
# Prevent ASDF from using the system libraries
|
||||
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)"
|
||||
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)"
|
||||
|
||||
usep() {
|
||||
use ${1} && echo "true" || echo "false"
|
||||
}
|
||||
|
||||
sbcl_feature() {
|
||||
echo "$( [[ ${1} == "true" ]] && echo "(enable ${2})" || echo "(disable ${2})")" >> "${CONFIG}"
|
||||
}
|
||||
|
||||
sbcl_apply_features() {
|
||||
cat > "${CONFIG}" <<'EOF'
|
||||
(lambda (list)
|
||||
(flet ((enable (x) (pushnew x list))
|
||||
(disable (x) (setf list (remove x list))))
|
||||
EOF
|
||||
if use x86 || use amd64; then
|
||||
sbcl_feature "$(usep threads)" ":sb-thread"
|
||||
fi
|
||||
sbcl_feature "true" ":sb-ldb"
|
||||
sbcl_feature "false" ":sb-test"
|
||||
sbcl_feature "$(usep unicode)" ":sb-unicode"
|
||||
sbcl_feature "$(usep zlib)" ":sb-core-compression"
|
||||
sbcl_feature "$(usep debug)" ":sb-xref-for-internals"
|
||||
cat >> "${CONFIG}" <<'EOF'
|
||||
)
|
||||
list)
|
||||
EOF
|
||||
cat "${CONFIG}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mv sbcl-*-linux sbcl-binary || die
|
||||
cd "${S}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/gentoo-fix_install_man.patch
|
||||
epatch "${FILESDIR}"/gentoo-fix_linux-os-c.patch
|
||||
|
||||
# To make the hardened compiler NOT compile with -fPIE -pie
|
||||
if gcc-specs-pie ; then
|
||||
einfo "Disabling PIE..."
|
||||
epatch "${FILESDIR}"/gentoo-fix_nopie_for_hardened_toolchain.patch
|
||||
fi
|
||||
|
||||
cp /usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die
|
||||
|
||||
use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk
|
||||
|
||||
# Some shells(such as dash) don't have "time" as builtin
|
||||
# and we don't want to DEPEND on sys-process/time
|
||||
sed "s,^time ,," -i make.sh || die
|
||||
sed "s,/lib,/$(get_libdir),g" -i install.sh || die
|
||||
# #define SBCL_HOME ...
|
||||
sed "s,/usr/local/lib,/usr/$(get_libdir),g" -i src/runtime/runtime.c || die
|
||||
|
||||
find . -type f -name .cvsignore -delete
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# customizing SBCL version as per
|
||||
# http://sbcl.cvs.sourceforge.net/sbcl/sbcl/doc/PACKAGING-SBCL.txt?view=markup
|
||||
echo -e ";;; Auto-generated by Gentoo\n\"gentoo-${PR}\"" > branch-version.lisp-expr
|
||||
|
||||
# applying customizations
|
||||
sbcl_apply_features
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local bindir="${WORKDIR}"/sbcl-binary
|
||||
|
||||
strip-unsupported-flags ; filter-flags -fomit-frame-pointer
|
||||
|
||||
if host-is-pax ; then
|
||||
# To disable PaX on hardened systems
|
||||
pax-mark -C "${bindir}"/src/runtime/sbcl
|
||||
pax-mark -mr "${bindir}"/src/runtime/sbcl
|
||||
|
||||
# Hack to disable PaX on second GENESIS stage
|
||||
sed -i -e '/load/!s/^echo \/\/doing warm.*$/&\npaxctl -C \.\/src\/runtime\/sbcl\npaxctl -mprexs \.\/src\/runtime\/sbcl/' \
|
||||
"${S}"/make-target-2.sh || die "Cannot disable PaX on second GENESIS runtime"
|
||||
fi
|
||||
|
||||
# clear the environment to get rid of non-ASCII strings, see bug 174702
|
||||
# set HOME for paludis
|
||||
env - HOME="${T}" \
|
||||
CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \
|
||||
CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \
|
||||
GNUMAKE=make ./make.sh \
|
||||
"sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \
|
||||
|| die "make failed"
|
||||
|
||||
# need to set HOME because libpango(used by graphviz) complains about it
|
||||
if use doc; then
|
||||
env - HOME="${T}" \
|
||||
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
|
||||
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
|
||||
make -C doc/manual info html || die "Cannot build manual"
|
||||
env - HOME="${T}" \
|
||||
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
|
||||
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
|
||||
make -C doc/internals info html || die "Cannot build internal docs"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ewarn "Unfortunately, it is known that some tests fail eg."
|
||||
ewarn "run-program.impure.lisp. This is an issue of the upstream's"
|
||||
ewarn "development and not of Gentoo's side. Please, before filing"
|
||||
ewarn "any bug(s) search for older submissions. Thank you."
|
||||
time ( cd tests && sh run-tests.sh )
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# install system-wide initfile
|
||||
dodir /etc/
|
||||
cat > "${D}"/etc/sbclrc <<EOF
|
||||
;;; The following is required if you want source location functions to
|
||||
;;; work in SLIME, for example.
|
||||
|
||||
(setf (logical-pathname-translations "SYS")
|
||||
'(("SYS:SRC;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/src/**/*.*")
|
||||
("SYS:CONTRIB;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/**/*.*")))
|
||||
|
||||
;;; Setup ASDF2
|
||||
(load "/etc/common-lisp/gentoo-init.lisp")
|
||||
EOF
|
||||
|
||||
# Install documentation
|
||||
unset SBCL_HOME
|
||||
INSTALL_ROOT="${D}/usr" LIB_DIR="/usr/$(get_libdir)" DOC_DIR="${D}/usr/share/doc/${PF}" \
|
||||
sh install.sh || die "install.sh failed"
|
||||
|
||||
# rm empty directories lest paludis complain about this
|
||||
find "${D}" -empty -type d -exec rmdir -v {} +
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/manual/
|
||||
doinfo doc/manual/*.info*
|
||||
dohtml -r doc/internals/sbcl-internals
|
||||
doinfo doc/internals/sbcl-internals.info
|
||||
docinto internals-notes && dodoc doc/internals-notes/*
|
||||
else
|
||||
rm -Rv "${D}/usr/share/doc/${PF}" || die
|
||||
fi
|
||||
|
||||
dodoc BUGS CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README TLA TODO
|
||||
|
||||
# install the SBCL source
|
||||
if use source; then
|
||||
./clean.sh
|
||||
cp -av src "${D}/usr/$(get_libdir)/sbcl/" || die
|
||||
fi
|
||||
|
||||
# necessary for running newly-saved images
|
||||
echo "SBCL_HOME=/usr/$(get_libdir)/${PN}" > "${ENVD}"
|
||||
echo "SBCL_SOURCE_ROOT=/usr/$(get_libdir)/${PN}/src" >> "${ENVD}"
|
||||
doenvd "${ENVD}"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST asdf-3.0.1.tar.gz 388547 SHA256 c47adfe7e125223758c766ef64a63c8d14857f8a2fd027b141bfd9db9470ed55 SHA512 6465a2762e0bc67319cb597f873f4997da1dd2bae409a5ed1d847b9ceab62dee12c24d60aa1015594a8f3927ada93465c821953da5139b194d087d9a020fa08a WHIRLPOOL c82a77be049f4c7c60be6aa78c7263b5be8dc9323a2380a919a9affc28edf13f37eecea2534b047b9b346d7fbf53550042211dfb1b0baa9a90e7a9e81a4a2d43
|
||||
DIST asdf-3.0.2.1.tar.gz 389494 SHA256 2413dd0b478dde0202747dd673e271b76de027e7d5144ba15706cca77b23edda SHA512 0dd14c2e8552b0624aa7c7a78a4792bcc2b0a04cd81c35ef0433424f43bd4cdb09abbd7bf36f23dc9848ff74f3bf752d752ff4aca7ce6773c2279ff23d885448 WHIRLPOOL faeec6772c6c64b3dbfe9dad6f60976ad0bc93762f6eeaafbef5838f1711cb0b9a677a85736fd6b120e3f36969a29bee46d6c4e4ad70431df629461dd44110b5
|
||||
DIST asdf-3.0.2.4.tar.gz 394304 SHA256 4f156a5cb6fe50092adabc5feee49ade9c366c939129ffea6e760b0edf9dd92c SHA512 af2157693d774004018d416b30144326588effc7b271aba8dfa2bc7981434c58a67e1308f52fb9ab2eb325a5a7f213aafa54f69b66cc333772065fd408577a89 WHIRLPOOL d7bae9732089ad52753f4b75d0ccb0a3372c3804cc327298391eda8efa930569131534cbe3eeb697abed3c1dab571f847c7676a08b79c6a48eea424eac86239d
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/uiop/uiop-3.0.2.4.ebuild,v 1.1 2013/10/14 09:33:39 grozin Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="UIOP is a portability layer spun off ASDF3"
|
||||
HOMEPAGE="http://common-lisp.net/project/asdf/"
|
||||
SRC_URI="http://common-lisp.net/project/asdf/archives/asdf-${PV}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="~dev-lisp/asdf-${PV}"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/common-lisp/source/${PN}
|
||||
doins -r contrib *.lisp ../version.lisp-expr uiop.asd asdf-driver.asd
|
||||
dodir /usr/share/common-lisp/systems
|
||||
dosym /usr/share/common-lisp/source/${PN}/uiop.asd /usr/share/common-lisp/systems/uiop.asd
|
||||
dosym /usr/share/common-lisp/source/${PN}/asdf-driver.asd /usr/share/common-lisp/systems/asdf-driver.asd
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue