Index: head/databases/Makefile =================================================================== --- head/databases/Makefile (revision 115629) +++ head/databases/Makefile (revision 115630) @@ -1,328 +1,329 @@ # $FreeBSD$ # COMMENT = Databases SUBDIR += WWWdb SUBDIR += adodb SUBDIR += arcexplorer SUBDIR += bbdb SUBDIR += bbdb-emacs20 SUBDIR += cdb SUBDIR += clip SUBDIR += cyrus-imspd SUBDIR += db SUBDIR += db2 SUBDIR += db3 SUBDIR += db4 SUBDIR += db41 SUBDIR += db41-nocrypto SUBDIR += db42 SUBDIR += db42-nocrypto SUBDIR += dbXML SUBDIR += dbconnect SUBDIR += dbf SUBDIR += dbf2mysql SUBDIR += dbh SUBDIR += dbmetrix SUBDIR += dbow SUBDIR += dbtool SUBDIR += dbview SUBDIR += edb SUBDIR += erserver SUBDIR += fastdb SUBDIR += firebird SUBDIR += firebird-devel SUBDIR += fireprofile SUBDIR += fpc-ibase SUBDIR += fpc-mysql SUBDIR += fpc-odbc SUBDIR += fpc-oracle SUBDIR += fpc-postgres SUBDIR += freetds SUBDIR += freetds-msdblib SUBDIR += gadfly SUBDIR += gauche-gdbm SUBDIR += gbib SUBDIR += gdbm SUBDIR += gigabase SUBDIR += gmysql SUBDIR += gnats SUBDIR += gnats4 SUBDIR += gnatsweb4 SUBDIR += gnomedb SUBDIR += gqlplus SUBDIR += grass SUBDIR += gtksql SUBDIR += hk_classes SUBDIR += hs-hsql SUBDIR += java-sqlrelay SUBDIR += jdb SUBDIR += jdbc-oracle816 SUBDIR += kinterbasdb SUBDIR += knoda SUBDIR += libdbi SUBDIR += libdbi-drivers SUBDIR += libgda SUBDIR += libgda2 SUBDIR += libgdamm SUBDIR += libgnomedb SUBDIR += libiodbc SUBDIR += libodbc++ SUBDIR += libsdb SUBDIR += libudbc SUBDIR += lsdb SUBDIR += lsdb-emacs20 SUBDIR += mantis SUBDIR += mdbtools SUBDIR += memcached SUBDIR += mergeant SUBDIR += metakit SUBDIR += mird SUBDIR += mrtg-mysql-load SUBDIR += msql SUBDIR += msql3 SUBDIR += mtop SUBDIR += myodbc SUBDIR += mysql++ SUBDIR += mysql-administrator SUBDIR += mysql-connector-java SUBDIR += mysql-editor SUBDIR += mysql-gui SUBDIR += mysql-navigator SUBDIR += mysql2pgsql SUBDIR += mysql323-client SUBDIR += mysql323-scripts SUBDIR += mysql323-server SUBDIR += mysql40-client SUBDIR += mysql40-scripts SUBDIR += mysql40-server SUBDIR += mysql41-client SUBDIR += mysql41-scripts SUBDIR += mysql41-server SUBDIR += mysql50-client SUBDIR += mysql50-scripts SUBDIR += mysql50-server SUBDIR += mysql_last_value SUBDIR += mysqlcc SUBDIR += mysqlman SUBDIR += mysqltcl SUBDIR += mytop SUBDIR += namazu2 SUBDIR += oracle7-client SUBDIR += p5-ApacheDBILogConfig SUBDIR += p5-ApacheDBILogger SUBDIR += p5-AsciiDB-TagFile SUBDIR += p5-BerkeleyDB SUBDIR += p5-CDB_File SUBDIR += p5-CDB_File-Generator SUBDIR += p5-Cache-Memcached SUBDIR += p5-Class-DBI SUBDIR += p5-Class-DBI-AbstractSearch SUBDIR += p5-Class-DBI-AsForm SUBDIR += p5-Class-DBI-BaseDSN SUBDIR += p5-Class-DBI-FromCGI SUBDIR += p5-Class-DBI-Loader SUBDIR += p5-Class-DBI-Loader-Relationship SUBDIR += p5-Class-DBI-Oracle SUBDIR += p5-Class-DBI-Pager SUBDIR += p5-Class-DBI-Pg SUBDIR += p5-Class-DBI-Plugin-RetrieveAll SUBDIR += p5-Class-DBI-Plugin-Type SUBDIR += p5-Class-DBI-Replication SUBDIR += p5-Class-DBI-SAK SUBDIR += p5-Class-DBI-SQLite SUBDIR += p5-Class-DBI-ToSax SUBDIR += p5-Class-DBI-Untaint SUBDIR += p5-Class-DBI-mysql SUBDIR += p5-DBD-CSV SUBDIR += p5-DBD-Excel SUBDIR += p5-DBD-File SUBDIR += p5-DBD-InterBase SUBDIR += p5-DBD-LDAP SUBDIR += p5-DBD-ODBC SUBDIR += p5-DBD-Oracle SUBDIR += p5-DBD-Pg SUBDIR += p5-DBD-PgSPI SUBDIR += p5-DBD-RAM SUBDIR += p5-DBD-SQLite SUBDIR += p5-DBD-Sybase SUBDIR += p5-DBD-XBase SUBDIR += p5-DBD-mysql SUBDIR += p5-DBD-mysql40 SUBDIR += p5-DBD-mysql41 SUBDIR += p5-DBD-mysql50 SUBDIR += p5-DBI SUBDIR += p5-DBI-137 SUBDIR += p5-DBI-Shell SUBDIR += p5-DBIWrapper SUBDIR += p5-DBIx-AnyDBD SUBDIR += p5-DBIx-Browse SUBDIR += p5-DBIx-ContextualFetch SUBDIR += p5-DBIx-DBSchema SUBDIR += p5-DBIx-DataSource SUBDIR += p5-DBIx-Ease SUBDIR += p5-DBIx-Password SUBDIR += p5-DBIx-Recordset SUBDIR += p5-DBIx-SQLEngine SUBDIR += p5-DBIx-SearchBuilder SUBDIR += p5-DBIx-Table SUBDIR += p5-DBIx-Tree SUBDIR += p5-DBIx-XHTML_Table SUBDIR += p5-DBIx-XML_RDB SUBDIR += p5-DBZ_File SUBDIR += p5-DWH_File SUBDIR += p5-Data-Page SUBDIR += p5-GDBM SUBDIR += p5-GraphViz-DBI SUBDIR += p5-Ima-DBI SUBDIR += p5-MLDBM SUBDIR += p5-MLDBM-Sync SUBDIR += p5-Metadata SUBDIR += p5-Mysql SUBDIR += p5-Mysql-Diff SUBDIR += p5-POE-Component-LaDBI SUBDIR += p5-Pg SUBDIR += p5-ResourcePool-Resource-DBI SUBDIR += p5-SQL-Abstract SUBDIR += p5-SQL-Statement SUBDIR += p5-SQL-Translator SUBDIR += p5-Search-InvertedIndex SUBDIR += p5-Search-Namazu SUBDIR += p5-T2 SUBDIR += p5-Tangram SUBDIR += p5-Text-Query-SQL SUBDIR += p5-Tie-DBI SUBDIR += p5-Time-Piece-MySQL SUBDIR += p5-hp200lx-db SUBDIR += p5-postgresql-plperl SUBDIR += p5-sqlrelay SUBDIR += pear-DB SUBDIR += pear-DB_Pager SUBDIR += pear-MDB SUBDIR += pear-sqlite SUBDIR += pgaccess SUBDIR += pgadmin3 SUBDIR += pgbash SUBDIR += pgcluster SUBDIR += php-sqlrelay SUBDIR += php4-dba SUBDIR += php4-dbase SUBDIR += php4-dbx SUBDIR += php4-filepro SUBDIR += php4-interbase SUBDIR += php4-mssql SUBDIR += php4-mysql SUBDIR += php4-odbc SUBDIR += php4-oracle SUBDIR += php4-pgsql SUBDIR += php4-sybase_ct SUBDIR += php5-dba SUBDIR += php5-dbase SUBDIR += php5-dbx SUBDIR += php5-filepro SUBDIR += php5-interbase SUBDIR += php5-mssql SUBDIR += php5-mysql SUBDIR += php5-mysqli SUBDIR += php5-odbc SUBDIR += php5-oracle SUBDIR += php5-pgsql SUBDIR += php5-sqlite SUBDIR += php5-sybase_ct SUBDIR += phpmyadmin SUBDIR += phppgadmin SUBDIR += postgis SUBDIR += postgis-jdbc SUBDIR += postgresql-contrib SUBDIR += postgresql-devel SUBDIR += postgresql-docs SUBDIR += postgresql-jdbc SUBDIR += postgresql-libpq++ SUBDIR += postgresql-libpqxx SUBDIR += postgresql-odbc SUBDIR += postgresql-plruby SUBDIR += postgresql-pltcl SUBDIR += postgresql-relay SUBDIR += postgresql-tcltk SUBDIR += postgresql7 SUBDIR += postgresql72 SUBDIR += postgresql73 SUBDIR += postgresql_autodoc SUBDIR += puredb SUBDIR += pxtools SUBDIR += py-MySQL SUBDIR += py-MySQLdb SUBDIR += py-PyGreSQL SUBDIR += py-PySQLite SUBDIR += py-SQLDict SUBDIR += py-bsddb SUBDIR += py-bsddb3 SUBDIR += py-cdb SUBDIR += py-gdbm SUBDIR += py-memcached SUBDIR += py-mssql SUBDIR += py-oops SUBDIR += py-psycopg SUBDIR += py-pyPgSQL SUBDIR += py-sqlobject SUBDIR += py-sqlrelay SUBDIR += py-sybase SUBDIR += pydbdesigner SUBDIR += qdbm SUBDIR += qt-ibase-plugin SUBDIR += qt-mysql-plugin SUBDIR += qt-odbc-plugin SUBDIR += qt-pgsql-plugin SUBDIR += qt-sqlite-plugin SUBDIR += rdb SUBDIR += rdfdb SUBDIR += ruby-bdb SUBDIR += ruby-bdb1 SUBDIR += ruby-cdb SUBDIR += ruby-criteria SUBDIR += ruby-dbd_interbase SUBDIR += ruby-dbd_msql SUBDIR += ruby-dbd_mysql SUBDIR += ruby-dbd_odbc SUBDIR += ruby-dbd_pg SUBDIR += ruby-dbd_proxy SUBDIR += ruby-dbd_sqlite SUBDIR += ruby-dbd_sqlrelay SUBDIR += ruby-dbi SUBDIR += ruby-gdbm SUBDIR += ruby-interbase SUBDIR += ruby-libgda SUBDIR += ruby-msql SUBDIR += ruby-mysql SUBDIR += ruby-o_dbm SUBDIR += ruby-odbc SUBDIR += ruby-postgres SUBDIR += ruby-rdbc1 SUBDIR += ruby-search-namazu SUBDIR += ruby-sqlite SUBDIR += ruby-sqlrelay SUBDIR += slony1 SUBDIR += sqlite SUBDIR += sqlrelay SUBDIR += sqsh SUBDIR += sybase-ocsd + SUBDIR += sybase_ase SUBDIR += sybtcl SUBDIR += tcl-Mysql SUBDIR += tdb SUBDIR += tinycdb SUBDIR += tkgnats SUBDIR += tora SUBDIR += typhoon SUBDIR += unixODBC SUBDIR += useracc SUBDIR += usogres SUBDIR += wfb2sql SUBDIR += xbase SUBDIR += xbsql SUBDIR += xmbase-grok SUBDIR += xmysqladmin SUBDIR += zodb SUBDIR += zodb3 .include Property changes on: head/databases/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.377 \ No newline at end of property +1.378 \ No newline at end of property Index: head/databases/sybase_ase/Makefile =================================================================== --- head/databases/sybase_ase/Makefile (nonexistent) +++ head/databases/sybase_ase/Makefile (revision 115630) @@ -0,0 +1,44 @@ +# New ports collection makefile for: sybase-ase +# Date created: 8 March 2003 +# Whom: Alex Kiesel +# +# $FreeBSD$ +# + +PORTNAME= sybase_ase +PORTVERSION= 11.0.3.3 +CATEGORIES= databases +MASTER_SITES= http://download.sybase.com/pub/ase1103_linux/ +DISTNAME= ${PORTNAME:S/_/-/}-${PORTVERSION:S/./_/g}-FreeBSD-6_i386 +EXTRACT_SUFX= .tgz + +MAINTAINER= kiesel@schlund.de +COMMENT= Sybase ASE RDBM System 11 + +RESTRICTED= "Please see the license" +NO_BUILD= "This is a precompiled package" +ONLY_FOR_ARCHS= i386 +NO_PACKAGE= "Packaging is pointless, the port does not build anything" +NO_INSTALL_MANPAGES= yes +PKGDEINSTALL= ${PKGDIR}/pkg-install + +USE_LINUX= yes + +pre-install: + @${ECHO_MSG} "---> Creating sybase user and group" + @PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL + +do-install: + ${MKDIR} ${PREFIX}/sybase-ase + ${TAR} -xzpf ${_DISTDIR}${DISTFILES} -C ${PREFIX}/sybase-ase + ${MV} ${PREFIX}/sybase-ase/sybase/* ${PREFIX}/sybase-ase/ + ${CHOWN} -R sybase:sybase ${PREFIX}/sybase-ase + ${INSTALL_SCRIPT} ${FILESDIR}/sybase.sh.sample ${PREFIX}/etc/rc.d/ + @${ECHO_MSG} "Sybase ASE ${PORTVERSION} has been successfully installed." + @${ECHO_MSG} "A sample startup script has been copied to" + @${ECHO_MSG} "${PREFIX}/etc/rc.d/sybase.sh.sample" + @${ECHO_MSG} "" + @${ECHO_MSG} "You must now configure your sybase. To do so, su to 'sybase'" + @${ECHO_MSG} "and run ./install/sybinit" + +.include Property changes on: head/databases/sybase_ase/Makefile ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/databases/sybase_ase/distinfo =================================================================== --- head/databases/sybase_ase/distinfo (nonexistent) +++ head/databases/sybase_ase/distinfo (revision 115630) @@ -0,0 +1,2 @@ +MD5 (sybase-ase-11_0_3_3-FreeBSD-6_i386.tgz) = 88f1a4e111a7d05ef1932a1df0acc1ff +SIZE (sybase-ase-11_0_3_3-FreeBSD-6_i386.tgz) = 20140580 Property changes on: head/databases/sybase_ase/distinfo ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/databases/sybase_ase/files/sybase.sh.sample =================================================================== --- head/databases/sybase_ase/files/sybase.sh.sample (nonexistent) +++ head/databases/sybase_ase/files/sybase.sh.sample (revision 115630) @@ -0,0 +1,44 @@ +#!/bin/sh +export SYBASE=`grep -e "^sybase" /etc/passwd | cut -d: -f 6` +if [ -n "${SYBASE}" -a -d "${SYBASE}" ]; then + export PATH="${SYBASE}/bin:${SYBASE}/install:${PATH}" + + unset LANG + unset LC_ALL + + case "$1" in + start) + echo -n "Sybase ASE " + cd ${SYBASE}/install + for run_server in RUN_* ; do + su sybase -c "startserver -f ${run_server}" > /dev/null 2>&1 + echo -n "${run_server} " + done + echo -n "done" + ;; + + stop) + echo -n "Sybase ASE " + killall dataserver + killall backupserver + ;; + + status) + showserver + ;; + + restart) + $0 stop + $0 start + ;; + + *) + echo "usage - $0 {start|stop|status|restart}" + exit 1 + esac +else + echo "Sybase home directory not set, cannot continue" + exit 1 +fi + +exit 0 Property changes on: head/databases/sybase_ase/files/sybase.sh.sample ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/databases/sybase_ase/pkg-descr =================================================================== --- head/databases/sybase_ase/pkg-descr (nonexistent) +++ head/databases/sybase_ase/pkg-descr (revision 115630) @@ -0,0 +1,8 @@ +This is a port for the Sybase Adaptive Server Enterprise +database server. + +Sybase ASE is a very powerful relational database server that +offers support for transactions, locks, differend isolation +levels, stored procedures, backup and housekeeping tasks. + +WWW: http://www.sybase.com/detail?id=1009516 Property changes on: head/databases/sybase_ase/pkg-descr ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/databases/sybase_ase/pkg-install =================================================================== --- head/databases/sybase_ase/pkg-install (nonexistent) +++ head/databases/sybase_ase/pkg-install (revision 115630) @@ -0,0 +1,121 @@ +#! /bin/sh +# +# $FreeBSD$ +# + +user=sybase +group=sybase +homedir=${PREFIX}/sybase-ase + +ask() { + local question default answer + + question=$1 + default=$2 + if [ -z "${PACKAGE_BUILDING}" ]; then + read -p "${question} [${default}]? " answer + fi + if [ x${answer} = x ]; then + answer=${default} + fi + echo ${answer} +} + +yesno() { + local dflt question answer + + question=$1 + dflt=$2 + while :; do + answer=$(ask "${question}" "${dflt}") + case "${answer}" in + [Yy]*) return 0;; + [Nn]*) return 1;; + esac + echo "Please answer yes or no." + done +} + +make_account() { + local u g gcos home + + u=$1 + g=$2 + gcos=$3 + home=$4 + + if pw group show "${g}" >/dev/null 2>&1; then + echo "You already have a group \"${g}\", so I will use it." + else + echo "You need a group \"${g}\"." + if which -s pw && yesno "Would you like me to create it" y; then + pw groupadd ${g} || exit + echo "Done." + else + echo "Please create it, and try again." + if ! grep -q "^${u}:" /etc/passwd; then + echo "While you're at it, please create a user \"${u}\" too," + echo "with a default group of \"${g}\"." + fi + exit 1 + fi + fi + + if pw user show "${u}" >/dev/null 2>&1; then + echo "You already have a user \"${u}\", so I will use it." + else + echo "You need a user \"${u}\"." + if which -s pw && yesno "Would you like me to create it" y; then + pw useradd ${u} -g ${g} -d ${home} -c "${gcos}" || exit + echo "Done." + else + echo "Please create it, and try again." + exit 1 + fi + fi + +} + +delete_account() { + local u g + + u=$1 + g=$2 + if yesno "Do you want me to remove group \"${g}\"" y; then + pw groupdel -n ${g} + echo "Done." + fi + if yesno "Do you want me to remove user \"${u}\"" y; then + pw userdel -n ${u} + echo "Done." + fi +} + +case $2 in + +PRE-INSTALL) + if which -s pw ; then + : + else + cat <