Skip to content

Commit

Permalink
[rules/tacacs.mk] Correct package dependencies to ensure successful b…
Browse files Browse the repository at this point in the history
…uilds (sonic-net#2180)
  • Loading branch information
jleveque authored and lguohan committed Oct 30, 2018
1 parent 2897686 commit f1947bd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions rules/tacacs.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,18 @@ PAM_TACPLUS_VERSION = 1.4.1-1

export PAM_TACPLUS_VERSION

LIBTAC2 = libtac2_$(PAM_TACPLUS_VERSION)_amd64.deb
$(LIBTAC2)_SRC_PATH = $(SRC_PATH)/tacacs/pam
SONIC_MAKE_DEBS += $(LIBTAC2)

LIBPAM_TACPLUS = libpam-tacplus_$(PAM_TACPLUS_VERSION)_amd64.deb
$(LIBPAM_TACPLUS)_RDEPENDS += $(LIBTAC2)
$(LIBPAM_TACPLUS)_SRC_PATH = $(SRC_PATH)/tacacs/pam
SONIC_MAKE_DEBS += $(LIBPAM_TACPLUS)
$(eval $(call add_extra_package,$(LIBTAC2),$(LIBPAM_TACPLUS)))

LIBTAC_DEV = libtac-dev_$(PAM_TACPLUS_VERSION)_amd64.deb
$(LIBTAC_DEV)_DEPENDS += $(LIBTAC2)
$(eval $(call add_derived_package,$(LIBTAC2),$(LIBTAC_DEV)))

LIBTAC2 = libtac2_$(PAM_TACPLUS_VERSION)_amd64.deb
$(eval $(call add_extra_package,$(LIBPAM_TACPLUS),$(LIBTAC2)))


# libnss-tacplus packages
Expand Down

0 comments on commit f1947bd

Please sign in to comment.