moved into main repo for pisi 2.0

This commit is contained in:
ayhanyalcinsoy
2015-06-19 13:39:29 +03:00
parent 2450ac02c1
commit fae70ecd20
25 changed files with 1273 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
<PISI>
<Name>server</Name>
</PISI>
+3
View File
@@ -0,0 +1,3 @@
<PISI>
<Name>server.database</Name>
</PISI>
+85
View File
@@ -0,0 +1,85 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
import os
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
WorkDir="Firebird-%s-0" % get.srcVERSION()
def setup():
pisitools.dosed("src/isql/isql.epp", '"isql\s', '"fbsql ')
pisitools.dosed("src/msgs/history2.sql", 'isql\s', 'fbsql ')
pisitools.dosed("src/msgs/messages2.sql", 'isql\s', 'fbsql ')
pisitools.dosed("src/msgs/messages2.sql", 'ISQL\s', 'FBSQL ')
shelltools.system("find ./ -name \*.sh -print0 | xargs -0 chmod +x")
for d in ("btyacc", "editline", "icu"):
shelltools.unlinkDir("extern/%s" % d)
autotools.autoreconf("-fi")
autotools.configure("--prefix=/opt/firebird \
--disable-static \
--enable-superserver \
--with-editline \
--with-gnu-ld \
--with-system-editline \
--with-system-icu \
")
def build():
#Parallel build is broken
autotools.make("-j1")
shelltools.cd("gen")
pisitools.dosed("install/makeInstallImage.sh", "exit 1", "# exit 1")
pisitools.dosed("install/makeInstallImage.sh", "chown", 'echo ""# chown')
pisitools.dosed("install/makeInstallImage.sh", "chmod", 'echo ""# chmod')
autotools.make("-f Makefile.install buildRoot")
def install():
# Copy to install directory
shelltools.copytree("gen/buildroot/", get.installDIR())
# Move headers
pisitools.remove("/usr/include/*")
pisitools.domove("/opt/firebird/include", "/usr/include", "firebird")
# Fix client libraries symlinks
pisitools.removeDir("/usr/lib*")
for libs in os.listdir("%s/opt/firebird/lib" % get.installDIR()):
pisitools.dosym("/opt/firebird/lib/%s" % libs, "/usr/lib/%s" % libs)
pisitools.dosym("/opt/firebird/plugins/libfbtrace.so", "/usr/lib/libfbtrace.so")
# Add support for old client's
pisitools.dosym("libfbclient.so", "/usr/lib/libgds.so")
pisitools.dosym("libfbclient.so", "/usr/lib/libgds.so.0")
pisitools.dosym("libfbclient.so", "/opt/firebird/lib/libgds.so")
pisitools.dosym("libfbclient.so", "/opt/firebird/lib/libgds.so.0")
# Move configuration files and security DB to /etc/firebird for painless upgrade
pisitools.domove("/opt/firebird/aliases.conf", "/etc/firebird")
pisitools.domove("/opt/firebird/firebird.conf", "/etc/firebird")
pisitools.domove("/opt/firebird/security2.fdb", "/etc/firebird")
pisitools.dosym("/etc/firebird/aliases.conf", "/opt/firebird/aliases.conf")
pisitools.dosym("/etc/firebird/firebird.conf", "/opt/firebird/firebird.conf")
pisitools.dosym("/etc/firebird/security2.fdb", "/opt/firebird/security2.fdb")
# Set PID directory
shelltools.makedirs("%s/run/firebird" % get.installDIR())
#pisitools.dodir("/opt/firebird/run")
# Set permissions
shelltools.chmod("%s/etc/firebird/security2.fdb" % get.installDIR(), 0600)
shelltools.chmod("%s/run/firebird" % get.installDIR(), 0755)
#shelltools.chmod("%s/opt/firebird/run" % get.installDIR(), 0755)
pisitools.dosym("/var/log/firebird.log", "/opt/firebird/firebird.log")
# Useless init.d stuff
pisitools.removeDir("/opt/firebird/misc/")
# Prevent to conflict isql with UnixODBC's
pisitools.domove("/opt/firebird/bin/isql", "/opt/firebird/bin", "fb_isql")
+43
View File
@@ -0,0 +1,43 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
import os, pwd, socket
pid_dir = "/run/firebird"
log_file = "/var/log/firebird.log"
uid = pwd.getpwnam("firebird")[2]
hostname = socket.gethostname()
def touch(filename):
try:
f = open(filename, "w")
f.close()
except IOError:
fail("Failed to create %s file" % filename)
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
# # Configure PID directory
os.chown(pid_dir, uid, -1)
# Create log file
touch(log_file)
os.chown(log_file, uid, -1)
os.chmod(log_file, 0644)
# Configure security2.fdb file
os.chown("/opt/firebird/security2.fdb", uid, -1)
# Create lock files
for lock_filename in ("isc_guard1", "isc_init1", "isc_lock1"):
lock_filename = "/opt/firebird/%s.%s" % (lock_filename, hostname)
touch(lock_filename)
os.chown(lock_filename, uid, -1)
os.chmod(lock_filename, 0644)
def preRemove():
# Remove lock files
for lock_filename in ("isc_guard1", "isc_init1", "isc_lock1"):
lock_filename = "/opt/firebird/%s.%s" % (lock_filename, hostname)
if os.path.exists(lock_filename):
os.remove(lock_filename)
+26
View File
@@ -0,0 +1,26 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
serviceType="server"
serviceDesc = _({"en": "Firebird Database Server",
"tr": "Firebird Veritabanı Sunucusu"})
from comar.service import *
pid_file = "/run/firebird/firebird.pid"
@synchronized
def start():
startService(command="/opt/firebird/bin/fbguard",
args="-pidfile %s -start -forever -daemon" % pid_file,
pidfile="/run/firebird/firebird.pid",
donotify=True)
# chuid="firebird",
@synchronized
def stop():
stopService(pidfile=pid_file,
donotify=True)
def status():
return isServiceRunning(pid_file)
@@ -0,0 +1 @@
ROOTPATH="/opt/firebird/bin"
@@ -0,0 +1,12 @@
diff -Nuar Firebird-2.1.0.17798-0.orig/extern/editline/src/makelist Firebird-2.1.0.17798-0/extern/editline/src/makelist
--- Firebird-2.1.0.17798-0.orig/extern/editline/src/makelist 2007-04-09 15:57:41.000000000 +0300
+++ Firebird-2.1.0.17798-0/extern/editline/src/makelist 2008-07-12 14:02:29.000000000 +0300
@@ -140,7 +140,7 @@
#
-fh)
cat $FILES | $AWK '/el_action_t/ { print $3 }' | \
- sort | tr '[:lower:]' '[:upper:]' | $AWK '
+ sort | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | $AWK '
BEGIN {
printf("/* Automatically generated file, do not edit */\n");
printf("#ifndef _h_fcns_c\n#define _h_fcns_c\n");
@@ -0,0 +1,59 @@
diff -Naur Firebird-2.5.0.26074-0_orig/builds/posix/Makefile.in.firebird Firebird-2.5.0.26074-0_deps-flags/builds/posix/Makefile.in.firebird
--- Firebird-2.5.0.26074-0_orig/builds/posix/Makefile.in.firebird 2010-11-09 12:42:45.000000000 -0500
+++ Firebird-2.5.0.26074-0_deps-flags/builds/posix/Makefile.in.firebird 2011-03-28 15:10:09.814370706 -0400
@@ -158,7 +158,7 @@
# some complications particularly for super in needing to start the server
# that you are currently building. MOD 28-July-2002
-firebird_basic: btyacc_binary external_libraries firebird_boot basic_targets
+firebird_basic: firebird_boot basic_targets
firebird_boot: updateBuildNum boot_phase1 boot_phase2
diff -Naur Firebird-2.5.0.26074-0_orig/builds/posix/make.defaults Firebird-2.5.0.26074-0_deps-flags/builds/posix/make.defaults
--- Firebird-2.5.0.26074-0_orig/builds/posix/make.defaults 2010-11-09 12:42:45.000000000 -0500
+++ Firebird-2.5.0.26074-0_deps-flags/builds/posix/make.defaults 2011-03-28 15:21:26.904370708 -0400
@@ -138,7 +138,7 @@
AR= ar @AR_OPTIONS@ crsu
LN= @LN_S@
RANLIB= @RANLIB@
-BTYACC=$(ROOT)/extern/btyacc/btyacc
+BTYACC=/usr/bin/btyacc
CC = @CC@
CXX = @CXX@
diff -Naur Firebird-2.5.0.26074-0_orig/builds/posix/prefix.linux Firebird-2.5.0.26074-0_deps-flags/builds/posix/prefix.linux
--- Firebird-2.5.0.26074-0_orig/builds/posix/prefix.linux 2010-11-09 12:42:45.000000000 -0500
+++ Firebird-2.5.0.26074-0_deps-flags/builds/posix/prefix.linux 2011-03-25 21:38:29.031037374 -0400
@@ -18,11 +18,10 @@
#
# 2 Oct 2002, Nickolay Samofatov - Major cleanup
-COMMON_FLAGS=-ggdb -DFB_SEND_FLAGS=MSG_NOSIGNAL -DLINUX -pipe -MMD -fPIC -fmessage-length=0
-OPTIMIZE_FLAGS=-O3 -march=i586 -mtune=i686 -fno-omit-frame-pointer
+COMMON_FLAGS=-DLINUX -MMD -fPIC -fmessage-length=0
WARN_FLAGS=-Wall -Wno-switch -Wno-parentheses -Wno-unknown-pragmas -Wno-unused-variable
-PROD_FLAGS=-DNDEBUG $(COMMON_FLAGS) $(OPTIMIZE_FLAGS)
+PROD_FLAGS=$(COMMON_FLAGS)
#DEV_FLAGS=-DUSE_VALGRIND -p $(COMMON_FLAGS) $(WARN_FLAGS)
DEV_FLAGS=-p $(COMMON_FLAGS) $(WARN_FLAGS)
diff -Naur Firebird-2.5.0.26074-0_orig/builds/posix/prefix.linux_amd64 Firebird-2.5.0.26074-0_deps-flags/builds/posix/prefix.linux_amd64
--- Firebird-2.5.0.26074-0_orig/builds/posix/prefix.linux_amd64 2010-11-09 12:42:45.000000000 -0500
+++ Firebird-2.5.0.26074-0_deps-flags/builds/posix/prefix.linux_amd64 2011-03-25 21:39:15.134370707 -0400
@@ -18,12 +18,11 @@
#
# 2 Oct 2002, Nickolay Samofatov - Major cleanup
-COMMON_FLAGS=-ggdb -DFB_SEND_FLAGS=MSG_NOSIGNAL -DLINUX -DAMD64 -pipe -MMD -fPIC -fmessage-length=0
-OPTIMIZE_FLAGS=-O3 -fno-omit-frame-pointer
+COMMON_FLAGS=-DFB_SEND_FLAGS=MSG_NOSIGNAL -DLINUX -DAMD64 -MMD -fPIC -fmessage-length=0
WARN_FLAGS=-Wall -Wno-switch -Wno-parentheses -Wno-unknown-pragmas -Wno-unused-variable
CXXFLAGS:= $(CXXFLAGS) -fno-rtti
-PROD_FLAGS=-DNDEBUG $(COMMON_FLAGS) $(OPTIMIZE_FLAGS)
+PROD_FLAGS=$(COMMON_FLAGS)
#DEV_FLAGS=-DUSE_VALGRIND $(COMMON_FLAGS) $(WARN_FLAGS)
DEV_FLAGS=$(COMMON_FLAGS) $(WARN_FLAGS)
@@ -0,0 +1,13 @@
Index: Firebird-2.1.3.18185-0/configure.in
===================================================================
--- Firebird-2.1.3.18185-0.orig/configure.in
+++ Firebird-2.1.3.18185-0/configure.in
@@ -142,7 +142,7 @@ dnl CPU_TYPE=ppc64
LOCK_MANAGER_FLG=Y
EDITLINE_FLG=Y
SHRLIB_EXT=so
- libdir=/usr/lib64
+ libdir=/usr/lib
CPU_TYPE=amd64
RPM64='()(64bit)'
;;
@@ -0,0 +1,3 @@
# Insert host names here to allow connect to Firebird
localhost.localdomain
localhost
+130
View File
@@ -0,0 +1,130 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>firebird</Name>
<Homepage>http://www.firebirdsql.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>IPL-1</License>
<License>IDPL-1</License>
<License>LGPLv2.1</License>
<IsA>service</IsA>
<IsA>library</IsA>
<Summary>A relational database offering many ANSI SQL-99 features</Summary>
<Description>Firebird is an open source relational database management system offering many ANSI SQL-99 features.</Description>
<Archive sha1sum="1b91d3b01d27ea420d21daa025ded3dffa9b297a" type="tarbz2">http://sourceforge.net/projects/firebird/files/firebird/2.5.2-Release/Firebird-2.5.2.26540-0.tar.bz2/download</Archive>
<BuildDependencies>
<Dependency>icu4c-devel</Dependency>
<Dependency>btyacc</Dependency>
<Dependency>libedit-devel</Dependency>
</BuildDependencies>
<Patches>
<!--Patch>hosts_equiv.patch</Patch>
<Patch>firebird-gcc-icu.patch</Patch>
<Patch>firebird-mcpu-to-mtune.patch</Patch>
<Patch level="1">fix-lib64-dir.diff</Patch>
<Patch level="1">firebird-2.5.1-svn-CORE-3610.patch</Patch>-->
<Patch level="1">editline-dumb-tr.patch</Patch>
<Patch level="1">firebird-2.5.1.26351.0-deps-flags.patch</Patch>
</Patches>
</Source>
<Package>
<Name>firebird-client</Name>
<Summary>Firebird database client library</Summary>
<Description>Firebird relational database client library.</Description>
<Files>
<Path fileType="library">/usr/lib/libfbclient.*</Path>
<Path fileType="library">/usr/lib/libgds.*</Path>
<Path fileType="library">/usr/lib/libib_util.*</Path>
<Path fileType="library">/usr/lib/libfbtrace.so</Path>
<Path fileType="library">/opt/firebird/lib/libfbclient.*</Path>
<Path fileType="library">/opt/firebird/lib/libgds.*</Path>
<Path fileType="library">/opt/firebird/lib/libib_util.*</Path>
<Path fileType="library">/opt/firebird/plugins/libfbtrace.so</Path>
</Files>
</Package>
<Package>
<Name>firebird-superserver</Name>
<Summary>Firebird super server</Summary>
<RuntimeDependencies>
<Dependency>firebird-client</Dependency>
<Dependency>icu4c</Dependency>
<Dependency>libedit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc/firebird</Path>
<Path fileType="config">/etc/env.d/50firebird</Path>
<Path fileType="config">/opt/firebird/*.conf</Path>
<Path fileType="localedata">/opt/firebird/*.msg</Path>
<Path fileType="data">/opt/firebird/security2.fdb</Path>
<Path fileType="doc">/opt/firebird/README</Path>
<Path fileType="doc">/opt/firebird/WhatsNew</Path>
<Path fileType="library">/opt/firebird/UDF</Path>
<Path fileType="executable">/opt/firebird/bin</Path>
<Path fileType="doc">/opt/firebird/doc</Path>
<Path fileType="doc">/opt/firebird/examples</Path>
<Path fileType="data">/opt/firebird/help</Path>
<Path fileType="data">/opt/firebird/intl</Path>
<Path fileType="library">/opt/firebird/lib/libicu*</Path>
<Path fileType="doc">/opt/firebird/upgrade</Path>
<Path fileType="data">/opt/firebird/firebird.log</Path>
<Path fileType="data">/opt/firebird</Path>
<Path fileType="data">/run/firebird</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/etc/firebird/hosts.equiv">hosts.equiv</AdditionalFile>
<AdditionalFile owner="root" permission="0644" target="/etc/env.d/50firebird">50firebird</AdditionalFile>
</AdditionalFiles>
<Provides>
<COMAR script="service.py">System.Service</COMAR>
<COMAR script="package.py">System.Package</COMAR>
</Provides>
</Package>
<Package>
<Name>firebird-devel</Name>
<Summary>Development files for firebird</Summary>
<RuntimeDependencies>
<Dependency release="current">firebird-client</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/firebird</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2014-05-19</Date>
<Version>2.5.2.26540</Version>
<Comment>Version bump.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-10-14</Date>
<Version>2.5.2.26539</Version>
<Comment>Rebuild for icu4c</Comment>
<Name>Ertan Güven</Name>
<Email>ertan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-03-20</Date>
<Version>2.5.2.26539</Version>
<Comment>Version bump</Comment>
<Name>Ertan Güven</Name>
<Email>ertan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-10-15</Date>
<Version>2.5.1.26351</Version>
<Comment>First release</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
</History>
</PISI>
+26
View File
@@ -0,0 +1,26 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>firebird</Name>
<Summary xml:lang="tr">Birçok ANSI SQL-99 özelliği sunan ilişkisel bir veritabanı</Summary>
<Description xml:lang="tr">Birçok ANSI SQL-99 özelliği sunan, küçük, hızlı ve çok kararlı bir veritabanı sunucu.</Description>
</Source>
<Package>
<Name>firebird-client</Name>
<Summary xml:lang="tr">Firebird veritabanı istemci kütüphanesi</Summary>
<Description xml:lang="tr">Firebird sunucuya bağlantı için kullanılan istemci kütüphanesi</Description>
</Package>
<Package>
<Name>firebird-superserver</Name>
<Summary xml:lang="tr">Firebird veritabanı sunucusu</Summary>
<Description xml:lang="tr">Firebird veritabanı için super sunucu. Klasik sunucu mimarisine göre, SMP performansı daha fazladır.</Description>
</Package>
<Package>
<Name>firebird-devel</Name>
<Summary xml:lang="tr">Firebird için geliştirme dosyaları</Summary>
</Package>
</PISI>
+80
View File
@@ -0,0 +1,80 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import get
from pisi.actionsapi import pisitools
from pisi.actionsapi import cmaketools
#pisitools.flags.add("-fno-strict-aliasing -DBIG_JOINS=1")
#pisitools.cflags.add("-fomit-frame-pointer")
#pisitools.cxxflags.add("-felide-constructors -fno-rtti -fno-delete-null-pointer-checks")
def setup():
#pisitools.dosed("storage/tokudb/ft-index/ft/ft-ops.cc", "LEAFENTRY leaf_entry;", "LEAFENTRY leaf_entry = 0;")
cmaketools.configure("-DBUILD_CONFIG=mysql_release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONFDIR=/etc/mysql \
-DMYSQL_DATADIR=/var/lib/mysql \
-DMYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock \
-DDEFAULT_CHARSET=utf8 \
-DDEFAULT_COLLATION=utf8_general_ci \
-DENABLED_LOCAL_INFILE=ON \
-DINSTALL_INFODIR=share/mysql/docs \
-DINSTALL_MANDIR=share/man \
-DINSTALL_PLUGINDIR=lib/mysql/plugin \
-DINSTALL_SCRIPTDIR=bin \
-DINSTALL_INCLUDEDIR=include/mysql \
-DINSTALL_DOCREADMEDIR=share/mysql \
-DINSTALL_SUPPORTFILESDIR=share/mysql \
-DINSTALL_MYSQLSHAREDIR=share/mysql \
-DINSTALL_DOCDIR=share/mysql/docs \
-DINSTALL_SHAREDIR=share/mysql \
-DWITH_READLINE=ON \
-DWITH_ZLIB=system \
-DWITH_SSL=system \
-DWITH_PCRE=system \
-DWITH_LIBWRAP=OFF \
-DWITH_JEMALLOC=ON \
-DWITH_EXTRA_CHARSETS=complex \
-DWITH_EMBEDDED_SERVER=ON \
-DWITH_ARCHIVE_STORAGE_ENGINE=1 \
-DWITH_BLACKHOLE_STORAGE_ENGINE=1 \
-DWITH_INNOBASE_STORAGE_ENGINE=1 \
-DWITH_PARTITION_STORAGE_ENGINE=1 \
-DWITHOUT_TOKUDB_STORAGE_ENGINE=1 \
-DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 \
-DWITHOUT_FEDERATED_STORAGE_ENGINE=1 \
-DWITHOUT_PBXT_STORAGE_ENGINE=1 \
-DCMAKE_C_FLAGS='-fPIC %s -fno-strict-aliasing -DBIG_JOINS=1 -fomit-frame-pointer -fno-delete-null-pointer-checks' \
-DCMAKE_CXX_FLAGS='-fPIC %s -fno-strict-aliasing -DBIG_JOINS=1 -felide-constructors -fno-rtti -fno-delete-null-pointer-checks' \
-DWITH_MYSQLD_LDFLAGS='-pie %s,-z,now'" % (get.CFLAGS(), get.CXXFLAGS(), get.LDFLAGS()))
#-DCMAKE_EXE_LINKER_FLAGS='-ljemalloc' \
def build():
cmaketools.make()
def install():
cmaketools.install("DESTDIR=%s benchdir_root=\"/usr/share/mysql\"" % get.installDIR())
# Config
pisitools.insinto("/etc/mysql", "%s/usr/share/mysql/my-medium.cnf" % get.installDIR(), "my.cnf")
pisitools.insinto("/etc/mysql", "%s/%s/scripts/mysqlaccess.conf" % (get.workDIR(), get.srcDIR()))
pisitools.insinto("/usr/bin", "%s/%s/scripts/mysql_config" % (get.workDIR(), get.srcDIR()))
# Data dir
pisitools.dodir("/var/lib/mysql")
# Documents
pisitools.dodoc("%s/%s/support-files/my-*.cnf" % (get.workDIR(), get.srcDIR()))
pisitools.dodoc("COPYING", "INSTALL-SOURCE", "README", "VERSION")
# Remove not needed files
pisitools.removeDir("/usr/data")
pisitools.removeDir("/usr/mysql-test")
pisitools.removeDir("/usr/sql-bench")
pisitools.remove("/usr/share/man/man1/mysql-test-run.pl.1")
# Remove -lprobes_mysql
#pisitools.dosed("%s/usr/bin/mysql_config" % get.installDIR(), "-lprobes_mysql")
+39
View File
@@ -0,0 +1,39 @@
#!/usr/bin/python
import os, re
import shutil
OUR_ID = 794
OUR_NAME = "mysql"
OUR_DESC = "mysql"
DATADIR = "/var/lib/mysql"
DATADIRMODE = 0755
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
try:
os.system ("groupadd -g %d %s" % (OUR_ID, OUR_NAME))
os.system ("useradd -m -d /var/lib/mysql -r -s /bin/false -u %d -g %d %s -c %s" % (OUR_ID, OUR_ID, OUR_NAME, OUR_DESC))
except:
pass
os.system("/sbin/mudur_tmpfiles.py /usr/lib/tmpfiles.d/mariadb.conf")
# Create the database
os.system("/bin/chown -R mysql:mysql %s" % DATADIR)
os.system("/bin/chown -R mysql:mysql /var/log/mysqld.log")
os.system("/usr/bin/mysql_install_db --user=mysql --datadir=/var/lib/mysql --basedir=/usr --force")
os.system("/usr/bin/mysql_upgrade --force")
# On first install...
if not os.path.exists(DATADIR):
os.makedirs(DATADIR, DATADIRMODE)
def postRemove():
try:
os.system ("userdel %s" % OUR_NAME)
os.system ("groupdel %s" % OUR_NAME)
except:
pass
+32
View File
@@ -0,0 +1,32 @@
# -*- coding: utf-8 -*-
from comar.service import *
import os
serviceType="server"
serviceDesc=_({"en": "MariaDB Database Server",
"tr": "MariaDB Veritabanı Sunucusu"})
PIDFILE="/run/mysqld/mysqld.pid"
DAEMON="/usr/bin/mysqld"
@synchronized
def start():
startService(command=DAEMON,
pidfile=PIDFILE,
detach=True,
donotify=True)
#os.system("pidof mariadb_server + /usr/bin/mysqld > /run/mysqld/mysqld.pid")
@synchronized
def stop():
stopService(pidfile=PIDFILE,
donotify=True)
try:
os.unlink(PIDFILE)
except OSError:
pass
def status():
return isServiceRunning(PIDFILE)
+150
View File
@@ -0,0 +1,150 @@
# The following options will be passed to all MySQL clients
[client]
#password= your_password
port= 3306
socket= /run/mysqld/mysqld.sock
[mysql]
character-sets-dir=/usr/share/mysql/charsets
default-character-set=utf8
[mysqladmin]
character-sets-dir=/usr/share/mysql/charsets
default-character-set=utf8
[mysqlcheck]
character-sets-dir=/usr/share/mysql/charsets
default-character-set=utf8
[mysqldump]
character-sets-dir=/usr/share/mysql/charsets
default-character-set=utf8
[mysqlimport]
character-sets-dir=/usr/share/mysql/charsets
default-character-set=utf8
[mysqlshow]
character-sets-dir=/usr/share/mysql/charsets
default-character-set=utf8
[myisamchk]
character-sets-dir=/usr/share/mysql/charsets
[myisampack]
character-sets-dir=/usr/share/mysql/charsets
# use [safe_mysqld] with mysql-3
[mysqld_safe]
err-log= /var/log/mysql/mysql.err
# add a section [mysqld-4.1] or [mysqld-5.0] for specific configurations
[mysqld]
character-set-server= utf8
user = mysql
port = 3306
socket = /run/mysqld/mysqld.sock
pid-file = /run/mysqld/mysqld.pid
log-error = /var/log/mysql/mysqld.err
basedir = /usr
datadir = /var/lib/mysql
skip-external-locking
key_buffer = 16M
max_allowed_packet = 4M
table_open_cache = 400
sort_buffer_size = 512K
net_buffer_length = 16K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M
lc_messages_dir = /usr/share/mysql
#Set this to your desired error message language
lc_messages = en_US
# security:
# using "localhost" in connects uses sockets by default
# skip-networking
bind-address = 127.0.0.1
log-bin
#log-bin = mysqld-bin
server-id = 1
# point the following paths to different dedicated disks
tmpdir = /tmp/
#log-update = /path-to-dedicated-directory/hostname
# you need the debug USE flag enabled to use the following directives,
# if needed, uncomment them, start the server and issue
# #tail -f /tmp/mysqld.sql /tmp/mysqld.trace
# this will show you *exactly* what's happening in your server ;)
#log = /tmp/mysqld.sql
#gdb
#debug = d:t:i:o,/tmp/mysqld.trace
#one-thread
# uncomment the following directives if you are using BDB tables
#bdb_cache_size = 4M
#bdb_max_lock = 10000
# the following is the InnoDB configuration
# if you wish to disable innodb instead
# uncomment just the next line
#skip-innodb
#
# the rest of the innodb config follows:
# don't eat too much memory, we're trying to be safe on 64Mb boxes
# you might want to bump this up a bit on boxes with more RAM
innodb_buffer_pool_size = 128M
#
# i'd like to use /var/lib/mysql/innodb, but that is seen as a database :-(
# and upstream wants things to be under /var/lib/mysql/, so that's the route
# we have to take for the moment
#innodb_data_home_dir = /var/lib/mysql/
#innodb_log_arch_dir = /var/lib/mysql/
#innodb_log_group_home_dir = /var/lib/mysql/
# you may wish to change this size to be more suitable for your system
# the max is there to avoid run-away growth on your machine
innodb_data_file_path = ibdata1:10M:autoextend:max:128M
# we keep this at around 25% of of innodb_buffer_pool_size
# sensible values range from 1MB to (1/innodb_log_files_in_group*innodb_buffer_pool_size)
innodb_log_file_size = 48M
# this is the default, increase it if you have very large transactions going on
innodb_log_buffer_size = 8M
# this is the default and won't hurt you
# you shouldn't need to tweak it
innodb_log_files_in_group=2
# see the innodb config docs, the other options are not always safe
innodb_flush_log_at_trx_commit = 1
innodb_lock_wait_timeout = 50
innodb_file_per_table
# Uncomment this to get FEDERATED engine support
#plugin-load=federated=ha_federated.so
loose-federated
[mysqldump]
quick
max_allowed_packet = 16M
[mysql]
# uncomment the next directive if you are not familiar with SQL
#safe-updates
[isamchk]
key_buffer = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M
[myisamchk]
key_buffer = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M
[mysqlhotcopy]
interactive-timeout
[mariadb]
@@ -0,0 +1 @@
d /run/mysqld 0755 mysql mysql -
+216
View File
@@ -0,0 +1,216 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>mariadb</Name>
<Homepage>https://mariadb.org</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:console</IsA>
<Summary>MariaDB is a drop-in replacement for MySQL</Summary>
<Description>MariaDB strives to be the logical choice for database professionals looking for a robust, scalable, and reliable SQL server.</Description>
<Archive sha1sum="240253b3ee21dea5e2f501778e8ee72b32a5d052" type="targz">ftp://ftp.ulak.net.tr/pub/MariaDB/mariadb-10.0.17/source/mariadb-10.0.17.tar.gz</Archive>
<BuildDependencies>
<Dependency>libaio-devel</Dependency>
<Dependency>unixODBC-devel</Dependency>
</BuildDependencies>
<Patches>
</Patches>
</Source>
<Package>
<Name>mariadb-lib</Name>
<IsA>app:console</IsA>
<IsA>library</IsA>
<Summary>The shared libraries required for MariaDB clients</Summary>
<RuntimeDependencies>
<Dependency>libaio</Dependency>
<Dependency>unixODBC</Dependency>
</RuntimeDependencies>
<Replaces>
<Package>mysql-lib</Package>
</Replaces>
<Files>
<Path fileType="executable">/usr/bin/mysql_config</Path>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share/mysql/charsets</Path>
<Path fileType="data">/usr/share/mysql/czech</Path>
<Path fileType="data">/usr/share/mysql/danish</Path>
<Path fileType="data">/usr/share/mysql/dutch</Path>
<Path fileType="data">/usr/share/mysql/english</Path>
<Path fileType="data">/usr/share/mysql/estonian</Path>
<Path fileType="data">/usr/share/mysql/french</Path>
<Path fileType="data">/usr/share/mysql/german</Path>
<Path fileType="data">/usr/share/mysql/greek</Path>
<Path fileType="data">/usr/share/mysql/hungarian</Path>
<Path fileType="data">/usr/share/mysql/italian</Path>
<Path fileType="data">/usr/share/mysql/japanese</Path>
<Path fileType="data">/usr/share/mysql/korean</Path>
<Path fileType="data">/usr/share/mysql/norwegian</Path>
<Path fileType="data">/usr/share/mysql/norwegian-ny</Path>
<Path fileType="data">/usr/share/mysql/polish</Path>
<Path fileType="data">/usr/share/mysql/portuguese</Path>
<Path fileType="data">/usr/share/mysql/romanian</Path>
<Path fileType="data">/usr/share/mysql/russian</Path>
<Path fileType="data">/usr/share/mysql/serbian</Path>
<Path fileType="data">/usr/share/mysql/slovak</Path>
<Path fileType="data">/usr/share/mysql/spanish</Path>
<Path fileType="data">/usr/share/mysql/swedish</Path>
<Path fileType="data">/usr/share/mysql/ukrainian</Path>
<Path fileType="data">/usr/share/mysql/errmsg.txt</Path>
<Path fileType="data">/usr/share/mysql</Path>
</Files>
</Package>
<Package>
<Name>mariadb-client</Name>
<IsA>app:console</IsA>
<Summary>MariaDB client programs</Summary>
<RuntimeDependencies>
<Dependency version="current">mariadb-lib</Dependency>
<Dependency>libaio</Dependency>
</RuntimeDependencies>
<Replaces>
<Package>mysql-client</Package>
</Replaces>
<Files>
<Path fileType="executable">/usr/bin</Path>
</Files>
</Package>
<Package>
<Name>mariadb-server</Name>
<IsA>service</IsA>
<Summary>The MariaDB server and related files</Summary>
<RuntimeDependencies>
<Dependency version="current">mariadb-lib</Dependency>
<Dependency version="current">mariadb-client</Dependency>
<Dependency>libaio</Dependency>
</RuntimeDependencies>
<Replaces>
<Package>mysql-server</Package>
</Replaces>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/sbin</Path>
<Path fileType="executable">/usr/bin/mysql_install_db</Path>
<Path fileType="executable">/usr/bin/mysqlmanagerc</Path>
<Path fileType="executable">/usr/bin/mysqlmanager-pwgen</Path>
<Path fileType="executable">/usr/bin/mysqlmanager</Path>
<Path fileType="executable">/usr/bin/mysql_secure_installation</Path>
<Path fileType="executable">/usr/bin/mysql_fix_privilege_tables</Path>
<Path fileType="executable">/usr/bin/mysqld_safe</Path>
<Path fileType="executable">/usr/bin/myisamchk</Path>
<Path fileType="executable">/usr/bin/myisamlog</Path>
<Path fileType="executable">/usr/bin/myisampack</Path>
<Path fileType="executable">/usr/bin/myisam_ftdump</Path>
<Path fileType="executable">/usr/bin/isamchk</Path>
<Path fileType="executable">/usr/bin/isamlog</Path>
<Path fileType="executable">/usr/bin/mysql_waitpid</Path>
<Path fileType="executable">/usr/bin/mysqlbinlog</Path>
<Path fileType="executable">/usr/bin/pack_isam</Path>
<Path fileType="data">/usr/share/mysql/binary-configure</Path>
<Path fileType="data">/usr/share/mysql/fill_help_tables.sql</Path>
<Path fileType="data">/usr/share/mysql/mysqld_multi.server</Path>
<Path fileType="data">/usr/share/mysql/mysql_fix_privilege_tables.sql</Path>
<Path fileType="data">/usr/share/mysql/mysql_system_tables_data.sql</Path>
<Path fileType="data">/usr/share/mysql/mysql_system_tables.sql</Path>
<Path fileType="data">/usr/share/mysql/mysql_test_data_timezone.sql</Path>
<Path fileType="data">/usr/share/mysql/ndb-config-2-node.ini</Path>
<Path fileType="info">/usr/share/info</Path>
<Path fileType="data">/var</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="config">/usr/lib/tmpfiles.d/mariadb.conf</Path>
<Path fileType="data">/run/mysqld</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/etc/mysql/my.cnf">my.cnf</AdditionalFile>
<AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/mariadb.conf">tmpfiles.conf</AdditionalFile>
</AdditionalFiles>
<Provides>
<COMAR script="service.py">System.Service</COMAR>
<COMAR script="package.py">System.Package</COMAR>
</Provides>
</Package>
<Package>
<Name>mariadb-man-pages</Name>
<IsA>data</IsA>
<Summary>Man pages for MariaDB server and client</Summary>
<Replaces>
<Package>mysql-man-pages</Package>
</Replaces>
<Files>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<History>
<Update release="8">
<Date>2015-01-25</Date>
<Version>10.0.17</Version>
<Comment>Version bump.</Comment>
<Name>Vedat Demir</Name>
<Email>vedat@pisilinux.org</Email>
</Update>
<Update release="7">
<Date>2014-09-25</Date>
<Version>10.0.13</Version>
<Comment>Version bump.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="6">
<Date>2014-09-03</Date>
<Version>5.5.37</Version>
<Comment>Fix package.py, first create initial db then chown.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2014-05-25</Date>
<Version>5.5.37</Version>
<Comment>Rebuild.</Comment>
<Name>Aydın Demirel</Name>
<Email>aydin.demirel@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2014-05-19</Date>
<Version>5.5.37</Version>
<Comment>Version bump.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-02-21</Date>
<Version>5.5.35</Version>
<Comment>Fix -lprobes_mysql issue</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-02-18</Date>
<Version>5.5.35</Version>
<Comment>
Fix package.py
Add tmpfiles.conf
Fix replacing mysql
Remove not needed files
Fix and clean actions.py
</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2014-02-11</Date>
<Version>5.5.35</Version>
<Comment>First release</Comment>
<Name>Aydın Demirel</Name>
<Email>aydin.demirel@pisilinux.org</Email>
</Update>
</History>
</PISI>
+30
View File
@@ -0,0 +1,30 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>mariadb</Name>
<Summary xml:lang="tr">Hızlı, çok kullanıcılı ve çok görevli SQL veritabanı sunucusu</Summary>
<Description xml:lang="tr">MySQL, çoklu iş parçacıklı (multi-threaded), çok kullanıcılı (multi-user), hızlı ve sağlam (robust) bir Veritabanı yönetim sistemidir. Özelllikle basit web uygulamaları için LAMP sistemi içinde sıkça tercih edilmektedir.</Description>
</Source>
<Package>
<Name>mariadb-lib</Name>
<Summary xml:lang="en">MariaDB client tools</Summary>
<Summary xml:lang="tr">MySQL istemcileri tarafından gereken paylaşımlı kitaplıklar</Summary>
</Package>
<Package>
<Name>mariadb-client</Name>
<Summary xml:lang="en">MariaDB client libraries</Summary>
<Summary xml:lang="tr">MariaDB istemci uygulamaları</Summary>
</Package>
<Package>
<Name>mariadb-server</Name>
<Summary xml:lang="en">MariaDB server and releated files</Summary>
<Summary xml:lang="tr">MariaDB sunucusu ve ilgili dosyalar</Summary>
</Package>
<Package>
<Name>mariadb-man-pages</Name>
<Summary xml:lang="en">MariaDB server and client man pages</Summary>
<Summary xml:lang="tr">MariaDB sunucu ve istemci uygulamarına ait kılavuz sayfaları</Summary>
</Package>
</PISI>
+83
View File
@@ -0,0 +1,83 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
autotools.configure("--with-python \
--with-perl \
--include=/usr/include/postgresql \
--with-includes=/usr/include/libxml2/ \
--with-tcl \
--with-krb5 \
--with-openssl \
--enable-nls \
--with-pam \
--with-libxml \
--with-libxslt \
--with-ldap \
--enable-integer-datetimes \
--enable-thread-safety \
--enable-depend \
--host=%s \
--libdir=/usr/lib \
--disable-rpath \
--with-docdir=/usr/share/doc/postgresql" % get.CHOST())
def build():
if get.LDFLAGS():
ld = "-j1 LD=%s %s" % (get.LD(), get.LDFLAGS())
else:
ld = "-j1 LD=%s" % get.LD()
autotools.make(ld)
shelltools.cd("contrib")
autotools.make(ld)
shelltools.cd("..")
shelltools.cd("contrib/xml2")
autotools.make(ld)
shelltools.cd("../..")
shelltools.cd("src/interfaces/libpq")
autotools.make(ld)
shelltools.cd("../../..")
shelltools.cd("doc")
autotools.make(ld)
shelltools.cd("..")
def install():
autotools.rawInstall("DESTDIR=%s LIBDIR=%s/usr/lib" % (get.installDIR(), get.installDIR()))
shelltools.cd("contrib")
autotools.rawInstall("DESTDIR=%s LIBDIR=%s/usr/lib" % (get.installDIR(), get.installDIR()))
shelltools.cd("..")
shelltools.cd("contrib/xml2")
autotools.rawInstall("DESTDIR=%s LIBDIR=%s/usr/lib" % (get.installDIR(), get.installDIR()))
shelltools.cd("../..")
shelltools.cd("src/interfaces/libpq")
autotools.rawInstall("DESTDIR=%s LIBDIR=%s/usr/lib" % (get.installDIR(), get.installDIR()))
shelltools.cd("../../..")
shelltools.cd("doc")
autotools.rawInstall("DESTDIR=%s LIBDIR=%s/usr/lib" % (get.installDIR(), get.installDIR()))
shelltools.cd("..")
# No static libs
pisitools.remove("/usr/lib/*.a")
pisitools.dodoc("README", "HISTORY", "COPYRIGHT")
pisitools.dodoc("doc/MISSING_FEATURES", "doc/KNOWN_BUGS", "doc/TODO", "doc/bug.template")
pisitools.dodir("/var/lib/postgresql")
pisitools.dodir("/var/lib/postgresql/data")
pisitools.dodir("/var/lib/postgresql/backups")
@@ -0,0 +1,15 @@
#!/usr/bin/python
import os
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
os.system("/bin/chown -R postgres:postgres /var/lib/postgresql")
os.system("/bin/chmod -R 0700 /var/lib/postgresql/data")
os.system("/bin/chmod -R 0700 /var/lib/postgresql/backups")
# On first install...
if not os.path.exists("/var/lib/postgresql/data/base"):
for i in ["LANG", "LANGUAGE", "LC_ALL"]:
os.environ[i] = "en_US.UTF-8"
os.system('/bin/su postgres -s /bin/sh -p -c "/usr/bin/initdb --pgdata /var/lib/postgresql/data"')
@@ -0,0 +1,45 @@
# -*- coding: utf-8 -*-
from comar.service import *
serviceType="server"
serviceDesc = _({"en": "PostgreSQL Database Server",
"tr": "PostgreSQL Veritabanı Sunucusu"})
serviceConf = "postgresql"
MSG_ERR_PGSQLNOTINST = _({"en": "PostgreSQL is not configured properly, please re-install the package.",
"tr": "PostgreSQL düzgün yapılandırılmamış, lütfen paketi tekrar yükleyin.",
})
def check_postgresql():
import os
if not os.path.exists(config.get("PGDATA", "/var/lib/postgresql/data")):
fail(MSG_ERR_PGSQLNOTINST)
PIDFILE = "%s/postmaster.pid" % config.get("PGDATA", "/var/lib/postgresql/data")
@synchronized
def start():
check_postgresql()
startService(command="/usr/bin/pg_ctl",
args=["start", "-D", config.get("PGDATA", "/var/lib/postgresql/data"), "-l", config.get("PGLOG", "/var/lib/postgresql/data/postgresql.log"), "-o", config.get("PGOPTS", "")],
pidfile=PIDFILE,
chuid=config.get("PGUSER", "postgres"),
donotify=True)
@synchronized
def stop():
stopService(command="/usr/bin/pg_ctl",
args=["stop", "-D", config.get("PGDATA", "/var/lib/postgresql/data"), "-s", "-m", "fast"],
chuid=config.get("PGUSER", "postgres"),
donotify=True)
def reload():
stopService(command="/usr/bin/pg_ctl",
args=["reload", "-D", config.get("PGDATA", "/var/lib/postgresql/data"), "-s"],
donotify=True)
def status():
return isServiceRunning(PIDFILE)
@@ -0,0 +1,13 @@
# PostgreSQL's Database Directory
PGDATA=/var/lib/postgresql/data
# Logfile path: (NOTE: This must be uid/gid owned by the value of $PGUSER!)
PGLOG=/var/lib/postgresql/data/postgresql.log
# Run the PostgreSQL user as:
PGUSER=postgres
# Extra options to run postmaster with.
# If you want to enable TCP/IP for PostgreSQL, add -i to the following:
# PGOPTS="-N 1024 -B 2048 -i"
PGOPTS=""
+151
View File
@@ -0,0 +1,151 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>postgresql</Name>
<Homepage>http://www.postgresql.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>service</IsA>
<Summary>A powerful, open source relational database system</Summary>
<Description>PostgreSQL is a powerful, open source relational database system.</Description>
<Archive sha1sum="a5b4a63339c26849e8e9b7645436c976e4b40f50" type="tarbz2">http://ftp.postgresql.org/pub/source/v9.3.4/postgresql-9.3.4.tar.bz2</Archive>
<BuildDependencies>
<Dependency>mit-kerberos</Dependency>
<Dependency>tcl-devel</Dependency>
<Dependency>libxslt-devel</Dependency>
<Dependency>libxml2-devel</Dependency>
</BuildDependencies>
<Patches>
<!--Patch level="1">backend_po_translation.patch</Patch-->
</Patches>
</Source>
<Package>
<Name>postgresql-lib</Name>
<IsA>library</IsA>
<Summary>Essential shared libraries for any PostgreSQL client program or interface</Summary>
<RuntimeDependencies>
<Dependency>mit-kerberos</Dependency>
<Dependency>tcl</Dependency>
<Dependency>libxslt</Dependency>
<Dependency>openldap-client</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/share/postgresql</Path>
<Path fileType="executable">/usr/bin/pg_config</Path>
</Files>
</Package>
<Package>
<Name>postgresql-doc</Name>
<IsA>data:doc</IsA>
<Summary>Postgresql documents</Summary>
<Description>Additional documentation for PostgreSQL.</Description>
<RuntimeDependencies>
<Dependency release="current">postgresql-lib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>postgresql-server</Name>
<IsA>service</IsA>
<RuntimeDependencies>
<Dependency release="current">postgresql-lib</Dependency>
<Dependency>mit-kerberos</Dependency>
<Dependency>openldap-client</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="data">/usr/share/postgresql/contrib</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/var/lib</Path>
</Files>
<AdditionalFiles>
<AdditionalFile target="/etc/conf.d/postgresql" owner="root" permission="0644">postgresql.conf-8</AdditionalFile>
</AdditionalFiles>
<Provides>
<COMAR script="package.py">System.Package</COMAR>
<COMAR script="service.py">System.Service</COMAR>
</Provides>
</Package>
<Package>
<Name>postgresql-pl</Name>
<RuntimeDependencies>
<Dependency release="current">postgresql-lib</Dependency>
<Dependency>tcl</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin/pltcl_listmod</Path>
<Path fileType="executable">/usr/bin/pltcl_loadmod</Path>
<Path fileType="executable">/usr/bin/pltcl_delmod</Path>
<Path fileType="library">/usr/lib/postgresql/plperl.so</Path>
<Path fileType="library">/usr/lib/postgresql/plpython.so</Path>
<Path fileType="library">/usr/lib/postgresql/pltcl.so</Path>
<Path fileType="data">/usr/share/postgresql/unknown.pltcl</Path>
</Files>
</Package>
<History>
<Update release="7">
<Date>2014-05-19</Date>
<Version>9.3.4</Version>
<Comment>Version bump.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="6">
<Date>2014-04-23</Date>
<Version>9.3.3</Version>
<Comment>Rebuild for webp.</Comment>
<Name>Kamil Atlı</Name>
<Email>suvarice@gmail.com</Email>
</Update>
<Update release="5">
<Date>2014-02-21</Date>
<Version>9.3.3</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2013-11-17</Date>
<Version>9.3.1</Version>
<Comment>Fix demp</Comment>
<Name>Richard de Bruin</Name>
<Email>richdb@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-11-15</Date>
<Version>9.3.1</Version>
<Comment>Version bump</Comment>
<Name>Aydın Demirel</Name>
<Email>aydin.demirel@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-02-25</Date>
<Version>9.2.3</Version>
<Comment>Version bump</Comment>
<Name>Ertan Güven</Name>
<Email>ertan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-10-04</Date>
<Version>9.2.0</Version>
<Comment>First release</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>postgresql</Name>
<Summary xml:lang="tr">Güçlü bir açık kaynaklı ilişkisel veritabanı sistemi</Summary>
<Description xml:lang="tr">PostgreSQL, açık kaynak kodlu, güçlü bir ilişkisel veritabanıdır</Description>
</Source>
<Package>
<Name>postgresql-doc</Name>
<Summary xml:lang="tr">Postegresql belgeleri</Summary>
<Description xml:lang="tr">PostegreSQL için ek belgelendirme</Description>
</Package>
</PISI>