(command.CommandList children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pkgname) op: assign_op.Equal rhs: {<icingaweb2-module-fileshipper>} spids: [6] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:_module) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name pkgname> suffix_op: (suffix_op.PatSub pat:{<'*-'>} replace:{} replace_mode:Id.Undefined_Tok) ) } spids: [9] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pkgver) op: assign_op.Equal rhs: {<1.0.0>} spids: [17] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pkgrel) op: assign_op.Equal rhs: {<1>} spids: [20] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pkgdesc) op: assign_op.Equal rhs: { (DQ < 'Provide CSV, JSON, XML and YAML files as an Import Source for the Icinga Director' > ) } spids: [23] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:url) op: assign_op.Equal rhs: {(DQ <'http://www.icinga.org'>)} spids: [28] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:arch) op: assign_op.Equal rhs: {(DQ <'noarch !armhf'>)} spids: [33] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:license) op: assign_op.Equal rhs: {(DQ <GPL2>)} spids: [38] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:_php) op: assign_op.Equal rhs: {<php7>} spids: [43] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:depends) op: assign_op.Equal rhs: {(DQ <'icingaweb2-module-director '> (${ Id.VSub_Name _php) <-xml>)} spids: [46] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pkggroups) op: assign_op.Equal rhs: {(DQ <icingaweb2>)} spids: [55] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:subpackages) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$pkgname') <-doc>)} spids: [60] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:source) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$pkgname') <-> ($ Id.VSub_DollarName '$pkgver') <'.tar.gz::https://github.com/Icinga/'> ($ Id.VSub_DollarName '$pkgname') <'/archive/v'> ($ Id.VSub_DollarName '$pkgver') <.tar.gz> ) } spids: [66] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:builddir) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$srcdir') <'/'> ($ Id.VSub_DollarName '$pkgname') <-> ($ Id.VSub_DollarName '$pkgver') ) } spids: [78] ) ] ) (command.ShFunction name: build body: (BraceGroup children: [ (C {<cd>} {(DQ ($ Id.VSub_DollarName '$builddir'))}) (command.ControlFlow token:<Id.ControlFlow_Return return> arg_word:{<0>}) ] ) ) (command.ShFunction name: package body: (BraceGroup children: [ (C {<cd>} {(DQ ($ Id.VSub_DollarName '$builddir'))}) (C {<mkdir>} {<-p>} { (DQ ($ Id.VSub_DollarName '$pkgdir') <'/etc/icingaweb2/modules/'> ($ Id.VSub_DollarName '$_module') ) } ) (C {<mkdir>} {<-p>} { (DQ ($ Id.VSub_DollarName '$pkgdir') <'/usr/share/doc/'> ($ Id.VSub_DollarName '$pkgname') ) } ) (C {<mkdir>} {<-p>} { (DQ ($ Id.VSub_DollarName '$pkgdir') <'/usr/share/webapps/icingaweb2/modules/'> ($ Id.VSub_DollarName '$_module') ) } ) (C {<cp>} {<-a>} {<library>} {<module.info>} {<run.php>} { (DQ ($ Id.VSub_DollarName '$pkgdir') <'/usr/share/webapps/icingaweb2/modules/'> ($ Id.VSub_DollarName '$_module') ) } ) (C {<cp>} {<-a>} {<doc>} { (DQ ($ Id.VSub_DollarName '$pkgdir') <'/usr/share/doc/'> ($ Id.VSub_DollarName '$pkgname') ) } ) (C {<chgrp>} {<-R>} {($ Id.VSub_DollarName '$pkggroups')} { (DQ ($ Id.VSub_DollarName '$pkgdir') <'/etc/icingaweb2/modules/'> ($ Id.VSub_DollarName '$_module') ) } ) (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {(DQ ($ Id.VSub_DollarName '$pkgdir')) <'/usr/share/doc/'> ($ Id.VSub_DollarName '$pkgname') <'/README.alpine'> } ) (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.MultiLine here_begin: {<EOF>} here_end_span_id: 244 stdin_parts: [ <'You need to fix /etc/icingaweb2/modules/'> ($ Id.VSub_DollarName '$_module') <' with the owner of the user of your webserver\n'> <'\n'> <'For nginx, as example:\n'> <' # chown -R nginx /etc/icingaweb2/modules/'> ($ Id.VSub_DollarName '$_module') <'\n'> <'or\n'> <' # chown -R nobody /etc/icingaweb2/modules/'> ($ Id.VSub_DollarName '$_module') <'\n'> <'\n'> <'For Apache:\n'> <' # chown -R apache /etc/icingaweb2/modules/'> ($ Id.VSub_DollarName '$_module') <'\n'> <'\n'> <'For lighttpd:\n'> <' # chown -R lighttpd /etc/icingaweb2/modules/'> ($ Id.VSub_DollarName '$_module') <'\n'> <'\n'> <'Remember to enable the module with:\n'> <'\n'> <' # icingacli module enable '> ($ Id.VSub_DollarName '$_module') <'\n'> <'\n'> ] ) ) ] do_fork: T ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:md5sums) op: assign_op.Equal rhs: {(DQ <'ad53558be08e7953c9533772dbff1311 icingaweb2-module-fileshipper-1.0.0.tar.gz'>)} spids: [249] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:sha256sums) op: assign_op.Equal rhs: { (DQ < 'ccaaf02022ffc3769aafaeec397675b41cf06801540d6901c4f086e4e3d95d9b icingaweb2-module-fileshipper-1.0.0.tar.gz' > ) } spids: [254] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:sha512sums) op: assign_op.Equal rhs: { (DQ < '05c1a6d1313edd795aae1adbe4b21027ff03e4a5bcdb8555ade7c79b9e1cd2e7fa510cd3b2e76b0e7b0ca6e32f6ad6b4763b911038d32de95e305637b3e2aafa icingaweb2-module-fileshipper-1.0.0.tar.gz' > ) } spids: [259] ) ] ) ] )