| 1 | NAME = mod_auth_kerb |
|---|
| 2 | VERSION = 5.4 |
|---|
| 3 | CATEGORIES = server |
|---|
| 4 | GARTYPE = v2 |
|---|
| 5 | |
|---|
| 6 | DESCRIPTION = Apache Kerberos authentication module |
|---|
| 7 | define BLURB |
|---|
| 8 | This is the Apache RADIUS authentication module. It allows any Apache web-server |
|---|
| 9 | to become a RADIUS client for authentication and accounting requests. You will, |
|---|
| 10 | however, need to supply your own RADIUS server to perform the actual authentication. |
|---|
| 11 | endef |
|---|
| 12 | |
|---|
| 13 | SF_PROJ = modauthkerb |
|---|
| 14 | MASTER_SITES = $(SF_MIRROR) |
|---|
| 15 | DISTFILES = $(NAME)-$(VERSION).tar.gz |
|---|
| 16 | |
|---|
| 17 | # Apply patch until this is fixed: |
|---|
| 18 | # https://sourceforge.net/tracker/?func=detail&atid=464524&aid=3172644&group_id=51775 |
|---|
| 19 | PATCHFILES += 0001-Fix-install-destination.patch |
|---|
| 20 | |
|---|
| 21 | VENDOR_URL = http://modauthkerb.sourceforge.net/ |
|---|
| 22 | LICENSE = LICENSE |
|---|
| 23 | |
|---|
| 24 | PACKAGES = CSWap2modauthkerb |
|---|
| 25 | CATALOGNAME = ap2_mod_auth_kerb |
|---|
| 26 | CHECKPKG_OVERRIDES_CSWap2modauthkerb += catalogname-does-not-match-pkgname|pkgname=CSWap2modauthkerb|catalogname=ap2_mod_auth_kerb|expected-catalogname=ap2modauthkerb |
|---|
| 27 | RUNTIME_DEP_PKGS_CSWap2modauthkerb += CSWlibcom-err3 |
|---|
| 28 | RUNTIME_DEP_PKGS_CSWap2modauthkerb += CSWlibkrb5-3 |
|---|
| 29 | RUNTIME_DEP_PKGS_CSWap2modauthkerb += CSWlibk5crypto3 |
|---|
| 30 | RUNTIME_DEP_PKGS_CSWap2modauthkerb += CSWlibgssapi-krb5-2 |
|---|
| 31 | RUNTIME_DEP_PKGS_CSWap2modauthkerb += CSWapache2 |
|---|
| 32 | CHECKPKG_OVERRIDES_CSWap2modauthkerb += surplus-dependency|CSWapache2 |
|---|
| 33 | |
|---|
| 34 | # Apache paths |
|---|
| 35 | AP2_ROOT = $(prefix)/apache2 |
|---|
| 36 | AP2_LIBEXEC = $(DESTDIR)$(AP2_ROOT)/libexec |
|---|
| 37 | |
|---|
| 38 | CONFIGURE_ARGS += $(DIRPATHS) |
|---|
| 39 | CONFIGURE_ARGS += --without-krb4 |
|---|
| 40 | CONFIGURE_ARGS += --with-krb5=$(prefix) |
|---|
| 41 | CONFIGURE_ARGS += --with-apache=$(prefix)/apache2 |
|---|
| 42 | |
|---|
| 43 | # The package does not provide a check |
|---|
| 44 | TEST_SCRIPTS = |
|---|
| 45 | |
|---|
| 46 | INSTALL_OVERRIDE_VARS = AP2_LIBEXEC |
|---|
| 47 | INSTALL_OVERRIDE_VAR_AP2_LIBEXEC = $(AP2_LIBEXEC) |
|---|
| 48 | |
|---|
| 49 | AP2_MODS = 1 |
|---|
| 50 | AP2_MODFILES += \*auth_kerb\*so |
|---|
| 51 | |
|---|
| 52 | include gar/category.mk |
|---|
| 53 | |
|---|
| 54 | pre-install-modulated: |
|---|
| 55 | ginstall -d $(AP2_LIBEXEC) |
|---|
| 56 | ginstall -d $(DESTDIR)$(docdir)/$(CATALOGNAME) |
|---|
| 57 | ginstall $(WORKSRC)/README $(WORKSRC)/INSTALL $(DESTDIR)$(docdir)/$(CATALOGNAME) |
|---|
| 58 | @$(MAKECOOKIE) |
|---|