Date: Sun, 2 Dec 2012 12:15:39 +0000 From: Chris Rees <crees@FreeBSD.org> To: "Jason E. Hale" <jhale@freebsd.org> Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Ruslan Mahmatkhanov <rm@freebsd.org>, "ports-committers@freebsd.org" <ports-committers@freebsd.org> Subject: Re: svn commit: r308090 - head/databases/py-swift Message-ID: <CADLo8399%2BCU498=_wt-MV2-8rGC89-qjtPnHvenV55BkE2=Asg@mail.gmail.com> In-Reply-To: <8979033.Y9Fb7lkN8L@mocha.verizon.net> References: <201212020957.qB29vn6S036423@svn.freebsd.org> <8979033.Y9Fb7lkN8L@mocha.verizon.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2 December 2012 11:59, Jason E. Hale <jhale@freebsd.org> wrote: > On Sunday, December 02, 2012 09:57:49 Ruslan Mahmatkhanov wrote: >> Author: rm >> Date: Sun Dec 2 09:57:48 2012 >> New Revision: 308090 >> URL: http://svnweb.freebsd.org/changeset/ports/308090 >> >> Log: >> - update to 1.7.5 >> - add the missing dependency on www/py-pastedeploy >> - add the man pages; >> - replace /etc/swift with ${PREFIX}/etc/${PORTNAME} in the code >> - while here, add license (AL2) and fix plist >> >> PR: 174041 >> Submitted by: trociny >> Approved by: Gea-Suan Lin <gslin@gslin.org> (maintainer) >> Feature safe: yes >> >> Modified: >> head/databases/py-swift/Makefile >> head/databases/py-swift/distinfo >> head/databases/py-swift/pkg-plist >> >> Modified: head/databases/py-swift/Makefile >> ============================================================================ >> == --- head/databases/py-swift/Makefile Sun Dec 2 05:35:20 2012 > (r308089) >> +++ head/databases/py-swift/Makefile Sun Dec 2 09:57:48 2012 (r308090) > @@ >> -2,28 +2,124 @@ >> # $FreeBSD$ >> >> PORTNAME= swift >> -PORTVERSION= 1.4.6 >> -PORTREVISION= 1 >> +PORTVERSION= 1.7.5 >> CATEGORIES= databases python >> -MASTER_SITES= http://launchpadlibrarian.net/92556660/ >> +MASTER_SITES= http://launchpadlibrarian.net/122943753/ >> PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >> >> MAINTAINER= gslin@gslin.org >> COMMENT= Highly available, distributed, eventually consistent object/blob >> store >> >> +LICENSE= AL2 >> + >> RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}eventlet>=0.9.8:${PORTSDIR}/net/py-even >> tlet \ ${PYTHON_PKGNAMEPREFIX}netifaces>0:${PORTSDIR}/net/py-netifaces \ >> ${PYTHON_PKGNAMEPREFIX}simplejson>=0:${PORTSDIR}/devel/py-simplejson \ >> ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:${PORTSDIR}/databases/py-sqlite3 \ >> ${PYTHON_PKGNAMEPREFIX}webob>=0.9.8:${PORTSDIR}/www/py-webob \ >> ${PYTHON_PKGNAMEPREFIX}xattr>=0:${PORTSDIR}/devel/py-xattr \ >> + ${PYTHON_PKGNAMEPREFIX}netifaces>=0:${PORTSDIR}/net/py-netifaces \ >> + ${PYTHON_PKGNAMEPREFIX}PasteDeploy>0:${PORTSDIR}/www/py-pastedeploy > \ >> rsync>=3.0:${PORTSDIR}/net/rsync >> >> USE_PYTHON= -2.7 >> USE_PYDISTUTILS= easy_install >> >> +.include <bsd.port.pre.mk> >> + > > It doesn't seem like there is anything added that needs > <bsd.port.pre.mk>/<bsd.port.post.mk> > >> +MAN1= swift-account-auditor.1 \ >> + swift-account-reaper.1 \ >> + swift-account-replicator.1 \ >> + swift-account-server.1 \ >> + swift-container-auditor.1 \ >> + swift-container-replicator.1 \ >> + swift-container-server.1 \ >> + swift-container-sync.1 \ >> + swift-container-updater.1 \ >> + swift-dispersion-populate.1 \ >> + swift-dispersion-report.1 \ >> + swift-get-nodes.1 \ >> + swift-init.1 \ >> + swift-object-auditor.1 \ >> + swift-object-expirer.1 \ >> + swift-object-info.1 \ >> + swift-object-replicator.1 \ >> + swift-object-server.1 \ >> + swift-object-updater.1 \ >> + swift-orphans.1 \ >> + swift-proxy-server.1 \ >> + swift-recon.1 \ >> + swift-ring-builder.1 \ >> + swift.1 >> + >> +MAN5= account-server.conf.5 \ >> + container-server.conf.5 \ >> + dispersion.conf.5 \ >> + object-expirer.conf.5 \ >> + object-server.conf.5 \ >> + proxy-server.conf.5 >> + >> +post-patch: >> + @${REINPLACE_CMD} -e "s|/etc/swift|${PREFIX}/etc/${PORTNAME}|" \ >> + ${WRKSRC}/bin/swift-account-audit \ >> + ${WRKSRC}/bin/swift-dispersion-populate \ >> + ${WRKSRC}/bin/swift-dispersion-report \ >> + ${WRKSRC}/bin/swift-get-nodes \ >> + ${WRKSRC}/bin/swift-object-info \ >> + ${WRKSRC}/bin/swift-recon \ >> + ${WRKSRC}/bin/swift-recon-cron \ >> + ${WRKSRC}/doc/manpages/account-server.conf.5 \ >> + ${WRKSRC}/doc/manpages/container-server.conf.5 \ >> + ${WRKSRC}/doc/manpages/dispersion.conf.5 \ >> + ${WRKSRC}/doc/manpages/object-expirer.conf.5 \ >> + ${WRKSRC}/doc/manpages/object-server.conf.5 \ >> + ${WRKSRC}/doc/manpages/proxy-server.conf.5 \ >> + ${WRKSRC}/doc/manpages/swift-dispersion-populate.1 \ >> + ${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-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}/swift/account/reaper.py \ >> + ${WRKSRC}/swift/common/constraints.py \ >> + ${WRKSRC}/swift/common/db_replicator.py \ >> + ${WRKSRC}/swift/common/manager.py \ >> + ${WRKSRC}/swift/common/middleware/memcache.py \ >> + ${WRKSRC}/swift/common/middleware/recon.py \ >> + ${WRKSRC}/swift/common/middleware/staticweb.py \ >> + ${WRKSRC}/swift/common/utils.py \ >> + ${WRKSRC}/swift/container/sync.py \ >> + ${WRKSRC}/swift/container/updater.py \ >> + ${WRKSRC}/swift/obj/expirer.py \ >> + ${WRKSRC}/swift/obj/replicator.py \ >> + ${WRKSRC}/swift/obj/server.py \ >> + ${WRKSRC}/swift/obj/updater.py \ >> + ${WRKSRC}/swift/proxy/server.py \ >> + ${WRKSRC}/test/__init__.py \ >> + ${WRKSRC}/test/functional/tests.py \ >> + ${WRKSRC}/test/probe/common.py \ >> + ${WRKSRC}/test/probe/test_account_failures.py \ >> + ${WRKSRC}/test/probe/test_container_failures.py \ >> + ${WRKSRC}/test/probe/test_empty_device_handoff.py \ >> + ${WRKSRC}/test/probe/test_object_async_update.py \ >> + ${WRKSRC}/test/probe/test_object_failures.py \ >> + ${WRKSRC}/test/probe/test_object_handoff.py \ >> + ${WRKSRC}/test/sample.conf \ >> + ${WRKSRC}/test/unit/common/middleware/test_memcache.py >> + @${FIND} ${WRKSRC} -type f -name "*.bak" -delete >> + >> post-install: >> ${MKDIR} ${PREFIX}/etc/${PORTNAME} >> ${CP} -R ${WRKSRC}/etc/ ${PREFIX}/etc/${PORTNAME} >> +.for i in ${MAN1} >> + ${INSTALL_MAN} ${WRKSRC}/doc/manpages/${i} ${PREFIX}/man/man1/${i} >> +.endfor >> +.for i in ${MAN5} >> + ${INSTALL_MAN} ${WRKSRC}/doc/manpages/${i} ${PREFIX}/man/man5/${i} >> +.endfor >> > MANPREFIX should be used instead of PREFIX for manpage installation. If we're on that subject, MAN1PREFIX and MAN5PREFIX should be used here :) Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo8399%2BCU498=_wt-MV2-8rGC89-qjtPnHvenV55BkE2=Asg>