summaryrefslogtreecommitdiff
path: root/openembedded/packages/ppp
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-02-10 14:33:55 +0000
committerRichard Purdie <richard@openedhand.com>2006-02-10 14:33:55 +0000
commit5fb35ca11147ed30c619cf93e19331fd835f3da9 (patch)
tree45f05442e8a91453bfea03a29fb3cb96f49d80e5 /openembedded/packages/ppp
parent42dfbb2a0223ba5d091f053ad5401ecce6446e41 (diff)
downloadopenembedded-core-5fb35ca11147ed30c619cf93e19331fd835f3da9.tar.gz
openembedded-core-5fb35ca11147ed30c619cf93e19331fd835f3da9.tar.bz2
openembedded-core-5fb35ca11147ed30c619cf93e19331fd835f3da9.zip
Apply more chanegs from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@272 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/ppp')
-rw-r--r--openembedded/packages/ppp/ppp-2.4.3/makefile-remove-hard-usr-reference.patch19
-rw-r--r--openembedded/packages/ppp/ppp_2.4.3.bb7
2 files changed, 23 insertions, 3 deletions
diff --git a/openembedded/packages/ppp/ppp-2.4.3/makefile-remove-hard-usr-reference.patch b/openembedded/packages/ppp/ppp-2.4.3/makefile-remove-hard-usr-reference.patch
new file mode 100644
index 0000000000..574abfaf2c
--- /dev/null
+++ b/openembedded/packages/ppp/ppp-2.4.3/makefile-remove-hard-usr-reference.patch
@@ -0,0 +1,19 @@
+--- ppp-2.4.3/pppd/Makefile.linux.orig 2006-01-17 15:09:56.000000000 +0000
++++ ppp-2.4.3/pppd/Makefile.linux 2006-01-17 15:10:21.000000000 +0000
+@@ -117,12 +117,12 @@
+ #LIBS += -lshadow $(LIBS)
+ endif
+
+-ifneq ($(wildcard /usr/include/crypt.h),)
++#ifneq ($(wildcard /usr/include/crypt.h),)
+ CFLAGS += -DHAVE_CRYPT_H=1
+-endif
+-ifneq ($(wildcard /usr/lib/libcrypt.*),)
++#endif
++#ifneq ($(wildcard /usr/lib/libcrypt.*),)
+ LIBS += -lcrypt
+-endif
++#endif
+
+ ifdef NEEDDES
+ ifndef USE_CRYPT
diff --git a/openembedded/packages/ppp/ppp_2.4.3.bb b/openembedded/packages/ppp/ppp_2.4.3.bb
index 8701efc556..b8253a1a5a 100644
--- a/openembedded/packages/ppp/ppp_2.4.3.bb
+++ b/openembedded/packages/ppp/ppp_2.4.3.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Point-to-Point Protocol (PPP) daemon"
HOMEPAGE = "http://samba.org/ppp/"
DEPENDS = "libpcap"
LICENSE = "BSD GPLv2"
-PR = "r0"
+PR = "r1"
SRC_URI = "ftp://ftp.samba.org/pub/ppp/ppp-${PV}.tar.gz \
file://makefile.patch;patch=1 \
@@ -12,6 +12,7 @@ SRC_URI = "ftp://ftp.samba.org/pub/ppp/ppp-${PV}.tar.gz \
file://plugins-fix-CC.patch;patch=1 \
file://pppoatm-makefile.patch;patch=1 \
file://enable-ipv6.patch;patch=1 \
+ file://makefile-remove-hard-usr-reference.patch;patch=1 \
file://pon \
file://poff \
file://init \
@@ -24,7 +25,7 @@ SRC_URI = "ftp://ftp.samba.org/pub/ppp/ppp-${PV}.tar.gz \
inherit autotools
EXTRA_OEMAKE = "STRIPPROG=${STRIP} MANDIR=${D}${datadir}/man/man8 INCDIR=${D}/usr/include LIBDIR=${D}/usr/lib/pppd/${PV} BINDIR=${D}/usr/sbin"
-EXTRA_OECONF = --disable-strip
+EXTRA_OECONF = "--disable-strip"
do_install_append () {
make install-etcppp ETCDIR=${D}/${sysconfdir}/ppp
@@ -60,7 +61,7 @@ DESCRIPTION_ppp-password = "Plugin for PPP to get passwords via a pipe"
DESCRIPTION_ppp-tools = "The pppdump and pppstats utitilities"
RDEPENDS_ppp_minconn += "libpcap0.8"
-pkg_postinst() {
+pkg_postinst_${PN}() {
if test "x$D" != "x"; then
exit 1
else