From e04cb7d66ef0695ad6c08cd813601c88800a1a2d Mon Sep 17 00:00:00 2001 From: Chris Rees Date: Thu, 30 Jun 2011 17:44:05 +0000 Subject: - Use USERS and GROUPS - Mark BROKEN and deprecate -- no commits since 2006 and maintainer timeout PR: ports/157537 Submitted by: Chris Rees Approved by: rene (mentor), maintainer timeout (2 weeks) --- chinese/firebird/Makefile | 7 ++++++- chinese/firebird/pkg-install | 38 -------------------------------------- 2 files changed, 6 insertions(+), 39 deletions(-) delete mode 100644 chinese/firebird/pkg-install (limited to 'chinese') diff --git a/chinese/firebird/Makefile b/chinese/firebird/Makefile index 05567238ee37..be7538d70a55 100644 --- a/chinese/firebird/Makefile +++ b/chinese/firebird/Makefile @@ -13,14 +13,19 @@ DISTNAME= 3.0-RELEASE MAINTAINER= edwardchuang@gmail.com COMMENT= A Common BBS Server with its own customized INN News Server +BROKEN= does not compile +DEPRECATED= Broken, maintainer timed out, untouched for five years +EXPIRATION_DATE=2011-08-30 + WRKSRC= ${WRKDIR}/bbs/bbssrc GNU_CONFIGURE= yes USE_BZIP2= yes IS_INTERACTIVE= yes NOT_FOR_ARCHS= amd64 +USERS= bbs +GROUPS= ${USERS} pre-install: - ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL ${FIND} ${WRKSRC} -name "*.orig" -delete post-install: diff --git a/chinese/firebird/pkg-install b/chinese/firebird/pkg-install deleted file mode 100644 index 4daf44f8a53c..000000000000 --- a/chinese/firebird/pkg-install +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh - -PATH=/bin:/usr/sbin -USER=bbs -GROUP=bbs -UID=9999 -GID=99 - -case $2 in -PRE-INSTALL) - - if pw group show "${GROUP}" 2>/dev/null; then - echo "You already have a group \"${GROUP}\", so I will use it." - else - if pw groupadd ${GROUP} -g ${GID}; then - echo "Added group \"${GROUP}\"." - else - echo "Adding group \"${GROUP}\" failed..." - exit 1 - fi - fi - - if pw user show "${USER}" 2>/dev/null; then - echo "You already have a user \"${USER}\", so I will use it." - else - if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \ - -d /usr/local/bbs -s /sbin/nologin -c "Firebird BBS" - then - echo "Added user \"${USER}\"." - else - echo "Adding user \"${USER}\" failed..." - exit 1 - fi - fi - - ;; - -esac -- cgit v1.2.3