summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD44
2 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..138990226c6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = httpfs2-2gbplus
+ pkgdesc = FUSE-based file system for HTTP access, patched with +2GB file support
+ pkgver = 0.1.5
+ pkgrel = 1
+ url = http://httpfs.sourceforge.net/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = asciidoc
+ makedepends = dpkg
+ depends = fuse
+ depends = openssl
+ provides = httpfs2
+ conflicts = httpfs2
+ source = http://downloads.sourceforge.net/project/httpfs/httpfs2/httpfs2-0.1.5.tar.gz
+ source = https://sourceforge.net/p/httpfs/bugs/_discuss/thread/8a4f3458/b43f/attachment/httpfs.diff
+ sha256sums = 01cb4bb38deb344f540da6f1464dc7edbdeb51213ad810b8c9c282c1e17e0fc1
+ sha256sums = da1965ff43662ed1473699e94511d9ae1c493d071eee795cdb5ff22fabeebc56
+
+pkgname = httpfs2-2gbplus
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..94105ff14b8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Zepman <the_zep_man@hotmail.com>
+# Contributor: Christian Hesse <mail@eworm.de>
+# Contributor: Constantinko <helllamer@gmail.com>
+# Contributor: Agustín Dall'Alba <a@dallalba.com.ar>
+
+_pkgname=httpfs2
+pkgname=httpfs2-2gbplus
+pkgver=0.1.5
+pkgrel=1
+pkgdesc='FUSE-based file system for HTTP access, patched with +2GB file support'
+arch=('i686' 'x86_64')
+url='http://httpfs.sourceforge.net/'
+license=('GPL')
+depends=('fuse' 'openssl')
+makedepends=('asciidoc' 'dpkg')
+provides=('httpfs2')
+conflicts=('httpfs2')
+source=("http://downloads.sourceforge.net/project/httpfs/httpfs2/${_pkgname}-${pkgver}.tar.gz"
+ "https://sourceforge.net/p/httpfs/bugs/_discuss/thread/8a4f3458/b43f/attachment/httpfs.diff")
+sha256sums=('01cb4bb38deb344f540da6f1464dc7edbdeb51213ad810b8c9c282c1e17e0fc1'
+ 'da1965ff43662ed1473699e94511d9ae1c493d071eee795cdb5ff22fabeebc56')
+
+prepare() {
+ cd "${srcdir}"/${_pkgname}-${pkgver}
+ patch -p1 -i ../httpfs.diff
+}
+
+build() {
+ cd "${srcdir}"/${_pkgname}-${pkgver}
+
+ make
+}
+
+package() {
+ cd "${srcdir}"/${_pkgname}-${pkgver}
+
+ install -D -m0755 httpfs2 "${pkgdir}"/usr/bin/httpfs2
+ install -D -m0755 httpfs2-ssl "${pkgdir}"/usr/bin/httpfs2-ssl
+
+ install -D -m0644 httpfs2.1 "${pkgdir}"/usr/share/man/man1/httpfs2.1
+
+ install -D -m0644 debian/copyright "${pkgdir}"/usr/share/doc/httpfs2/copyright
+}
+