Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2014 20:45:07 +0000 (UTC)
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355911 - in head/www/mod_cband: . files
Message-ID:  <201405302045.s4UKj7Kc069700@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ohauer
Date: Fri May 30 20:45:07 2014
New Revision: 355911
URL: http://svnweb.freebsd.org/changeset/ports/355911
QAT: https://qat.redports.org/buildarchive/r355911/

Log:
  - add stage support
  - update master site
  - add WWW

Added:
  head/www/mod_cband/files/
  head/www/mod_cband/files/patch-Makefile.in   (contents, props changed)
Modified:
  head/www/mod_cband/Makefile
  head/www/mod_cband/pkg-descr

Modified: head/www/mod_cband/Makefile
==============================================================================
--- head/www/mod_cband/Makefile	Fri May 30 20:38:34 2014	(r355910)
+++ head/www/mod_cband/Makefile	Fri May 30 20:45:07 2014	(r355911)
@@ -5,15 +5,14 @@ PORTNAME=	mod_cband
 PORTVERSION=	0.9.7.5
 PORTREVISION=	3
 CATEGORIES=	www
-MASTER_SITES=	http://www.sfr-fresh.com/unix/privat/
+MASTER_SITES=	http://fossies.org/linux/www/apache_httpd_modules/
 PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}
 DISTNAME=	${PORTNAME:C/_/-/}-${PORTVERSION}
 EXTRACT_SUFX=	.tgz
 DIST_SUBDIR=	apache2
 
 MAINTAINER=	apache@FreeBSD.org
-COMMENT=	A per-virtualhost bandwidth limiter module for Apache 2
-
+COMMENT=	Per-virtualhost bandwidth limiter module for Apache 2
 
 USE_APACHE=	22
 GNU_CONFIGURE=	yes
@@ -21,14 +20,10 @@ CONFIGURE_ARGS=	--with-apxs=${APXS}
 ALL_TARGET=	#
 PORTDOCS=	libpatricia.copyright documentation.txt faq.txt
 
-NO_STAGE=	yes
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/libpatricia.copyright ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/doc/documentation.txt ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/doc/faq.txt ${DOCSDIR}
-.else
-	@${DO_NADA}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/libpatricia.copyright ${STAGEDIR}${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/doc/documentation.txt ${STAGEDIR}${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/doc/faq.txt ${STAGEDIR}${DOCSDIR}
+
 .include <bsd.port.mk>

Added: head/www/mod_cband/files/patch-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/mod_cband/files/patch-Makefile.in	Fri May 30 20:45:07 2014	(r355911)
@@ -0,0 +1,12 @@
+--- ./Makefile.in.orig	2013-12-15 19:48:51.000000000 +0100
++++ ./Makefile.in	2013-12-15 19:49:40.000000000 +0100
+@@ -33,7 +33,8 @@
+ 	@echo
+ 
+ install: $(OBJ)
+-	$(APXS) $(APXS_OPTS) -i -a -n cband src/mod_cband.la
++	/bin/mkdir -p $(DESTDIR)$$($(APXS) -q LIBEXECDIR)
++	$(APXS) $(APXS_OPTS) -i -S LIBEXECDIR=$(DESTDIR)$$($(APXS) -q LIBEXECDIR) -n cband src/mod_cband.la
+ 
+ clean:
+ 	rm -f src/.libs/*

Modified: head/www/mod_cband/pkg-descr
==============================================================================
--- head/www/mod_cband/pkg-descr	Fri May 30 20:38:34 2014	(r355910)
+++ head/www/mod_cband/pkg-descr	Fri May 30 20:45:07 2014	(r355911)
@@ -2,3 +2,5 @@ mod_cband is an Apache 2 module provided
 limiting virtualhosts bandwidth usage. When the configured
 virtualhost's transfer limit is exceeded, mod_cband will redirect all
 further requests to a location specified in the configuration file.
+
+WWW: http://dembol.org/blog/mod_cband/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405302045.s4UKj7Kc069700>