1 |
bicatali 09/01/31 12:39:37 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: cfitsio-3.100-r1.ebuild |
5 |
Removed: cfitsio-3.090.ebuild |
6 |
Log: |
7 |
Added protection against null pointer dereferences, thanks to Paul Price, bug #256681 |
8 |
(Portage version: 2.2_rc23/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.3 sci-libs/cfitsio/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/metadata.xml?rev=1.3&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/metadata.xml?rev=1.3&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/metadata.xml?r1=1.2&r2=1.3 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/metadata.xml,v |
20 |
retrieving revision 1.2 |
21 |
retrieving revision 1.3 |
22 |
diff -u -r1.2 -r1.3 |
23 |
--- metadata.xml 10 Sep 2007 20:27:58 -0000 1.2 |
24 |
+++ metadata.xml 31 Jan 2009 12:39:37 -0000 1.3 |
25 |
@@ -4,12 +4,12 @@ |
26 |
<herd>sci</herd> |
27 |
<maintainer><email>nerdboy@g.o</email></maintainer> |
28 |
<longdescription lang="en"> |
29 |
-CFITSIO is a library of C and Fortran subroutines for reading and |
30 |
-writing data files in FITS (Flexible Image Transport System) data |
31 |
-format. CFITSIO provides simple high-level routines for reading and |
32 |
-writing FITS files that insulate the programmer from the internal |
33 |
-complexities of the FITS format. CFITSIO also provides advanced |
34 |
-features for manipulating and filtering the information in FITS |
35 |
-files. |
36 |
+ CFITSIO is a library of C and Fortran subroutines for reading and |
37 |
+ writing data files in FITS (Flexible Image Transport System) data |
38 |
+ format. CFITSIO provides simple high-level routines for reading and |
39 |
+ writing FITS files that insulate the programmer from the internal |
40 |
+ complexities of the FITS format. CFITSIO also provides advanced |
41 |
+ features for manipulating and filtering the information in FITS |
42 |
+ files. |
43 |
</longdescription> |
44 |
</pkgmetadata> |
45 |
|
46 |
|
47 |
|
48 |
1.22 sci-libs/cfitsio/ChangeLog |
49 |
|
50 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/ChangeLog?rev=1.22&view=markup |
51 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/ChangeLog?rev=1.22&content-type=text/plain |
52 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/ChangeLog?r1=1.21&r2=1.22 |
53 |
|
54 |
Index: ChangeLog |
55 |
=================================================================== |
56 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v |
57 |
retrieving revision 1.21 |
58 |
retrieving revision 1.22 |
59 |
diff -u -r1.21 -r1.22 |
60 |
--- ChangeLog 22 Aug 2008 18:26:16 -0000 1.21 |
61 |
+++ ChangeLog 31 Jan 2009 12:39:37 -0000 1.22 |
62 |
@@ -1,6 +1,14 @@ |
63 |
# ChangeLog for sci-libs/cfitsio |
64 |
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
65 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.21 2008/08/22 18:26:16 bicatali Exp $ |
66 |
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
67 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.22 2009/01/31 12:39:37 bicatali Exp $ |
68 |
+ |
69 |
+*cfitsio-3.100-r1 (31 Jan 2009) |
70 |
+ |
71 |
+ 31 Jan 2009; Sébastien Fabbro <bicatali@g.o> |
72 |
+ +files/cfitsio-3.100-null-protect.patch, metadata.xml, |
73 |
+ -cfitsio-3.090.ebuild, +cfitsio-3.100-r1.ebuild: |
74 |
+ Added protection against null pointer dereferences, thanks to Paul Price, |
75 |
+ bug #256681 |
76 |
|
77 |
*cfitsio-3.100 (22 Aug 2008) |
78 |
|
79 |
|
80 |
|
81 |
|
82 |
1.1 sci-libs/cfitsio/cfitsio-3.100-r1.ebuild |
83 |
|
84 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/cfitsio-3.100-r1.ebuild?rev=1.1&view=markup |
85 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/cfitsio-3.100-r1.ebuild?rev=1.1&content-type=text/plain |
86 |
|
87 |
Index: cfitsio-3.100-r1.ebuild |
88 |
=================================================================== |
89 |
# Copyright 1999-2009 Gentoo Foundation |
90 |
# Distributed under the terms of the GNU General Public License v2 |
91 |
# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/cfitsio-3.100-r1.ebuild,v 1.1 2009/01/31 12:39:37 bicatali Exp $ |
92 |
|
93 |
inherit eutils fortran autotools |
94 |
|
95 |
DESCRIPTION="C and Fortran library for manipulating FITS files" |
96 |
HOMEPAGE="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html" |
97 |
SRC_URI="ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/${PN}${PV//.}.tar.gz" |
98 |
|
99 |
LICENSE="BSD GPL-2" |
100 |
SLOT="0" |
101 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
102 |
IUSE="doc fortran" |
103 |
|
104 |
DEPEND="fortran? ( dev-lang/cfortran )" |
105 |
RDEPEND="" |
106 |
|
107 |
S="${WORKDIR}/${PN}" |
108 |
|
109 |
pkg_setup() { |
110 |
if use fortran; then |
111 |
FORTRAN="gfortran g77 ifc" |
112 |
fortran_pkg_setup |
113 |
fi |
114 |
} |
115 |
|
116 |
src_unpack() { |
117 |
unpack ${A} |
118 |
epatch "${FILESDIR}"/${P}-null-protect.patch |
119 |
cd "${S}" |
120 |
# avoid internal cfortran |
121 |
if use fortran; then |
122 |
sed -i \ |
123 |
-e 's:"cfortran.h":<cfortran.h>:' \ |
124 |
f77_wrap.h || die "sed fortran failed" |
125 |
mv cfortran.h cfortran.h.disabled |
126 |
fi |
127 |
epatch "${FILESDIR}"/${P}-autotools.patch |
128 |
eautoreconf |
129 |
} |
130 |
|
131 |
src_compile() { |
132 |
econf $(use_enable fortran) || die "econf failed" |
133 |
emake || die "emake failed" |
134 |
} |
135 |
|
136 |
src_install () { |
137 |
emake DESTDIR="${D}" install || die "emake install failed" |
138 |
dodoc changes.txt README cfitsio.doc || die "dodoc failed" |
139 |
insinto /usr/share/doc/${PF}/examples |
140 |
doins cookbook.c testprog.c speed.c smem.c || die "install examples failed" |
141 |
use doc && dodoc cfitsio.ps quick.ps |
142 |
if use fortran; then |
143 |
doins cookbook.f || die "install cookbook failed" |
144 |
dodoc fitsio.doc |
145 |
use doc && dodoc fitsio.ps |
146 |
fi |
147 |
} |