This port uses pkg-install to create new users instead of using USERS= and GROUPS= Fix: - Use USERS and GROUPS Submitted by: Chris Rees (utisoft@gmail.com) Please note that pkg-install has been removed -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.--mIO7AEuS9yIz4vyaSEcJQkAuSJTDcGvf8WzvhTEnBuCzvQuR Content-Type: text/plain; name="devel-py-gitosis.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="devel-py-gitosis.patch" Index: Makefile =================================================================== RCS file: /exports/cvsroot-freebsd/ports/devel/py-gitosis/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- Makefile 15 Jan 2011 15:33:32 -0000 1.5 +++ Makefile 2 Jun 2011 14:55:56 -0000 @@ -22,15 +22,12 @@ USE_BZIP2= yes USE_PYTHON= yes USE_PYDISTUTILS= easy_install +USERS= git +GROUPS= ${USERS} WRKSRC= ${WRKDIR}/${PORTNAME} PYDISTUTILS_PKGVERSION= ${PORTVERSION:R} -pre-su-install: - @${SETENV} PKG_PREFIX=${PREFIX} GITUSER=${GITUSER} \ - GITGROUP=${GITGROUP} GITHOME=${GITHOME} \ - ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL - post-install: ${CHMOD} +x ${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG}/gitosis/templates/admin/hooks/post-update @${CAT} ${PKGMESSAGE} Index: pkg-install =================================================================== RCS file: pkg-install diff -N pkg-install --- pkg-install 15 Sep 2009 08:23:25 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,43 +0,0 @@ -#!/bin/sh - -# $FreeBSD: ports/devel/py-gitosis/pkg-install,v 1.1 2009/09/15 08:23:25 nivit Exp $ - -PATH=/bin:/usr/bin:/usr/sbin - -case $2 in -PRE-INSTALL) - GITUSER=${GITUSER:-git} - GITGROUP=${GITGROUP:-git} - GITHOME=${GITHOME:-${PKG_PREFIX}/${GITUSER}} - UID=211 - GID=211 - - if pw group show "${GITGROUP}" 2>/dev/null; then - echo "You already have a group \"${GITGROUP}\", so I will use it." - else - if pw groupadd ${GITGROUP} -g ${GID}; then - echo "Added group \"${GITGROUP}\"." - else - echo "Adding group \"${GITGROUP}\" failed..." - exit 1 - fi - fi - - if pw user show "${GITUSER}" 2>/dev/null; then - echo "You already have a user \"${GITUSER}\", so I will use it." - else - if pw useradd ${GITUSER} -u ${UID} -g ${GITGROUP} -h - -d ${GITHOME} \ - -c "gitosis user" - then - echo "Added user \"${GITUSER}\"." - else - echo "Adding user \"${GITUSER}\" failed..." - exit 1 - fi - fi - - if ! [ -x ~${GITUSER} ] ; then - install -m 755 -o ${GITUSER} -g ${GITGROUP} -d ${GITHOME} - fi - ;; -esac
Responsible Changed From-To: freebsd-ports-bugs->pgollucci pgollucci@ wants his PRs (via the GNATS Auto Assign Tool)
Maintainer of devel/py-gitosis, Please note that PR ports/157594 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/157594 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
On 6/4/2011 2:50 AM, Edwin Groothuis wrote: > Maintainer of devel/py-gitosis, > > Please note that PR ports/157594 has just been submitted. > > If it contains a patch for an upgrade, an enhancement or a bug fix > you agree on, reply to this email stating that you approve the patch > and a committer will take care of it. > > The full text of the PR can be found at: > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/157594 > Looks good to me. I approve. Thanks! -- Douglas William Thrift <douglas@douglasthrift.net> <http://douglasthrift.net/>
Responsible Changed From-To: pgollucci->crees Invalid autoassignment
Responsible Changed From-To: crees->freebsd-ports-bugs To pool to correct assign message
Responsible Changed From-To: freebsd-ports-bugs->crees Invalid autoassignment to pgollucci
State Changed From-To: feedback->open Maintainer has approved.
crees 2011-07-03 15:19:15 UTC FreeBSD ports repository Modified files: devel/py-gitosis Makefile Removed files: devel/py-gitosis pkg-install Log: - Use USERS and GROUPS PR: ports/157594 Submitted by: Chris Rees <utisoft@gmail.com> Approved by: rene (mentor), maintainer (Douglas Thrift) Revision Changes Path 1.6 +2 -5 ports/devel/py-gitosis/Makefile 1.2 +0 -43 ports/devel/py-gitosis/pkg-install (dead) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!