Use the newly added INSTALL_CONF variable

git-svn-id: svn://svn.openwrt.org/openwrt/packages@5980 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2007-01-05 15:24:20 +00:00
parent 54ebfb36e2
commit 58fc252380
10 changed files with 13 additions and 13 deletions

View File

@ -66,7 +66,7 @@ endef
define Package/monit/install
$(INSTALL_DIR) $(1)/etc
install -m0600 $(PKG_BUILD_DIR)/monitrc $(1)/etc/
$(INSTALL_CONF) $(PKG_BUILD_DIR)/monitrc $(1)/etc/
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/monit.init $(1)/etc/init.d/monit
$(INSTALL_DIR) $(1)/usr/sbin
@ -75,7 +75,7 @@ endef
define Package/monit-nossl/install
$(INSTALL_DIR) $(1)/etc
install -m0600 $(PKG_BUILD_DIR)/monitrc $(1)/etc/
$(INSTALL_CONF) $(PKG_BUILD_DIR)/monitrc $(1)/etc/
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/monit.init $(1)/etc/init.d/monit
$(INSTALL_DIR) $(1)/usr/sbin

View File

@ -455,7 +455,7 @@ endef
define Package/asterisk-mysql/install
$(INSTALL_DIR) $(1)/etc/asterisk
install -m0600 $(PKG_BUILD_DIR)/configs/cdr_mysql.conf.sample $(1)/etc/asterisk/cdr_mysql.conf
$(INSTALL_CONF) $(PKG_BUILD_DIR)/configs/cdr_mysql.conf.sample $(1)/etc/asterisk/cdr_mysql.conf
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_BUILD_DIR)/apps/app_sql_mysql.so $(1)/usr/lib/asterisk/modules/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/cdr/cdr_mysql.so $(1)/usr/lib/asterisk/modules/
@ -463,7 +463,7 @@ endef
define Package/asterisk-pgsql/install
$(INSTALL_DIR) $(1)/etc/asterisk
install -m0600 $(PKG_BUILD_DIR)/configs/cdr_pgsql.conf.sample $(1)/etc/asterisk/cdr_pgsql.conf
$(INSTALL_CONF) $(PKG_BUILD_DIR)/configs/cdr_pgsql.conf.sample $(1)/etc/asterisk/cdr_pgsql.conf
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_BUILD_DIR)/apps/app_sql_postgres.so $(1)/usr/lib/asterisk/modules/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/cdr/cdr_pgsql.so $(1)/usr/lib/asterisk/modules/

View File

@ -43,7 +43,7 @@ define Package/ez-ipupdate/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ez-ipupdate $(1)/usr/sbin/
$(INSTALL_DIR) $(1)/etc
install -m0600 ./files/ez-ipupdate.conf $(1)/etc/
$(INSTALL_CONF) ./files/ez-ipupdate.conf $(1)/etc/
$(INSTALL_DIR) $(1)/etc/hotplug.d/iface
$(INSTALL_BIN) ./files/ez-ipupdate.hotplug $(1)/etc/hotplug.d/iface/10-ez-ipupdate
endef

View File

@ -81,7 +81,7 @@ endef
define Package/knockd/install
$(INSTALL_DIR) $(1)/etc
install -m0600 $(PKG_INSTALL_DIR)/etc/knockd.conf $(1)/etc/
$(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/knockd.conf $(1)/etc/
$(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/knockd $(1)/usr/sbin/
endef

View File

@ -145,7 +145,7 @@ endef
define Package/mini-httpd-matrixssl/install
$(INSTALL_DIR) $(1)/etc
$(INSTALL_DATA) ./files/mini_httpd-ssl.conf $(1)/etc/mini_httpd.conf
install -m0600 ./files/mini_httpd.pem $(1)/etc/mini_httpd.pem
$(INSTALL_CONF) ./files/mini_httpd.pem $(1)/etc/mini_httpd.pem
$(INSTALL_DIR) $(1)/etc/default
$(INSTALL_DATA) ./files/mini_httpd.default $(1)/etc/default/mini_httpd
$(INSTALL_DIR) $(1)/etc/init.d
@ -157,7 +157,7 @@ endef
define Package/mini-httpd-openssl/install
$(INSTALL_DIR) $(1)/etc
$(INSTALL_DATA) ./files/mini_httpd-ssl.conf $(1)/etc/mini_httpd.conf
install -m0600 ./files/mini_httpd.pem $(1)/etc/mini_httpd.pem
$(INSTALL_CONF) ./files/mini_httpd.pem $(1)/etc/mini_httpd.pem
$(INSTALL_DIR) $(1)/etc/default
$(INSTALL_DATA) ./files/mini_httpd.default $(1)/etc/default/mini_httpd
$(INSTALL_DIR) $(1)/etc/init.d

View File

@ -48,7 +48,7 @@ endef
define Package/send-nsca/install
$(INSTALL_DIR) $(1)/etc
install -m0600 $(PKG_BUILD_DIR)/sample-config/send_nsca.cfg $(1)/etc/
$(INSTALL_CONF) $(PKG_BUILD_DIR)/sample-config/send_nsca.cfg $(1)/etc/
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/send_nsca $(1)/usr/sbin/
endef

View File

@ -48,7 +48,7 @@ define Package/psybnc/install
$(INSTALL_BIN) $(PKG_BUILD_DIR)/psybnc.sh $(1)/usr/sbin/psybnc
$(INSTALL_DIR) $(1)/usr/share/psybnc
$(INSTALL_BIN) $(PKG_BUILD_DIR)/psybnc $(1)/usr/share/psybnc/
install -m0600 $(PKG_BUILD_DIR)/psybnc.conf $(1)/usr/share/psybnc/
$(INSTALL_CONF) $(PKG_BUILD_DIR)/psybnc.conf $(1)/usr/share/psybnc/
$(INSTALL_DIR) $(1)/usr/share/psybnc/lang
$(INSTALL_DATA) $(PKG_BUILD_DIR)/lang/english.lng $(1)/usr/share/psybnc/lang/
endef

View File

@ -48,7 +48,7 @@ define Package/siproxd/install
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/siproxd $(1)/usr/sbin/
$(INSTALL_DIR) $(1)/etc
$(INSTALL_DATA) $(PKG_BUILD_DIR)/doc/siproxd.conf.example $(1)/etc/siproxd.conf
install -m0600 $(PKG_BUILD_DIR)/doc/siproxd_passwd.cfg $(1)/etc/
$(INSTALL_CONF) $(PKG_BUILD_DIR)/doc/siproxd_passwd.cfg $(1)/etc/
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/siproxd.init $(1)/etc/init.d/siproxd
endef

View File

@ -52,7 +52,7 @@ define Package/vpnc/install
$(PKG_INSTALL_DIR)/usr/sbin/vpnc-disconnect \
$(1)/usr/sbin/
install -d -m0700 $(1)/etc/vpnc
install -m0600 $(PKG_INSTALL_DIR)/etc/vpnc/vpnc.conf $(1)/etc/vpnc/
$(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/vpnc/vpnc.conf $(1)/etc/vpnc/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/etc/vpnc/vpnc-script $(1)/etc/vpnc/
endef

View File

@ -49,7 +49,7 @@ endef
define Package/vtun/install
$(INSTALL_DIR) $(1)/etc
install -m0600 $(PKG_BUILD_DIR)/vtund.conf $(1)/etc/
$(INSTALL_CONF) $(PKG_BUILD_DIR)/vtund.conf $(1)/etc/
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/vtund $(1)/usr/sbin/
endef