Compare commits

...
This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

4 commits

Author SHA1 Message Date
Fedora Release Engineering
523ec4515d dist-git conversion 2010-07-28 09:37:58 +00:00
Bill Nottingham
f007e43fa8 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:25:29 +00:00
Rahul Sundaram
0220b2ed6e Initial import 2007-10-05 00:22:26 +00:00
Kevin Fenzi
c488db7553 Initialize branch EL-4 for aget 2007-10-04 02:45:45 +00:00
6 changed files with 98 additions and 21 deletions

View file

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
aget-0.4.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: aget
# $Id$
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
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)

48
aget-errno-include.patch Normal file
View file

@ -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 <errno.h>
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 <errno.h>
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 <errno.h>
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 <errno.h>
extern int errno;
int main(int argc, char **argv)

48
aget.spec Normal file
View file

@ -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 <sundaram@fedoraproject.org> - 0.4-3
- Fix dist tag and permissions
* Mon Oct 01 2007 Rahul Sundaram <sundaram@fedoraproject.org> - 0.4-2
- Use macro in url, Add disttag, fix optflags and patch name
* Mon Oct 01 2007 Rahul Sundaram <sundaram@fedoraproject.org> - 0.4-1
- Initial build for review. Based on rf spec

View file

@ -0,0 +1 @@
1d32390f5ea2ddd82dfbb1794cdfa92f aget-0.4.tar.gz