Merge branch 'release/v0.1.5'
This commit is contained in:
commit
6a3eb45ec1
2 changed files with 6 additions and 3 deletions
|
@ -5,12 +5,12 @@ name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: alpine:latest
|
image: debian:12
|
||||||
environment:
|
environment:
|
||||||
PACKAGE_BASENAME: igmpgen_linux_amd64
|
PACKAGE_BASENAME: igmpgen_linux_amd64
|
||||||
commands:
|
commands:
|
||||||
- apk update
|
- apt-get update
|
||||||
- apk add cmake gcc g++ libnet libnet-dev debian-devscripts rpm make
|
- apt-get install -y cmake gcc g++ libnet1 libnet-dev rpm make
|
||||||
- make build
|
- make build
|
||||||
- make package
|
- make package
|
||||||
- mkdir -p /_cache/bin /_cache/packages
|
- mkdir -p /_cache/bin /_cache/packages
|
||||||
|
|
|
@ -55,6 +55,7 @@ set(CPACK_PACKAGE_VERSION_MAJOR "${igmpgen_VERSION_MAJOR}")
|
||||||
set(CPACK_PACKAGE_VERSION_MINOR "${igmpgen_VERSION_MINOR}")
|
set(CPACK_PACKAGE_VERSION_MINOR "${igmpgen_VERSION_MINOR}")
|
||||||
|
|
||||||
# CPack RPM specific settings
|
# CPack RPM specific settings
|
||||||
|
set(CPACK_RPM_FILE_NAME RPM-DEFAULT)
|
||||||
set(CPACK_RPM_PACKAGE_LICENSE "MIT")
|
set(CPACK_RPM_PACKAGE_LICENSE "MIT")
|
||||||
set(CPACK_RPM_PACKAGE_SUMMARY "IGMP Packet Generator")
|
set(CPACK_RPM_PACKAGE_SUMMARY "IGMP Packet Generator")
|
||||||
set(CPACK_RPM_PACKAGE_NAME "igmpgen")
|
set(CPACK_RPM_PACKAGE_NAME "igmpgen")
|
||||||
|
@ -64,8 +65,10 @@ set(CPACK_RPM_PACKAGE_ARCHITECTURE "x86_64")
|
||||||
set(CPACK_RPM_PACKAGE_GROUP "Network")
|
set(CPACK_RPM_PACKAGE_GROUP "Network")
|
||||||
set(CPACK_RPM_PACKAGE_VENDOR "Your Company/Organization")
|
set(CPACK_RPM_PACKAGE_VENDOR "Your Company/Organization")
|
||||||
set(CPACK_RPM_PACKAGE_DESCRIPTION "A tool for generating IGMP packets.")
|
set(CPACK_RPM_PACKAGE_DESCRIPTION "A tool for generating IGMP packets.")
|
||||||
|
set(CPACK_RPM_PACKAGE_LICENSE "LGPL-3.0-or-later")
|
||||||
|
|
||||||
# CPack DEB specific settings
|
# CPack DEB specific settings
|
||||||
|
set(CPACK_DEBIAN_FILE_NAME DEB-DEFAULT)
|
||||||
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Your Name <your-email@example.com>")
|
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Your Name <your-email@example.com>")
|
||||||
set(CPACK_DEBIAN_PACKAGE_NAME "igmpgen")
|
set(CPACK_DEBIAN_PACKAGE_NAME "igmpgen")
|
||||||
set(CPACK_DEBIAN_PACKAGE_VERSION "${igmpgen_VERSION}")
|
set(CPACK_DEBIAN_PACKAGE_VERSION "${igmpgen_VERSION}")
|
||||||
|
|
Loading…
Reference in a new issue