Modify

Opened 6 years ago

Closed 5 years ago

#10198 closed defect (no_response)

pam-krb5 package port

Reported by: syslog@… Owned by: developers
Priority: response-needed Milestone: Features Paradise
Component: packages Version: Trunk
Keywords: Cc:

Description (last modified by florian)

Hi,

I will port pam-krb5 to openwrt, but te compile fails at configure.
Could anyone help to port this?

pam-krb5: http://archives.eyrie.org/software/kerberos/pam-krb5-4.4.tar.gz

here is my package/pam-krb5/Makefile:

include $(TOPDIR)/rules.mk

PKG_NAME:=pam-krb5
PKG_VERSION:=4.4
PKG_RELEASE:=1
PKG_MD5SUM:=a3f9a414fef102cd815a763c965b315c
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://archives.eyrie.org/software/kerberos/
PKG_CAT:=zcat
#PKG_FIXUP:=libtool

PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk

define Package/pam-krb5
  SECTION:=Testing
  CATEGORY:=Testing
  SUBMENU:=Monitor
  DEPENDS:=+libpam +krb5
  TITLE:=Kerberos implementation for pam.
  URL:=http://www.eyrie.org/~eagle/software/pam-krb5/
endef

define Build/Prepare
<------>$(call Build/Prepare/Default)
#<----->$(CP) -a * $(PKG_BUILD_DIR)
endef

define Build/Configure
<------>$(call Build/Configure/Default)
endef

define Build/Compile
<------>$(MAKE) -C $(PKG_BUILD_DIR)/ \
<------>$(TARGET_CONFIGURE_OPTS) \
<------>CFLAGS="$(TARGET_CFLAGS)"
endef


define Package/pam-krb5/install
<------>$(INSTALL_DIR) $(1)/usr/lib
<------>$(INSTALL_BIN) $(PKG_BUILD_DIR)/.libs/*.so* $(1)/usr/lib/
endef

$(eval $(call BuildPackage,pam-krb5))

I use the current backfire branch from svn. Every depends compiled fine.

when i run make package/pam-krb5/compile V=99 configure says the following:

[pam found..]
[snip]
checking for krb5-config... no
checking for library containing res_search... no
checking for library containing res_search... none required
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for library containing crypt... -lcrypt
checking for library containing rk_simple_execve... no
checking for krb5_init_context in -lkrb5... no
checking for krb5int_getspecific in -lkrb5support... yes
checking for error_message in -lcom_err... no
checking for krb5_svc_get_msg in -lksvc... no
checking for krb5int_hash_md5 in -lk5crypto... no
checking for profile_get_values in -lk5profile... no
checking for krb5_cc_default in -lkrb5... no
configure: error: cannot find usable Kerberos v5 library
make[2]: * /home/y/backfire/build_dir/target-mips_r2_uClibc-0.9.30.1/pam-krb5-4.4/.configured_ Error 1
make[2]: Leaving directory `/home/y/backfire/package/pam-krb5'
make[1]:
* [package/pam-krb5/compile] Error 2
make[1]: Leaving directory `/home/y/backfire'
make: * [package/pam-krb5/compile] Error 2

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by nico

  • Milestone changed from Attitude Adjustment (trunk) to Features Paradise
  • Priority changed from normal to response-needed

Please attach a properly formatted patch

comment:2 Changed 5 years ago by florian

  • Description modified (diff)

comment:3 Changed 5 years ago by nbd

  • Resolution set to no_response
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.