# ChangeLog for net-mail/mpack
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mpack/ChangeLog,v 1.10 2006/09/08 22:38:00 dang Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mpack/ChangeLog,v 1.11 2007/03/11 01:19:13 ticho Exp $
+
+*mpack-1.6 (11 Mar 2007)
+
+ 11 Mar 2007; Andrej Kacian <ticho@gentoo.org>
+ +files/mpack-1.6-gentoo.patch, +mpack-1.6.ebuild:
+ Version bump. Fixes bug #161274, reported by Rossen Apostolov <rossen at
+ protein.osaka-u.ac.jp>.
08 Sep 2006; Daniel Gryniewicz <dang@gentoo.org> mpack-1.5-r1.ebuild:
Marked stable on amd64 for bug #146090
MD5 f57f0f4bb0328466f2638a75294fdfed files/mpack-1.5-r1.patch 2345
RMD160 8f51138c5fb59a92c2cb8b5f0fcd80f5246bded3 files/mpack-1.5-r1.patch 2345
SHA256 e11b8ef09f241cdd826877845691b232fedc77b1f37998d9799119986d4b89c0 files/mpack-1.5-r1.patch 2345
+AUX mpack-1.6-gentoo.patch 2022 RMD160 95459db0590644ae2b0acd94b05f748d2ff54820 SHA1 bd699376b38e8fa8fb9e8ff9f19513e79df928ad SHA256 7d00e9be884b8c672820b5801b46bc708f143cc93d356828044f9c1370b58feb
+MD5 9be6eac5e577f5603d2c745b1bb1dfae files/mpack-1.6-gentoo.patch 2022
+RMD160 95459db0590644ae2b0acd94b05f748d2ff54820 files/mpack-1.6-gentoo.patch 2022
+SHA256 7d00e9be884b8c672820b5801b46bc708f143cc93d356828044f9c1370b58feb files/mpack-1.6-gentoo.patch 2022
DIST mpack-1.5-src.tar.Z 285360 RMD160 614c35b1f63c2a6027c978946941cd8755cba774 SHA1 1c5081edd9c7152d2a8c4585af2c5a3fc9f17d60 SHA256 78b442cf37889d56b11b368cade6e3ebe49b27d4a46fcec158669fb0b8ef1cf9
+DIST mpack-1.6.tar.gz 179850 RMD160 a83330aa15437dc3ca6475cbf6e35b09ab9cef07 SHA1 7fd3a73e0f131412920b6ff34872e7e7fa03e03b SHA256 274108bb3a39982a4efc14fb3a65298e66c8e71367c3dabf49338162d207a94c
EBUILD mpack-1.5-r1.ebuild 832 RMD160 569d480813714ee0664bb1873860f592a543dd26 SHA1 0d92d66893b1e2f99625130492b097569e7d2111 SHA256 50bd2b106c4a2ebfeb73f9a87a2100109c86eb67f97543016bc534a86374be77
MD5 1e9fb8973e30427c2ec7db266069462d mpack-1.5-r1.ebuild 832
RMD160 569d480813714ee0664bb1873860f592a543dd26 mpack-1.5-r1.ebuild 832
MD5 a0ec8d1a38c674be9529da8d9b19878a mpack-1.5.ebuild 608
RMD160 739f1d9f71cab51bce60112152a58e3ea9f1178f mpack-1.5.ebuild 608
SHA256 87d3bb75601125cf16c83c3b4d089db3d86209b6abac5cd0644c462535e3c946 mpack-1.5.ebuild 608
-MISC ChangeLog 1172 RMD160 7f4dc4af107028d4571673b915a149521803fffa SHA1 a6f246dd1fae2f85cfe15d110528b10e0f48e60c SHA256 0121a2f93f34cae9020e83db552ed4d5eb01db38d9ec44e6f8922f1f51a7e900
-MD5 8852613491bf8e79b12bec9d1738e0d7 ChangeLog 1172
-RMD160 7f4dc4af107028d4571673b915a149521803fffa ChangeLog 1172
-SHA256 0121a2f93f34cae9020e83db552ed4d5eb01db38d9ec44e6f8922f1f51a7e900 ChangeLog 1172
+EBUILD mpack-1.6.ebuild 664 RMD160 f39e1527adf95b836cfe10937112ffedfa24b5ce SHA1 83051b6f5b4c14483dd88caf5809fb81a3868414 SHA256 558435e97aab0f4d5c37315402c0d14cb3f49794f51cbaa3f5d0ff8b3c404fd0
+MD5 b46dfea04b222b338b216b1ad48af33d mpack-1.6.ebuild 664
+RMD160 f39e1527adf95b836cfe10937112ffedfa24b5ce mpack-1.6.ebuild 664
+SHA256 558435e97aab0f4d5c37315402c0d14cb3f49794f51cbaa3f5d0ff8b3c404fd0 mpack-1.6.ebuild 664
+MISC ChangeLog 1401 RMD160 8d66286956c8705bfa969715c6ea49b25afdf000 SHA1 65221805c9ee1975dd510a6a33da74f33bfbae37 SHA256 073c8beae0326db7fe524aa6c27942297f6d79f7dad3f3fbaffb975b0267184e
+MD5 97355c5f3ef85098d05c3dcf483b16da ChangeLog 1401
+RMD160 8d66286956c8705bfa969715c6ea49b25afdf000 ChangeLog 1401
+SHA256 073c8beae0326db7fe524aa6c27942297f6d79f7dad3f3fbaffb975b0267184e ChangeLog 1401
MISC metadata.xml 161 RMD160 273e570423fa3cd9d3f15f7967a43307c8ee9661 SHA1 a1fecd2f7b169d621b88c6ccab9d758209fc8f19 SHA256 4ebf9a8f60040bfb95f13790c1d146a49c69f791f9c421e02a5d96fd6fcb2b32
MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161
RMD160 273e570423fa3cd9d3f15f7967a43307c8ee9661 metadata.xml 161
MD5 c08c156cb43e1d9b1343d7a4ad7b0843 files/digest-mpack-1.5-r1 238
RMD160 d46b9358ba5a173b21ec3714716064bcc0a2c6b3 files/digest-mpack-1.5-r1 238
SHA256 759ca720cf39565e3d74d15f02d7a9226b2bc545f7fa6cd0fdaf6b50eb0079d9 files/digest-mpack-1.5-r1 238
+MD5 86c07c0297938710029b7c30d7c67b6b files/digest-mpack-1.6 229
+RMD160 f983e8831facdb2438c5aa662f208b4e033a3b79 files/digest-mpack-1.6 229
+SHA256 5dafebea0c24eefe1dec3a12573ba8c0aa14e7a62ce54eda44ccfab75dfee96f files/digest-mpack-1.6 229
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux)
+Version: GnuPG v1.4.6 (GNU/Linux)
-iD8DBQFFAfDOomPajV0RnrERAjnLAJ9DRTTu2GcIGbs1StsTnZ/0pSdBxwCeMX4c
-ZVmz2O8eI0TpwFxcMSQ6AVE=
-=mg+X
+iD8DBQFF81lVQlM6RnzZP+IRAsFPAJ4nZqCYAKFuWWi6DZR2UPh4/6xHNACgvSr0
+UmfqYynDe3I3b5SZeNtMQbg=
+=JD3+
-----END PGP SIGNATURE-----
--- /dev/null
+MD5 a70fa5afa76539a9afb70b9d81568fe8 mpack-1.6.tar.gz 179850
+RMD160 a83330aa15437dc3ca6475cbf6e35b09ab9cef07 mpack-1.6.tar.gz 179850
+SHA256 274108bb3a39982a4efc14fb3a65298e66c8e71367c3dabf49338162d207a94c mpack-1.6.tar.gz 179850
--- /dev/null
+diff -bur mpack-1.6-orig/unixos.c mpack-1.6/unixos.c
+--- mpack-1.6-orig/unixos.c 2007-03-11 02:02:02.000000000 +0100
++++ mpack-1.6/unixos.c 2007-03-11 02:04:48.000000000 +0100
+@@ -39,7 +39,7 @@
+ #endif
+
+ extern int errno;
+-extern char *malloc();
++extern void *malloc();
+ extern char *getenv();
+
+ int overwrite_files = 0;
+@@ -90,7 +90,7 @@
+ strcpy(buf, getenv("TMPDIR"));
+ }
+ else {
+- strcpy(buf, "/usr/tmp");
++ strcpy(buf, "/var/tmp");
+ }
+ strcat(buf, "/m-prts-");
+ p = getenv("USER");
+diff -bur mpack-1.6-orig/unixpk.c mpack-1.6/unixpk.c
+--- mpack-1.6-orig/unixpk.c 2007-03-11 02:02:02.000000000 +0100
++++ mpack-1.6/unixpk.c 2007-03-11 02:14:02.000000000 +0100
+@@ -167,7 +167,7 @@
+ strcpy(fnamebuf, "/usr/tmp");
+ }
+ strcat(fnamebuf, "/mpackXXXXXX");
+- mktemp(fnamebuf);
++ mkstemp(fnamebuf);
+ outfname = strsave(fnamebuf);
+ }
+
+diff -bur mpack-1.6-orig/unixpk.man mpack-1.6/unixpk.man
+--- mpack-1.6-orig/unixpk.man 2007-03-11 02:02:02.000000000 +0100
++++ mpack-1.6/unixpk.man 2007-03-11 02:14:13.000000000 +0100
+@@ -136,7 +136,7 @@
+ .SH ENVIRONMENT
+ .TP
+ .B TMPDIR
+-Directory to store temporary files. Default is /usr/tmp.
++Directory to store temporary files. Default is /var/tmp.
+ .TP
+ .B SPLITSIZE
+ Default value of the -m switch.
+diff -bur mpack-1.6-orig/unixunpk.man mpack-1.6/unixunpk.man
+--- mpack-1.6-orig/unixunpk.man 2007-03-11 02:02:02.000000000 +0100
++++ mpack-1.6/unixunpk.man 2007-03-11 02:03:14.000000000 +0100
+@@ -107,7 +107,7 @@
+ .SH ENVIRONMENT
+ .TP
+ .B TMPDIR
+-Directory to store temporary files. Default is /usr/tmp.
++Directory to store temporary files. Default is /var/tmp.
+ .SH FILES
+ .TP
+ .B $TMPDIR/m-prts-$USER/
+diff -bur mpack-1.6-orig/xmalloc.c mpack-1.6/xmalloc.c
+--- mpack-1.6-orig/xmalloc.c 2007-03-11 02:02:02.000000000 +0100
++++ mpack-1.6/xmalloc.c 2007-03-11 02:04:29.000000000 +0100
+@@ -24,7 +24,7 @@
+ */
+ #include <stdio.h>
+ #include <string.h>
+-extern char *malloc(), *realloc();
++extern void *malloc(), *realloc();
+
+ char *xmalloc (int size)
+ {
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mpack/mpack-1.6.ebuild,v 1.1 2007/03/11 01:19:13 ticho Exp $
+
+inherit eutils
+
+DESCRIPTION="Command-line MIME encoding and decoding utilities"
+HOMEPAGE="ftp://ftp.andrew.cmu.edu/pub/mpack/"
+SRC_URI="ftp://ftp.andrew.cmu.edu/pub/mpack/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.patch
+}
+
+src_compile() {
+ econf || die
+ emake || die
+}
+
+src_install () {
+ make DESTDIR=${D} install || die
+ dodoc README.* Changes
+}