summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-05 02:38:31 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-05 02:38:31 +0000
commitcd06902ff23fa0de6472d6805f052425fbd46f7d (patch)
treef1e7d13d34cf9f779eccd8290b48fc288cb29ddc /app-text
parentMinor workaround (diff)
downloadhistorical-cd06902ff23fa0de6472d6805f052425fbd46f7d.tar.gz
historical-cd06902ff23fa0de6472d6805f052425fbd46f7d.tar.bz2
historical-cd06902ff23fa0de6472d6805f052425fbd46f7d.zip
Clean up patches, grab some more from Fedora, and cleanup the ebuild.
Diffstat (limited to 'app-text')
-rw-r--r--app-text/dos2unix/Manifest22
-rw-r--r--app-text/dos2unix/dos2unix-3.1-r1.ebuild37
2 files changed, 51 insertions, 8 deletions
diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest
index 2e1f824fcc7b..0a60b3820cb3 100644
--- a/app-text/dos2unix/Manifest
+++ b/app-text/dos2unix/Manifest
@@ -1,16 +1,22 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+MD5 c8124a9407523fb01f69dcb8e056cac6 ChangeLog 1721
+MD5 47d2f8ba05e597010448d7c7a21aea25 dos2unix-3.1-r1.ebuild 977
MD5 a60dc8479f8de55fecb5cd4a92a6b413 dos2unix-3.1.ebuild 877
-MD5 0c131a7201c4670302767f93643876fa metadata.xml 165
-MD5 a7725f24d6b92ae04d5768aafd197b27 ChangeLog 1310
-MD5 284eafc62e5d3fe95532af121f5278b7 files/dos2unix-3.1.patch 1146
MD5 2b2ff8664186c867d4f5909878ba670c files/digest-dos2unix-3.1 64
-MD5 8fa72bf59beecca125d2b02558fb9175 files/dos2unix-3.1-segfault.patch 2281
+MD5 2b2ff8664186c867d4f5909878ba670c files/digest-dos2unix-3.1-r1 64
+MD5 76b91abedf2851834caf8bf8b1309481 files/dos2unix-3.1-includes.patch 238
+MD5 af76f97bd1518cc67d53d3c5060bd275 files/dos2unix-3.1-manpage-update.patch 4120
+MD5 e00ebced51602e39232860de69fa45fe files/dos2unix-3.1-preserve-file-modes.patch 790
+MD5 cf90173c1e6012628064d758def78882 files/dos2unix-3.1-safeconv.patch 2237
+MD5 605908dec54eefae120882df1591c388 files/dos2unix-3.1-segfault.patch 2224
+MD5 c84bee5adf468784b6b1fbd682c851f2 files/dos2unix-3.1.patch 364
+MD5 0c131a7201c4670302767f93643876fa metadata.xml 165
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
+Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFDKzvNLLFUmVNQ7rkRAtqZAJ9CqBnCYMHespK0wItgSoOiYqOO/wCZAapu
-yanm+fssfVdGCCi6mEa0ypo=
-=Yvgx
+iD8DBQFDbBuYgIKl8Uu19MoRAlC5AJ9QoBQL9QA0FXx5UlWWNJWle7QjZgCfSRyp
+vT4pgXyBmtCn7a2tWi7oryk=
+=+57+
-----END PGP SIGNATURE-----
diff --git a/app-text/dos2unix/dos2unix-3.1-r1.ebuild b/app-text/dos2unix/dos2unix-3.1-r1.ebuild
new file mode 100644
index 000000000000..068db379e1e6
--- /dev/null
+++ b/app-text/dos2unix/dos2unix-3.1-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/dos2unix/dos2unix-3.1-r1.ebuild,v 1.1 2005/11/05 02:38:31 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="Dos2unix converts DOS or MAC text files to UNIX format"
+HOMEPAGE=""
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc-macos ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="!app-text/hd2u"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}.patch
+ epatch "${FILESDIR}"/${P}-segfault.patch
+ epatch "${FILESDIR}"/${P}-includes.patch
+ epatch "${FILESDIR}"/${P}-preserve-file-modes.patch
+ epatch "${FILESDIR}"/${P}-manpage-update.patch
+ epatch "${FILESDIR}"/${P}-safeconv.patch
+ make -s clean || die
+}
+
+src_install() {
+ dobin dos2unix || die
+ dosym dos2unix /usr/bin/mac2unix
+
+ doman dos2unix.1
+ dosym dos2unix.1 /usr/share/man/man1/mac2unix.1
+}