summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2005-04-06 20:03:46 +0000
committerSeemant Kulleen <seemant@gentoo.org>2005-04-06 20:03:46 +0000
commit4b329af1691411ec172d13ca86fe96b5d48d7595 (patch)
tree9222b41ef7227e55d22a23ff1a6ad436d7d7f0b2 /net-misc/fmirror
parentrevision bump which now installs an optional xinetd file instead of the inits... (diff)
downloadgentoo-2-4b329af1691411ec172d13ca86fe96b5d48d7595.tar.gz
gentoo-2-4b329af1691411ec172d13ca86fe96b5d48d7595.tar.bz2
gentoo-2-4b329af1691411ec172d13ca86fe96b5d48d7595.zip
added patch to make fmirror more compliant with RFC 959. Patch was made and submitted by: Alin Dobre <alin@gentoo.org> in bug #85526
(Portage version: 1.585-cvs)
Diffstat (limited to 'net-misc/fmirror')
-rw-r--r--net-misc/fmirror/ChangeLog11
-rw-r--r--net-misc/fmirror/Manifest5
-rw-r--r--net-misc/fmirror/files/digest-fmirror-0.8.4-r11
-rw-r--r--net-misc/fmirror/files/fmirror-crlf.patch11
-rw-r--r--net-misc/fmirror/fmirror-0.8.4-r1.ebuild41
-rw-r--r--net-misc/fmirror/metadata.xml9
6 files changed, 75 insertions, 3 deletions
diff --git a/net-misc/fmirror/ChangeLog b/net-misc/fmirror/ChangeLog
index 7b7a65ae0209..a698c852ce78 100644
--- a/net-misc/fmirror/ChangeLog
+++ b/net-misc/fmirror/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/fmirror
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/fmirror/ChangeLog,v 1.5 2004/06/24 23:44:19 agriffis Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/fmirror/ChangeLog,v 1.6 2005/04/06 20:03:46 seemant Exp $
+
+*fmirror-0.8.4-r1 (06 Apr 2005)
+
+ 06 Apr 2005; Seemant Kulleen <seemant@gentoo.org>
+ +files/fmirror-crlf.patch, +metadata.xml, +fmirror-0.8.4-r1.ebuild:
+ added patch to make fmirror more compliant with RFC 959. Patch was made and
+ submitted by: Alin Dobre <alin@gentoo.org> in bug #85526
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
diff --git a/net-misc/fmirror/Manifest b/net-misc/fmirror/Manifest
index 3e0271c2ffcb..b508e7819530 100644
--- a/net-misc/fmirror/Manifest
+++ b/net-misc/fmirror/Manifest
@@ -1,3 +1,6 @@
-MD5 cea8ba86ac00256dbb9fb6bcdc47b397 fmirror-0.8.4.ebuild 861
MD5 71db04139f6f88ba49e725f46f0a2cff ChangeLog 443
+MD5 cea8ba86ac00256dbb9fb6bcdc47b397 fmirror-0.8.4.ebuild 861
+MD5 99daa6503ee48790c1c35116ecaeb4d0 fmirror-0.8.4-r1.ebuild 872
MD5 d1cd29bbe2f6e4df53ff7f8cd0e72079 files/digest-fmirror-0.8.4 64
+MD5 8f74af93f4e4622f39fb1c6d8bb1ce90 files/fmirror-crlf.patch 387
+MD5 d1cd29bbe2f6e4df53ff7f8cd0e72079 files/digest-fmirror-0.8.4-r1 64
diff --git a/net-misc/fmirror/files/digest-fmirror-0.8.4-r1 b/net-misc/fmirror/files/digest-fmirror-0.8.4-r1
new file mode 100644
index 000000000000..f71eabad15db
--- /dev/null
+++ b/net-misc/fmirror/files/digest-fmirror-0.8.4-r1
@@ -0,0 +1 @@
+MD5 78652ce5bb50e6c120c9ca0988cb9dca fmirror-0.8.4.tar.gz 59831
diff --git a/net-misc/fmirror/files/fmirror-crlf.patch b/net-misc/fmirror/files/fmirror-crlf.patch
new file mode 100644
index 000000000000..e97a846e6e6e
--- /dev/null
+++ b/net-misc/fmirror/files/fmirror-crlf.patch
@@ -0,0 +1,11 @@
+--- fmirror.c 2000-03-09 08:52:52.000000000 +0200
++++ fmirror.c.new 2005-03-16 20:07:14.767419627 +0200
+@@ -642,7 +642,7 @@
+ va_list args;
+ va_start(args, format);
+ vsprintf(buffer, format, args);
+- l = fprintf(out_file, "%s\n", buffer);
++ l = fprintf(out_file, "%s\r\n", buffer);
+ fflush(out_file);
+ buffer[l - 1] = 0;
+ LOG(6, cmd, ("---> %s", buffer));
diff --git a/net-misc/fmirror/fmirror-0.8.4-r1.ebuild b/net-misc/fmirror/fmirror-0.8.4-r1.ebuild
new file mode 100644
index 000000000000..0c543c395585
--- /dev/null
+++ b/net-misc/fmirror/fmirror-0.8.4-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/fmirror/fmirror-0.8.4-r1.ebuild,v 1.1 2005/04/06 20:03:46 seemant Exp $
+
+inherit eutils
+
+DESCRIPTION="FTP mirror utility"
+HOMEPAGE="http://freshmeat.net/projects/fmirror"
+SRC_URI="ftp://ftp.guardian.no/pub/free/ftp/fmirror/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~amd64"
+IUSE=""
+
+RDEPEND=""
+DEPEND=""
+
+src_unpack() {
+ unpack ${A}; cd ${S}
+ epatch ${FILESDIR}/${PN}-crlf.patch
+}
+
+src_compile() {
+ econf \
+ --datadir=/etc/fmirror \
+ || die "configure problem"
+
+ emake || die "compile problem"
+}
+
+src_install() {
+ into /usr
+ dobin fmirror
+ dodoc COPYING ChangeLog README
+ newdoc configs/README README.sample
+ doman fmirror.1
+
+ cd configs
+ insinto /etc/fmirror/sample
+ doins {sample,generic,redhat}.conf
+}
diff --git a/net-misc/fmirror/metadata.xml b/net-misc/fmirror/metadata.xml
new file mode 100644
index 000000000000..d8b96be3c5cd
--- /dev/null
+++ b/net-misc/fmirror/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>bug-wranglers@gentoo.org</email>
+ <description>This package lacks a primary herd or maintainer.</description>
+ </maintainer>
+</pkgmetadata>