From 60c00c9e94ed1e8de19881fd2d78a235114a1075 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Fri, 18 Dec 2009 09:54:08 +0000 Subject: [PATCH] freeradius2: populate -democerts subpackage, bump release number SVN-Revision: 18809 --- net/freeradius2/Makefile | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/net/freeradius2/Makefile b/net/freeradius2/Makefile index 9db85eb9c..8a6f35a6f 100644 --- a/net/freeradius2/Makefile +++ b/net/freeradius2/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=freeradius2 PKG_VERSION:=2.1.7 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=freeradius-server-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=ftp://ftp.freeradius.org/pub/freeradius/ @@ -463,17 +463,13 @@ define Package/freeradius2/install endef define Package/freeradius2-democerts/install - $(INSTALL_DIR) $(1)/etc/freeradius2 - $(CP) $(PKG_INSTALL_DIR)/etc/freeradius2/certs $(1)/etc/freeradius2/ - rm -rf $(1)/etc/freeradius2/certs/README - rm -rf $(1)/etc/freeradius2/certs/new* - rm -rf $(1)/etc/freeradius2/certs/demoCA/index* - rm -rf $(1)/etc/freeradius2/certs/demoCA/serial* - rm -rf $(1)/etc/freeradius2/certs/bootstrap - rm -rf $(1)/etc/freeradius2/certs/Makefile - rm -rf $(1)/etc/freeradius2/certs/ca.cnf - rm -rf $(1)/etc/freeradius2/certs/client.cnf - rm -rf $(1)/etc/freeradius2/certs/server.cnf + $(INSTALL_DIR) $(1)/etc/freeradius2/certs + $(CP) \ + $(PKG_BUILD_DIR)/raddb/certs/ca.pem \ + $(PKG_BUILD_DIR)/raddb/certs/dh \ + $(PKG_BUILD_DIR)/raddb/certs/random \ + $(PKG_BUILD_DIR)/raddb/certs/server.pem \ + $(1)/etc/freeradius2/certs/ endef define Package/freeradius2-utils/install -- 2.30.2