Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
diff -Nura rp-pppoe-3.11.orig/src/configure rp-pppoe-3.11/src/configure
|
||||
--- rp-pppoe-3.11.orig/src/configure 2012-08-21 10:01:10.536440032 -0300
|
||||
+++ rp-pppoe-3.11/src/configure 2012-08-21 10:01:45.353442397 -0300
|
||||
@@ -4517,7 +4517,7 @@
|
||||
modprobe pppoe > /dev/null 2>&1
|
||||
fi
|
||||
if test "$cross_compiling" = yes; then :
|
||||
- ac_cv_linux_kernel_pppoe=no; $ECHO "cross-compiling, default: "
|
||||
+ ac_cv_linux_kernel_pppoe=yes; $ECHO "cross-compiling, default: "
|
||||
else
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
diff -Nura rp-pppoe-3.11.orig/src/pppoe-server.c rp-pppoe-3.11/src/pppoe-server.c
|
||||
--- rp-pppoe-3.11.orig/src/pppoe-server.c 2012-08-21 10:01:10.535440032 -0300
|
||||
+++ rp-pppoe-3.11/src/pppoe-server.c 2012-08-21 10:02:02.597443569 -0300
|
||||
@@ -20,6 +20,9 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
+/* Patched hack to make this cross compile */
|
||||
+#define HAVE_LINUX_KERNEL_PPPOE 1
|
||||
+
|
||||
#if defined(HAVE_NETPACKET_PACKET_H) || defined(HAVE_LINUX_IF_PACKET_H)
|
||||
#define _POSIX_SOURCE 1 /* For sigaction defines */
|
||||
#endif
|
||||
11
deprecated/firmware/buildroot/package/rp-pppoe/Config.in
Normal file
11
deprecated/firmware/buildroot/package/rp-pppoe/Config.in
Normal file
@@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_RP_PPPOE
|
||||
bool "rp-pppoe"
|
||||
depends on BR2_PACKAGE_PPPD
|
||||
help
|
||||
An implementation of the Point-to-point protocol over Ethernet.
|
||||
Has userspace client and server deamons. You likely only need
|
||||
this package if you are implementing the pppoe server that will
|
||||
service other pppoe client devices. Otherwise the normal client
|
||||
functionality already exists in the pppd package (and kernel).
|
||||
|
||||
http://www.roaringpenguin.com/pppoe.html
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 86a1a4d92fcea74fa6dd45516c5975933fa978b36fafe71f76ea70b4b4747720 rp-pppoe-3.11.tar.gz
|
||||
33
deprecated/firmware/buildroot/package/rp-pppoe/rp-pppoe.mk
Normal file
33
deprecated/firmware/buildroot/package/rp-pppoe/rp-pppoe.mk
Normal file
@@ -0,0 +1,33 @@
|
||||
################################################################################
|
||||
#
|
||||
# rp-pppoe
|
||||
#
|
||||
################################################################################
|
||||
|
||||
RP_PPPOE_VERSION = 3.11
|
||||
RP_PPPOE_SITE = http://www.roaringpenguin.com/files/download
|
||||
RP_PPPOE_LICENSE = GPLv2
|
||||
RP_PPPOE_LICENSE_FILES = doc/LICENSE
|
||||
RP_PPPOE_DEPENDENCIES = pppd
|
||||
RP_PPPOE_SUBDIR = src
|
||||
RP_PPPOE_TARGET_FILES = pppoe pppoe-server pppoe-relay pppoe-sniff
|
||||
RP_PPPOE_TARGET_SCRIPTS = pppoe-connect pppoe-init pppoe-setup pppoe-start \
|
||||
pppoe-status pppoe-stop
|
||||
RP_PPPOE_MAKE_OPTS = PLUGIN_DIR=/usr/lib/pppd/$(PPPD_VERSION)
|
||||
RP_PPPOE_CONF_OPTS = --disable-debugging
|
||||
RP_PPPOE_CONF_ENV = \
|
||||
rpppoe_cv_pack_bitfields=normal \
|
||||
PPPD_H=$(PPPD_DIR)/pppd/pppd.h
|
||||
|
||||
define RP_PPPOE_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0644 $(@D)/configs/pppoe.conf \
|
||||
$(TARGET_DIR)/etc/ppp/pppoe.conf
|
||||
for ff in $(RP_PPPOE_TARGET_FILES); do \
|
||||
$(INSTALL) -m 0755 $(@D)/src/$$ff $(TARGET_DIR)/usr/sbin/$$ff || exit 1; \
|
||||
done
|
||||
for ff in $(RP_PPPOE_TARGET_SCRIPTS); do \
|
||||
$(INSTALL) -m 0755 $(@D)/scripts/$$ff $(TARGET_DIR)/usr/sbin/$$ff || exit 1; \
|
||||
done
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user