Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "PostgreSQL is a powerful, open source relational database system." |
| 2 | DESCRIPTION = "\ |
| 3 | PostgreSQL is an advanced Object-Relational database management system \ |
| 4 | (DBMS) that supports almost all SQL constructs (including \ |
| 5 | transactions, subselects and user-defined types and functions). The \ |
| 6 | postgresql package includes the client programs and libraries that \ |
| 7 | you'll need to access a PostgreSQL DBMS server. These PostgreSQL \ |
| 8 | client programs are programs that directly manipulate the internal \ |
| 9 | structure of PostgreSQL databases on a PostgreSQL server. These client \ |
| 10 | programs can be located on the same machine with the PostgreSQL \ |
| 11 | server, or may be on a remote machine which accesses a PostgreSQL \ |
| 12 | server over a network connection. This package contains the docs \ |
| 13 | in HTML for the whole package, as well as command-line utilities for \ |
| 14 | managing PostgreSQL databases on a PostgreSQL server. \ |
| 15 | \ |
| 16 | If you want to manipulate a PostgreSQL database on a local or remote \ |
| 17 | PostgreSQL server, you need this package. You also need to install \ |
| 18 | this package if you're installing the postgresql-server package. \ |
| 19 | " |
| 20 | HOMEPAGE = "http://www.postgresql.com" |
| 21 | LICENSE = "BSD" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 22 | DEPENDS = "libnsl2 zlib readline tzcode-native" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 23 | |
| 24 | ARM_INSTRUCTION_SET = "arm" |
| 25 | |
| 26 | SRC_URI = "http://ftp.postgresql.org/pub/source/v${PV}/${BP}.tar.bz2 \ |
| 27 | file://postgresql.init \ |
Andrew Geissler | 1548c07 | 2019-02-22 16:03:50 -0600 | [diff] [blame] | 28 | file://postgresql-profile \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 29 | file://postgresql.pam \ |
| 30 | file://postgresql-setup \ |
| 31 | file://postgresql.service \ |
| 32 | file://0001-Use-pkg-config-for-libxml2-detection.patch \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 33 | " |
| 34 | |
| 35 | LEAD_SONAME = "libpq.so" |
| 36 | |
| 37 | # LDFLAGS for shared libraries |
| 38 | export LDFLAGS_SL = "${LDFLAGS}" |
| 39 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame^] | 40 | inherit autotools pkgconfig perlnative pythonnative useradd update-rc.d systemd gettext cpan-base |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 41 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 42 | CFLAGS += "-I${STAGING_INCDIR}/${PYTHON_DIR} -I${STAGING_INCDIR}/tcl8.6" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 43 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 44 | SYSTEMD_SERVICE_${PN} = "postgresql.service" |
| 45 | SYSTEMD_AUTO_ENABLE_${PN} = "disable" |
| 46 | |
| 47 | DEPENDS_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd-systemctl-native', '', d)}" |
| 48 | pkg_postinst_${PN} () { |
| 49 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd sysvinit', 'true', 'false', d)}; then |
| 50 | if [ -n "$D" ]; then |
| 51 | OPTS="--root=$D" |
| 52 | fi |
| 53 | systemctl $OPTS mask postgresql-server.service |
| 54 | fi |
| 55 | } |
| 56 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 57 | enable_pam = "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 58 | PACKAGECONFIG ??= "${enable_pam} openssl python uuid libxml tcl nls libxml perl" |
| 59 | PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam," |
| 60 | PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl," |
| 61 | PACKAGECONFIG[python] = "--with-python,--without-python,python,python" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 62 | PACKAGECONFIG[uuid] = "--with-uuid=e2fs,--without-uuid,util-linux," |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 63 | PACKAGECONFIG[tcl] = "--with-tcl --with-tclconfig=${STAGING_BINDIR_CROSS},--without-tcl,tcl tcl-native," |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 64 | PACKAGECONFIG[nls] = "--enable-nls,--disable-nls,," |
| 65 | PACKAGECONFIG[libxml] = "--with-libxml,--without-libxml,libxml2,libxml2" |
| 66 | PACKAGECONFIG[perl] = "--with-perl,--without-perl,perl,perl" |
| 67 | |
| 68 | EXTRA_OECONF += "--enable-thread-safety --disable-rpath \ |
| 69 | --datadir=${datadir}/${BPN} \ |
| 70 | --sysconfdir=${sysconfdir}/${BPN} \ |
| 71 | " |
| 72 | EXTRA_OECONF_sh4 += "--disable-spinlocks" |
| 73 | EXTRA_OECONF_aarch64 += "--disable-spinlocks" |
| 74 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 75 | PACKAGES_DYNAMIC += "^${PN}-plperl \ |
| 76 | ^${PN}-pltcl \ |
| 77 | ^${PN}-plpython \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 78 | " |
| 79 | |
| 80 | python populate_packages_prepend() { |
| 81 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 82 | def fill_more(name): |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 83 | if name is None or name.strip() == "": |
| 84 | return |
| 85 | |
| 86 | fpack=d.getVar('PACKAGES', False) or "" |
| 87 | fpack="${PN}-" + name + " " + fpack |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 88 | d.setVar('PACKAGES', fpack) |
| 89 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 90 | conf=(d.getVar('PACKAGECONFIG') or "").split() |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 91 | pack=d.getVar('PACKAGES', False) or "" |
| 92 | bb.debug(1, "PACKAGECONFIG=%s" % conf) |
| 93 | bb.debug(1, "PACKAGES1=%s" % pack ) |
| 94 | |
| 95 | if "perl" in conf : |
| 96 | fill_more("plperl") |
| 97 | |
| 98 | if "tcl" in conf: |
| 99 | fill_more("pltcl") |
| 100 | |
| 101 | if "python" in conf: |
| 102 | fill_more("plpython") |
| 103 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 104 | pack=d.getVar('PACKAGES') or "" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 105 | bb.debug(1, "PACKAGES2=%s" % pack) |
| 106 | |
| 107 | } |
| 108 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame^] | 109 | # This will make native perl use target settings (for include dirs etc.) |
| 110 | export PERLCONFIGTARGET = "${@is_target(d)}" |
| 111 | export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl5/${@get_perl_version(d)}/${@get_perl_arch(d)}" |
| 112 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 113 | do_configure() { |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 114 | # do_configure |
| 115 | autotools_do_configure |
| 116 | |
| 117 | # do_configure_append |
| 118 | # workaround perl package related bugs |
| 119 | sed -i -e "s:-L/usr/local/lib:-L=/usr/local/lib:g" \ |
| 120 | ${B}/src/Makefile.global |
| 121 | LIBPNA="\${STAGING_LIBDIR_NATIVE}/perl-native" |
| 122 | LIBNA="\${STAGING_LIBDIR_NATIVE}" |
| 123 | BLIBNA="\${STAGING_BASE_LIBDIR_NATIVE}" |
| 124 | sed -i -e "/^perl_archlibexp/s:${LIBPNA}:${STAGING_LIBDIR}:g" \ |
| 125 | ${B}/src/Makefile.global |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame^] | 126 | sed -i -e "/^perl_privlibexp/s:${libdir}:${STAGING_LIBDIR}:g" \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 127 | ${B}/src/Makefile.global |
| 128 | # remove the rpath, replace with correct lib path |
| 129 | sed -i \ |
| 130 | -e "/^perl_embed_ldflags/s:-Wl,-rpath,${LIBNA}::g" \ |
| 131 | -e "/^perl_embed_ldflags/s:-Wl,-rpath,${BLIBNA}::g" \ |
| 132 | -e "/^perl_embed_ldflags/s:-Wl,-rpath-link,${LIBNA}::g" \ |
| 133 | -e "/^perl_embed_ldflags/s:-Wl,-rpath-link,${BLIBNA}::g" \ |
| 134 | -e "/^perl_embed_ldflags/s:${LIBPNA}:${STAGING_LIBDIR}:g" \ |
| 135 | -e "/^perl_embed_ldflags/s:${LIBNA}:${STAGING_LIBDIR}:g" \ |
| 136 | -e "/^perl_embed_ldflags/s:${BLIBNA}:${STAGING_BASELIBDIR}:g" \ |
| 137 | -e "/^TCLSH/s:=.*:= ${bindir}/tclsh:g" \ |
| 138 | ${B}/src/Makefile.global |
| 139 | |
| 140 | if ${@bb.utils.contains('PACKAGECONFIG', 'perl', 'true', 'false', d)}; then |
| 141 | # workaround perl package's libperl.so problem |
| 142 | # we are using perlnative so this perl should have same version |
| 143 | perl_version=`perl -v 2>/dev/null | \ |
| 144 | sed -n 's/This is perl.*v[a-z ]*\([0-9]\.[0-9][0-9.]*\).*$/\1/p'` |
| 145 | if [ ! -h "${STAGING_LIBDIR}/perl/$perl_version/CORE/libperl.so" -a \ |
| 146 | ! -h "${STAGING_LIBDIR}/libperl.so" ]; then |
| 147 | ln -sf ../../../libperl.so.5 \ |
| 148 | ${STAGING_LIBDIR}/perl/$perl_version/CORE/libperl.so |
| 149 | fi |
| 150 | fi |
| 151 | } |
| 152 | |
| 153 | do_compile_append() { |
| 154 | oe_runmake -C contrib all |
| 155 | } |
| 156 | |
| 157 | # server needs to configure user and group |
| 158 | usernum = "28" |
| 159 | groupnum = "28" |
| 160 | USERADD_PACKAGES = "${PN}" |
| 161 | USERADD_PARAM_${PN} = "-M -g postgres -o -r -d ${localstatedir}/lib/${BPN} \ |
Andrew Geissler | 1548c07 | 2019-02-22 16:03:50 -0600 | [diff] [blame] | 162 | -s /bin/sh -c 'PostgreSQL Server' -u ${usernum} postgres" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 163 | GROUPADD_PARAM_${PN} = "-g ${groupnum} -o -r postgres" |
| 164 | |
| 165 | INITSCRIPT_PACKAGES = "${PN}" |
| 166 | INITSCRIPT_NAME = "${BPN}-server" |
| 167 | INITSCRIPT_PARAMS = "start 64 . stop 36 0 1 2 3 4 5 6 ." |
| 168 | |
| 169 | do_install_append() { |
| 170 | # install contrib |
| 171 | oe_runmake DESTDIR=${D} -C contrib install |
| 172 | # install tutorial |
| 173 | install -d -m 0755 ${D}${libdir}/${BPN}/tutorial |
| 174 | install ${B}/src/tutorial/* ${D}${libdir}/${BPN}/tutorial |
| 175 | |
| 176 | # install COPYRIGHT README HISTORY |
| 177 | install -d -m 0755 ${D}${docdir}/${BPN} |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 178 | for i in ${B}/COPYRIGHT ${B}/README ${B}/HISTORY ${B}/doc/KNOWN_BUGS ${B}/doc/MISSING_FEATURES ${B}/doc/README* ${B}/doc/bug.template; do |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 179 | [ -f $i ] && install $i ${D}${docdir}/${BPN} |
| 180 | done |
| 181 | |
| 182 | # install dirs and server init |
| 183 | install -d ${D}${sysconfdir}/init.d |
| 184 | install -m 0755 ${WORKDIR}/${BPN}.init ${D}${sysconfdir}/init.d/${BPN}-server |
| 185 | sed -i -e "s/^PGVERSION=.*$/PGVERSION=${PV}/g" ${D}${sysconfdir}/init.d/${BPN}-server |
| 186 | install -m 0755 ${WORKDIR}/${BPN}-setup ${D}${bindir}/${BPN}-setup |
| 187 | install -d -m 700 ${D}${localstatedir}/lib/${BPN}/data |
| 188 | install -d -m 700 ${D}${localstatedir}/lib/${BPN}/backups |
Andrew Geissler | 1548c07 | 2019-02-22 16:03:50 -0600 | [diff] [blame] | 189 | install -m 644 ${WORKDIR}/${BPN}-profile ${D}${localstatedir}/lib/${BPN}/.profile |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 190 | chown -R postgres:postgres ${D}${localstatedir}/lib/${BPN} |
| 191 | # multiple server config directory |
| 192 | install -d -m 700 ${D}${sysconfdir}/default/${BPN} |
| 193 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 194 | if [ "${@d.getVar('enable_pam')}" = "pam" ]; then |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 195 | install -d ${D}${sysconfdir}/pam.d |
| 196 | install -m 644 ${WORKDIR}/postgresql.pam ${D}${sysconfdir}/pam.d/postgresql |
| 197 | fi |
| 198 | |
| 199 | # Install systemd unit files |
| 200 | install -d ${D}${systemd_unitdir}/system |
| 201 | install -m 0644 ${WORKDIR}/postgresql.service ${D}${systemd_unitdir}/system |
| 202 | sed -i -e 's,@BINDIR@,${bindir},g' \ |
| 203 | ${D}${systemd_unitdir}/system/postgresql.service |
| 204 | } |
| 205 | |
| 206 | SSTATE_SCAN_FILES += "Makefile.global" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 207 | SSTATE_SCAN_FILES_remove = "*_config" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 208 | |
| 209 | PACKAGES =+ "${PN}-client ${PN}-server-dev ${PN}-timezone \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 210 | libecpg-compat libecpg-compat-dev \ |
| 211 | libecpg libecpg-dev libecpg-staticdev libecpg-doc \ |
| 212 | libpq libpq-dev libpq-staticdev \ |
| 213 | libpgtypes libpgtypes-staticdev libpgtypes-dev \ |
| 214 | ${PN}-contrib \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 215 | " |
| 216 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 217 | RPROVIDES_${PN}-dbg += "libecpg-compat-dbg \ |
| 218 | libecpg-dbg \ |
| 219 | libpq-dbg \ |
| 220 | libpgtypes-dbg \ |
| 221 | ${PN}-contrib-dbg \ |
| 222 | ${PN}-pltcl-dbg \ |
| 223 | ${PN}-plpython-dbg \ |
| 224 | ${PN}-plperl-dbg \ |
| 225 | " |
| 226 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 227 | FILES_${PN} += "${sysconfdir}/init.d/${BPN}-server \ |
| 228 | ${localstatedir}/lib/${BPN}/data ${localstatedir}/lib/${BPN}/backups \ |
Andrew Geissler | 1548c07 | 2019-02-22 16:03:50 -0600 | [diff] [blame] | 229 | ${localstatedir}/lib/${BPN}/.profile ${sysconfdir}/default/${BPN} \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 230 | ${libdir}/${BPN}/dict_snowball.so ${libdir}/${BPN}/plpgsql.so \ |
| 231 | ${libdir}/${BPN}/euc2004_sjis2004.so \ |
| 232 | ${libdir}/${BPN}/libpqwalreceiver.so \ |
| 233 | ${libdir}/${BPN}/*_and_*.so \ |
| 234 | ${@'${sysconfdir}/pam.d/postgresql' \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 235 | if 'pam' == d.getVar('enable_pam') \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 236 | else ''} \ |
| 237 | " |
| 238 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 239 | FILES_${PN}-client = "${bindir}/clusterdb \ |
| 240 | ${bindir}/createdb \ |
| 241 | ${bindir}/createlang \ |
| 242 | ${bindir}/createuser \ |
| 243 | ${bindir}/dropdb \ |
| 244 | ${bindir}/droplang \ |
| 245 | ${bindir}/dropuser \ |
| 246 | ${bindir}/pg_dump \ |
| 247 | ${bindir}/pg_dumpall \ |
| 248 | ${bindir}/pg_restore \ |
| 249 | ${bindir}/psql \ |
| 250 | ${bindir}/reindexdb \ |
| 251 | ${bindir}/vacuumdb \ |
| 252 | ${bindir}/vacuumlo \ |
| 253 | ${datadir}/${BPN}/psqlrc.sample \ |
| 254 | " |
| 255 | FILES_${PN}-client-doc = "${mandir}/man1/clusterdb.* \ |
| 256 | ${mandir}/man1/createdb.* ${mandir}/man1/createlang.* \ |
| 257 | ${mandir}/man1/createuser.* ${mandir}/man1/dropdb.* \ |
| 258 | ${mandir}/man1/droplang.* ${mandir}/man1/dropuser.* \ |
| 259 | ${mandir}/man1/pg_dump.* ${mandir}/man1/pg_dumpall.* \ |
| 260 | ${mandir}/man1/pg_restore.* ${mandir}/man1/psql.* \ |
| 261 | ${mandir}/man1/reindexdb.* ${mandir}/man1/vacuumdb.* \ |
| 262 | ${mandir}/man7/* \ |
| 263 | " |
| 264 | FILES_${PN}-doc += "${docdir}/${BPN}/html ${libdir}/${BPN}/tutorial/ \ |
| 265 | ${mandir}/man1/initdb.* ${mandir}/man1/pg_controldata.* \ |
| 266 | ${mandir}/man1/pg_ctl.* ${mandir}/man1/pg_resetxlog.* \ |
| 267 | ${mandir}/man1/postgres.* ${mandir}/man1/postmaster.* \ |
| 268 | " |
| 269 | FILES_${PN}-timezone = "${datadir}/${BPN}/timezone \ |
| 270 | ${datadir}/${BPN}/timezonesets \ |
| 271 | " |
| 272 | RDEPENDS_${PN} += "${PN}-timezone" |
| 273 | FILES_${PN}-server-dev = "${includedir}/${BPN}/server" |
| 274 | |
| 275 | FILES_libecpg = "${libdir}/libecpg*${SOLIBS}" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 276 | FILES_libecpg-dev = "${libdir}/libecpg*${SOLIBSDEV} \ |
| 277 | ${libdir}/libpgtypes*${SOLIBSDEV} \ |
| 278 | ${includedir}/ecpg*.h ${includedir}/${BPN}/ecpg*.h \ |
| 279 | ${includedir}/pgtypes*.h ${includedir}/${BPN}/informix \ |
| 280 | ${includedir}/sql3types.h ${includedir}/sqlca.h \ |
| 281 | " |
| 282 | FILES_libecpg-doc = "${mandir}/man1/ecpg.*" |
| 283 | FILES_libecpg-staticdev = "${libdir}/libecpg*.a" |
| 284 | SECTION_libecpg-staticdev = "devel" |
| 285 | RDEPENDS_libecpg-staticdev = "libecpg-dev (= ${EXTENDPKGV})" |
| 286 | |
| 287 | FILES_libpq = "${libdir}/libpq*${SOLIBS}" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 288 | FILES_libpq-dev = "${libdir}/libpq*${SOLIBSDEV} \ |
| 289 | ${includedir} \ |
| 290 | " |
| 291 | FILES_libpq-staticdev = "${libdir}/libpq*.a ${libdir}/libpgport.a" |
| 292 | SECTION_libpq-staticdev = "devel" |
| 293 | RDEPENDS_libpq-staticdev = "libpq-dev (= ${EXTENDPKGV})" |
| 294 | |
| 295 | FILES_libecpg-compat = "${libdir}/libecpg_compat*${SOLIBS}" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 296 | FILES_libecpg-compat-dev = "${libdir}/libecpg_compat*${SOLIBS}" |
| 297 | FILES_libpgtypes = "${libdir}/libpgtypes*${SOLIBS}" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 298 | FILES_libpgtypes-staticdev = "${libdir}/libpgtypes*.a" |
| 299 | FILES_libpgtypes-dev = "${libdir}/libpgtypes*${SOLIBS} ${includedir}/pgtypes*.h" |
| 300 | |
| 301 | FILES_${PN}-contrib = " ${bindir}/oid2name ${bindir}/pg_standby \ |
| 302 | ${bindir}/pgbench ${bindir}/vacuumlo \ |
| 303 | ${S}/contrib/spi/*.example \ |
| 304 | ${libdir}/${BPN}/_int.so ${libdir}/${BPN}/adminpack.so \ |
| 305 | ${libdir}/${BPN}/autoinc.so ${libdir}/${BPN}/auto_explain.so \ |
| 306 | ${libdir}/${BPN}/auth_delay.so ${libdir}/${BPN}/btree_gin.so \ |
| 307 | ${libdir}/${BPN}/btree_gist.so ${libdir}/${BPN}/.so \ |
| 308 | ${libdir}/${BPN}/chkpass.so ${libdir}/${BPN}/citext.so \ |
| 309 | ${libdir}/${BPN}/cube.so ${libdir}/${BPN}/dblink.so \ |
| 310 | ${libdir}/${BPN}/dict_int.so ${libdir}/${BPN}/dict_xsyn.so \ |
| 311 | ${libdir}/${BPN}/dummy_seclabel.so ${libdir}/${BPN}/earthdistance.so \ |
| 312 | ${libdir}/${BPN}/file_fdw.so ${libdir}/${BPN}/fuzzystrmatch.so \ |
| 313 | ${libdir}/${BPN}/hstore.so ${libdir}/${BPN}/insert_username.so \ |
| 314 | ${libdir}/${BPN}/isn.so ${libdir}/${BPN}/lo.so \ |
| 315 | ${libdir}/${BPN}/ltree.so ${libdir}/${BPN}/moddatetime.so \ |
| 316 | ${libdir}/${BPN}/pageinspect.so ${libdir}/${BPN}/pg_buffercache.so \ |
| 317 | ${libdir}/${BPN}/pg_freespacemap.so ${libdir}/${BPN}/pg_trgm.so \ |
| 318 | ${libdir}/${BPN}/pgcrypto.so ${libdir}/${BPN}/pgrowlocks.so \ |
| 319 | ${libdir}/${BPN}/pgstattuple.so ${libdir}/${BPN}/pg_stat_statements.so \ |
| 320 | ${libdir}/${BPN}/refint.so ${libdir}/${BPN}/seg.so \ |
| 321 | ${libdir}/${BPN}/sslinfo.so \ |
| 322 | ${libdir}/${BPN}/tablefunc.so \ |
| 323 | ${libdir}/${BPN}/test_parser.so ${libdir}/${BPN}/timetravel.so \ |
| 324 | ${libdir}/${BPN}/tsearch2.so ${libdir}/${BPN}/uuid-ossp.so \ |
| 325 | ${libdir}/${BPN}/pgxml.so ${libdir}/${BPN}/passwordcheck.so \ |
| 326 | ${libdir}/${BPN}/pg_upgrade_support.so ${libdir}/${BPN}/.so \ |
| 327 | ${libdir}/${BPN}/unaccent.so \ |
| 328 | " |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 329 | DESCRIPTION_${PN}-contrib = "The postgresql-contrib package contains \ |
| 330 | contributed packages that are included in the PostgreSQL distribution." |
| 331 | |
| 332 | FILES_${PN}-pltcl = "${libdir}/${BPN}/pltcl.so ${bindir}/pltcl_delmod \ |
| 333 | ${binddir}/pltcl_listmod ${bindir}/pltcl_loadmod \ |
| 334 | ${datadir}/${BPN}/unknown.pltcl" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 335 | SUMMARY_${PN}-pltcl = "The Tcl procedural language for PostgreSQL" |
| 336 | DESCRIPTION_${PN}-pltcl = "PostgreSQL is an advanced Object-Relational \ |
| 337 | database management system. The postgresql-pltcl package contains the PL/Tcl \ |
| 338 | procedural language for the backend." |
| 339 | |
| 340 | FILES_${PN}-plperl = "${libdir}/${BPN}/plperl.so" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 341 | SUMMARY_${PN}-plperl = "The Perl procedural language for PostgreSQL" |
| 342 | DESCRIPTION_${PN}-plperl = "PostgreSQL is an advanced Object-Relational \ |
| 343 | database management system. The postgresql-plperl package contains the \ |
| 344 | PL/Perl procedural language for the backend." |
| 345 | |
| 346 | # In version 8, it will be plpython.so |
| 347 | # In version 9, it might be plpython{2,3}.so depending on python2 or 3 |
| 348 | FILES_${PN}-plpython = "${libdir}/${BPN}/plpython*.so" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 349 | SUMMARY_${PN}-plpython = "The Python procedural language for PostgreSQL" |
| 350 | DESCRIPTION_${PN}-plpython = "PostgreSQL is an advanced Object-Relational \ |
| 351 | database management system. The postgresql-plpython package contains \ |
| 352 | the PL/Python procedural language for the backend." |