From 63b28d6ae8e7ac2dd46c59dec3e0aa9f194ccb31 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sat, 9 Feb 2008 19:40:51 +0000 Subject: [PATCH 1/5] Initialize branch EL-5 for fxload --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..42f697a --- /dev/null +++ b/branch @@ -0,0 +1 @@ +EL-5 From 75f2411fc4bc8dfd8265f6df9b547b2818af99d4 Mon Sep 17 00:00:00 2001 From: Stephen Warren Date: Sun, 10 Feb 2008 02:06:20 +0000 Subject: [PATCH 2/5] Tweak spec and header patch for EL-5. --- fxload-header.patch | 2 +- fxload.spec | 37 +++---------------------------------- 2 files changed, 4 insertions(+), 35 deletions(-) diff --git a/fxload-header.patch b/fxload-header.patch index baac5cf..6ab46ea 100644 --- a/fxload-header.patch +++ b/fxload-header.patch @@ -5,7 +5,7 @@ # include -# include -+# include ++# include # include # include "ezusb.h" diff --git a/fxload.spec b/fxload.spec index be3fe38..bbb8c6a 100644 --- a/fxload.spec +++ b/fxload.spec @@ -1,6 +1,6 @@ Name: fxload Version: 2002_04_11 -Release: 7%{?dist} +Release: 1%{?dist} Summary: A helper program to download firmware into FX and FX2 EZ-USB devices Group: System Environment/Kernel @@ -55,37 +55,6 @@ rm -rf %{buildroot} %{_mandir}/*/* %changelog -* Sat Feb 9 2008 Stephen Warren - 2002_04_11-7 -- Bump version to rebuild with gcc-4.3 - -* Sat Nov 16 2007 Stephen Warren - 2002_04_11-6 -- Rework the spec file formatting to match templates from rpmdev -- Be explicit about file attributes, just in case - -* Sat Nov 16 2007 Stephen Warren - 2002_04_11-5 -- Updates after reading packaging guide-lines more thoroughly: -- Make license version more explicit -- Add generate-tarball.sh, and associated comments -- Added BuildRequires on kernel-headers -- Added COPYING as a doc -- Use dollar v.s. percent macros more consitently - -* Fri Nov 15 2007 Stephen Warren - 2002_04_11-4 -- Repackage the source tarball to remove a3load.hex -- Added instructions to spec file on how to do the above -- Remove reference to a3load.hex from the man page too - -* Thu Nov 15 2007 Stephen Warren - 2002_04_11-3 -- Update BuildRoot per Fedora wiki -- Fixed rpmlint complaint about not cleaning buildroot -- Updated source patch file to match latest kernel file layout -- Add patch to remove reference to non-shipped non-free a3load.hex firmware - -* Fri Dec 8 2006 Bart Vanbrabant - 2002_04_11-2 -- Fixed some rpmlint complaints -- Added patch to fix an include header -- Added dist tag - -* Wed Apr 12 2006 Bart Vanbrabant - 2002_04_11-1 -- First version of fxload spec based on hotplug spec +* Sat Feb 9 2008 Stephen Warren - 2002_04_11-1 +- Initial build for EL-5; Derived from F-9 branch code, with minor tweaks. From 7d0b682e45d14987de87065095e5016edd874852 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:32:07 +0000 Subject: [PATCH 3/5] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a2dcb36..a83ed5f 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ # Makefile for source rpm: fxload -# $Id$ +# $Id: Makefile,v 1.1 2007/11/18 02:49:05 kevin Exp $ NAME := fxload SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From fd0077248fb729c3d402e9d7c031ddd3c796ad9b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 28 Jul 2010 14:56:44 +0000 Subject: [PATCH 4/5] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index a83ed5f..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: fxload -# $Id: Makefile,v 1.1 2007/11/18 02:49:05 kevin Exp $ -NAME := fxload -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index 42f697a..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -EL-5 From c7ef4abb53eb7b745dce6a314f2ed4438dabe2d1 Mon Sep 17 00:00:00 2001 From: Till Maas Date: Wed, 17 Dec 2014 18:23:42 +0100 Subject: [PATCH 5/5] 2014-12-17: Retired orphaned package, because it was orphaned for more than six weeks. Reference: https://fedorahosted.org/epel/ticket/7 --- .gitignore | 1 - dead.package | 3 ++ fxload-generate-tarball.sh | 8 ----- fxload-header.patch | 11 ------- fxload-noa3load.patch | 34 --------------------- fxload.spec | 60 -------------------------------------- sources | 1 - 7 files changed, 3 insertions(+), 115 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 fxload-generate-tarball.sh delete mode 100644 fxload-header.patch delete mode 100644 fxload-noa3load.patch delete mode 100644 fxload.spec delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index c7a3e0a..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -fxload-2002_04_11-noa3load.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..8d8263d --- /dev/null +++ b/dead.package @@ -0,0 +1,3 @@ +2014-12-17: Retired orphaned package, because it was orphaned for more than six weeks. +Reference: https://fedorahosted.org/epel/ticket/7 + diff --git a/fxload-generate-tarball.sh b/fxload-generate-tarball.sh deleted file mode 100644 index 223c2b0..0000000 --- a/fxload-generate-tarball.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -VERSION=$1 - -tar -xzvf fxload-${VERSION}.tar.gz -rm fxload-${VERSION}/a3load.hex -tar -czvf fxload-${VERSION}-noa3load.tar.gz fxload-${VERSION} - diff --git a/fxload-header.patch b/fxload-header.patch deleted file mode 100644 index 6ab46ea..0000000 --- a/fxload-header.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ezusb.c 2002-04-12 06:08:01.000000000 +0200 -+++ ezusb.c.new 2006-12-07 23:57:04.000000000 +0100 -@@ -29,7 +29,7 @@ - # include - - # include --# include -+# include - # include - - # include "ezusb.h" diff --git a/fxload-noa3load.patch b/fxload-noa3load.patch deleted file mode 100644 index 7d80fee..0000000 --- a/fxload-noa3load.patch +++ /dev/null @@ -1,34 +0,0 @@ -diff -urN fxload-2002_04_11/fxload.8 fxload-2002_04_11-noa3load/fxload.8 ---- fxload-2002_04_11/fxload.8 2002-04-11 22:08:01.000000000 -0600 -+++ fxload-2002_04_11-noa3load/fxload.8 2007-11-16 23:13:40.000000000 -0700 -@@ -217,15 +217,6 @@ - .B DEVICE - normally names a "usbfs" file that will be used to talk to the device. - This is provided by the Linux kernel as part of USB hotplugging. --.SH "FILES" --.TP --.I /usr/share/usb/a3load.hex --Second stage loader that works with AnchorChips EZ-USB, --Cypress EZ-USB FX, and Cypress EZ-USB FX2. --Note that this only supports the 0xA3 vendor command, to --write external memory. --A loader that also supports the 0xA2 command, to write boot EEPROMs, --is included with Cypress developer kits. - .SH "SEE ALSO" - .BR hotplug "(8) " - .SH "AUTHORS" -diff -urN fxload-2002_04_11/README.txt fxload-2002_04_11-noa3load/README.txt ---- fxload-2002_04_11/README.txt 2002-04-11 22:08:01.000000000 -0600 -+++ fxload-2002_04_11-noa3load/README.txt 2007-11-16 23:13:29.000000000 -0700 -@@ -11,11 +11,6 @@ - use, as well as downloading firmware to all other off-chip memory, - a second stage loader must first be downloaded. - --The distribution includes "a3load.hex", which is a simple second stage --loader that works with all the EZ-USB products listed above. If you --want to write to an EEPROM, you can use the appropriate version of the --"Vend_Ax" code provided with the Cypress developer kit. -- - - UPDATES - diff --git a/fxload.spec b/fxload.spec deleted file mode 100644 index bbb8c6a..0000000 --- a/fxload.spec +++ /dev/null @@ -1,60 +0,0 @@ -Name: fxload -Version: 2002_04_11 -Release: 1%{?dist} -Summary: A helper program to download firmware into FX and FX2 EZ-USB devices - -Group: System Environment/Kernel -License: GPLv2+ -URL: http://linux-hotplug.sourceforge.net/ -Source0: fxload-2002_04_11-noa3load.tar.gz -# The above file is derived from: -# http://downloads.sourceforge.net/linux-hotplug/fxload-2002_04_11.tar.gz -# This file contains code that is copyright Cypress Semiconductor Inc, -# and cannot be distributed. Therefore we use this script to remove the -# copyright code before shipping it. Download the upstream tarball and -# invoke this script while in the tarball's directory: -# ./fxload-generate-tarball.sh 2002_04_11 -Source1: fxload-generate-tarball.sh -Patch0: fxload-header.patch -Patch1: fxload-noa3load.patch -BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) - -BuildRequires: kernel-headers -Requires: udev -Conflicts: hotplug-gtk hotplug - -%description -This program is conveniently able to download firmware into FX and FX2 -EZ-USB devices, as well as the original AnchorChips EZ-USB. It is -intended to be invoked by udev scripts when the unprogrammed device -appears on the bus. - -%prep -%setup -q -%patch0 -p0 -b .fxload-header -%patch1 -p1 -b .fxload-noa3load - -%build -make - -%install -rm -rf %{buildroot} -mkdir -p -m 755 %{buildroot}/sbin -install -m 755 fxload %{buildroot}/sbin -mkdir -p -m 755 %{buildroot}/%{_mandir}/man8/ -install -m 644 fxload.8 %{buildroot}/%{_mandir}/man8/ - -%clean -rm -rf %{buildroot} - -%files -%defattr(0644,root,root,0755) -%doc COPYING -%doc README.txt -%attr(0755, root, root) /sbin/fxload -%{_mandir}/*/* - -%changelog -* Sat Feb 9 2008 Stephen Warren - 2002_04_11-1 -- Initial build for EL-5; Derived from F-9 branch code, with minor tweaks. - diff --git a/sources b/sources deleted file mode 100644 index 6717570..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -0d4587784f116af6527812882ac73eb8 fxload-2002_04_11-noa3load.tar.gz