aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/sge/pkg-install
blob: 906599084f2edecf7faa6990a6e376f02582b028 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/sh

u=sgeadmin
g=sgeadmin
ugid=103
homedir=/nonexistent
shell=/sbin/nologin
comment="Sun Grid Engine Admin"

case $2 in
PRE-INSTALL)
    if pw group show "${g}" >/dev/null 2>&1; then
        echo "Using existing group \"${g}\"."
    else
        echo "Creating group \"${g}\", (gid: ${ugid})."
        pw groupadd ${g} -g ${ugid}
        if [ $? != 0 ]; then
            echo "Failed to add group \"${g}\"."
            exit 1
        fi
    fi
    if pw user show "${u}" >/dev/null 2>&1; then
        echo "Using existing user \"${u}\"."
    else
        echo "Creating user \"${u}\", (uid: ${ugid})."
        pw useradd ${u} -u ${ugid} -g ${ugid} -h - \
            -d ${homedir} -s ${shell} -c "${comment}"
        if [ $? != 0 ]; then
            echo "Failed to add user \"${u}\"."
            exit 1
        fi
    fi
    ;;
esac
class='deletions'>-7/+8 * mysql-server compiles and runs fine on sparc64.dirk2003-01-231-1/+1 * make USE_LIBTOOL actually workingdirk2002-12-171-10/+18 * Upgrade to 3.23.54.dirk2002-12-155-52/+44 * Mark as FORBIDDEN - multiple security vulnerabilities exist. Seesobomax2002-12-131-0/+2 * Fix MASTER_SITES.dirk2002-11-221-4/+6 * WITH_XCHARSET is independent of WITH_CHARSET.dirk2002-11-171-1/+1 * -STABLE exits with signal 11 while connecting via TCP/IP if emptydirk2002-11-132-5/+9 * FreeBSD has broken realpath(3), too.dirk2002-11-112-9/+17 * Set limits from user mysql before starting mysqld.dirk2002-11-112-1/+2 * Only kill mysqld we started. Don't kill all mysqld.dirk2002-11-111-4/+12 * Only kill mysqld we started. Don't kill all mysqld.dirk2002-11-112-4/+11 * Fix build on 5.0-CURRENT.dirk2002-11-111-0/+11 * Upgrade to 3.23.52.dirk2002-10-213-24/+25 * Don't restrict InnoDB to i386. Works on alpha, too.dirk2002-09-041-3/+4 * Upgrade to 3.23.52.dirk2002-08-195-51/+30 * - remove CXX=${CC} this doesn't work with -CURRENT ${CC} any longer.dirk2002-08-132-2/+12 * Bump PORTREVISION after fixing startup script.dirk2002-08-081-1/+1 * Workaround revision 1.42 and 1.29.2.7 of src/bin/sh/parser.c.dirk2002-08-081-1/+2 * Back out last commit. It was unapproved and inappropriate since itdirk2002-08-081-4/+0 * Look for my.cnf in ${PREFIX}/etc rather than /etc.anders2002-07-011-0/+4 * Upgrade to 3.23.51.dirk2002-06-207-87/+71 * Upgrade to 3.23.49.dirk2002-02-192-2/+2 * Add knob for --enable-thread-safe-client (THREAD_SAFE_CLIENT)dirk2002-02-151-0/+3 * Fix argument for chmod (00mysql-client.sh -> 000.mysql-client.sh)dirk2002-02-121-1/+1 * - upgrade to 3.23.48dirk2002-02-113-4/+4 * Upgrade to 3.23.47.dirk2001-12-292-3/+3 * Add support for InnoDB tables.dirk2001-12-201-2/+2 * - remove -fno-omit-frame-pointer from CFLAGS if BUILD_OPTIMIZED is setdirk2001-12-191-4/+7 * - CXX=${CC} to get rid of libstdc++ in order to improve stabilitydirk2001-12-181-1/+11 * Upgrade to 3.23.46.dirk2001-12-022-2/+2 * Upgrade to 3.23.45.dirk2001-11-242-2/+2 * Update to 3.23.44.dirk2001-11-192-2/+2 * Upgrade to 3.23.43.dirk2001-10-063-2/+5 * Upgrade to 3.23.42.dirk2001-09-114-4/+9 * Comply with NOPORTDOCSdwcjr2001-09-041-54/+54 * Add dependency to p5-Mysql for the server part. mysql_convert_table_format,dirk2001-08-191-1/+3 * Upgrade to 3.23.41.dirk2001-08-143-2/+4 * Cleanup:dirk2001-08-141-10/+13 * Add two new Makefile variables: SKIP_INSTALL_DB, INSTALL_DB_FORCEdirk2001-08-051-1/+15 * Upgrade to 3.23.40.dirk2001-08-012-2/+2 * Upgrade to 3.23.39.dirk2001-06-143-2/+3 * POSIX chown syntax.dirk2001-06-041-1/+1 * Add option for linuxthreads (WITH_LINUXTHREADS).dirk2001-05-241-0/+7 * Upgrade to 3.23.38.dirk2001-05-125-18/+18 * Upgrade to 3.23.37.dirk2001-04-216-33/+37 * Fix typo (Latin1 -> latin1).dirk2001-04-051-1/+1 * Upgrade to 3.23.36.dirk2001-03-282-2/+2 * Upgrade to 3.23.35.dirk2001-03-172-2/+2 * Add ${MASTER_SITE_SOURCEFORGE} to MASTER_SITES and remove www.mysql.netdirk2001-03-121-5/+5 * Upgrade to 3.23.34a.dirk2001-03-123-18/+11 * BDB doesn't compile on alpha.dirk2001-03-051-0/+3 * Upgrade to 3.23.33.dirk2001-02-142-3/+2 * Install mysql-client.sh as 00mysql-client.sh so the includeddirk2001-02-082-3/+3 * Add options for alternate charsets (WITH_CHARSET and WITH_XCHARSET).dirk2001-01-251-0/+15 * Add support for BerkeleyDB table type.dirk2001-01-252-5/+16 * Upgrade to 3.23.32.dirk2001-01-233-15/+5 * Remove NO_LATEST_LINK now that mysql323-{client,server} are thedirk2001-01-221-1/+0 * Fix moved MASTER_SITE.dirk2001-01-221-1/+1 * Switch from mysql322-{client,server} to mysql323-{client,server}.dirk2001-01-213-10/+2 * Fix build on FreeBSD-3.x.dirk2001-01-211-2/+8 * Upgrade to 3.23.31.dirk2001-01-193-5/+5 * Add "-felide-constructors -fno-exceptions -fno-rtti" to CXXFLAGSdirk2001-01-071-0/+4 * --with-low-memory serves a similar purpose as patch-aq.dirk2001-01-072-14/+2 * Remove extra .gz in MAN1.dirk2001-01-061-1/+1 * Upgrade to 3.23.30.dirk2001-01-064-10/+13 * Goodbye, YEAR2000. Hello, 2001.will2001-01-011-2/+0 * Upgrade to 3.23.29a.dirk2000-12-195-50/+23 * Go back to where I started: Put mysql.sock in /tmp/...dirk2000-12-041-2/+1 * Move mysql.sock from ${DB_DIR} to /var/run/. ${DB_DIR} has mode 700dirk2000-12-041-1/+1 * Enable libwrap and put socket file into ${DB_DIR}.dirk2000-12-011-1/+3 * Upgrade to 3.23.28.dirk2000-12-014-12/+15 * Adjust mysql's homedirectory if already exists.dirk2000-12-01e='2014-03-05 03:15:39 +0800'>2014-03-052-6/+6 * Update to 4.1.5. It is partially based on the following PR.jkim2014-02-261-4/+4 * Deprecate and set expiration date for xmms stuff that is unmaintainedantoine2014-02-241-0/+2 * - Bump PORTREVISION after KDE4_PREFIX changemakc2014-02-181-0/+1 * KDE/FreeBSD team presents KDE SC 4.12.2 and KDE Workspace 4.11.6!makc2014-02-184-42/+52 * - Stage supportmiwi2014-02-181-8/+4 * - Support stagingehaupt2014-02-061-4/+7 * - Update to 3.8.1sunpoet2014-02-042-3/+3 * - Stage supportmiwi2014-02-031-4/+2 * - Update gimp-help ports to 2.8.1. Polish translation has been removed, newmakc2014-02-01