Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (b1331eab08b97908bb747029a60b45c7819ddeeb)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (b1331eab08b97908bb747029a60b45c7819ddeeb)
  • Date: Fri, 3 Mar 2017 14:21:55 +0000

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

ftp/axel/DEPENDS | 9 +++++++++
ftp/axel/DETAILS | 11 +++++------
ftp/axel/HISTORY | 7 +++++++
ftp/axel/PRE_BUILD | 5 ++---
ftp/axel/patches/axel-2.4-bffr-overflow.patch | 19 -------------------
ftp/axel/patches/axel-2.4-buildsystem.patch | 26
--------------------------
6 files changed, 23 insertions(+), 54 deletions(-)

New commits:
commit b1331eab08b97908bb747029a60b45c7819ddeeb
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

axel: => 2.12

diff --git a/ftp/axel/DEPENDS b/ftp/axel/DEPENDS
new file mode 100755
index 0000000..c4e5ab8
--- /dev/null
+++ b/ftp/axel/DEPENDS
@@ -0,0 +1,9 @@
+optional_depends SSL \
+ "--with-openssl" \
+ "--without-openssl" \
+ "for TLS support" &&
+
+optional_depends gettext \
+ "--enable-nls" \
+ "--disable-nls" \
+ "for Native Language Support"
diff --git a/ftp/axel/DETAILS b/ftp/axel/DETAILS
index e27f364..b359ab1 100755
--- a/ftp/axel/DETAILS
+++ b/ftp/axel/DETAILS
@@ -1,16 +1,15 @@
SPELL=axel
- VERSION=2.4
- PATCHLEVEL=1
+ VERSION=2.12
SECURITY_PATCH=1
SOURCE="${SPELL}-${VERSION}.tar.gz"
- SOURCE_URL[0]=http://alioth.debian.org/frs/download.php/3015/${SOURCE}
-
SOURCE_HASH=sha512:5cd8e63e325da6fe44ec213a2464e98dc68f9d43fe4b7200f5893b91b42fc1737b5e8d17709ee6d0d23cc74b68ab72f9f264b4bd941358b260f745ed6706d959
+
SOURCE_URL[0]=https://github.com/eribertomota/${SPELL}/archive/${VERSION}.tar.gz
+
SOURCE_HASH=sha512:5e163c319366f7efd16f8b35dbcf901300c884ab303696dabe87ad47511f56cc3f1e399af738dc79ca717ca70fd529b6dd1adf30f5162cfb530105ce34e2eaf2
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
- WEB_SITE="http://axel.alioth.debian.org/";
+ WEB_SITE=https://github.com/eribertomota/axel
LICENSE[0]="GPL"
ENTERED=20100311
KEYWORDS="ftp"
- SHORT="Light download accelerator."
+ SHORT="light download accelerator"
cat << EOF
Axel tries to accelerate HTTP/FTP downloading process by using multiple
connections for one file. It can use multiple mirrors for a download. Axel
diff --git a/ftp/axel/HISTORY b/ftp/axel/HISTORY
index e12eefc..ed36416 100644
--- a/ftp/axel/HISTORY
+++ b/ftp/axel/HISTORY
@@ -1,3 +1,10 @@
+2017-03-03 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: updated spell to 2.12; updated source url, website, short
+ desc
+ * DEPENDS: added, for missing optional dependencies
+ * PRE_BUILD: run autogen.sh
+ * patches: removed, fixed by upstream
+
2016-08-14 Ismael Luceno <ismael AT sourcemage.org>
* PRE_BUILD: Use apply_patch_dir

diff --git a/ftp/axel/PRE_BUILD b/ftp/axel/PRE_BUILD
index f7b5ffe..2d38ef4 100755
--- a/ftp/axel/PRE_BUILD
+++ b/ftp/axel/PRE_BUILD
@@ -2,7 +2,6 @@ default_pre_build &&
cd "$SOURCE_DIRECTORY" &&

# Allow larger number of redirections, like wget
-sed -ri '/^#define MAX_REDIR\>/ { s/[0-9]+$/20/ }' axel.h &&
+sed -ri '/^#define MAX_REDIR\>/ { s/[0-9]+$/20/ }' src/axel.h &&

-# Apply patches if any
-apply_patch_dir patches
+./autogen.sh
diff --git a/ftp/axel/patches/axel-2.4-bffr-overflow.patch
b/ftp/axel/patches/axel-2.4-bffr-overflow.patch
deleted file mode 100644
index c44c375..0000000
--- a/ftp/axel/patches/axel-2.4-bffr-overflow.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-From: Justin Lecher <jlec AT gentoo.org>
-Subject: Fix potential buffer overflow.
-
-http.c | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/http.c b/http.c
-index 5d64e9b..db91701 100644
---- a/http.c
-+++ b/http.c
-@@ -164,7 +164,7 @@ int http_exec( http_t *conn )
- {
- i ++;
- }
-- strncat( conn->headers, s, MAX_QUERY );
-+ strncat( conn->headers, s, MAX_QUERY - 1);
- }
-
- #ifdef DEBUG
diff --git a/ftp/axel/patches/axel-2.4-buildsystem.patch
b/ftp/axel/patches/axel-2.4-buildsystem.patch
deleted file mode 100644
index 46f2286..0000000
--- a/ftp/axel/patches/axel-2.4-buildsystem.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From: Justin Lecher <jlec AT gentoo.org>
-Subject: Fix build flags
-
- Makefile | 4 ++--
- 1 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 1c3863a..b43fcff 100644
---- a/Makefile
-+++ b/Makefile
-@@ -51,13 +51,13 @@ uninstall-etc:
- ### MAIN PROGRAM
-
- $(OUTFILE): axel.o conf.o conn.o ftp.o http.o search.o tcp.o text.o
-- $(CC) *.o -o $(OUTFILE) $(LFLAGS)
-+ $(CC) $(LDFLAGS) *.o -o $(OUTFILE) $(LFLAGS)
- ifndef DEBUG
- -$(STRIP) $(OUTFILE)
- endif
-
- .c.o:
-- $(CC) -c $*.c -o $*.o -Wall $(CFLAGS)
-+ $(CC) $(CPPFLAGS) -c $*.c -o $*.o -Wall $(CFLAGS)
-
- install-bin:
- mkdir -p $(DESTDIR)$(BINDIR)/



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (b1331eab08b97908bb747029a60b45c7819ddeeb), Vlad Glagolev, 03/03/2017

Archive powered by MHonArc 2.6.24.

Top of Page