diff options
author | ale <ale@FreeBSD.org> | 2010-02-24 23:18:48 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2010-02-24 23:18:48 +0800 |
commit | ce35236ec8490bddee2a96400da68587f899d44e (patch) | |
tree | 963578dd8ba6bc16ad97f2f7318d7dbdb2ca01bd /databases | |
parent | a33ffde9f8050ed310937a1387ec1a71e18f2bc7 (diff) | |
download | freebsd-ports-graphics-ce35236ec8490bddee2a96400da68587f899d44e.tar.gz freebsd-ports-graphics-ce35236ec8490bddee2a96400da68587f899d44e.tar.zst freebsd-ports-graphics-ce35236ec8490bddee2a96400da68587f899d44e.zip |
- Update to 5.1.44 release
- Switch to USERS/GROUPS [1]
PR: ports/143387 [1]
Submitted by: Sevan Janiyan <venture37@geeklan.co.uk> [1]
Feature safe: yes
Diffstat (limited to 'databases')
-rw-r--r-- | databases/mysql51-server/Makefile | 7 | ||||
-rw-r--r-- | databases/mysql51-server/distinfo | 6 | ||||
-rw-r--r-- | databases/mysql51-server/pkg-install | 36 |
3 files changed, 8 insertions, 41 deletions
diff --git a/databases/mysql51-server/Makefile b/databases/mysql51-server/Makefile index eb49baa5453..14c8715b0fc 100644 --- a/databases/mysql51-server/Makefile +++ b/databases/mysql51-server/Makefile @@ -6,7 +6,7 @@ # PORTNAME?= mysql -PORTVERSION= 5.1.43 +PORTVERSION= 5.1.44 PORTREVISION?= 0 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_MYSQL} @@ -100,7 +100,11 @@ CONFLICTS= mysql-server-[34].* mysql-server-5.[02-9].* USE_RC_SUBR= mysql-server.sh +USERS= mysql +GROUPS= mysql + .if defined(WITH_NDB) +USE_LDCONFIG= ${PREFIX}/lib/mysql PLIST_SUB+= NDB="" .else PLIST_SUB+= NDB="@comment " @@ -160,7 +164,6 @@ post-patch: post-install: .if !defined(PACKAGE_BUILDING) - @${SETENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL @${CAT} ${PKGMESSAGE} .endif diff --git a/databases/mysql51-server/distinfo b/databases/mysql51-server/distinfo index cde05a2b7c5..0e9032d568a 100644 --- a/databases/mysql51-server/distinfo +++ b/databases/mysql51-server/distinfo @@ -1,3 +1,3 @@ -MD5 (mysql-5.1.43.tar.gz) = 451fd3e8c55eecdf4c3ed109dce62f01 -SHA256 (mysql-5.1.43.tar.gz) = 6e417c22c0ba91ba7fea15a6c7b63b581decd446b638ea5dac896cd5de90baf3 -SIZE (mysql-5.1.43.tar.gz) = 22319586 +MD5 (mysql-5.1.44.tar.gz) = a16fa6d6c7f40a963919cbc1c5e86111 +SHA256 (mysql-5.1.44.tar.gz) = 15dfccb34082a633a3f1793c21c7bf1432bf009a35acef0068885b7b68ecb540 +SIZE (mysql-5.1.44.tar.gz) = 23400457 diff --git a/databases/mysql51-server/pkg-install b/databases/mysql51-server/pkg-install deleted file mode 100644 index 586f846c503..00000000000 --- a/databases/mysql51-server/pkg-install +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh - -PATH=/bin:/usr/sbin - -case $2 in -POST-INSTALL) - USER=mysql - GROUP=${USER} - UID=88 - GID=${UID} - - 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 /nonexistent -s /sbin/nologin -c "MySQL Daemon" - then - echo "Added user \"${USER}\"." - else - echo "Adding user \"${USER}\" failed..." - exit 1 - fi - fi - ;; -esac |