svn commit: r375327 - head/databases/py-swift
Antoine Brodin
antoine at FreeBSD.org
Tue Dec 23 13:58:20 UTC 2014
Author: antoine
Date: Tue Dec 23 13:58:19 2014
New Revision: 375327
URL: https://svnweb.freebsd.org/changeset/ports/375327
QAT: https://qat.redports.org/buildarchive/r375327/
Log:
Samples should be named .sample
Modified:
head/databases/py-swift/Makefile
head/databases/py-swift/pkg-plist
Modified: head/databases/py-swift/Makefile
==============================================================================
--- head/databases/py-swift/Makefile Tue Dec 23 13:47:10 2014 (r375326)
+++ head/databases/py-swift/Makefile Tue Dec 23 13:58:19 2014 (r375327)
@@ -3,6 +3,7 @@
PORTNAME= swift
PORTVERSION= 2.2.0
+PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= http://launchpadlibrarian.net/187486124/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -33,8 +34,16 @@ USE_RC_SUBR= swift
USERS= swift
GROUPS= swift
+post-extract:
+ @(cd ${WRKSRC}/etc; \
+ for f in *-sample; do\
+ ${MV} $${f} $${f%%-sample}.sample;\
+ done)
+
post-patch:
@${REINPLACE_CMD} -e "s|/etc/swift|${PREFIX}/etc/${PORTNAME}|" \
+ -e "s|conf-sample|conf.sample|" \
+ -e "s|types-sample|types.sample|" \
${WRKSRC}/bin/swift-account-audit \
${WRKSRC}/bin/swift-account-info \
${WRKSRC}/bin/swift-container-info \
@@ -55,13 +64,15 @@ post-patch:
${WRKSRC}/doc/manpages/swift-dispersion-report.1 \
${WRKSRC}/doc/manpages/swift-get-nodes.1 \
${WRKSRC}/doc/manpages/swift-recon.1 \
- ${WRKSRC}/etc/account-server.conf-sample \
- ${WRKSRC}/etc/container-reconciler.conf-sample \
- ${WRKSRC}/etc/container-server.conf-sample \
- ${WRKSRC}/etc/dispersion.conf-sample \
- ${WRKSRC}/etc/object-expirer.conf-sample \
- ${WRKSRC}/etc/object-server.conf-sample \
- ${WRKSRC}/etc/proxy-server.conf-sample \
+ ${WRKSRC}/etc/account-server.conf.sample \
+ ${WRKSRC}/etc/container-reconciler.conf.sample \
+ ${WRKSRC}/etc/container-server.conf.sample \
+ ${WRKSRC}/etc/dispersion.conf.sample \
+ ${WRKSRC}/etc/object-expirer.conf.sample \
+ ${WRKSRC}/etc/object-server.conf.sample \
+ ${WRKSRC}/etc/proxy-server.conf.sample \
+ ${WRKSRC}/etc/swift.conf.sample \
+ ${WRKSRC}/swift.egg-info/SOURCES.txt \
${WRKSRC}/swift/account/reaper.py \
${WRKSRC}/swift/cli/info.py \
${WRKSRC}/swift/cli/recon.py \
@@ -75,6 +86,7 @@ post-patch:
${WRKSRC}/swift/common/middleware/memcache.py \
${WRKSRC}/swift/common/middleware/recon.py \
${WRKSRC}/swift/common/middleware/staticweb.py \
+ ${WRKSRC}/swift/common/middleware/tempauth.py \
${WRKSRC}/swift/common/utils.py \
${WRKSRC}/swift/container/reconciler.py \
${WRKSRC}/swift/container/server.py \
Modified: head/databases/py-swift/pkg-plist
==============================================================================
--- head/databases/py-swift/pkg-plist Tue Dec 23 13:47:10 2014 (r375326)
+++ head/databases/py-swift/pkg-plist Tue Dec 23 13:58:19 2014 (r375327)
@@ -1,17 +1,17 @@
- at sample %%ETCDIR%%/account-server.conf-sample
- at sample %%ETCDIR%%/container-reconciler.conf-sample
- at sample %%ETCDIR%%/container-server.conf-sample
- at sample %%ETCDIR%%/container-sync-realms.conf-sample
- at sample %%ETCDIR%%/dispersion.conf-sample
- at sample %%ETCDIR%%/drive-audit.conf-sample
- at sample %%ETCDIR%%/memcache.conf-sample
- at sample %%ETCDIR%%/mime.types-sample
- at sample %%ETCDIR%%/object-expirer.conf-sample
- at sample %%ETCDIR%%/object-server.conf-sample
- at sample %%ETCDIR%%/proxy-server.conf-sample
- at sample %%ETCDIR%%/rsyncd.conf-sample
- at sample %%ETCDIR%%/swift-rsyslog.conf-sample
- at sample %%ETCDIR%%/swift.conf-sample
+ at sample %%ETCDIR%%/account-server.conf.sample
+ at sample %%ETCDIR%%/container-reconciler.conf.sample
+ at sample %%ETCDIR%%/container-server.conf.sample
+ at sample %%ETCDIR%%/container-sync-realms.conf.sample
+ at sample %%ETCDIR%%/dispersion.conf.sample
+ at sample %%ETCDIR%%/drive-audit.conf.sample
+ at sample %%ETCDIR%%/memcache.conf.sample
+ at sample %%ETCDIR%%/mime.types.sample
+ at sample %%ETCDIR%%/object-expirer.conf.sample
+ at sample %%ETCDIR%%/object-server.conf.sample
+ at sample %%ETCDIR%%/proxy-server.conf.sample
+ at sample %%ETCDIR%%/rsyncd.conf.sample
+ at sample %%ETCDIR%%/swift-rsyslog.conf.sample
+ at sample %%ETCDIR%%/swift.conf.sample
man/man1/swift-account-auditor.1.gz
man/man1/swift-account-info.1.gz
man/man1/swift-account-reaper.1.gz
More information about the svn-ports-all
mailing list