Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions artifacts/definitions/Server/Utils/CreateLinuxPackages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ parameters:
type: yaml
- name: ServiceName
description: Customize the service name
- name: Release
description: Customize the release version
- name: Maintainer
description: Customize the maintainer
- name: MaintainerEmail
Expand Down Expand Up @@ -56,8 +58,8 @@ sources:
{"Name": "{{ .SysvService }}",
"Vendor": "%v",
"Version": "{{ .Version }}",
"Release": "{{ .Release}}",
"Arch": "{{.Arch}}",
"Release": "{{ .Release }}",
"Arch": "{{ .Arch }}",
"BuildTime": "%v"
}
''', args=[Vendor, timestamp(epoch=now())])))
Expand All @@ -67,6 +69,7 @@ sources:

LET UpdateExpansion(Expansion) = Expansion + dict(
Name=ServiceName || Expansion.Name,
Release=Release || Expansion.Release,
SysvService=ServiceName || Expansion.SysvService,
Maintainer=Maintainer || Expansion.Maintainer,
MaintainerEmail=MaintainerEmail || Expansion.MaintainerEmail,
Expand All @@ -88,6 +91,7 @@ sources:
directory_name=TmpDir,
package_spec=RPMSpec +
dict(Expansion=UpdateExpansion(Expansion=RPMSpec.Expansion)),
release=Release || RPMSpec.Expansion.Release,
config=serialize(item=client_config, format="yaml"))
})

Expand Down
1 change: 1 addition & 0 deletions vql/tools/packaging/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,7 @@ func NewClientRPMSpec() *PackageSpec {
Templates: RPMClientTemplate,
Expansion: TemplateExpansion{
Name: "velociraptor-client",
Release: "A",
Maintainer: "Velocidex Enterprises",
MaintainerEmail: "support@velocidex.com",
Homepage: "https://www.velocidex.com",
Expand Down
Loading