Blame snap/snapcraft.yaml

Packit c22fc9
name: keepalived
Packit c22fc9
adopt-info: keepalived
Packit c22fc9
summary: High availability VRRP and load-balancing for Linux
Packit c22fc9
description: |
Packit c22fc9
  Keepalived provides simple and robust loadbalancing and high-availability
Packit c22fc9
  to Linux based infrastructures using VRRP and the well-known Linux Virtual
Packit c22fc9
  Server (IPVS) kernel module.
Packit c22fc9
Packit c22fc9
grade: stable
Packit c22fc9
confinement: classic
Packit c22fc9
Packit c22fc9
apps:
Packit c22fc9
  daemon:
Packit c22fc9
    daemon: forking
Packit c22fc9
    command: bin/keepalived-wrapper
Packit c22fc9
  keepalived:
Packit c22fc9
    command: bin/keepalived-wrapper
Packit c22fc9
  "418":
Packit c22fc9
    command: usr/sbin/keepalived-418
Packit c22fc9
  "415":
Packit c22fc9
    command: usr/sbin/keepalived-415
Packit c22fc9
  "404":
Packit c22fc9
    command: usr/sbin/keepalived-404
Packit c22fc9
  "313":
Packit c22fc9
    command: usr/sbin/keepalived-313
Packit c22fc9
  "310":
Packit c22fc9
    command: usr/sbin/keepalived-310
Packit c22fc9
  genhash:
Packit c22fc9
    command: usr/bin/genhash
Packit c22fc9
Packit c22fc9
parts:
Packit c22fc9
  keepalived:
Packit c22fc9
    plugin: autotools
Packit c22fc9
    source: .
Packit c22fc9
    source-type: git
Packit c22fc9
    configflags:
Packit c22fc9
      - --prefix=/usr
Packit c22fc9
      - --enable-bfd
Packit c22fc9
      - --enable-dbus
Packit c22fc9
      - --enable-json
Packit c22fc9
      - --enable-regex
Packit c22fc9
      - --enable-snmp
Packit c22fc9
      - --enable-snmp-rfc
Packit c22fc9
      - --disable-libipset-dynamic
Packit c22fc9
    override-build: |
Packit c22fc9
      snapcraftctl build
Packit c22fc9
      VER=$(grep GIT_COMMIT lib/git-commit.h | cut -d'"' -f2)
Packit c22fc9
      snapcraftctl set-version $VER
Packit c22fc9
    build-packages:
Packit c22fc9
      - iptables-dev
Packit c22fc9
      - libipset-dev
Packit c22fc9
      - libjson-c-dev
Packit c22fc9
      - libglib2.0-dev
Packit c22fc9
      - libmagic-dev
Packit c22fc9
      - libnl-3-dev
Packit c22fc9
      - libnl-genl-3-dev
Packit c22fc9
      - libnfnetlink-dev
Packit c22fc9
      - libpcre2-dev
Packit c22fc9
      - libsnmp-dev
Packit c22fc9
      - libssl-dev
Packit c22fc9
    stage-packages:
Packit c22fc9
      - libnfnetlink0
Packit c22fc9
      - libipset3
Packit c22fc9
      - libjson-c2
Packit c22fc9
      - libglib2.0-0
Packit c22fc9
      - libmagic1
Packit c22fc9
      - libnl-3-200
Packit c22fc9
      - libnl-genl-3-200
Packit c22fc9
      - libpcre2-8-0
Packit c22fc9
      - libsnmp30
Packit c22fc9
    organize:
Packit c22fc9
      'usr/sbin/keepalived': usr/sbin/keepalived-404
Packit c22fc9
Packit c22fc9
  linux-headers-418:
Packit c22fc9
    plugin: dump
Packit c22fc9
    source: http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_4.18.0-10.11_amd64.deb
Packit c22fc9
    after:
Packit c22fc9
      - keepalived
Packit c22fc9
    override-build: |
Packit c22fc9
      snapcraftctl build
Packit c22fc9
      # Move the headers on the host out of the way
Packit c22fc9
      rm -rf /usr/include/linux || true
Packit c22fc9
      # Move header from the part to the host
Packit c22fc9
      mv usr/include/linux /usr/include/  || true
Packit c22fc9
    stage:
Packit c22fc9
      - -*
Packit c22fc9
    prime:
Packit c22fc9
      - -*
Packit c22fc9
Packit c22fc9
  keepalived-418:
Packit c22fc9
    plugin: autotools
Packit c22fc9
    source: .
Packit c22fc9
    source-type: git
Packit c22fc9
    after:
Packit c22fc9
      - keepalived
Packit c22fc9
      - linux-headers-418
Packit c22fc9
    configflags:
Packit c22fc9
      - --prefix=/usr
Packit c22fc9
      - --enable-bfd
Packit c22fc9
      - --enable-dbus
Packit c22fc9
      - --enable-json
Packit c22fc9
      - --enable-regex
Packit c22fc9
      - --enable-snmp
Packit c22fc9
      - --enable-snmp-rfc
Packit c22fc9
      - --disable-libipset-dynamic
Packit c22fc9
    organize:
Packit c22fc9
      'usr/sbin/keepalived': usr/sbin/keepalived-418
Packit c22fc9
    stage:
Packit c22fc9
      - usr/sbin/keepalived-418
Packit c22fc9
    prime:
Packit c22fc9
      - usr/sbin/keepalived-418
Packit c22fc9
Packit c22fc9
  linux-headers-415:
Packit c22fc9
    plugin: dump
Packit c22fc9
    source: http://launchpadlibrarian.net/394599433/linux-libc-dev_4.15.0-39.42_amd64.deb
