diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-06-26 13:01:56 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-06-26 13:01:56 +0000 |
commit | f21b8bd01b061808c26196fd9f855f37217dbf5d (patch) | |
tree | e419592b860a9ea5e539f44a121544b00ee9b777 /sys-apps | |
parent | Stable on amd64 wrt bug 180617 (diff) | |
download | gentoo-2-f21b8bd01b061808c26196fd9f855f37217dbf5d.tar.gz gentoo-2-f21b8bd01b061808c26196fd9f855f37217dbf5d.tar.bz2 gentoo-2-f21b8bd01b061808c26196fd9f855f37217dbf5d.zip |
old
(Portage version: 2.1.3_rc5)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/file/file-4.19-r1.ebuild | 57 | ||||
-rw-r--r-- | sys-apps/file/file-4.19.ebuild | 55 | ||||
-rw-r--r-- | sys-apps/file/file-4.20-r1.ebuild | 66 | ||||
-rw-r--r-- | sys-apps/file/file-4.20.ebuild | 64 | ||||
-rw-r--r-- | sys-apps/file/files/cracklib.magic | 10 | ||||
-rw-r--r-- | sys-apps/file/files/digest-file-4.19 | 3 | ||||
-rw-r--r-- | sys-apps/file/files/digest-file-4.19-r1 | 3 | ||||
-rw-r--r-- | sys-apps/file/files/digest-file-4.20 | 6 | ||||
-rw-r--r-- | sys-apps/file/files/digest-file-4.20-r1 | 6 | ||||
-rw-r--r-- | sys-apps/file/files/file-4.17-init-mem.patch | 27 | ||||
-rw-r--r-- | sys-apps/file/files/file-4.19-init-file.patch | 21 | ||||
-rw-r--r-- | sys-apps/file/files/file-4.19-wcwidth.patch | 13 | ||||
-rw-r--r-- | sys-apps/file/files/file-4.20-disable-regex.patch | 16 | ||||
-rw-r--r-- | sys-apps/file/files/misc.magic | 3 |
14 files changed, 0 insertions, 350 deletions
diff --git a/sys-apps/file/file-4.19-r1.ebuild b/sys-apps/file/file-4.19-r1.ebuild deleted file mode 100644 index f75ee7f23bd6..000000000000 --- a/sys-apps/file/file-4.19-r1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/file-4.19-r1.ebuild,v 1.1 2007/02/07 04:50:30 vapier Exp $ - -inherit eutils distutils libtool - -DESCRIPTION="identify a file's format by scanning binary data for patterns" -HOMEPAGE="ftp://ftp.astron.com/pub/file/" -SRC_URI="ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz - ftp://ftp.astron.com/pub/file/${P}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" -IUSE="python" - -DEPEND="" - -src_unpack() { - unpack ${P}.tar.gz - cd "${S}" - - epatch "${FILESDIR}"/${PN}-4.15-libtool.patch #99593 - epatch "${FILESDIR}"/${PN}-4.19-init-file.patch #163948 - epatch "${FILESDIR}"/${PN}-4.19-wcwidth.patch - - elibtoolize - epunt_cxx - - # make sure python links against the current libmagic #54401 - sed -i "/library_dirs/s:'\.\./src':'../src/.libs':" python/setup.py - - # dont let python README kill main README #60043 - mv python/README{,.python} -} - -src_compile() { - econf --datadir=/usr/share/misc || die - emake || die "emake failed" - - use python && cd python && distutils_src_compile -} - -src_install() { - emake DESTDIR="${D}" install || die "make install failed" - dodoc ChangeLog MAINT README - - use python && cd python && distutils_src_install -} - -pkg_postinst() { - use python && distutils_pkg_postinst -} - -pkg_postrm() { - use python && distutils_pkg_postrm -} diff --git a/sys-apps/file/file-4.19.ebuild b/sys-apps/file/file-4.19.ebuild deleted file mode 100644 index 1754ecd2c40b..000000000000 --- a/sys-apps/file/file-4.19.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/file-4.19.ebuild,v 1.11 2007/02/17 17:18:59 vapier Exp $ - -inherit eutils distutils libtool - -DESCRIPTION="identify a file's format by scanning binary data for patterns" -HOMEPAGE="ftp://ftp.astron.com/pub/file/" -SRC_URI="ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz - ftp://ftp.astron.com/pub/file/${P}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" -IUSE="python" - -DEPEND="" - -src_unpack() { - unpack ${P}.tar.gz - cd "${S}" - - epatch "${FILESDIR}"/${PN}-4.15-libtool.patch #99593 - - elibtoolize - epunt_cxx - - # make sure python links against the current libmagic #54401 - sed -i "/library_dirs/s:'\.\./src':'../src/.libs':" python/setup.py - - # dont let python README kill main README #60043 - mv python/README{,.python} -} - -src_compile() { - econf --datadir=/usr/share/misc || die - emake || die "emake failed" - - use python && cd python && distutils_src_compile -} - -src_install() { - emake DESTDIR="${D}" install || die "make install failed" - dodoc ChangeLog MAINT README - - use python && cd python && distutils_src_install -} - -pkg_postinst() { - use python && distutils_pkg_postinst -} - -pkg_postrm() { - use python && distutils_pkg_postrm -} diff --git a/sys-apps/file/file-4.20-r1.ebuild b/sys-apps/file/file-4.20-r1.ebuild deleted file mode 100644 index da16bf4daa99..000000000000 --- a/sys-apps/file/file-4.20-r1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/file-4.20-r1.ebuild,v 1.2 2007/04/08 07:27:05 vapier Exp $ - -inherit eutils distutils libtool flag-o-matic - -DESCRIPTION="identify a file's format by scanning binary data for patterns" -HOMEPAGE="ftp://ftp.astron.com/pub/file/" -SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz - ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz - mirror://gentoo/patch-4.20-REG_STARTEND - ftp://ftp.gw.com/mirrors/pub/unix/file/patch-4.20-REG_STARTEND" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" -IUSE="python" -RESTRICT="mirror" #171924 - -DEPEND="" - -src_unpack() { - unpack ${P}.tar.gz - cd "${S}"/src - epatch "${DISTDIR}"/patch-4.20-REG_STARTEND - cd "${S}" - - epatch "${FILESDIR}"/${PN}-4.15-libtool.patch #99593 - epatch "${FILESDIR}"/${PN}-4.19-init-file.patch #163948 - epatch "${FILESDIR}"/${PN}-4.20-disable-regex.patch #173368 - sed -i -e 's:__unused:file_gcc_unused:' src/file.[ch] #171178 - - elibtoolize - epunt_cxx - - # make sure python links against the current libmagic #54401 - sed -i "/library_dirs/s:'\.\./src':'../src/.libs':" python/setup.py - - # dont let python README kill main README #60043 - mv python/README{,.python} -} - -src_compile() { - # file uses things like strndup() and wcwidth() - append-flags -D_GNU_SOURCE - - econf --datadir=/usr/share/misc || die - emake || die "emake failed" - - use python && cd python && distutils_src_compile -} - -src_install() { - emake DESTDIR="${D}" install || die "make install failed" - dodoc ChangeLog MAINT README - - use python && cd python && distutils_src_install -} - -pkg_postinst() { - use python && distutils_pkg_postinst -} - -pkg_postrm() { - use python && distutils_pkg_postrm -} diff --git a/sys-apps/file/file-4.20.ebuild b/sys-apps/file/file-4.20.ebuild deleted file mode 100644 index 4b9cbf3c256a..000000000000 --- a/sys-apps/file/file-4.20.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/file-4.20.ebuild,v 1.13 2007/04/07 10:01:55 vapier Exp $ - -inherit eutils distutils libtool flag-o-matic - -DESCRIPTION="identify a file's format by scanning binary data for patterns" -HOMEPAGE="ftp://ftp.astron.com/pub/file/" -SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz - ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz - ftp://ftp.gw.com/mirrors/pub/unix/file/patch-4.20-REG_STARTEND" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" -IUSE="python" -RESTRICT="mirror" #171924 - -DEPEND="" - -src_unpack() { - unpack ${P}.tar.gz - cd "${S}"/src - epatch "${DISTDIR}"/patch-4.20-REG_STARTEND - cd "${S}" - - epatch "${FILESDIR}"/${PN}-4.15-libtool.patch #99593 - epatch "${FILESDIR}"/${PN}-4.19-init-file.patch #163948 - sed -i -e 's:__unused:file_gcc_unused:' src/file.[ch] #171178 - - elibtoolize - epunt_cxx - - # make sure python links against the current libmagic #54401 - sed -i "/library_dirs/s:'\.\./src':'../src/.libs':" python/setup.py - - # dont let python README kill main README #60043 - mv python/README{,.python} -} - -src_compile() { - # file uses things like strndup() and wcwidth() - append-flags -D_GNU_SOURCE - - econf --datadir=/usr/share/misc || die - emake || die "emake failed" - - use python && cd python && distutils_src_compile -} - -src_install() { - emake DESTDIR="${D}" install || die "make install failed" - dodoc ChangeLog MAINT README - - use python && cd python && distutils_src_install -} - -pkg_postinst() { - use python && distutils_pkg_postinst -} - -pkg_postrm() { - use python && distutils_pkg_postrm -} diff --git a/sys-apps/file/files/cracklib.magic b/sys-apps/file/files/cracklib.magic deleted file mode 100644 index 3bad2983fde7..000000000000 --- a/sys-apps/file/files/cracklib.magic +++ /dev/null @@ -1,10 +0,0 @@ -# cracklib: file (1) magic for cracklib v2.7 -0 lelong 0x70775631 Cracklib password index, little endian ->4 long >0 (%i words) ->4 long 0 ("64-bit") ->>8 long >-1 (%i words) -0 belong 0x70775631 Cracklib password index, big endian ->4 belong >-1 (%i words) -0 long 0 ->4 belong 0x70775631 Cracklib password index, big endian ("64-bit") ->12 belong >0 (%i words) diff --git a/sys-apps/file/files/digest-file-4.19 b/sys-apps/file/files/digest-file-4.19 deleted file mode 100644 index f8bba151d757..000000000000 --- a/sys-apps/file/files/digest-file-4.19 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 a61ef3aa8339d5987148089afde25f60 file-4.19.tar.gz 546805 -RMD160 d8dbf2686eaef5bb1cb9467198acd3a4c5735ca7 file-4.19.tar.gz 546805 -SHA256 697250abdbcaf850728791a475a917d84287f7e2d67bab90021775db600c4d85 file-4.19.tar.gz 546805 diff --git a/sys-apps/file/files/digest-file-4.19-r1 b/sys-apps/file/files/digest-file-4.19-r1 deleted file mode 100644 index f8bba151d757..000000000000 --- a/sys-apps/file/files/digest-file-4.19-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 a61ef3aa8339d5987148089afde25f60 file-4.19.tar.gz 546805 -RMD160 d8dbf2686eaef5bb1cb9467198acd3a4c5735ca7 file-4.19.tar.gz 546805 -SHA256 697250abdbcaf850728791a475a917d84287f7e2d67bab90021775db600c4d85 file-4.19.tar.gz 546805 diff --git a/sys-apps/file/files/digest-file-4.20 b/sys-apps/file/files/digest-file-4.20 deleted file mode 100644 index 8ecf19e146e2..000000000000 --- a/sys-apps/file/files/digest-file-4.20 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 402bdb26356791bd5d277099adacc006 file-4.20.tar.gz 548393 -RMD160 ff4f1a677a6377df3d7925ab4e36fec71dd3ebe7 file-4.20.tar.gz 548393 -SHA256 c0810fb3ddb6cb73c9ff045965e542af6e3eaa7f2995b3037181766d26d5e6e7 file-4.20.tar.gz 548393 -MD5 119b5fd6c60eede06ef909aa13fd65d2 patch-4.20-REG_STARTEND 1119 -RMD160 30ca934188bafe6fbe3967c1aee980bd7710b0b1 patch-4.20-REG_STARTEND 1119 -SHA256 add836395ad07c2b60697eb5f9b24a2dbf26746c7b4b18330afe4ca147b759e2 patch-4.20-REG_STARTEND 1119 diff --git a/sys-apps/file/files/digest-file-4.20-r1 b/sys-apps/file/files/digest-file-4.20-r1 deleted file mode 100644 index 8ecf19e146e2..000000000000 --- a/sys-apps/file/files/digest-file-4.20-r1 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 402bdb26356791bd5d277099adacc006 file-4.20.tar.gz 548393 -RMD160 ff4f1a677a6377df3d7925ab4e36fec71dd3ebe7 file-4.20.tar.gz 548393 -SHA256 c0810fb3ddb6cb73c9ff045965e542af6e3eaa7f2995b3037181766d26d5e6e7 file-4.20.tar.gz 548393 -MD5 119b5fd6c60eede06ef909aa13fd65d2 patch-4.20-REG_STARTEND 1119 -RMD160 30ca934188bafe6fbe3967c1aee980bd7710b0b1 patch-4.20-REG_STARTEND 1119 -SHA256 add836395ad07c2b60697eb5f9b24a2dbf26746c7b4b18330afe4ca147b759e2 patch-4.20-REG_STARTEND 1119 diff --git a/sys-apps/file/files/file-4.17-init-mem.patch b/sys-apps/file/files/file-4.17-init-mem.patch deleted file mode 100644 index c1ffddeae8a7..000000000000 --- a/sys-apps/file/files/file-4.17-init-mem.patch +++ /dev/null @@ -1,27 +0,0 @@ -Make sure we init the memory we allocate (file-4.16 did this, but -file-4.17 doesnt). - -http://bugs.gentoo.org/126012 - ---- file-4.17/src/apprentice.c -+++ file-4.17/src/apprentice.c -@@ -380,8 +380,8 @@ apprentice_file(struct magic_set *ms, st - return -1; - } - -- maxmagic = MAXMAGIS; -- if ((marray = malloc(maxmagic * sizeof(*marray))) == NULL) { -+ maxmagic = MAXMAGIS; -+ if ((marray = calloc(maxmagic, sizeof(*marray))) == NULL) { - (void)fclose(f); - file_oomem(ms); - return -1; -@@ -509,7 +509,7 @@ parse(struct magic_set *ms, struct magic - char *t; - private const char *fops = FILE_OPS; - uint32_t val; -- uint32_t cont_level, cont_count; -+ uint32_t cont_level; - - cont_level = 0; - diff --git a/sys-apps/file/files/file-4.19-init-file.patch b/sys-apps/file/files/file-4.19-init-file.patch deleted file mode 100644 index 96c9e68a4261..000000000000 --- a/sys-apps/file/files/file-4.19-init-file.patch +++ /dev/null @@ -1,21 +0,0 @@ -When a new struct magic_set is created as the handle to the calling application -(in magic_open), the "file" char * is not NULLified. This causes unexplained -segfaults in other apps that don't properly have their magic.mgc file created, -i.e. in app-arch/rpm-4.4.6-r3. The file pointer is some random value, so when -file_magwarn tries to report a missing magic.mgc file, for example, it tries to -print ms->file, which is NULL, and the segfault occurs. - -Fix by Jeff Hansen. - -http://bugs.gentoo.org/163948 - ---- src/magic.c -+++ src/magic.c -@@ -110,6 +110,7 @@ magic_open(int flags) - ms->haderr = 0; - ms->error = -1; - ms->mlist = NULL; -+ ms->file = NULL; - return ms; - free3: - free(ms->o.pbuf); diff --git a/sys-apps/file/files/file-4.19-wcwidth.patch b/sys-apps/file/files/file-4.19-wcwidth.patch deleted file mode 100644 index 9b10c811ef07..000000000000 --- a/sys-apps/file/files/file-4.19-wcwidth.patch +++ /dev/null @@ -1,13 +0,0 @@ -make sure we get the wcwidth() prototype - ---- src/file.c -+++ src/file.c -@@ -29,6 +29,8 @@ - * file - find type of a file or files - main program. - */ - -+#define _XOPEN_SOURCE -+ - #include "file.h" - #include "magic.h" - diff --git a/sys-apps/file/files/file-4.20-disable-regex.patch b/sys-apps/file/files/file-4.20-disable-regex.patch deleted file mode 100644 index 61ff5501c26e..000000000000 --- a/sys-apps/file/files/file-4.20-disable-regex.patch +++ /dev/null @@ -1,16 +0,0 @@ -http://mx.gw.com/pipermail/file/2007/000172.html -http://bugs.gentoo.org/173368 - ---- magic/Magdir/msdos -+++ magic/Magdir/msdos -@@ -14,8 +14,8 @@ - - # OS/2 batch files are REXX. the second regex is a bit generic, oh well - # the matched commands seem to be common in REXX and uncommon elsewhere --100 regex/c =^\\s*call\\s+rxfuncadd.*sysloadfu OS/2 REXX batch file text --100 regex/c =^\\s*say\ ['"] OS/2 REXX batch file text -+# 100 regex/c =^\\s*call\\s+rxfuncadd.*sysloadfu OS/2 REXX batch file text -+# 100 regex/c =^\\s*say\ ['"] OS/2 REXX batch file text - - 0 leshort 0x14c MS Windows COFF Intel 80386 object file - #>4 ledate x stamp %s diff --git a/sys-apps/file/files/misc.magic b/sys-apps/file/files/misc.magic deleted file mode 100644 index 522516206cbd..000000000000 --- a/sys-apps/file/files/misc.magic +++ /dev/null @@ -1,3 +0,0 @@ -0 string fLaC audio/x-flac - -0 string CWS application/x-shockwave-flash |