From owner-svn-ports-all@FreeBSD.ORG Sun Mar 24 04:30:31 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B9260EA; Sun, 24 Mar 2013 04:30:31 +0000 (UTC) (envelope-from acm@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 9DD5DBD6; Sun, 24 Mar 2013 04:30:31 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r2O4UV5w021075; Sun, 24 Mar 2013 04:30:31 GMT (envelope-from acm@svn.freebsd.org) Received: (from acm@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r2O4UURB021068; Sun, 24 Mar 2013 04:30:30 GMT (envelope-from acm@svn.freebsd.org) Message-Id: <201303240430.r2O4UURB021068@svn.freebsd.org> From: Jose Alonso Cardenas Marquez Date: Sun, 24 Mar 2013 04:30:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r315092 - in head/databases/firebird21-server: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Mar 2013 04:30:31 -0000 Author: acm Date: Sun Mar 24 04:30:30 2013 New Revision: 315092 URL: http://svnweb.freebsd.org/changeset/ports/315092 Log: - Update to 2.1.5 - Move files/pkg-install.in to pkg-install - Add new warning message when it is building as root - Remove obsolete patch files Added: head/databases/firebird21-server/files/patch-builds-posix_empty.vers (contents, props changed) head/databases/firebird21-server/pkg-install - copied, changed from r315090, head/databases/firebird21-server/files/pkg-install.in Deleted: head/databases/firebird21-server/files/patch-src-common-classes_alloc.h head/databases/firebird21-server/files/pkg-install.in Modified: head/databases/firebird21-server/Makefile head/databases/firebird21-server/distinfo Modified: head/databases/firebird21-server/Makefile ============================================================================== --- head/databases/firebird21-server/Makefile Sun Mar 24 04:29:26 2013 (r315091) +++ head/databases/firebird21-server/Makefile Sun Mar 24 04:30:30 2013 (r315092) @@ -2,12 +2,12 @@ # $FreeBSD$ PORTNAME= firebird -PORTVERSION= 2.1.4 -PORTREVISION?= 1 +PORTVERSION= 2.1.5 +PORTREVISION?= 0 CATEGORIES?= databases MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}-Release/ PKGNAMESUFFIX?= -server -DISTNAME= ${PORTNAME:S/f/F/}-${PORTVERSION}.18393-0 +DISTNAME= ${PORTNAME:S/f/F/}-${PORTVERSION}.18496-0 DIST_SUBDIR= ${PORTNAME} MAINTAINER= acm@FreeBSD.org @@ -62,7 +62,7 @@ ALL_TARGET= firebird_boot ref_databases inet_server extlib embed_gfix embed_gbak embed_gdef embed_util \ embed_fbudf -SUB_FILES= pkg-install pkg-message aliases.conf +SUB_FILES= pkg-message aliases.conf UTIL_BIN= fb_inet_server fb_lock_print fbstat gbak gdef gfix gsec nbackup UDF_SO= ib_udf.so fbudf.so @@ -111,8 +111,9 @@ CFLAGS+= -DAMD64 .endif .if !defined(CLIENT_ONLY) -pre-su-install: - @${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL + +USERS= ${PORTNAME} +GROUPS= ${USERS} post-install: @${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PORTNAME} POST-INSTALL @@ -122,8 +123,7 @@ post-install: .ifndef WITHOUT_IPC_CLEANUP pre-build: .ifndef PACKAGE_BUILDING - @if [ `${ID} -u` -eq 0 ]; then \ - ${ECHO_MSG} "==> Please do not build ${PORTNAME} as 'root' because this may cause conflicts with SysV semaphores of running services."; exit 1; fi + @${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL .endif ${MAKE} -C ${WRKSRC}/extern/btyacc [ -f ${WRKDIR}/ipcs.pre.build ] || ${IPCS_CMD} -s | ${TAIL} -n +3 | \ Modified: head/databases/firebird21-server/distinfo ============================================================================== --- head/databases/firebird21-server/distinfo Sun Mar 24 04:29:26 2013 (r315091) +++ head/databases/firebird21-server/distinfo Sun Mar 24 04:30:30 2013 (r315092) @@ -1,2 +1,2 @@ -SHA256 (firebird/Firebird-2.1.4.18393-0.tar.bz2) = 729b224d6d15115eea0e28dea5f92de80a33f175188e1ac36e771f2f6d12b3a3 -SIZE (firebird/Firebird-2.1.4.18393-0.tar.bz2) = 14016614 +SHA256 (firebird/Firebird-2.1.5.18496-0.tar.bz2) = 016c3730ae569e5f90247f77468e8daadeb4742ac3ce329e5c5883e8b58704b0 +SIZE (firebird/Firebird-2.1.5.18496-0.tar.bz2) = 14044088 Added: head/databases/firebird21-server/files/patch-builds-posix_empty.vers ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/firebird21-server/files/patch-builds-posix_empty.vers Sun Mar 24 04:30:30 2013 (r315092) @@ -0,0 +1,11 @@ +--- builds/posix/empty.vers 2013-03-23 02:37:17.000000000 -0500 ++++ builds/posix/empty.vers 2013-03-23 02:37:33.000000000 -0500 +@@ -27,6 +27,8 @@ + { + global: + main; ++ __progname; ++ environ; + + local: + *; Copied and modified: head/databases/firebird21-server/pkg-install (from r315090, head/databases/firebird21-server/files/pkg-install.in) ============================================================================== --- head/databases/firebird21-server/files/pkg-install.in Sun Mar 24 03:08:36 2013 (r315090, copy source) +++ head/databases/firebird21-server/pkg-install Sun Mar 24 04:30:30 2013 (r315092) @@ -4,50 +4,26 @@ PATH=/bin:/usr/bin:/usr/sbin +buildwarning() { +cat </dev/null` -if [ $? -ne 0 ]; then - fbUID=90 - while [ ! -z `id -un $fbUID 2>/dev/null` ] - do - fbUID=$(($fbUID+1)) - done - nofbuid=1 -fi - -fbGID=`pw groupshow firebird 2>/dev/null` -if [ $? -ne 0 ]; then - fbGID=90 - while [ ! -z `id -gn $fbGID 2>/dev/null` ] - do - fbGID=$(($fbGID+1)) - done - echo "firebird:*:$fbGID:" >> /etc/group -else - fbGID=`echo $fbGID | awk -F: '{print $3}'` -fi - -echo "firebird user using uid $fbUID" -echo "firebird user using gid $fbGID" - -if which -s pw; then - if [ $nofbuid -ne 0 ]; then - pw useradd firebird -u $fbUID -g $fbGID -h - -s /usr/sbin/nologin \ - -d /nonexistent -c "Firebird Database Administrator" - fi -else - echo -n "unable to create user firebird - please create it manually," - echo " before reinstalling this package." - exit 1 -fi + buildwarning ;; POST-INSTALL)