Makefile 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= ca-certificates
  5. PKG_VERSION:= 20090814
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= 307052c985bec7f9a00eb84293eef779
  8. PKG_DESCR:= Collection of common CA certificates
  9. PKG_SECTION:= net/security
  10. PKG_DEPENDS:= openssl-util libopenssl
  11. PKG_URL:= http://packages.debian.org/sid/ca-certificates
  12. PKG_SITES:= http://ftp.debian.org/debian/pool/main/c/ca-certificates/
  13. DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.tar.gz
  14. PKG_FLAVOURS_CA_CERTS:= SMALL
  15. PKGFD_SMALL:= Minimal set of CA certificates
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,CA_CERTIFICATES,ca-certificates,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},force_etc))
  18. CONFIG_STYLE:= manual
  19. post-install:
  20. ifeq (${ADK_PACKAGE_CA_CERTIFICATES_SMALL},y)
  21. ${INSTALL_DIR} ${IDIR_CA_CERTIFICATES}/etc/ssl
  22. ${INSTALL_DATA} ./extra/cert.pem ${IDIR_CA_CERTIFICATES}/etc/ssl/
  23. else
  24. $(INSTALL_DIR) $(IDIR_CA_CERTIFICATES)/{etc/ssl/certs,usr/share,usr/sbin}
  25. $(CP) $(WRKINST)/usr/share/ca-certificates $(IDIR_CA_CERTIFICATES)/usr/share/
  26. ( cd ${IDIR_CA_CERTIFICATES}/usr/share/ca-certificates && \
  27. ls */*.crt >${IDIR_CA_CERTIFICATES}/etc/ca-certificates.conf \
  28. )
  29. ${INSTALL_BIN} ./extra/update-ca-certificates ${IDIR_CA_CERTIFICATES}/usr/sbin/
  30. -DESTDIR=${IDIR_CA_CERTIFICATES} ${BASH} ./extra/update-ca-certificates
  31. endif
  32. include ${TOPDIR}/mk/pkg-bottom.mk