summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/bitbake.conf2
-rw-r--r--packages/ppp-dialin/ppp-dialin_0.1.bb13
-rw-r--r--packages/ppp/ppp_2.4.1.bb40
-rw-r--r--packages/zbedic/files/qtopia17.patch (renamed from packages/zbedic/zbedic_cvs.bb)0
-rw-r--r--packages/zbedic/zbedic_20041227.bb0
5 files changed, 44 insertions, 11 deletions
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index b4f3dd2cec..a8c73120fd 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -193,7 +193,7 @@ export CXX = "${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH}"
export F77 = "${CCACHE}${HOST_PREFIX}g77 ${HOST_CC_ARCH}"
export CPP = "${HOST_PREFIX}gcc -E"
export LD = "${HOST_PREFIX}ld"
-export CCLD = "${HOST_PREFIX}gcc"
+export CCLD = "${CC}"
export AR = "${HOST_PREFIX}ar"
export AS = "${HOST_PREFIX}as"
export RANLIB = "${HOST_PREFIX}ranlib"
diff --git a/packages/ppp-dialin/ppp-dialin_0.1.bb b/packages/ppp-dialin/ppp-dialin_0.1.bb
index 0d2ee82589..968ed1d73e 100644
--- a/packages/ppp-dialin/ppp-dialin_0.1.bb
+++ b/packages/ppp-dialin/ppp-dialin_0.1.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Enables PPP dial-in through a serial connection"
MAINTAINER = "Rene Wagner <reenoo@gmx.de>"
DEPENDS = "ppp"
RDEPENDS = "ppp"
-PR = "r2"
+PR = "r3"
SRC_URI = "file://host-peer \
file://ppp-dialin"
@@ -13,21 +13,15 @@ do_install() {
install -m 0644 ${WORKDIR}/host-peer ${D}/${sysconfdir}/ppp/peers/host
install -d ${D}/${sbindir}
- install -m 0750 ${WORKDIR}/ppp-dialin ${D}/${sbindir}
+ install -m 0755 ${WORKDIR}/ppp-dialin ${D}/${sbindir}
}
-# NOTE: adduser appears to be malfunctioning.
-# add ppp user when creating the group already.
-
pkg_postinst() {
if test "x$D" != "x"; then
exit 1
else
- addgroup ppp ppp
- adduser --system --home /dev/null --no-create-home --empty-password --ingroup ppp -s /usr/sbin/ppp-dialin ppp
- chgrp ppp /usr/sbin/ppp-dialin
- chmod u+s /usr/sbin/ppp-dialin
+ adduser --system --home /dev/null --no-create-home --empty-password --ingroup nogroup -s /usr/sbin/ppp-dialin ppp
fi
}
@@ -36,6 +30,5 @@ if test "x$D" != "x"; then
exit 1
else
deluser ppp
- delgroup ppp
fi
}
diff --git a/packages/ppp/ppp_2.4.1.bb b/packages/ppp/ppp_2.4.1.bb
index e69de29bb2..7f4e58e107 100644
--- a/packages/ppp/ppp_2.4.1.bb
+++ b/packages/ppp/ppp_2.4.1.bb
@@ -0,0 +1,40 @@
+SECTION = "console/network"
+DESCRIPTION = "Point-to-Point Protocol (PPP) daemon"
+HOMEPAGE = "http://samba.org/ppp/"
+LICENSE = "BSD GPLv2"
+PR = "r4"
+
+SRC_URI = "ftp://ftp.samba.org/pub/ppp/ppp-2.4.1.tar.gz \
+ file://pppd.patch;patch=1 \
+ file://man.patch;patch=1 \
+ file://pon \
+ file://poff \
+ file://init \
+ file://ip-up \
+ file://ip-down"
+
+inherit autotools libtool
+
+EXTRA_OEMAKE = "STRIPPROG=${STRIP}"
+EXTRA_OECONF = --disable-strip
+
+do_install_append () {
+ install -d ${D}${bindir}/ ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/pon ${D}${bindir}/pon
+ install -m 0755 ${WORKDIR}/poff ${D}${bindir}/poff
+ install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/ppp
+ install -m 0755 ${WORKDIR}/ip-up ${D}${sysconfdir}/ppp/
+ install -m 0755 ${WORKDIR}/ip-down ${D}${sysconfdir}/ppp/
+ install -d ${D}${sysconfdir}/ppp/ip-up.d/
+ install -d ${D}${sysconfdir}/ppp/ip-down.d/
+}
+
+CONFFILES_${PN}_nylon = "${sysconfdir}/ppp/pap-secrets ${sysconfdir}/ppp/chap-secrets"
+
+pkg_postinst() {
+if test "x$D" != "x"; then
+ exit 1
+else
+ chmod u+s /usr/sbin/pppd
+fi
+}
diff --git a/packages/zbedic/zbedic_cvs.bb b/packages/zbedic/files/qtopia17.patch
index e69de29bb2..e69de29bb2 100644
--- a/packages/zbedic/zbedic_cvs.bb
+++ b/packages/zbedic/files/qtopia17.patch
diff --git a/packages/zbedic/zbedic_20041227.bb b/packages/zbedic/zbedic_20041227.bb
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/zbedic/zbedic_20041227.bb