Packit c22fc9
    after:
Packit c22fc9
      - keepalived-418
Packit c22fc9
    override-build: |
Packit c22fc9
      snapcraftctl build
Packit c22fc9
      # Move the headers on the host out of the way
Packit c22fc9
      rm -rf /usr/include/linux || true
Packit c22fc9
      # Move header from the part to the host
Packit c22fc9
      mv usr/include/linux /usr/include/  || true
Packit c22fc9
    stage:
Packit c22fc9
      - -*
Packit c22fc9
    prime:
Packit c22fc9
      - -*
Packit c22fc9
Packit c22fc9
  keepalived-415:
Packit c22fc9
    plugin: autotools
Packit c22fc9
    source: .
Packit c22fc9
    source-type: git
Packit c22fc9
    after:
Packit c22fc9
      - keepalived-418
Packit c22fc9
      - linux-headers-415
Packit c22fc9
    configflags:
Packit c22fc9
      - --prefix=/usr
Packit c22fc9
      - --enable-bfd
Packit c22fc9
      - --enable-dbus
Packit c22fc9
      - --enable-json
Packit c22fc9
      - --enable-regex
Packit c22fc9
      - --enable-snmp
Packit c22fc9
      - --enable-snmp-rfc
Packit c22fc9
      - --disable-libipset-dynamic
Packit c22fc9
    organize:
Packit c22fc9
      'usr/sbin/keepalived': usr/sbin/keepalived-415
Packit c22fc9
    stage:
Packit c22fc9
      - usr/sbin/keepalived-415
Packit c22fc9
    prime:
Packit c22fc9
      - usr/sbin/keepalived-415
Packit c22fc9
Packit c22fc9
Packit c22fc9
  linux-headers-313:
Packit c22fc9
    plugin: dump
Packit c22fc9
    source: http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_3.13.0-161.211_amd64.deb
Packit c22fc9
    after:
Packit c22fc9
      - keepalived-415
Packit c22fc9
    override-build: |
Packit c22fc9
      snapcraftctl build
Packit c22fc9
      # Move the headers on the host out of the way
Packit c22fc9
      rm -rf /usr/include/linux || true
Packit c22fc9
      # Move header from the part to the host
Packit c22fc9
      mv usr/include/linux /usr/include/  || true
Packit c22fc9
    stage:
Packit c22fc9
      - -*
Packit c22fc9
    prime:
Packit c22fc9
      - -*
Packit c22fc9
Packit c22fc9
  keepalived-313:
Packit c22fc9
    plugin: autotools
Packit c22fc9
    source: .
Packit c22fc9
    source-type: git
Packit c22fc9
    after:
Packit c22fc9
      - keepalived-415
Packit c22fc9
      - linux-headers-313
Packit c22fc9
    configflags:
Packit c22fc9
      - --prefix=/usr
Packit c22fc9
      - --enable-bfd
Packit c22fc9
      - --enable-dbus
Packit c22fc9
      - --enable-json
Packit c22fc9
      - --enable-regex
Packit c22fc9
      - --enable-snmp
Packit c22fc9
      - --enable-snmp-rfc
Packit c22fc9
      - --disable-libipset-dynamic
Packit c22fc9
    organize:
Packit c22fc9
      'usr/sbin/keepalived': usr/sbin/keepalived-313
Packit c22fc9
    stage:
Packit c22fc9
      - usr/sbin/keepalived-313
Packit c22fc9
    prime:
Packit c22fc9
      - usr/sbin/keepalived-313
Packit c22fc9
Packit c22fc9
  linux-headers-310:
Packit c22fc9
    plugin: dump
Packit c22fc9
    source: http://launchpadlibrarian.net/144719237/linux-libc-dev_3.10.0-2.11_amd64.deb
Packit c22fc9
    after:
Packit c22fc9
      - keepalived-313
Packit c22fc9
    override-build: |
Packit c22fc9
      snapcraftctl build
Packit c22fc9
      # Move the headers on the host out of the way
Packit c22fc9
      rm -rf /usr/include/linux || true
Packit c22fc9
      # Move header from the part to the host
Packit c22fc9
      mv usr/include/linux /usr/include/  || true
Packit c22fc9
    stage:
Packit c22fc9
      - -*
Packit c22fc9
    prime:
Packit c22fc9
      - -*
Packit c22fc9
Packit c22fc9
  keepalived-310:
Packit c22fc9
    plugin: autotools
Packit c22fc9
    source: .
Packit c22fc9
    source-type: git
Packit c22fc9
    after:
Packit c22fc9
      - keepalived-313
Packit c22fc9
      - linux-headers-310
Packit c22fc9
    configflags:
Packit c22fc9
      - --prefix=/usr
Packit c22fc9
      - --enable-bfd
Packit c22fc9
      - --enable-dbus
Packit c22fc9
      - --enable-json
Packit c22fc9
      - --enable-regex
Packit c22fc9
      - --enable-snmp
Packit c22fc9
      - --enable-snmp-rfc
Packit c22fc9
      - --disable-libipset-dynamic
Packit c22fc9
    organize:
Packit c22fc9
      'usr/sbin/keepalived': usr/sbin/keepalived-310
Packit c22fc9
    stage:
Packit c22fc9
      - usr/sbin/keepalived-310
Packit c22fc9
    prime:
Packit c22fc9
      - usr/sbin/keepalived-310
Packit c22fc9
Packit c22fc9
  keepalived-wrapper:
Packit c22fc9
    plugin: dump
Packit c22fc9
    source: snap-tools
Packit c22fc9
    organize:
Packit c22fc9
      'keepalived-wrapper': bin/