(CommandList children: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgname) op:Equal rhs:{(icinga2)} spids:[6])] spids: [6] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgver) op:Equal rhs:{(2.7.1)} spids:[9])] spids: [9] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgrel) op:Equal rhs:{(0)} spids:[12])] spids: [12] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pkgdesc) op: Equal rhs: {(DQ ("An open source host, service and network monitoring program"))} spids: [15] ) ] spids: [15] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:url) op: Equal rhs: {(DQ ("http://www.icinga.org"))} spids: [20] ) ] spids: [20] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:arch) op:Equal rhs:{(DQ ("all !armhf"))} spids:[25])] spids: [25] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:license) op:Equal rhs:{(DQ (GPL))} spids:[30])] spids: [30] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:depends) op: Equal rhs: {(DQ (monitoring-plugins))} spids: [35] ) ] spids: [35] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:makedepends) op: Equal rhs: { (DQ ($ VSub_Name "$depends_dev") (" cmake bison flex boost-dev yajl-dev\n") ("\tpostgresql-dev mariadb-dev libressl-dev libedit-dev") ) } spids: [40] ) ] spids: [40] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:install) op: Equal rhs: { (DQ ($ VSub_Name "$pkgname") (".pre-install ") ($ VSub_Name "$pkgname") (.post-install)) } spids: [47] ) ] spids: [47] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgusers) op:Equal rhs:{(DQ (icinga))} spids:[55])] spids: [55] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pkggroups) op: Equal rhs: {(DQ ("icinga icingacmd"))} spids: [60] ) ] spids: [60] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:subpackages) op: Equal rhs: { (DQ ($ VSub_Name "$pkgname") ("-doc ") ($ VSub_Name "$pkgname") ("-bash-completion:bashcomp:noarch ") ($ VSub_Name "$pkgname") ("-vim::noarch") ) } spids: [65] ) ] spids: [65] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:source) op: Equal rhs: { (DQ ($ VSub_Name "$pkgname") (-) ($ VSub_Name "$pkgver") (".tar.gz::https://github.com/Icinga/") ($ VSub_Name "$pkgname") (/archive/v) ($ VSub_Name "$pkgver") (".tar.gz\n") ("\t") ($ VSub_Name "$pkgname") (.initd) ) } spids: [75] ) ] spids: [75] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:builddir) op: Equal rhs: {(DQ ($ VSub_Name "$srcdir") (/) ($ VSub_Name "$pkgname") (-) ($ VSub_Name "$pkgver"))} spids: [91] ) ] spids: [91] ) (FuncDef name: prepare body: (BraceGroup children: [ (C {(cd)} {(DQ ($ VSub_Name "$builddir"))}) (C {(rm)} {(-r)} {(third-party/yajl)}) (C {(mkdir)} {(-p)} {(build)}) (C {(default_prepare)}) ] spids: [105] ) spids: [101 104] ) (FuncDef name: check body: (BraceGroup children: [(C {(cd)} {(DQ ($ VSub_Name "$builddir"))}) (C {(make)} {(test)})] spids: [138] ) spids: [134 137] ) (FuncDef name: build body: (BraceGroup children: [ (C {(cd)} {(DQ ($ VSub_Name "$builddir")) (/build)}) (C {(cmake)} {(DQ ($ VSub_Name "$srcdir") (/) ($ VSub_Name "$pkgname") (-) ($ VSub_Name "$pkgver"))} {(-DCMAKE_BUILD_TYPE) (Lit_Other "=") (None)} {(-DICINGA2_GIT_VERSION_INFO) (Lit_Other "=") (OFF)} {(-DICINGA2_UNITY_BUILD) (Lit_Other "=") (FALSE)} {(-DCMAKE_INSTALL_PREFIX) (Lit_Other "=") (/usr)} {(-DCMAKE_INSTALL_SYSCONFDIR) (Lit_Other "=") (/etc)} {(-DICINGA2_RUNDIR) (Lit_Other "=") (/run)} {(-DCMAKE_INSTALL_SBINDIR) (Lit_Other "=") (/usr/sbin)} {(-DCMAKE_INSTALL_LIBDIR) (Lit_Other "=") (/usr/lib)} {(-DCMAKE_INSTALL_LOCALSTATEDIR) (Lit_Other "=") (/var)} {(-DICINGA2_SYSCONFIGFILE) (Lit_Other "=") (/etc/icinga2)} {(-DICINGA2_PLUGINDIR) (Lit_Other "=") (/usr/lib/monitoring-plugins)} {(-DICINGA2_USER) (Lit_Other "=") (icinga)} {(-DICINGA2_GROUP) (Lit_Other "=") (icingacmd)} {(-DICINGA2_COMMAND_GROUP) (Lit_Other "=") (icingacmd)} {(-DINSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT) (Lit_Other "=") (no)} ) (C {(make)}) ] spids: [159] ) spids: [155 158] ) (FuncDef name: package body: (BraceGroup children: [ (C {(cd)} {(DQ ($ VSub_Name "$builddir")) (/build)}) (C {(make)} {(Lit_VarLike "DESTDIR=") (DQ ($ VSub_Name "$pkgdir"))} {(install)}) (C {(mv)} {(DQ ($ VSub_Name "$pkgdir") (/etc/icinga2/conf.d))} {(DQ ($ VSub_Name "$pkgdir") (/etc/icinga2/conf.d.example))} ) (C {(mkdir)} {(DQ ($ VSub_Name "$pkgdir") (/etc/icinga2/conf.d))}) (C {(rm)} {(DQ ($ VSub_Name "$pkgdir") (/etc/icinga2/features-enabled/checker.conf))}) (C {(rm)} {(DQ ($ VSub_Name "$pkgdir") (/etc/icinga2/features-enabled/mainlog.conf))}) (C {(rm)} {(DQ ($ VSub_Name "$pkgdir") (/etc/icinga2/features-enabled/notification.conf))}) (C {(rm)} {(-r)} {(DQ ($ VSub_Name "$pkgdir") (/run))}) (C {(mkdir)} {(-p)} {(DQ ($ VSub_Name "$pkgdir") (/usr/lib/tmpfiles.d))}) (SimpleCommand words: [{(cat)}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(DQ ($ VSub_Name "$pkgdir") (/usr/lib/tmpfiles.d/icinga2.conf))} spids: [368] ) (HereDoc op_id: Redir_DLessDash fd: -1 body: { (DQ ("d /run/icinga2 0750 icinga icingacmd -\n") ("d /run/icinga2/cmd 2750 icinga icingacmd -\n") ) } do_expansion: True here_end: EOF was_filled: True spids: [375] ) ] ) (C {(cd)} {(..)}) (C {(install)} {(-Dm644)} {(tools/syntax/vim/ftdetect/icinga2.vim)} {(DQ ($ VSub_Name "$pkgdir") (/usr/share/vim/vimfiles/ftdetect/icinga2.vim))} ) (C {(install)} {(-Dm644)} {(tools/syntax/vim/syntax/icinga2.vim)} {(DQ ($ VSub_Name "$pkgdir") (/usr/share/vim/vimfiles/syntax/icinga2.vim))} ) (C {(install)} {(-Dm644)} {(tools/syntax/nano/icinga2.nanorc)} {(DQ ($ VSub_Name "$pkgdir") (/usr/share/nano/icinga2.nanorc))} ) (C {(chmod)} {(750)} {(DQ ($ VSub_Name "$pkgdir") (/etc/icinga2))} {(DQ ($ VSub_Name "$pkgdir") (/var/lib/icinga2))} {(DQ ($ VSub_Name "$pkgdir") (/var/spool/icinga2))} {(DQ ($ VSub_Name "$pkgdir") (/var/cache/icinga2))} {(DQ ($ VSub_Name "$pkgdir") (/var/log/icinga2))} ) (C {(rm)} {(DQ ($ VSub_Name "$pkgdir")) (/etc/init.d/) ($ VSub_Name "$pkgname")}) (C {(chown)} {(-R)} {(icinga) (Lit_Other ":") (icinga)} {(DQ ($ VSub_Name "$pkgdir")) (/etc/icinga2)} ) (C {(chown)} {(-R)} {(icinga) (Lit_Other ":") (icinga)} {(DQ ($ VSub_Name "$pkgdir")) (/var/lib/icinga2)} ) (C {(chown)} {(icinga) (Lit_Other ":") (icinga)} {(DQ ($ VSub_Name "$pkgdir")) (/var/spool/icinga2)} ) (C {(chown)} {(-R)} {(icinga) (Lit_Other ":") (icingacmd)} {(DQ ($ VSub_Name "$pkgdir")) (/var/cache/icinga2)} ) (C {(chown)} {(-R)} {(icinga) (Lit_Other ":") (icingacmd)} {(DQ ($ VSub_Name "$pkgdir")) (/var/log/icinga2)} ) (C {(install)} {(-Dm755)} {(DQ ($ VSub_Name "$srcdir")) (/) ($ VSub_Name "$pkgname") (.initd)} {(DQ ($ VSub_Name "$pkgdir")) (/etc/init.d/) ($ VSub_Name "$pkgname")} ) (SimpleCommand words: [{(cat)}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(DQ ($ VSub_Name "$pkgdir")) (/usr/share/doc/) ($ VSub_Name "$pkgname") (/README.alpine) } spids: [563] ) (HereDoc op_id: Redir_DLess fd: -1 body: { (DQ ("\n") ( "Add the web server user to the icingacmd group in order to grant it write\n" ) ("permissions to the external command pipe and livestatus socket:\n") ("\n") ("For nginx, as example:\n") (" # adduser nginx icingacmd\n") ("\n") ("For Apache:\n") (" # adduser apache icingacmd\n") ("\n") ("For lighttpd:\n") (" # adduser lighttpd icingacmd\n") ) } do_expansion: True here_end: EOF was_filled: True spids: [571] ) ] ) ] spids: [280] ) spids: [276 279] ) (FuncDef name: bashcomp body: (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:depends) op:Equal rhs:{(DQ (bash))} spids:[596])] spids: [596] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pkgdesc) op: Equal rhs: {(DQ ("Bash completions for ") ($ VSub_Name "$pkgname"))} spids: [602] ) ] spids: [602] ) (C {(mkdir)} {(-p)} {(DQ ($ VSub_Name "$subpkgdir")) (/usr/share/bash-completion/completions)} ) (C {(mv)} {(DQ ($ VSub_Name "$pkgdir")) (/etc/bash_completion.d/) ($ VSub_Name "$pkgname")} {(DQ ($ VSub_Name "$subpkgdir")) (/usr/share/bash-completion/completions/) ($ VSub_Name "$pkgname") } ) ] spids: [593] ) spids: [589 592] ) (FuncDef name: vim body: (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pkgdesc) op: Equal rhs: {(DQ ($ VSub_Name "$pkgdesc") (" (vim syntax)"))} spids: [644] ) ] spids: [644] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:depends) op:Equal rhs:{(SQ )} spids:[651])] spids: [651] ) (C {(mkdir)} {(-p)} {(DQ ($ VSub_Name "$subpkgdir")) (/usr/share/vim)}) (C {(cp)} {(-r)} {(DQ ($ VSub_Name "$builddir")) (/tools/syntax/vim)} {(DQ ($ VSub_Name "$subpkgdir")) (/usr/share/vim/vimfiles)} ) ] spids: [641] ) spids: [637 640] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sha512sums) op: Equal rhs: { (DQ ( "8233c33b7191706569a236d583fff689b35eba750fca01a06cfd14ef636b01314b6b142d78777987bd08a9df1cc53f42652fd1c900532b73f0a0363aa220c6cd icinga2-2.7.1.tar.gz\n" ) ( "f368ea15be7054503924696129fe6b413f9a5cb5344af89f9a0f84df98ac7ef8ab135de60845deced55a982b6b037ce1a00b437189c78fcab981d1e3babec2d5 icinga2.initd" ) ) } spids: [682] ) ] spids: [682] ) ] )