# Maintainer: Natanael Copa global pkgname := 'openldap' global pkgver := '2.4.44' global pkgrel := '5' global pkgdesc := '"LDAP Server'" global url := '"http://www.openldap.org/'" global arch := '"all'" global license := '"custom'" global depends := '' global pkgusers := '"ldap'" global pkggroups := '"ldap'" global depends_dev := '"libressl-dev cyrus-sasl-dev util-linux-dev'" global makedepends := ""$depends_dev db-dev groff unixodbc-dev libtool mosquitto-dev autoconf automake libtool"" global subpackages := ""$pkgname-dev $pkgname-doc libldap $pkgname-back-sql:sql $pkgname-back-bdb:bdb $pkgname-back-hdb:hdb $pkgname-back-ldap:ldap $pkgname-back-meta:meta $pkgname-back-monitor:monitor $pkgname-clients $pkgname-mqtt $pkgname-passwd-pbkdf2:passwd_pbkdf2 "" global install := ""$pkgname.pre-install"" global source := ""ftp://ftp.$pkgname.org/pub/OpenLDAP/$pkgname-release/$pkgname-$pkgver.tgz openldap-2.4-ppolicy.patch openldap-2.4.11-libldap_r.patch bdb-enabled-by-default.patch openldap-mqtt-overlay.patch CVE-2017-9287.patch slapd.initd slapd.confd slurpd.initd "" # secfixes: # 2.4.44-r5: # - CVE-2017-9287 proc prepare { cd "$srcdir"/$pkgname-$pkgver update_config_sub || return 1 default_prepare || return 1 sed -e '/^STRIP/s,-s,,g' \ -i build/top.mk || return 1 libtoolize --force && aclocal && autoconf || return 1 } proc build { cd "$srcdir"/$pkgname-$pkgver ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --libexecdir=/usr/lib \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var/lib/openldap \ --enable-slapd \ --enable-crypt \ --enable-modules \ --enable-dynamic \ --enable-bdb=mod \ --enable-hdb=mod \ --enable-dnssrv=mod \ --enable-ldap=mod \ --enable-meta=mod \ --enable-monitor=mod \ --enable-null=mod \ --enable-passwd=mod \ --enable-relay=mod \ --enable-shell=mod \ --enable-sock=mod \ --enable-sql=mod \ --enable-overlays=mod \ --with-tls=openssl \ --with-cyrus-sasl \ || return 1 make || return 1 # build mqtt overlay make prefix=/usr libexec=/usr/lib \ -C contrib/slapd-modules/mqtt || return 1 # build passwd pbkdf2 make prefix=/usr libexecdir=/usr/lib \ -C contrib/slapd-modules/passwd/pbkdf2 || return 1 } proc package { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install || return 1 install -d -o ldap -g ldap "$pkgdir"/var/run/openldap \ "$pkgdir"/var/lib/openldap sed -i -e 's:/var/lib/openldap/run:/var/run/openldap:g' \ -e 's:back_bdb.la:back_bdb.so:' \ -e 's:back_hdb.la:back_hdb.so:' \ -e 's:back_ldap.la:back_ldap.so:' \ "$pkgdir"/etc/openldap/slapd.conf || return 1 mv "$pkgdir"/usr/lib/slapd "$pkgdir"/usr/sbin/ || reteurn 1 chgrp ldap "$pkgdir"/etc/openldap/slapd.conf chmod g+r "$pkgdir"/etc/openldap/slapd.conf chown -R ldap.ldap "$pkgdir"/var/lib/openldap/openldap-data chmod 700 "$pkgdir"/var/lib/openldap \ "$pkgdir"/var/lib/openldap/openldap-data chown -R ldap.ldap "$pkgdir"/var/lib/openldap/openldap-data install -Dm755 "$srcdir"/slapd.initd "$pkgdir"/etc/init.d/slapd install -Dm755 "$srcdir"/slapd.confd "$pkgdir"/etc/conf.d/slapd install -Dm755 "$srcdir"/slurpd.initd "$pkgdir"/etc/init.d/slurpd # FIXME: symlinks in sbin are symlinked to /usr/lib/slapd ln -s /usr/sbin/slapd "$pkgdir"/usr/lib/slapd # install mqtt overlay make DESTDIR="$pkgdir" prefix=/usr libexec=/usr/lib \ -C contrib/slapd-modules/mqtt install || return 1 # install passwd pbkdf2 make DESTDIR="$pkgdir" prefix=/usr libexecdir=/usr/lib \ -C contrib/slapd-modules/passwd/pbkdf2 install || return 1 } proc libldap { global pkgdesc := '"OpenLDAP libraries'" global depends := '' global install := '' mkdir -p "$subpkgdir"/usr/lib "$subpkgdir"/etc/openldap mv "$pkgdir"/usr/lib/*.so* "$subpkgdir"/usr/lib/ mv "$pkgdir"/etc/openldap/ldap.conf "$subpkgdir"/etc/openldap/ } proc _backend { global pkgdesc := ""OpenLDAP $(2:-$1) backend"" mkdir -p "$subpkgdir"/usr/lib/openldap mv "$pkgdir"/usr/lib/openldap/back_$1* "$subpkgdir"/usr/lib/openldap/ } proc bdb { _backend bdb ; } proc hdb { _backend hdb ; } proc sql { _backend sql ODBC; } proc ldap { _backend ldap LDAP; } proc meta { _backend meta; } proc monitor { _backend monitor; } proc clients { global pkgdesc := '"LDAP client utilities'" mkdir -p "$subpkgdir"/usr mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ } proc mqtt { global pkgdesc := '"OpenLDAP MQTT overlay'" global depends := $pkgname mkdir -p "$subpkgdir"/usr/lib/openldap mv "$pkgdir"/usr/lib/openldap/mqtt.* "$subpkgdir"/usr/lib/openldap || return 1 } proc passwd_pbkdf2 { global pkgdesc := '"PBKDF2 OpenLDAP support'" global depends := $pkgname mkdir -p "$subpkgdir"/usr/lib/openldap mv "$pkgdir"/usr/lib/openldap/pw-pbkdf2.* "$subpkgdir"/usr/lib/openldap || return 1 } global sha512sums := '"132eb81798f59a364c9246d08697e1c7ebb6c2c3b983f786b14ec0233df09696cbad33a1f35f3076348b5efb77665a076ab854a24122c31e8b58310b7c7fd136 openldap-2.4.44.tgz 5d34d49eabe7cb66cf8284cc3bd9730fa23df4932df68549e242d250ee50d40c434ae074ebc720d5fbcd9d16587c9333c5598d30a5f1177caa61461ab7771f38 openldap-2.4-ppolicy.patch 44d97efb25d4f39ab10cd5571db43f3bfa7c617a5bb087085ae16c0298aca899b55c8742a502121ba743a73e6d77cd2056bc96cee63d6d0862dabc8fb5574357 openldap-2.4.11-libldap_r.patch d94f791ff3d10f1fe244a6a071331d6dd5933ed859e1cf9465654e650ff7223eedad5f054ad77de2ad4dbbd0b4a2cfda970ad733baaa833183aee996216bdbf1 bdb-enabled-by-default.patch 9c7f41279e91ed995c91e9a8c543c797d9294a93cf260afdc03ab5777e45ed045a4d6a4d4d0180b5dc387dc04babca01d818fbfa8168309df44f4500d2a430a4 openldap-mqtt-overlay.patch e81417c5df06148ddc6c4458c63349045b750b0f5ca981f92596777996114480301bc0ae62eb82a2cc242a025f53de3174efef5e3c28a54a94ccee773435a42a CVE-2017-9287.patch 1a5490a29a2be8382a64d3d07a36906d2189571f4c44d8ad96b769db58d91a33b2eee24fe10343ec26440fa61cfd406c4e95153dce29c2f315d1f13f5b0f47e8 slapd.initd 8290769b63b3a5863622de2deb9269a0711ba5f4a225eb230d7c5097937b9d4e8cf5a998ee99232824e2335ae1b6e0114357b61c9611bc2460ebd195d12eabae slapd.confd c8bffecdbd09583bec7720b5f6a5b9680b0eae055fd63f10736cf2fe25378b95acddf910e60f6408c9637a3fe48050299cfb500a6bc9a95a0ef135d5a4c4d5f9 slurpd.initd'" (CommandList children: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgname) op:Equal rhs:{(openldap)} spids:[3])] spids: [3] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgver) op:Equal rhs:{(2.4.44)} spids:[6])] spids: [6] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgrel) op:Equal rhs:{(5)} spids:[9])] spids: [9] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgdesc) op:Equal rhs:{(DQ ("LDAP Server"))} spids:[12])] spids: [12] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:url) op: Equal rhs: {(DQ ("http://www.openldap.org/"))} spids: [17] ) ] spids: [17] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:arch) op:Equal rhs:{(DQ (all))} spids:[22])] spids: [22] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:license) op:Equal rhs:{(DQ (custom))} spids:[27])] spids: [27] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:depends) op:Equal rhs:{(SQ )} spids:[32])] spids: [32] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgusers) op:Equal rhs:{(DQ (ldap))} spids:[34])] spids: [34] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkggroups) op:Equal rhs:{(DQ (ldap))} spids:[39])] spids: [39] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:depends_dev) op: Equal rhs: {(DQ ("libressl-dev cyrus-sasl-dev util-linux-dev"))} spids: [44] ) ] spids: [44] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:makedepends) op: Equal rhs: { (DQ ($ VSub_Name "$depends_dev") (" db-dev groff unixodbc-dev libtool mosquitto-dev\n") ("\tautoconf automake libtool") ) } spids: [49] ) ] spids: [49] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:subpackages) op: Equal rhs: { (DQ ($ VSub_Name "$pkgname") ("-dev ") ($ VSub_Name "$pkgname") ("-doc libldap ") ($ VSub_Name "$pkgname") ("-back-sql:sql\n") ("\t") ($ VSub_Name "$pkgname") ("-back-bdb:bdb ") ($ VSub_Name "$pkgname") ("-back-hdb:hdb ") ($ VSub_Name "$pkgname") ("-back-ldap:ldap\n") ("\t") ($ VSub_Name "$pkgname") ("-back-meta:meta\t") ($ VSub_Name "$pkgname") ("-back-monitor:monitor ") ($ VSub_Name "$pkgname") ("-clients\n") ("\t") ($ VSub_Name "$pkgname") ("-mqtt\n") ("\t") ($ VSub_Name "$pkgname") ("-passwd-pbkdf2:passwd_pbkdf2\n") ("\t") ) } spids: [56] ) ] spids: [56] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:install) op: Equal rhs: {(DQ ($ VSub_Name "$pkgname") (.pre-install))} spids: [88] ) ] spids: [88] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:source) op: Equal rhs: { (DQ ("ftp://ftp.") ($ VSub_Name "$pkgname") (.org/pub/OpenLDAP/) ($ VSub_Name "$pkgname") (-release/) ($ VSub_Name "$pkgname") (-) ($ VSub_Name "$pkgver") (".tgz\n") ("\topenldap-2.4-ppolicy.patch\n") ("\topenldap-2.4.11-libldap_r.patch\n") ("\tbdb-enabled-by-default.patch\n") ("\topenldap-mqtt-overlay.patch\n") ("\tCVE-2017-9287.patch\n") ("\n") ("\tslapd.initd\n") ("\tslapd.confd\n") ("\tslurpd.initd\n") ("\t") ) } spids: [94] ) ] spids: [94] ) (FuncDef name: prepare body: (BraceGroup children: [ (C {(cd)} {(DQ ($ VSub_Name "$srcdir")) (/) ($ VSub_Name "$pkgname") (-) ($ VSub_Name "$pkgver")} ) (AndOr children: [ (C {(update_config_sub)}) (ControlFlow token: arg_word:{(1)}) ] op_id: Op_DPipe ) (AndOr children: [ (C {(default_prepare)}) (ControlFlow token: arg_word:{(1)}) ] op_id: Op_DPipe ) (AndOr children: [ (C {(sed)} {(-e)} {(SQ <"/^STRIP/s,-s,,g">)} {(-i)} {(build/top.mk)}) (ControlFlow token: arg_word:{(1)}) ] op_id: Op_DPipe ) (AndOr children: [ (C {(libtoolize)} {(--force)}) (AndOr children: [ (C {(aclocal)}) (AndOr children: [ (C {(autoconf)}) (ControlFlow token: arg_word: {(1)} ) ] op_id: Op_DPipe ) ] op_id: Op_DAmp ) ] op_id: Op_DAmp ) ] spids: [132] ) spids: [128 131] ) (FuncDef name: build body: (BraceGroup children: [ (C {(cd)} {(DQ ($ VSub_Name "$srcdir")) (/) ($ VSub_Name "$pkgname") (-) ($ VSub_Name "$pkgver")} ) (AndOr children: [ (C {(./configure)} {(--build) (Lit_Other "=") ($ VSub_Name "$CBUILD")} {(--host) (Lit_Other "=") ($ VSub_Name "$CHOST")} {(--prefix) (Lit_Other "=") (/usr)} {(--libexecdir) (Lit_Other "=") (/usr/lib)} {(--sysconfdir) (Lit_Other "=") (/etc)} {(--mandir) (Lit_Other "=") (/usr/share/man)} {(--localstatedir) (Lit_Other "=") (/var/lib/openldap)} {(--enable-slapd)} {(--enable-crypt)} {(--enable-modules)} {(--enable-dynamic)} {(--enable-bdb) (Lit_Other "=") (mod)} {(--enable-hdb) (Lit_Other "=") (mod)} {(--enable-dnssrv) (Lit_Other "=") (mod)} {(--enable-ldap) (Lit_Other "=") (mod)} {(--enable-meta) (Lit_Other "=") (mod)} {(--enable-monitor) (Lit_Other "=") (mod)} {(--enable-null) (Lit_Other "=") (mod)} {(--enable-passwd) (Lit_Other "=") (mod)} {(--enable-relay) (Lit_Other "=") (mod)} {(--enable-shell) (Lit_Other "=") (mod)} {(--enable-sock) (Lit_Other "=") (mod)} {(--enable-sql) (Lit_Other "=") (mod)} {(--enable-overlays) (Lit_Other "=") (mod)} {(--with-tls) (Lit_Other "=") (openssl)} {(--with-cyrus-sasl)} ) (ControlFlow token: arg_word:{(1)}) ] op_id: Op_DPipe ) (AndOr children: [(C {(make)}) (ControlFlow token: arg_word:{(1)})] op_id: Op_DPipe ) (AndOr children: [ (C {(make)} {(Lit_VarLike "prefix=") (/usr)} {(Lit_VarLike "libexec=") (/usr/lib)} {(-C)} {(contrib/slapd-modules/mqtt)} ) (ControlFlow token: arg_word:{(1)}) ] op_id: Op_DPipe ) (AndOr children: [ (C {(make)} {(Lit_VarLike "prefix=") (/usr)} {(Lit_VarLike "libexecdir=") (/usr/lib)} {(-C)} {(contrib/slapd-modules/passwd/pbkdf2)} ) (ControlFlow token: arg_word:{(1)}) ] op_id: Op_DPipe ) ] spids: [212] ) spids: [207 211] ) (FuncDef name: package body: (BraceGroup children: [ (C {(cd)} {(DQ ($ VSub_Name "$srcdir")) (/) ($ VSub_Name "$pkgname") (-) ($ VSub_Name "$pkgver")} ) (AndOr children: [ (C {(make)} {(Lit_VarLike "DESTDIR=") (DQ ($ VSub_Name "$pkgdir"))} {(install)}) (ControlFlow token: arg_word:{(1)}) ] op_id: Op_DPipe ) (C {(install)} {(-d)} {(-o)} {(ldap)} {(-g)} {(ldap)} {(DQ ($ VSub_Name "$pkgdir")) (/var/run/openldap)} {(DQ ($ VSub_Name "$pkgdir")) (/var/lib/openldap)} ) (AndOr children: [ (C {(sed)} {(-i)} {(-e)} {(SQ <"s:/var/lib/openldap/run:/var/run/openldap:g">)} {(-e)} {(SQ <"s:back_bdb.la:back_bdb.so:">)} {(-e)} {(SQ <"s:back_hdb.la:back_hdb.so:">)} {(-e)} {(SQ <"s:back_ldap.la:back_ldap.so:">)} {(DQ ($ VSub_Name "$pkgdir")) (/etc/openldap/slapd.conf)} ) (ControlFlow token: arg_word:{(1)}) ] op_id: Op_DPipe ) (AndOr children: [ (C {(mv)} {(DQ ($ VSub_Name "$pkgdir")) (/usr/lib/slapd)} {(DQ ($ VSub_Name "$pkgdir")) (/usr/sbin/)} ) (C {(reteurn)} {(1)}) ] op_id: Op_DPipe ) (C {(chgrp)} {(ldap)} {(DQ ($ VSub_Name "$pkgdir")) (/etc/openldap/slapd.conf)}) (C {(chmod)} {(g) (Lit_Other "+") (r)} {(DQ ($ VSub_Name "$pkgdir")) (/etc/openldap/slapd.conf)} ) (C {(chown)} {(-R)} {(ldap.ldap)} {(DQ ($ VSub_Name "$pkgdir")) (/var/lib/openldap/openldap-data)} ) (C {(chmod)} {(700)} {(DQ ($ VSub_Name "$pkgdir")) (/var/lib/openldap)} {(DQ ($ VSub_Name "$pkgdir")) (/var/lib/openldap/openldap-data)} ) (C {(chown)} {(-R)} {(ldap.ldap)} {(DQ ($ VSub_Name "$pkgdir")) (/var/lib/openldap/openldap-data)} ) (C {(install)} {(-Dm755)} {(DQ ($ VSub_Name "$srcdir")) (/slapd.initd)} {(DQ ($ VSub_Name "$pkgdir")) (/etc/init.d/slapd)} ) (C {(install)} {(-Dm755)} {(DQ ($ VSub_Name "$srcdir")) (/slapd.confd)} {(DQ ($ VSub_Name "$pkgdir")) (/etc/conf.d/slapd)} ) (C {(install)} {(-Dm755)} {(DQ ($ VSub_Name "$srcdir")) (/slurpd.initd)} {(DQ ($ VSub_Name "$pkgdir")) (/etc/init.d/slurpd)} ) (C {(ln)} {(-s)} {(/usr/sbin/slapd)} {(DQ ($ VSub_Name "$pkgdir")) (/usr/lib/slapd)}) (AndOr children: [ (C {(make)} {(Lit_VarLike "DESTDIR=") (DQ ($ VSub_Name "$pkgdir"))} {(Lit_VarLike "prefix=") (/usr)} {(Lit_VarLike "libexec=") (/usr/lib)} {(-C)} {(contrib/slapd-modules/mqtt)} {(install)} ) (ControlFlow token: arg_word:{(1)}) ] op_id: Op_DPipe ) (AndOr children: [ (C {(make)} {(Lit_VarLike "DESTDIR=") (DQ ($ VSub_Name "$pkgdir"))} {(Lit_VarLike "prefix=") (/usr)} {(Lit_VarLike "libexecdir=") (/usr/lib)} {(-C)} {(contrib/slapd-modules/passwd/pbkdf2)} {(install)} ) (ControlFlow token: arg_word:{(1)}) ] op_id: Op_DPipe ) ] spids: [450] ) spids: [446 449] ) (FuncDef name: libldap body: (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pkgdesc) op: Equal rhs: {(DQ ("OpenLDAP libraries"))} spids: [774] ) ] spids: [774] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:depends) op:Equal rhs:{(SQ )} spids:[780])] spids: [780] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:install) op:Equal rhs:{(SQ )} spids:[783])] spids: [783] ) (C {(mkdir)} {(-p)} {(DQ ($ VSub_Name "$subpkgdir")) (/usr/lib)} {(DQ ($ VSub_Name "$subpkgdir")) (/etc/openldap)} ) (C {(mv)} {(DQ ($ VSub_Name "$pkgdir")) (/usr/lib/) (Lit_Other "*") (.so) (Lit_Other "*")} {(DQ ($ VSub_Name "$subpkgdir")) (/usr/lib/)} ) (C {(mv)} {(DQ ($ VSub_Name "$pkgdir")) (/etc/openldap/ldap.conf)} {(DQ ($ VSub_Name "$subpkgdir")) (/etc/openldap/)} ) ] spids: [771] ) spids: [767 770] ) (FuncDef name: _backend body: (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pkgdesc) op: Equal rhs: { (DQ ("OpenLDAP ") (BracedVarSub token: suffix_op: (StringUnary op_id: VTest_ColonHyphen arg_word: {($ VSub_Number "$1")} ) spids: [842 846] ) (" backend") ) } spids: [839] ) ] spids: [839] ) (C {(mkdir)} {(-p)} {(DQ ($ VSub_Name "$subpkgdir")) (/usr/lib/openldap)}) (C {(mv)} {(DQ ($ VSub_Name "$pkgdir")) (/usr/lib/openldap/back_) ($ VSub_Number "$1") (Lit_Other "*") } {(DQ ($ VSub_Name "$subpkgdir")) (/usr/lib/openldap/)} ) ] spids: [836] ) spids: [832 835] ) (FuncDef name: bdb body: (BraceGroup children: [(Sentence child:(C {(_backend)} {(bdb)}) terminator:)] spids: [882] ) spids: [878 881] ) (FuncDef name: hdb body: (BraceGroup children: [(Sentence child:(C {(_backend)} {(hdb)}) terminator:)] spids: [896] ) spids: [892 895] ) (FuncDef name: sql body: (BraceGroup children: [(Sentence child:(C {(_backend)} {(sql)} {(ODBC)}) terminator:)] spids: [910] ) spids: [906 909] ) (FuncDef name: ldap body: (BraceGroup children: [(Sentence child:(C {(_backend)} {(ldap)} {(LDAP)}) terminator:)] spids: [925] ) spids: [921 924] ) (FuncDef name: meta body: (BraceGroup children: [(Sentence child:(C {(_backend)} {(meta)}) terminator:)] spids: [940] ) spids: [936 939] ) (FuncDef name: monitor body: (BraceGroup children: [(Sentence child:(C {(_backend)} {(monitor)}) terminator:)] spids: [953] ) spids: [949 952] ) (FuncDef name: clients body: (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pkgdesc) op: Equal rhs: {(DQ ("LDAP client utilities"))} spids: [970] ) ] spids: [970] ) (C {(mkdir)} {(-p)} {(DQ ($ VSub_Name "$subpkgdir")) (/usr)}) (C {(mv)} {(DQ ($ VSub_Name "$pkgdir")) (/usr/bin)} {(DQ ($ VSub_Name "$subpkgdir")) (/usr/)} ) ] spids: [967] ) spids: [963 966] ) (FuncDef name: mqtt body: (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pkgdesc) op: Equal rhs: {(DQ ("OpenLDAP MQTT overlay"))} spids: [1008] ) ] spids: [1008] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:depends) op: Equal rhs: {($ VSub_Name "$pkgname")} spids: [1014] ) ] spids: [1014] ) (C {(mkdir)} {(-p)} {(DQ ($ VSub_Name "$subpkgdir")) (/usr/lib/openldap)}) (AndOr children: [ (C {(mv)} {(DQ ($ VSub_Name "$pkgdir")) (/usr/lib/openldap/mqtt.) (Lit_Other "*")} {(DQ ($ VSub_Name "$subpkgdir")) (/usr/lib/openldap)} ) (ControlFlow token: arg_word:{(1)}) ] op_id: Op_DPipe ) ] spids: [1005] ) spids: [1001 1004] ) (FuncDef name: passwd_pbkdf2 body: (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pkgdesc) op: Equal rhs: {(DQ ("PBKDF2 OpenLDAP support"))} spids: [1057] ) ] spids: [1057] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:depends) op: Equal rhs: {($ VSub_Name "$pkgname")} spids: [1063] ) ] spids: [1063] ) (C {(mkdir)} {(-p)} {(DQ ($ VSub_Name "$subpkgdir")) (/usr/lib/openldap)}) (AndOr children: [ (C {(mv)} {(DQ ($ VSub_Name "$pkgdir")) (/usr/lib/openldap/pw-pbkdf2.) (Lit_Other "*")} {(DQ ($ VSub_Name "$subpkgdir")) (/usr/lib/openldap)} ) (ControlFlow token: arg_word:{(1)}) ] op_id: Op_DPipe ) ] spids: [1054] ) spids: [1050 1053] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sha512sums) op: Equal rhs: { (DQ ( "132eb81798f59a364c9246d08697e1c7ebb6c2c3b983f786b14ec0233df09696cbad33a1f35f3076348b5efb77665a076ab854a24122c31e8b58310b7c7fd136 openldap-2.4.44.tgz\n" ) ( "5d34d49eabe7cb66cf8284cc3bd9730fa23df4932df68549e242d250ee50d40c434ae074ebc720d5fbcd9d16587c9333c5598d30a5f1177caa61461ab7771f38 openldap-2.4-ppolicy.patch\n" ) ( "44d97efb25d4f39ab10cd5571db43f3bfa7c617a5bb087085ae16c0298aca899b55c8742a502121ba743a73e6d77cd2056bc96cee63d6d0862dabc8fb5574357 openldap-2.4.11-libldap_r.patch\n" ) ( "d94f791ff3d10f1fe244a6a071331d6dd5933ed859e1cf9465654e650ff7223eedad5f054ad77de2ad4dbbd0b4a2cfda970ad733baaa833183aee996216bdbf1 bdb-enabled-by-default.patch\n" ) ( "9c7f41279e91ed995c91e9a8c543c797d9294a93cf260afdc03ab5777e45ed045a4d6a4d4d0180b5dc387dc04babca01d818fbfa8168309df44f4500d2a430a4 openldap-mqtt-overlay.patch\n" ) ( "e81417c5df06148ddc6c4458c63349045b750b0f5ca981f92596777996114480301bc0ae62eb82a2cc242a025f53de3174efef5e3c28a54a94ccee773435a42a CVE-2017-9287.patch\n" ) ( "1a5490a29a2be8382a64d3d07a36906d2189571f4c44d8ad96b769db58d91a33b2eee24fe10343ec26440fa61cfd406c4e95153dce29c2f315d1f13f5b0f47e8 slapd.initd\n" ) ( "8290769b63b3a5863622de2deb9269a0711ba5f4a225eb230d7c5097937b9d4e8cf5a998ee99232824e2335ae1b6e0114357b61c9611bc2460ebd195d12eabae slapd.confd\n" ) ( "c8bffecdbd09583bec7720b5f6a5b9680b0eae055fd63f10736cf2fe25378b95acddf910e60f6408c9637a3fe48050299cfb500a6bc9a95a0ef135d5a4c4d5f9 slurpd.initd" ) ) } spids: [1099] ) ] spids: [1099] ) ] )