############################################################# # # pppd # ############################################################# # I wish I could but the resulting package is way too big. # 2.4.4 should be useable, the tip is "#HAS_SHADOW=y" # PPPD_SOURCE_URL=ftp://ftp.samba.org/pub/ppp/ # PPPD_SOURCE=ppp-2.4.4.tar.gz # PPPD_DIR=$(BUILD_DIR)/ppp-2.4.4 PPPD_SOURCE_URL=http://www.zelow.no/floppyfw/download/Development/src/ PPPD_SOURCE=ppp-2.4.1.pppoe4.tgz PPPD_DIR=$(BUILD_DIR)/ppp-2.4.1.pppoe4 PPPD_PACKAGES_DIR=$(PACKAGES_DIR)/ppp $(DL_DIR)/$(PPPD_SOURCE): $(WGET) -P $(DL_DIR) $(PPPD_SOURCE_URL)$(PPPD_SOURCE) pppd-source: $(DL_DIR)/$(PPPD_SOURCE) $(PPPD_DIR)/.unpacked: $(DL_DIR)/$(PPPD_SOURCE) zcat $(DL_DIR)/$(PPPD_SOURCE) | \ tar $(TAR_VERBOSE) -C $(BUILD_DIR) -xf - touch $(PPPD_DIR)/.unpacked $(PPPD_DIR)/.configured: $(PPPD_DIR)/.unpacked (cd $(PPPD_DIR); \ ./configure \ CFLAGS="$(TARGET_CFLAGS)" \ ); $(SED) 's/HAS_SHADOW=y/#HAS_SHADOW=y/' $(PPPD_DIR)/pppd/Makefile touch $(PPPD_DIR)/.configured $(PPPD_DIR)/pppd/pppd: $(PPPD_DIR)/.configured # (cd $(PPPD_DIR); $(MAKE) CC="$(TARGET_CC)" HAS_SHADOW=n ); (cd $(PPPD_DIR); $(MAKE) CC="$(TARGET_CC)" ); $(PACKAGES_DIR)/ppp/sbin/pppd: $(PPPD_DIR)/pppd/pppd -$(RM) -r $(PPPD_PACKAGES_DIR) cp -a $(PACKAGES_SKELETON_DIR)/ppp $(PPPD_PACKAGES_DIR) -find $(PPPD_PACKAGES_DIR) -type d -name CVS -exec $(RM) -r {} \; > /dev/null 2>&1 -find $(PPPD_PACKAGES_DIR) -type d -name .svn -exec $(RM) -r {} \; > /dev/null 2>&1 cp -a $(PPPD_DIR)/pppd/pppd $(PPPD_PACKAGES_DIR)/sbin/pppd cp -a $(PPPD_DIR)/chat/chat $(PPPD_PACKAGES_DIR)/sbin/chat -$(SSTRIP) $(PPPD_PACKAGES_DIR)/sbin/* $(PACKAGES_DIR)/ppp.ffw: (cd $(PACKAGES_DIR); $(RM) -r ppp/var ; sh mkpack ppp) pppd: $(PPPD_PACKAGES_DIR)/sbin/pppd pppd-clean: -$(MAKE) -C $(PPPD_DIR) clean -$(RM) -r $(PPPD_PACKAGES_DIR) pppd-dirclean: -$(RM) -r $(PPPD_DIR) -$(RM) -r $(PPPD_PACKAGES_DIR)