parent
43b6df1a6e
commit
54e16918b8
@ -1 +1 @@
|
||||
Fri, 09 Jan 2015 19:36:53 +0000
|
||||
Fri, 09 Jan 2015 21:07:00 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri, 09 Jan 2015 19:36:53 +0000
|
||||
Fri, 09 Jan 2015 21:07:00 +0000
|
||||
|
File diff suppressed because one or more lines are too long
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare setup
|
||||
DEPEND=net-firewall/iptables virtual/linux-sources virtual/pkgconfig kernel_linux? ( virtual/modutils ) sys-apps/sed kernel_linux? ( virtual/linux-sources )
|
||||
DESCRIPTION=Netflow iptables module
|
||||
EAPI=5
|
||||
HOMEPAGE=http://sourceforge.net/projects/ipt-netflow
|
||||
IUSE=pax_kernel kernel_linux
|
||||
KEYWORDS=amd64 x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=net-firewall/iptables kernel_linux? ( virtual/modutils )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/ipt-netflow/ipt_netflow-1.8.tgz
|
||||
_eclasses_=eutils f99a767f569b1f0731b3a1edd17c1d11 linux-info 2b8c53f6065bdee2d757472215a3088f linux-mod 101302d4b7b694ea9622bbffb187d0de multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=d806aaa51ef3c413cc4d6006c3d3e732
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm prepare prerm setup test
|
||||
DEPEND=media-libs/libpng:0 x11-libs/cairo x11-libs/gtk+:2 x11-libs/libXmu x11-libs/pango fits? ( sci-libs/cfitsio ) fftw? ( sci-libs/fftw:3.0 ) gnome? ( gnome-base/gconf:2 ) kde? ( kde-base/kdelibs:4 ) opengl? ( virtual/opengl x11-libs/gtkglext ) perl? ( dev-lang/perl ) python? ( >=dev-lang/python-2.7.5-r2:2.7 dev-lang/python-exec:=[python_targets_python2_7(-)?,-python_single_target_jython2_5(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),python_single_target_python2_7(+)] dev-python/pygtk:2[python_targets_python2_7(-)?,-python_single_target_jython2_5(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),python_single_target_python2_7(+)] ) ruby? ( dev-ruby/narray ) sourceview? ( x11-libs/gtksourceview:2.0 ) xml? ( dev-libs/libxml2:2 ) virtual/pkgconfig doc? ( dev-util/gtk-doc ) >=sys-apps/sed-4
|
||||
DESCRIPTION=Framework for Scanning Mode Microscopy data analysis
|
||||
EAPI=5
|
||||
HOMEPAGE=http://gwyddion.net/
|
||||
IUSE=doc fits fftw gnome kde nls opengl perl python ruby sourceview xml X python_targets_python2_7
|
||||
KEYWORDS=~amd64 ~x86 ~amd64-linux ~x86-linux
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=media-libs/libpng:0 x11-libs/cairo x11-libs/gtk+:2 x11-libs/libXmu x11-libs/pango fits? ( sci-libs/cfitsio ) fftw? ( sci-libs/fftw:3.0 ) gnome? ( gnome-base/gconf:2 ) kde? ( kde-base/kdelibs:4 ) opengl? ( virtual/opengl x11-libs/gtkglext ) perl? ( dev-lang/perl ) python? ( >=dev-lang/python-2.7.5-r2:2.7 dev-lang/python-exec:=[python_targets_python2_7(-)?,-python_single_target_jython2_5(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),python_single_target_python2_7(+)] dev-python/pygtk:2[python_targets_python2_7(-)?,-python_single_target_jython2_5(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),python_single_target_python2_7(+)] ) ruby? ( dev-ruby/narray ) sourceview? ( x11-libs/gtksourceview:2.0 ) xml? ( dev-libs/libxml2:2 )
|
||||
REQUIRED_USE=python_targets_python2_7
|
||||
SLOT=0
|
||||
SRC_URI=http://gwyddion.net/download/2.39/gwyddion-2.39.tar.xz
|
||||
_eclasses_=autotools ae13678d52af6816cb92f952594d882a autotools-utils 3727db64c7b960903d5033280f108080 eutils f99a767f569b1f0731b3a1edd17c1d11 fdo-mime 0acfe1a88fd8751a1d5dc671168219fa gnome2-utils 5cdfd22a2163c9d3a891648bd19453a7 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python-single-r1 ed2ee20dc74a34be60f5b1b500e92a5b python-utils-r1 7d5f4ad9ba85664d8c5f56041a70f4c3 toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac
|
||||
_md5_=4bed037b02117b4fb04ba5780d473e2e
|
@ -0,0 +1,15 @@
|
||||
DEFINED_PHASES=compile install postinst postrm preinst setup test unpack
|
||||
DEPEND=!build? ( sys-apps/sed >=sys-devel/binutils-2.11.90.0.31 ) deblob? ( || ( >=dev-lang/python-2.7.5-r2:2.7 ) )
|
||||
DESCRIPTION=Full sources including the Gentoo patchset for the 3.10 kernel tree
|
||||
EAPI=5
|
||||
HOMEPAGE=http://dev.gentoo.org/~mpagano/genpatches
|
||||
IUSE=deblob experimental symlink build deblob
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
|
||||
LICENSE=GPL-2 !deblob? ( freedist )
|
||||
PDEPEND=!build? ( virtual/dev-manager )
|
||||
RDEPEND=!build? ( >=sys-libs/ncurses-5.2 sys-devel/make dev-lang/perl sys-devel/bc )
|
||||
RESTRICT=binchecks strip
|
||||
SLOT=3.10.64
|
||||
SRC_URI=mirror://kernel/linux/kernel/v3.x/linux-3.10.tar.xz deblob? ( http://www.fsfla.org/svnwiki/selibre/linux-libre//download/releases/LATEST-3.10.N/deblob-3.10 http://www.fsfla.org/svnwiki/selibre/linux-libre//download/releases/LATEST-3.10.N/deblob-check -> deblob-check-3.10 ) mirror://gentoo/genpatches-3.10-71.base.tar.xz mirror://gentoo/genpatches-3.10-71.extras.tar.xz experimental? ( mirror://gentoo/genpatches-3.10-71.experimental.tar.xz )
|
||||
_eclasses_=eutils f99a767f569b1f0731b3a1edd17c1d11 kernel-2 e0363401e3e385deca89bb9a22b528bb multilib 3bf24e6abb9b76d9f6c20600f0b716bf python-any-r1 da352ea9da8eb9bf158d56cca65d6c82 python-utils-r1 7d5f4ad9ba85664d8c5f56041a70f4c3 toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=b742295d064b9a18890cf5828ee09da7
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
Fri, 09 Jan 2015 19:36:56 +0000
|
||||
Fri, 09 Jan 2015 21:07:03 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri Jan 9 19:36:53 UTC 2015
|
||||
Fri Jan 9 21:07:00 UTC 2015
|
||||
|
@ -1 +1 @@
|
||||
Fri, 09 Jan 2015 20:00:01 +0000
|
||||
Fri, 09 Jan 2015 21:30:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1420832101 Fri 09 Jan 2015 07:35:01 PM UTC UTC
|
||||
1420837501 Fri 09 Jan 2015 09:05:01 PM UTC UTC
|
||||
|
@ -1,3 +1,2 @@
|
||||
DIST ipt_netflow-1.8.tgz 20921 SHA256 e705646698c1b0275eea0f34038fa7e00bf660d2bc591d3ac04afa0fe3f1ddd0 SHA512 2b0195bd56ecd04c52a11e3347b5e4fb09dc784a3394fee3e0a7e5749e39f4b6af48cd6748dd96ce33d13dd13ae05d096f2a9e0bade33d57a028d568d5b7da20 WHIRLPOOL cfd16cc4be9cab5157b2784c20f6792fd1208c0f5d58dcd8f8a3ee3870d12afe317897c7bf2b265c459ba3f0567cf331a2056ef0e95f6f2f28092318167ad5c4
|
||||
DIST ipt_netflow-2.0.1.tgz 46567 SHA256 486faab3b96af2eb7702188a2c50de7a11c9fcc224b4ace8e5ad02cd4d62de2d SHA512 3717439c5135285bb55d65848a049d56beb64dfaf7b06b71352e93c33bf6a69ae3091581d1874e67b24e65c552719dc7d58d79d861fe6bf6e9de671050da7f7e WHIRLPOOL 84af501748f61db1d76d217424560f5ca1d6b8a5b280e2d6d30431e05773a5338def0679c1e3cf1973dac2bf624b7e2629a6f37cd3024cc05ad75a0eb6b55c61
|
||||
DIST ipt_netflow-2.0.tgz 46456 SHA256 547ca6c2e8d82fc7d3d113d2ab3f602106d1efa7739167f8c7850a43e5bbe46e SHA512 7bf330ac665180218ea4cc42fe6ac6d365b45632039ff9601559f7a4675738c409853433b15dd431dba68cfe36269d6992754154411e2761041fec021e19bf8d WHIRLPOOL 1d54d2b1386f50e98cfaa082356559ec044f9b2088c70c024bc030482cc57ae5fac6de3e691f155f80fd6647b97c0f50f3292625511fe3c9ced404cfd4cff63c
|
||||
DIST ipt_netflow-2.0.1_p20150109.tar.bz2 69870 SHA256 d657fd17a45b965f83906eb760d4811c691e4ced4421a22e0e6e9f504133fa6b SHA512 e113f911e466b9e8cabdc5c852693b0fca5d197d2f82c5effa63bd5337964f361b7199c9a8a3f33dcf77180bfb752fecc18ef862277f2b03e9a6270847565032 WHIRLPOOL 7625cab156a48cfea6e0a0cebde6415b4601d2b0cd67543a350c0e05ab102e3b8ac684d73325f82c58ff7754ca59862e92ef648054b54ce72b1436ad3a3a4542
|
||||
|
@ -1,13 +0,0 @@
|
||||
Patch by Jeroen Roovers from https://bugs.gentoo.org/show_bug.cgi?id=455984
|
||||
|
||||
Fixes failure on configure stage with pkgconfig 0.28
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -217,7 +217,6 @@
|
||||
iptables_ver #IPTVER
|
||||
iptables_pkg_config
|
||||
iptables_dir #IPTSRC
|
||||
-iptables_src_version #check IPTSRC match to IPTVER
|
||||
iptables_inc #IPTINC
|
||||
iptables_modules #IPTLIB
|
||||
|
@ -1,20 +0,0 @@
|
||||
commit 76c1610c10f863e4f8b38e88af60044b42b79422
|
||||
Author: ABC <abc@telekom.ru>
|
||||
Date: Mon Sep 30 11:07:07 2013 +0400
|
||||
|
||||
num_physpages to totalram_pages rename for linux 3.11
|
||||
|
||||
diff --git a/ipt_NETFLOW.c b/ipt_NETFLOW.c
|
||||
index 5ec725d..71d4087 100644
|
||||
--- a/ipt_NETFLOW.c
|
||||
+++ b/ipt_NETFLOW.c
|
||||
@@ -2025,6 +2025,9 @@ static int __init ipt_netflow_init(void)
|
||||
|
||||
/* determine hash size (idea from nf_conntrack_core.c) */
|
||||
if (!hashsize) {
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,11,0)
|
||||
+#define num_physpages totalram_pages
|
||||
+#endif
|
||||
hashsize = (((num_physpages << PAGE_SHIFT) / 16384)
|
||||
/ sizeof(struct hlist_head));
|
||||
if (num_physpages > (1024 * 1024 * 1024 / PAGE_SIZE))
|
@ -1,57 +0,0 @@
|
||||
Patch by Jeremy Drake, https://bugs.gentoo.org/show_bug.cgi?id=466430
|
||||
|
||||
Adds support for building with PaX hardened kernel
|
||||
|
||||
--- a/ipt_NETFLOW.c
|
||||
+++ b/ipt_NETFLOW.c
|
||||
@@ -371,14 +371,13 @@
|
||||
static int hsize_procctl(ctl_table *ctl, int write, BEFORE2632(struct file *filp,)
|
||||
void __user *buffer, size_t *lenp, loff_t *fpos)
|
||||
{
|
||||
- void *orig = ctl->data;
|
||||
+ ctl_table_no_const lctl = *ctl;
|
||||
int ret, hsize;
|
||||
|
||||
if (write)
|
||||
- ctl->data = &hsize;
|
||||
- ret = proc_dointvec(ctl, write, BEFORE2632(filp,) buffer, lenp, fpos);
|
||||
+ lctl.data = &hsize;
|
||||
+ ret = proc_dointvec(&lctl, write, BEFORE2632(filp,) buffer, lenp, fpos);
|
||||
if (write) {
|
||||
- ctl->data = orig;
|
||||
if (hsize < 1)
|
||||
return -EPERM;
|
||||
return set_hashsize(hsize)?:ret;
|
||||
@@ -391,6 +390,7 @@
|
||||
{
|
||||
int ret;
|
||||
struct ipt_netflow_sock *usock;
|
||||
+ ctl_table_no_const lctl = *ctl;
|
||||
|
||||
read_lock(&sock_lock);
|
||||
if (list_empty(&usock_list)) {
|
||||
@@ -401,8 +401,8 @@
|
||||
sndbuf = usock->sock->sk->sk_sndbuf;
|
||||
read_unlock(&sock_lock);
|
||||
|
||||
- ctl->data = &sndbuf;
|
||||
- ret = proc_dointvec(ctl, write, BEFORE2632(filp,) buffer, lenp, fpos);
|
||||
+ lctl.data = &sndbuf;
|
||||
+ ret = proc_dointvec(&lctl, write, BEFORE2632(filp,) buffer, lenp, fpos);
|
||||
if (!write)
|
||||
return ret;
|
||||
if (sndbuf < SOCK_MIN_SNDBUF)
|
||||
@@ -451,10 +451,11 @@
|
||||
{
|
||||
int ret;
|
||||
int val;
|
||||
+ ctl_table_no_const lctl = *ctl;
|
||||
|
||||
val = 0;
|
||||
- ctl->data = &val;
|
||||
- ret = proc_dointvec(ctl, write, BEFORE2632(filp,) buffer, lenp, fpos);
|
||||
+ lctl.data = &val;
|
||||
+ ret = proc_dointvec(&lctl, write, BEFORE2632(filp,) buffer, lenp, fpos);
|
||||
|
||||
if (!write)
|
||||
return ret;
|
@ -1,42 +0,0 @@
|
||||
Patch from http://sourceforge.net/p/ipt-netflow/bugs-requests-patches/71/
|
||||
|
||||
--- a/ipt_NETFLOW.c
|
||||
+++ b/ipt_NETFLOW.c
|
||||
@@ -854,9 +854,15 @@
|
||||
ipt_netflow_find(const struct ipt_netflow_tuple *tuple, unsigned int hash)
|
||||
{
|
||||
struct ipt_netflow *nf;
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,9,0)
|
||||
struct hlist_node *pos;
|
||||
+#endif
|
||||
|
||||
- hlist_for_each_entry(nf, pos, &ipt_netflow_hash[hash], hlist) {
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,9,0)
|
||||
+ hlist_for_each_entry(nf, pos, &ipt_netflow_hash[hash], hlist) {
|
||||
+#else
|
||||
+ hlist_for_each_entry(nf, &ipt_netflow_hash[hash], hlist) {
|
||||
+#endif
|
||||
if (ipt_netflow_tuple_equal(tuple, &nf->tuple) &&
|
||||
nf->nr_bytes < FLOW_FULL_WATERMARK) {
|
||||
NETFLOW_STAT_INC(found);
|
||||
@@ -1434,12 +1439,20 @@
|
||||
}
|
||||
|
||||
#ifdef CONFIG_PROC_FS
|
||||
+
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,10,0)
|
||||
proc_stat = create_proc_entry("ipt_netflow", S_IRUGO, INIT_NET(proc_net_stat));
|
||||
+#else
|
||||
+ proc_stat = proc_create("ipt_netflow", S_IRUGO, INIT_NET(proc_net_stat), &nf_seq_fops);
|
||||
+#endif
|
||||
if (!proc_stat) {
|
||||
printk(KERN_ERR "Unable to create /proc/net/stat/ipt_netflow entry\n");
|
||||
goto err_free_netflow_slab;
|
||||
}
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,10,0)
|
||||
proc_stat->proc_fops = &nf_seq_fops;
|
||||
+#endif
|
||||
+
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
|
||||
proc_stat->owner = THIS_MODULE;
|
||||
#endif
|
@ -1,79 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipt_netflow/ipt_netflow-1.8-r4.ebuild,v 1.3 2014/07/18 12:41:29 jer Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils linux-info linux-mod multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="Netflow iptables module"
|
||||
HOMEPAGE="http://sourceforge.net/projects/ipt-netflow"
|
||||
SRC_URI="mirror://sourceforge/ipt-netflow/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
IUSE="pax_kernel"
|
||||
|
||||
RDEPEND="net-firewall/iptables"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/linux-sources
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
BUILD_TARGETS="all"
|
||||
CONFIG_CHECK="~IP_NF_IPTABLES"
|
||||
MODULE_NAMES="ipt_NETFLOW(ipt_netflow:${S})"
|
||||
|
||||
IPT_LIB="/usr/$(get_libdir)/xtables"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e 's:-I$(KDIR)/include::' \
|
||||
-e 's:make -C:$(MAKE) -C:g' \
|
||||
-e 's:gcc -O2:$(CC) $(CFLAGS) $(LDFLAGS):' \
|
||||
-e 's:gcc:$(CC) $(CFLAGS) $(LDFLAGS):' \
|
||||
Makefile.in || die
|
||||
sed -i -e '/IPT_NETFLOW_VERSION/s/1.7.2/1.8/' ipt_NETFLOW.c || die
|
||||
|
||||
# bug #455984
|
||||
epatch "${FILESDIR}"/${PN}-1.8-configure.patch
|
||||
|
||||
# compatibility with 3.10 kernel
|
||||
epatch "${FILESDIR}"/${PN}-1.8-procfs-fix.patch
|
||||
|
||||
# compatibility with 3.11 kernel
|
||||
epatch "${FILESDIR}"/${PN}-1.8-numphyspages-fix.patch
|
||||
|
||||
# bug #466430
|
||||
if use pax_kernel; then
|
||||
epatch "${FILESDIR}"/${PN}-1.8-pax-const.patch
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local IPT_VERSION="$($(tc-getPKG_CONFIG) --modversion xtables)"
|
||||
# econf can not be used, cause configure script fails when see unknown parameter
|
||||
# ipt-src need to be defined, see bug #455984
|
||||
./configure \
|
||||
--ipt-lib="${IPT_LIB}" \
|
||||
--ipt-src="/usr/" \
|
||||
--ipt-ver="${IPT_VERSION}" \
|
||||
--kdir="${KV_DIR}" \
|
||||
--kver="${KV_FULL}" \
|
||||
|| die 'configure failed'
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake ARCH="$(tc-arch-kernel)" CC="$(tc-getCC)" all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
exeinto "${IPT_LIB}"
|
||||
doexe libipt_NETFLOW.so
|
||||
doheader ipt_NETFLOW.h
|
||||
dodoc README*
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST gwyddion-2.29.tar.xz 2808868 SHA256 d7dd3b5bfb254cf158cfed80ebd2495fb1142f8189594c7d6f8f6a9944e5c64b SHA512 2b88ea1a872e8b9a228248d2ba94d96000d46a1a483202ed830198829ff21de21f6d13a1ec833ad0b93a12e112415798963c48b9b8cfca05e9e3fe8c2bb28f2b WHIRLPOOL 025d1552df7871515db8a6d1157dcb1562d16db14007f5adc762f8a5b504d53cc1732400d9f4b32d5ff2ea06726e24b6513f13b2f9c7f058f0f602027560da66
|
||||
DIST gwyddion-2.30.tar.xz 2771208 SHA256 3778e56ec5f2d2333297c9aa2b850a1cb2b29b9e71421657223c44f30e05b140 SHA512 b311e086115446eb7d43cbcc2eee244ba145445f3742eb615efd02da4d95e68fc8d8d026ccb5869cd9c54b02978e27a9081aedc20afdb339c6636ee883e43734 WHIRLPOOL c696693f960006458a0af743057579d2516b15a97dff68dc780802c5800c5b14df1012059de83221f7bd0805e9ebbc44425144669f2ce78f32ee6f75a3669f0e
|
||||
DIST gwyddion-2.39.tar.xz 3130844 SHA256 f2346a706fa097e9186339f7e10b7837b20ce403b44bc7a85bc78b6b78a506d2 SHA512 5b9631c9eeb71a10d0be3533585eb61e8d27bc1147a1f3cf1ca333020271b579025ce752d302bd9474f1b3ed8c55ce679ac6a75bfb4a1093adef0727b824d435 WHIRLPOOL 90262b86d1bb01b6fdf5a67b447dc1177a523df368fbd040a87d7261e071844b86624dd6bb303c8a32302d16e5f7cb11e5f0744b2808e4f6d467cd27652efe23
|
||||
|
@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gwyddion/gwyddion-2.39.ebuild,v 1.1 2015/01/09 20:32:27 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
inherit autotools-utils fdo-mime gnome2-utils python-single-r1
|
||||
|
||||
DESCRIPTION="Framework for Scanning Mode Microscopy data analysis"
|
||||
HOMEPAGE="http://gwyddion.net/"
|
||||
SRC_URI="http://gwyddion.net/download/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc fits fftw gnome kde nls opengl perl python ruby sourceview xml X"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/libpng:0
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libXmu
|
||||
x11-libs/pango
|
||||
fits? ( sci-libs/cfitsio )
|
||||
fftw? ( sci-libs/fftw:3.0 )
|
||||
gnome? ( gnome-base/gconf:2 )
|
||||
kde? ( kde-base/kdelibs:4 )
|
||||
opengl? ( virtual/opengl x11-libs/gtkglext )
|
||||
perl? ( dev-lang/perl )
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
dev-python/pygtk:2[${PYTHON_USEDEP}]
|
||||
)
|
||||
ruby? ( dev-ruby/narray )
|
||||
sourceview? ( x11-libs/gtksourceview:2.0 )
|
||||
xml? ( dev-libs/libxml2:2 )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( dev-util/gtk-doc )
|
||||
"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
MAKEOPTS+=" V=1"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-rpath
|
||||
$(use_enable doc gtk-doc)
|
||||
$(use_enable nls)
|
||||
$(use_enable python pygwy)
|
||||
$(use_enable fits cfitsio)
|
||||
$(use_with perl)
|
||||
$(use_with python)
|
||||
$(use_with ruby)
|
||||
$(use_with fftw fftw3)
|
||||
$(use_with opengl gl) \
|
||||
$(use_with sourceview gtksourceview)
|
||||
$(use_with xml libxml2)
|
||||
$(use_with X x)
|
||||
$(use_with kde kde4-thumbnailer)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
use python && dodoc modules/pygwy/README.pygwy
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use gnome && gnome2_gconf_install
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
use gnome && gnome2_gconf_uninstall
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-sources/gentoo-sources-3.10.64.ebuild,v 1.1 2015/01/09 20:17:05 mpagano Exp $
|
||||
|
||||
EAPI="5"
|
||||
ETYPE="sources"
|
||||
K_WANT_GENPATCHES="base extras experimental"
|
||||
K_GENPATCHES_VER="71"
|
||||
K_DEBLOB_AVAILABLE="1"
|
||||
inherit kernel-2
|
||||
detect_version
|
||||
detect_arch
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches"
|
||||
IUSE="deblob experimental"
|
||||
|
||||
DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
|
||||
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
|
||||
|
||||
pkg_postinst() {
|
||||
kernel-2_pkg_postinst
|
||||
einfo "For more info on this patchset, and how to report problems, see:"
|
||||
einfo "${HOMEPAGE}"
|
||||
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
kernel-2_pkg_postrm
|
||||
}
|
Loading…
Reference in new issue