From 0e07022cf1727e01d62d01e6d2317e7b617465dc Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 4 Oct 2007 02:45:56 +0000 Subject: [PATCH 1/4] Initialize branch EL-5 for aget --- 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 c075e9ae2d374ee72dc0be97ca29f877a68d4ae7 Mon Sep 17 00:00:00 2001 From: Rahul Sundaram Date: Fri, 5 Oct 2007 00:28:44 +0000 Subject: [PATCH 2/4] Initial import --- .cvsignore | 1 + aget-errno-include.patch | 48 ++++++++++++++++++++++++++++++++++++++++ aget.spec | 48 ++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 98 insertions(+) create mode 100644 aget-errno-include.patch create mode 100644 aget.spec diff --git a/.cvsignore b/.cvsignore index e69de29..2e66fc3 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +aget-0.4.tar.gz diff --git a/aget-errno-include.patch b/aget-errno-include.patch new file mode 100644 index 0000000..16ec56a --- /dev/null +++ b/aget-errno-include.patch @@ -0,0 +1,48 @@ +diff -uNr aget-0.4-orig/Aget.c aget-0.4/Aget.c +--- aget-0.4-orig/Aget.c 2002-11-22 09:10:23.000000000 +0100 ++++ aget-0.4/Aget.c 2003-12-12 13:57:41.000000000 +0100 +@@ -30,7 +30,7 @@ + extern int fsuggested, nthreads; + extern int bwritten; + extern pthread_t hthread; +- ++#include + extern int errno; + + +diff -uNr aget-0.4-orig/Download.c aget-0.4/Download.c +--- aget-0.4-orig/Download.c 2002-11-19 15:00:39.000000000 +0100 ++++ aget-0.4/Download.c 2003-12-12 13:57:40.000000000 +0100 +@@ -28,7 +28,7 @@ + + extern sigset_t signal_set; + +- ++#include + extern int errno; + + unsigned int bwritten = 0; +diff -uNr aget-0.4-orig/Head.c aget-0.4/Head.c +--- aget-0.4-orig/Head.c 2002-11-22 08:38:03.000000000 +0100 ++++ aget-0.4/Head.c 2003-12-12 13:57:41.000000000 +0100 +@@ -29,7 +29,7 @@ + #include "Defs.h" + #include "Misc.h" + +- ++#include + extern int errno; + extern int h_errno; + +diff -uNr aget-0.4-orig/main.c aget-0.4/main.c +--- aget-0.4-orig/main.c 2003-06-04 10:42:09.000000000 +0200 ++++ aget-0.4/main.c 2003-12-12 13:57:42.000000000 +0100 +@@ -13,7 +13,7 @@ + #include "Signal.h" + #include "Resume.h" + #include "main.h" +- ++#include + extern int errno; + + int main(int argc, char **argv) diff --git a/aget.spec b/aget.spec new file mode 100644 index 0000000..0dd408b --- /dev/null +++ b/aget.spec @@ -0,0 +1,48 @@ +Summary: Console download accelerator +Name: aget +Version: 0.4 +Release: 3%{?dist} +License: BSD +Group: Applications/Internet +URL: http://www.enderunix.org/aget/ + +Source: http://www.enderunix.org/%{name}/%{name}-%{version}.tar.gz +Patch: aget-errno-include.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%description +Aget is a multi-threaded download accelerator like Flashget. It supports HTTP +downloads and can be run from the console. + +%prep + +%setup -q +%patch -p1 -b .errno + +%build +make CFLAGS="%{optflags}" %{?_smp_mflags} + +%install +rm -rf %{buildroot} +# make install DESTDIR=%{buildroot} +# create dirs manually and fix the permission for debug info +%{__install} -Dp -m0755 aget %{buildroot}%{_bindir}/aget + +%clean +rm -rf %{buildroot} + +%files +%defattr(-, root, root, -) +%doc AUTHORS COPYING README THANKS TODO +%{_bindir}/aget + +%changelog + +* Wed Oct 03 2007 Rahul Sundaram - 0.4-3 +- Fix dist tag and permissions + +* Mon Oct 01 2007 Rahul Sundaram - 0.4-2 +- Use macro in url, Add disttag, fix optflags and patch name + +* Mon Oct 01 2007 Rahul Sundaram - 0.4-1 +- Initial build for review. Based on rf spec diff --git a/sources b/sources index e69de29..d4457b3 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +1d32390f5ea2ddd82dfbb1794cdfa92f aget-0.4.tar.gz From f3e23f9c2618174ec5de4e8cc48ef614177f59cf Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:25:29 +0000 Subject: [PATCH 3/4] 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 1c3cd43..619cbdd 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ # Makefile for source rpm: aget -# $Id$ +# $Id: Makefile,v 1.1 2007/10/04 02:45:32 kevin Exp $ NAME := aget 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 425a797c4d46cdbeb98ef1790e7033fffdf4edd4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 28 Jul 2010 09:37:58 +0000 Subject: [PATCH 4/4] 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 619cbdd..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: aget -# $Id: Makefile,v 1.1 2007/10/04 02:45:32 kevin Exp $ -NAME := aget -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