Added www/ap2_upload 0.7

This is a standalone upload manager for Apache. It can also
replace PHP native upload implementation for performance
benefit on network filesystems.
This commit is contained in:
manu 2017-12-21 03:47:24 +00:00
parent 20dcf0f318
commit 17bb17a77c
6 changed files with 51 additions and 2 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: CHANGES-2017,v 1.5340 2017/12/20 22:41:34 wiz Exp $
$NetBSD: CHANGES-2017,v 1.5341 2017/12/21 03:47:24 manu Exp $
Changes to the packages collection and infrastructure in 2017:
@ -7708,3 +7708,4 @@ Changes to the packages collection and infrastructure in 2017:
Updated databases/pgbouncer to 1.8.1 [fhajny 2017-12-20]
Updated x11/modular-xorg-server to 1.19.6 [wiz 2017-12-20]
Updated x11/modular-xorg-xephyr to 1.19.6 [wiz 2017-12-20]
Added www/ap2-upload 0.7 [manu 2017-12-21]

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1288 2017/12/14 13:52:58 adam Exp $
# $NetBSD: Makefile,v 1.1289 2017/12/21 03:47:24 manu Exp $
#
COMMENT= Packages related to the World Wide Web
@ -43,6 +43,7 @@ SUBDIR+= ap2-python
SUBDIR+= ap2-subversion
SUBDIR+= ap2-suphp
SUBDIR+= ap2-transform
SUBDIR+= ap2-upload
SUBDIR+= ap2-xsendfile
SUBDIR+= ap22-authn-sasl
SUBDIR+= ap22-authnz-external

3
www/ap2-upload/DESCR Normal file
View file

@ -0,0 +1,3 @@
Standalone upload manager for Apache. It can also replace
PHP native upload implementation for performance benefit on
network filesystems.

35
www/ap2-upload/Makefile Normal file
View file

@ -0,0 +1,35 @@
# $NetBSD: Makefile,v 1.1 2017/12/21 03:47:25 manu Exp $
DISTNAME= mod_upload-0.7
PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/mod_//}
CATEGORIES= www
MASTER_SITES= https://ftp.espci.fr/pub/mod_upload/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://ftp.espci.fr/pub/mod_upload/
COMMENT= High performance file upload helper for PHP
LICENSE= gnu-gpl-v2
PKG_APACHE_ACCEPTED= apache22 apache24
APACHE_MODULE_NAME= ${DISTNAME:C/-.*//}.la
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-apxs=${APXS}
CONFIGURE_ARGS+= --with-php-config=${BUILDLINK_PREFIX.php}/bin/php-config
USE_LIBTOOL= yes
DOC_DIR= share/doc/${DISTNAME:C/-.*//}
INSTALLATION_DIRS+= lib/httpd ${DOC_DIR}
PLIST_SUBST+= DOC_DIR=${DOC_DIR}
do-build:
cd ${WRKSRC} && ${MAKE}
post-install:
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/${DOC_DIR}
.include "../../lang/php/phpversion.mk"
.include "${PHPPKGSRCDIR}/buildlink3.mk"
.include "../../mk/apache.module.mk"
.include "../../mk/bsd.pkg.mk"

3
www/ap2-upload/PLIST Normal file
View file

@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.1 2017/12/21 03:47:25 manu Exp $
lib/httpd/mod_upload.so
${DOC_DIR}/README

6
www/ap2-upload/distinfo Normal file
View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2017/12/21 03:47:25 manu Exp $
SHA1 (mod_upload-0.7.tar.gz) = f812cb2ff53597deb289f7f7739c883424d02d7e
RMD160 (mod_upload-0.7.tar.gz) = ee3e5ff82b5f4e558ae255c8adc18ca7d4339dc9
SHA512 (mod_upload-0.7.tar.gz) = cbf06237573360aa4fcc1cdb316b18a67826bfa6efc43ad35d3e5eca28fb360eac36e7e99dc9bea1db7f578fdbcf3e467c3947bca4707fb8925a87ff8c56a1a9
Size (mod_upload-0.7.tar.gz) = 58324 bytes