summaryrefslogtreecommitdiff
path: root/ppp-dsl
diff options
context:
space:
mode:
authorBruno Randolf <br1@subnet.at>2004-12-02 18:05:45 +0000
committerBruno Randolf <br1@subnet.at>2004-12-02 18:05:45 +0000
commit8503fbded7f04b1abf0b01886a278ad999f4ab5b (patch)
treed7ac1657ed1ef727b99eb5fd8b131eb6fe8e20f6 /ppp-dsl
parent8f8ce3d7ee813c5b2e9950ab160a7935715658a5 (diff)
Merge oe-devel@oe-devel.bkbits.net:packages
into null.(none):/data/mtx/oe/packages 2004/12/02 19:05:10+01:00 (none)!br1 added some more licenses to SRC_DISTRIBUTE_LICENSES. replaced as-is licenses with packagename. made packagname licenses lowercase 2004/12/02 18:30:48+01:00 (none)!br1 little nylon updates 2004/12/02 18:29:36+01:00 (none)!br1 added CONFFILES for nylon. once CONFFILES should be used in all oe, the "_nylon" part can be removed 2004/12/02 17:19:19+01:00 (none)!br1 src_distribute: better output when LICENSE is not valid BKrev: 41af59791fZQQgIzG_GWbh0227Ar0w
Diffstat (limited to 'ppp-dsl')
-rw-r--r--ppp-dsl/ppp-dsl_0.1.oe28
1 files changed, 28 insertions, 0 deletions
diff --git a/ppp-dsl/ppp-dsl_0.1.oe b/ppp-dsl/ppp-dsl_0.1.oe
index e69de29bb2..938b9ec963 100644
--- a/ppp-dsl/ppp-dsl_0.1.oe
+++ b/ppp-dsl/ppp-dsl_0.1.oe
@@ -0,0 +1,28 @@
+SECTION = "console/network"
+DESCRIPTION = "Enables PPP dial-in through a DSL connection"
+MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>"
+LICENSE = "PD"
+DEPENDS = "ppp rp-pppoe"
+RDEPENDS = "ppp rp-pppoe kernel-module-ppp-async kernel-module-ppp-generic kernel-module-slhc"
+PR = "r1"
+
+SRC_URI = "file://dsl-provider \
+ file://ppp_on_boot.dsl"
+
+do_install() {
+ install -d ${D}/${sysconfdir}/ppp/peers
+ install -m 0644 ${WORKDIR}/dsl-provider ${D}/${sysconfdir}/ppp/peers/
+ install -m 0755 ${WORKDIR}/ppp_on_boot.dsl ${D}/${sysconfdir}/ppp/
+}
+
+pkg_postinst() {
+if test "x$D" != "x"; then
+ exit 1
+else
+ if ! test -e ${sysconfdir}/ppp/ppp_on_boot; then
+ ln -s ppp_on_boot.dsl ${sysconfdir}/ppp/ppp_on_boot
+ fi
+fi
+}
+
+CONFFILES_${PN}_nylon = "${sysconfdir}/ppp/peers/dsl-provider"