Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung Nächste Überarbeitung Beide Seiten der Revision | ||
kb [2015/04/01 16:14] flacco [ISC DHCP mit ActiveDirectory] |
kb [2015/04/01 16:19] flacco [Paketbenennung und Konfliktverhalten] |
||
---|---|---|---|
Zeile 667: | Zeile 667: | ||
* invisdhcp-server | * invisdhcp-server | ||
* invisdhcp-client | * invisdhcp-client | ||
+ | * invisdhcp-relay | ||
+ | * invisdhcp-devel | ||
* invisdhcp-doc | * invisdhcp-doc | ||
Zeile 672: | Zeile 674: | ||
**Namensdefinition** | **Namensdefinition** | ||
+ | ab Zeile 35: | ||
<code> | <code> | ||
Name: invisdhcp | Name: invisdhcp | ||
Zeile 681: | Zeile 683: | ||
Source2: %{originname}.keyring | Source2: %{originname}.keyring | ||
</code> | </code> | ||
+ | |||
+ | Die Variable %originname musste hinzugefügt werden, da der Originalname weiterhin beim Paketbau benötigt wird. | ||
+ | |||
+ | **Conflict & Requires Direktiven** | ||
+ | ab Zeile 146 | ||
+ | <code> | ||
+ | Conflicts: dhcp | ||
+ | |||
+ | %package server | ||
+ | Summary: ISC DHCP Server | ||
+ | Group: Productivity/Networking/Boot/Servers | ||
+ | Requires: invisdhcp = %{version} | ||
+ | Requires: net-tools | ||
+ | Conflicts: dhcp-server | ||
+ | PreReq: %insserv_prereq %fillup_prereq /bin/cat /bin/mkdir /bin/cp /usr/sbin/useradd | ||
+ | |||
+ | %package client | ||
+ | Summary: ISC DHCP Client | ||
+ | Group: Productivity/Networking/Boot/Clients | ||
+ | Requires: /sbin/arping | ||
+ | Requires: /usr/bin/host | ||
+ | Requires: invisdhcp = %{version} | ||
+ | Requires: iproute2 | ||
+ | Requires: net-tools | ||
+ | Conflicts: dhcp-client | ||
+ | PreReq: %insserv_prereq %fillup_prereq /bin/cat /bin/mkdir /bin/cp /bin/grep | ||
+ | |||
+ | %package relay | ||
+ | Summary: ISC DHCP Relay Agent | ||
+ | Group: Productivity/Networking/Boot/Servers | ||
+ | Requires: invisdhcp = %{version} | ||
+ | Requires: net-tools | ||
+ | Conflicts: dhcp-relay | ||
+ | PreReq: %insserv_prereq %fillup_prereq /bin/cat /bin/mkdir /bin/cp | ||
+ | |||
+ | %package devel | ||
+ | Summary: Header Files and Libraries for dhcpctl API | ||
+ | Group: Development/Libraries/C and C++ | ||
+ | Requires: invisdhcp = %{version} | ||
+ | Conflicts: dhcp-devel | ||
+ | Conflicts: bind-devel | ||
+ | |||
+ | %if %{with_doc_package} | ||
+ | |||
+ | %package doc | ||
+ | Summary: Documentation | ||
+ | Conflicts: dhcp-doc | ||
+ | Group: Productivity/Networking/Boot/Servers | ||
+ | %endif | ||
+ | </code> | ||
+ | |||
+ | Wie gezeigt sind Anpassungen in allen Einzelpaketen erforderlich. Mittels Conflicts und Requires werden die erforderlichen Paketabhängigkeiten gelöst. |