summaryrefslogtreecommitdiff
path: root/package/ppp/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-18 19:26:51 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-18 19:26:51 +0100
commit163e7965f05a281d653a9eaa72161172e35fd5fc (patch)
tree68433443b71118a83da66716b67400fcb2f6bb0a /package/ppp/Makefile
parent07b805f8a729e5fe064fc874cf1821a24378bb93 (diff)
make pppoe over atm usable on ag241
- bridging nas0 and eth0 although works fine need to add pre-up scripts to automate..
Diffstat (limited to 'package/ppp/Makefile')
-rw-r--r--package/ppp/Makefile17
1 files changed, 12 insertions, 5 deletions
diff --git a/package/ppp/Makefile b/package/ppp/Makefile
index 350095cb6..322812d9c 100644
--- a/package/ppp/Makefile
+++ b/package/ppp/Makefile
@@ -5,9 +5,9 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= ppp
PKG_VERSION:= 2.4.4
-PKG_RELEASE:= 17
+PKG_RELEASE:= 18
PKG_MD5SUM:= 183800762e266132218b204dfb428d29
-PKG_DESCR:= a PPP (Point-to-Point Protocol) software (with MPPE/MPPC support)
+PKG_DESCR:= Point-to-Point Protocol software
PKG_SECTION:= net
PKG_DEPENDS:= kmod-ppp
PKG_URL:= http://ppp.samba.org
@@ -57,7 +57,6 @@ post-install: ${SUB_INSTALLS-m} ${SUB_INSTALLS-y}
${INSTALL_FILTER}
${INSTALL_BIN} ./files/etc/ppp/ip-up ${IDIR_PPP}/etc/ppp/
${INSTALL_DIR} ${IDIR_PPP}/etc/ppp/ip-up.d
- ${INSTALL_BIN} ./files/etc/ppp/ip-up.d/if-rename ${IDIR_PPP}/etc/ppp/ip-up.d/
${INSTALL_BIN} ./files/etc/ppp/ip-down ${IDIR_PPP}/etc/ppp/
${INSTALL_DIR} ${IDIR_PPP}/etc/ppp/ip-down.d
${INSTALL_DIR} ${IDIR_PPP}/usr/sbin
@@ -66,8 +65,10 @@ post-install: ${SUB_INSTALLS-m} ${SUB_INSTALLS-y}
${INSTALL_BIN} ./files/pon ${IDIR_PPP}/usr/sbin/
${INSTALL_BIN} ./files/poff ${IDIR_PPP}/usr/sbin/
${INSTALL_DIR} ${IDIR_PPP}/etc/ppp/peers
- ${INSTALL_DIR} ${IDIR_PPP}/etc/ppp/templates
- ${INSTALL_DATA} ./files/etc/ppp/templates/dsl ${IDIR_PPP}/etc/ppp/templates/
+ $(INSTALL_DIR) ${IDIR_PPP}/etc/network/if-pre-up.d
+ $(INSTALL_BIN) ./files/ppp.pre-up \
+ ${IDIR_PPP}/etc/network/if-pre-up.d/ppp
+
mod-radius-install:
${INSTALL_DIR} ${IDIR_PPP_MOD_RADIUS}/etc/radiusclient
@@ -81,11 +82,17 @@ mod-pppoe-install:
${INSTALL_DIR} ${IDIR_PPP_MOD_PPPOE}/usr/lib/pppd/$(PKG_VERSION)
${INSTALL_BIN} $(WRKINST)/usr/lib/pppd/$(PKG_VERSION)/rp-pppoe.so \
${IDIR_PPP_MOD_PPPOE}/usr/lib/pppd/$(PKG_VERSION)
+ ${INSTALL_DIR} ${IDIR_PPP_MOD_PPPOE}/etc/ppp/templates
+ ${INSTALL_DATA} ./files/etc/ppp/templates/pppoe \
+ ${IDIR_PPP_MOD_PPPOE}/etc/ppp/templates/
mod-pppoa-install:
${INSTALL_DIR} ${IDIR_PPP_MOD_PPPOA}/usr/lib/pppd/$(PKG_VERSION)
${INSTALL_BIN} $(WRKINST)/usr/lib/pppd/$(PKG_VERSION)/pppoatm.so \
${IDIR_PPP_MOD_PPPOA}/usr/lib/pppd/$(PKG_VERSION)
+ ${INSTALL_DIR} ${IDIR_PPP_MOD_PPPOA}/etc/ppp/templates
+ ${INSTALL_DATA} ./files/etc/ppp/templates/pppoa \
+ ${IDIR_PPP_MOD_PPPOA}/etc/ppp/templates/
mod-chat-install:
${INSTALL_DIR} ${IDIR_PPP_MOD_CHAT}/usr/sbin