aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-10-31 11:42:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-11-07 16:46:12 +0000
commit8beba74a1a40f0edc45424a7bdba90a3131a42d0 (patch)
tree660eb1bca246409451cd7cb5c33ee2009587a668
parent7baae755565e3c397f49ed077206edd8168c353b (diff)
downloadaports-8beba74a1a40f0edc45424a7bdba90a3131a42d0.tar.gz
aports-8beba74a1a40f0edc45424a7bdba90a3131a42d0.tar.bz2
aports-8beba74a1a40f0edc45424a7bdba90a3131a42d0.tar.xz
main/libfetch: remove. nothing uses it
-rw-r--r--main/libfetch/APKBUILD38
-rw-r--r--main/libfetch/Makefile93
2 files changed, 0 insertions, 131 deletions
diff --git a/main/libfetch/APKBUILD b/main/libfetch/APKBUILD
deleted file mode 100644
index cf26b1ca2b..0000000000
--- a/main/libfetch/APKBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=libfetch
-pkgver=2.33
-pkgrel=2
-pkgdesc="URL based download library"
-url="http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/net/libfetch/"
-arch="all"
-license="BSD"
-depends=
-makedepends_build=""
-makedepends_host="libressl-dev"
-makedepends="$makedepends_build $makedepends_host"
-subpackages="$pkgname-dev $pkgname-doc"
-options="!check"
-source="Makefile
- https://sources.archlinux.org/other/libfetch/libfetch-$pkgver.tar.gz
- "
-
-_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- cp "$srcdir"/Makefile "$_builddir"
-}
-
-build () {
- cd "$_builddir"
- make
-}
-
-package() {
- cd "$_builddir"
- make DESTDIR=$pkgdir install
-}
-md5sums="f04e037d98dcf18d37564a998d0ea9b1 Makefile
-a176b94f7f30344ef8a71c047ca2136b libfetch-2.33.tar.gz"
-sha256sums="184cc1eae43e1336d39e183402c1835edfec89449163dcdc9f170d0d535b6e4d Makefile
-3226f53d5ad29cc27510db968ef0d37bf4554b8aaaeadcd56e23067213b08943 libfetch-2.33.tar.gz"
-sha512sums="58f5606de94077f01528d9081be9b605c394fcc5e481102cdba999b175b390e2549aa8c849666b0caa2c44c2b0638843d3108c8b4c27ddee3293c61eb2a012b6 Makefile
-2d1fcd663733f5f44d9e87aa69a46e9aecfb465d1547d1469727c1a169768a8731c2f37761b93f35cfedba772dc8d66e472b26e10e2b7c6f7bf857d46f19af18 libfetch-2.33.tar.gz"
diff --git a/main/libfetch/Makefile b/main/libfetch/Makefile
deleted file mode 100644
index 38ed969c14..0000000000
--- a/main/libfetch/Makefile
+++ /dev/null
@@ -1,93 +0,0 @@
-prefix = /usr
-DESTDIR =
-DEBUG = false
-FETCH_WITH_INET6 = true
-FETCH_WITH_OPENSSL = true
-FETCH_WITH_LFS = true
-
-WARNINGS = -Wall -Wstrict-prototypes -Wsign-compare -Wchar-subscripts \
- -Wpointer-arith -Wcast-align -Wsign-compare
-CFLAGS += -O2 -pipe -I. -fPIC $(WARNINGS)
-
-
-CFLAGS += -DFTP_COMBINE_CWDS -DNETBSD
-
-ifeq ($(strip $(FETCH_WITH_LFS)), true)
-CFLAGS+= -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES
-endif
-
-ifeq ($(strip $(FETCH_WITH_INET6)), true)
-CFLAGS+= -DINET6
-endif
-
-ifeq ($(strip $(FETCH_WITH_OPENSSL)), true)
-CFLAGS+= -DWITH_SSL
-LDFLAGS= -lssl -lcrypto
-endif
-
-ifeq ($(strip $(DEBUG)), true)
-CFLAGS += -g -DDEBUG
-else
-CFLAGS += -UDEBUG
-endif
-
-CC = $(CROSS_COMPILE)gcc
-LD = $(CROSS_COMPILE)gcc
-AR = $(CROSS_COMPILE)ar
-RANLIB = ranlib
-INSTALL = install -c -D
-
-OBJS= fetch.o common.o ftp.o http.o file.o
-INCS= fetch.h common.h
-GEN = ftperr.h httperr.h
-MAN = libdownload.3
-
-#pretty print!
-E = @echo
-Q = @
-
-all: libfetch.so libfetch.a
- $(E) " built with: " $(CFLAGS)
-.PHONY: all
-
-%.o: %.c $(INCS) $(GEN)
- $(E) " compile " $@
- $(Q) $(CC) $(CFLAGS) -c $<
-
-ftperr.h: ftp.errors
- $(E) " generate " $@
- $(Q) ./errlist.sh ftp_errlist FTP ftp.errors > $@
-
-httperr.h: http.errors
- $(E) " generate " $@
- $(Q) ./errlist.sh http_errlist HTTP http.errors > $@
-
-libfetch.so: $(GEN) $(INCS) $(OBJS)
- $(E) " build " $@
- $(Q) rm -f $@
- $(Q) $(LD) $(LDFLAGS) *.o -shared -o $@
-
-libfetch.a: $(GEN) $(INCS) $(OBJS)
- $(E) " build " $@
- $(Q) rm -f $@
- $(Q) $(AR) rcs $@ *.o
- $(Q) $(RANLIB) $@
-
-clean:
- $(E) " clean "
- $(Q) rm -f libfetch.so libfetch.a *.o $(GEN)
-.PHONY: clean
-
-install: all
- $(Q) $(INSTALL) -m 755 libfetch.so $(DESTDIR)$(prefix)/lib/libfetch.so
- $(Q) $(INSTALL) -m 644 libfetch.a $(DESTDIR)$(prefix)/lib/libfetch.a
- $(Q) $(INSTALL) -m 644 fetch.h $(DESTDIR)$(prefix)/include/fetch.h
- $(Q) $(INSTALL) -m 644 fetch.3 $(DESTDIR)$(prefix)/share/man/man3/fetch.3
-.PHONY: install
-
-uninstall:
- $(Q) rm -f $(DESTDIR)$(prefix)/lib/libfetch.so
- $(Q) rm -f $(DESTDIR)$(prefix)/lib/libfetch.a
- $(Q) rm -f $(DESTDIR)$(prefix)/include/fetch.h
- $(Q) rm -f $(DESTDIR)$(prefix)/share/man/man3/fetch.3
-.PHONY: uninstall