haproxy: add conflict to packages with SSL or without SSL support
authorJosef Schlehofer <redacted>
Sun, 6 Mar 2022 11:58:59 +0000 (12:58 +0100)
committerJosef Schlehofer <redacted>
Sun, 6 Mar 2022 12:06:44 +0000 (13:06 +0100)
Both packages provide the same packages and should conflict to each
other.

Fixes:
```
Packages 'haproxy' and 'haproxy-nossl' do not conflict while providing same file: /usr/sbin/haproxy
Packages 'haproxy' and 'haproxy-nossl' do not conflict while providing same file: /etc/haproxy.cfg
Packages 'haproxy' and 'haproxy-nossl' do not conflict while providing same file: /etc/init.d/haproxy
```

They should not be installed side by side.

Signed-off-by: Josef Schlehofer <redacted>
net/haproxy/Makefile

index cfd3562679a6f63d24f4e69be6c5aa173e2e96d5..d726b84542e175f9d3cac5e876b5511aae1992ca 100644 (file)
@@ -60,6 +60,7 @@ define Package/haproxy-nossl
   TITLE+=without SSL support
   VARIANT:=nossl
   DEPENDS+= +libpcre +libltdl +zlib +libpthread +liblua5.3 +libatomic
+  CONFLICTS:=haproxy
 endef
 
 define Package/haproxy-nossl/description
git clone https://git.99rst.org/PROJECT