Skip to contentSkip to conversation

liburi-perl: fix SRC_URI

PATCH In review Eric Bénard 2 participants 12 messages Sep 21, 2010 – Sep 24, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 liburi-perl: fix SRC_URI

---
 recipes/perl/liburi-perl_1.52.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
recipes/perl/liburi-perl_1.52.bb +2 -2
index d9cf315..54f69da 100644
@@ -2,9 +2,9 @@ DESCRIPTION = "Manipulates and accesses URI strings"
 SECTION = "libs"
 LICENSE = "Artistic|GPL"
 #RDEPENDS_${PN} += " libmime-base64-perl libnet-perl"
-PR = "r3"
+PR = "r4"
 
-SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/URI-${PV}.tar.gz"
+SRC_URI = "http://cpan.yimg.com/modules/by-authors/id/GAAS/URI-${PV}.tar.gz"
 
 S = "${WORKDIR}/URI-${PV}"
 
Signature · 1 line
1.6.3.3
#1 lore raw

PATCH 1/1 gs: unbreak recipe

* this recipe is actually broken as tools used during compilation on the host are compiled for the target and thus can't be executed.
* tested on armv5te

---
 recipes/gs/gs/unix-aux.mak |  101 ++++++++++++++++++++++++++++++++++++++++++++
 recipes/gs/gs_8.64.bb      |   41 ++++++++++++++++-
 2 files changed, 139 insertions(+), 3 deletions(-)
 create mode 100644 recipes/gs/gs/unix-aux.mak
recipes/gs/gs/unix-aux.mak new file +101 -0
new file mode 100644
index 0000000..6d6440a
@@ -0,0 +1,101 @@
+#  Copyright (C) 2001-2006 Artifex Software, Inc.
+#  All Rights Reserved.
+#
+#  This software is provided AS-IS with no warranty, either express or
+#  implied.
+#
+#  This software is distributed under license and may not be copied, modified
+#  or distributed except as expressly authorized under the terms of that
+#  license.  Refer to licensing information at http://www.artifex.com/
+#  or contact Artifex Software, Inc.,  7 Mt. Lassen Drive - Suite A-134,
+#  San Rafael, CA  94903, U.S.A., +1(415)492-9861, for further information.
+#
+# $Id: unix-aux.mak 9334 2009-01-08 09:17:18Z ghostgum $
+# Partial makefile common to all Unix configurations.
+# This makefile contains the build rules for the auxiliary programs such as
+# echogs, and the 'platform' modules.
+
+# Define the name of this makefile.
+UNIX_AUX_MAK=$(GLSRC)unix-aux.mak
+
+# -------------------------------- Library -------------------------------- #
+
+## The Unix platforms
+
+# We have to include a test for the existence of sys/time.h,
+# because some System V platforms don't have it.
+
+# Unix platforms other than System V, and also System V Release 4
+# (SVR4) platforms.
+unix__=$(GLOBJ)gp_getnv.$(OBJ) $(GLOBJ)gp_upapr.$(OBJ) $(GLOBJ)gp_unix.$(OBJ) $(GLOBJ)gp_unifs.$(OBJ) $(GLOBJ)gp_unifn.$(OBJ) $(GLOBJ)gp_stdia.$(OBJ) $(GLOBJ)gp_unix_cache.$(OBJ)
+$(GLGEN)unix_.dev: $(unix__) $(GLD)nosync.dev $(GLD)smd5.dev
+	$(SETMOD) $(GLGEN)unix_ $(unix__) -include $(GLD)nosync
+	$(ADDMOD) $(GLGEN)unix_ -include $(GLD)smd5
+
+$(GLOBJ)gp_unix.$(OBJ): $(GLSRC)gp_unix.c $(AK)\
+ $(pipe__h) $(string__h) $(time__h)\
+ $(gx_h) $(gsexit_h) $(gp_h)
+	$(GLCC) $(FONTCONFIG_CFLAGS) $(GLO_)gp_unix.$(OBJ) $(C_) $(GLSRC)gp_unix.c
+
+$(GLOBJ)gp_unix_cache.$(OBJ): $(GLSRC)gp_unix_cache.c $(AK)\
+ $(stdio__h) $(string__h) $(time__h) $(gconfigd_h) $(gp_h) $(md5_h)
+	$(GLCC) $(GLO_)gp_unix_cache.$(OBJ) $(C_) $(GLSRC)gp_unix_cache.c
+
+# assume all Unix platforms support unbuffered read
+$(GLOBJ)gp_stdia.$(OBJ): $(GLSRC)gp_stdia.c $(AK)\
+  $(stdio__h) $(time__h) $(unistd__h) $(gx_h) $(gp_h)
+	$(GLCC) $(GLO_)gp_stdia.$(OBJ) $(C_) $(GLSRC)gp_stdia.c
+
+# System V platforms other than SVR4, which lack some system calls,
+# but have pipes.
+sysv__=$(GLOBJ)gp_getnv.$(OBJ) $(GLOBJ)gp_upapr.$(OBJ) $(GLOBJ)gp_unix.$(OBJ) $(GLOBJ)gp_unifs.$(OBJ) $(GLOBJ)gp_unifn.$(OBJ) $(GLOBJ)gp_sysv.$(OBJ)
+$(GLGEN)sysv_.dev: $(sysv__) $(GLD)nosync.dev
+	$(SETMOD) $(GLGEN)sysv_ $(sysv__) -include $(GLD)nosync
+
+$(GLOBJ)gp_sysv.$(OBJ): $(GLSRC)gp_sysv.c $(stdio__h) $(time__h) $(AK)
+	$(GLCC) $(GLO_)gp_sysv.$(OBJ) $(C_) $(GLSRC)gp_sysv.c
+
+# -------------------------- Auxiliary programs --------------------------- #
+
+#$(ECHOGS_XE): $(GLSRC)echogs.c $(AK) $(stdpre_h)
+#	$(CCAUX) $(I_)$(GLSRCDIR)$(_I) $(O_)$(ECHOGS_XE) $(GLSRC)echogs.c
+
+# On the RS/6000 (at least), compiling genarch.c with gcc with -O
+# produces a buggy executable.
+#$(GENARCH_XE): $(GLSRC)genarch.c $(AK) $(GENARCH_DEPS)
+#	$(CCAUX) $(I_)$(GLSRCDIR)$(_I) $(O_)$(GENARCH_XE) $(GLSRC)genarch.c
+
+#$(GENCONF_XE): $(GLSRC)genconf.c $(AK) $(GENCONF_DEPS)
+#	$(CCAUX) $(I_)$(GLSRCDIR)$(_I) $(O_)$(GENCONF_XE) $(GLSRC)genconf.c
+
+#$(GENDEV_XE): $(GLSRC)gendev.c $(AK) $(GENDEV_DEPS)
+#	$(CCAUX) $(I_)$(GLSRCDIR)$(_I) $(O_)$(GENDEV_XE) $(GLSRC)gendev.c
+
+#$(GENHT_XE): $(GLSRC)genht.c $(AK) $(GENHT_DEPS)
+#	$(CCAUX) $(GENHT_CFLAGS) $(O_)$(GENHT_XE) $(GLSRC)genht.c
+
+#$(GENINIT_XE): $(GLSRC)geninit.c $(AK) $(GENINIT_DEPS)
+#	$(CCAUX) $(I_)$(GLSRCDIR)$(_I) $(O_)$(GENINIT_XE) $(GLSRC)geninit.c
+
+MKROMFS_OBJS=$(MKROMFS_ZLIB_OBJS) $(GLOBJ)gscdefs.$(OBJ) $(GLOBJ)gsmisc.$(OBJ) \
+ $(GLOBJ)gpmisc.$(OBJ) $(GLOBJ)gslibctx.$(OBJ) $(GLOBJ)gp_getnv.$(OBJ) \
+ $(GLOBJ)gp_unix.$(OBJ) $(GLOBJ)gp_unifs.$(OBJ) $(GLOBJ)gp_unifn.$(OBJ) \
+ $(GLOBJ)gp_stdia.$(OBJ) $(GLOBJ)gsutil.$(OBJ)
+
+#$(MKROMFS_XE): $(GLSRC)mkromfs.c $(MKROMFS_COMMON_DEPS) $(MKROMFS_OBJS)
+#	$(CCAUX) $(GENOPT) $(CFLAGS) $(I_)$(GLSRCDIR)$(_I) $(I_)$(GLOBJ)$(_I) $(I_)$(ZSRCDIR)$(_I) $(GLSRC)mkromfs.c $(O_)$(MKROMFS_XE) $(MKROMFS_OBJS) -lm $(EXTRALIBS)
+
+# Query the environment to construct gconfig_.h.
+# The "else true;" is required because Ultrix's implementation of sh -e
+# terminates execution of a command if any error occurs, even if the command
+# traps the error with ||.
+INCLUDE=/usr/include
+$(gconfig__h): $(UNIX_AUX_MAK) $(ECHOGS_XE)
+	$(ECHOGS_XE) -w $(gconfig__h) -x 2f2a -s This file was generated automatically by unix-aux.mak. -s -x 2a2f
+	if ( test -f $(INCLUDE)/dirent.h ); then $(ECHOGS_XE) -a $(gconfig__h) -x 23 define HAVE_DIRENT_H; else true; fi
+	if ( test -f $(INCLUDE)/ndir.h ); then $(ECHOGS_XE) -a $(gconfig__h) -x 23 define HAVE_NDIR_H; else true; fi
+	if ( test -f $(INCLUDE)/sys/dir.h ); then $(ECHOGS_XE) -a $(gconfig__h) -x 23 define HAVE_SYS_DIR_H; else true; fi
+	if ( test -f $(INCLUDE)/sys/ndir.h ); then $(ECHOGS_XE) -a $(gconfig__h) -x 23 define HAVE_SYS_NDIR_H; else true; fi
+	if ( test -f $(INCLUDE)/sys/time.h ); then $(ECHOGS_XE) -a $(gconfig__h) -x 23 define HAVE_SYS_TIME_H; else true; fi
+	if ( test -f $(INCLUDE)/sys/times.h ); then $(ECHOGS_XE) -a $(gconfig__h) -x 23 define HAVE_SYS_TIMES_H; else true; fi
+	if ( test -f $(JSRCDIR)/jmemsys.h); then true; else $(ECHOGS_XE) -a $(gconfig__h) -x 23 define DONT_HAVE_JMEMSYS_H; fi
recipes/gs/gs_8.64.bb +38 -3

80 lines not on this page · raw message

Signature · 1 line
1.6.3.3
#2 lore raw

PATCH 1/1 apache2: unbreak recipe

* tested on armv5te / angstrom

---
 recipes/apache2/apache2_2.2.14.bb |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
recipes/apache2/apache2_2.2.14.bb +6 -1
index 1c425b7..b39f14c 100644
@@ -1,6 +1,6 @@
 SECTION = "net"
 DESCRIPTION = "The apache v2 web server"
-DEPENDS = "apache2-native openssl expat pcre"
+DEPENDS = "libtool-native apache2-native openssl expat pcre"
 RDEPENDS_${PN} += "openssl"
 
 PR = "r2"
@@ -89,6 +89,11 @@ EXTRA_OECONF = "--enable-ssl \
 #
 # here we over-ride the autotools provided do_configure.
 #
+
+do_configure_prepend() {
+	sed -e 's,libtool libtool15,${TARGET_PREFIX}libtool libtool115,' -i ${S}/srclib/apr/build/buildcheck.sh
+}
+
 do_configure() {
 	( cd srclib/apr; ./buildconf ) 
 	oe_runconf
Signature · 1 line
1.6.3.3
#3 lore raw

PATCH 1/1 ppp: fix poff

* the pid file contains several lines which breaks poff, even if only one pppd is running
753
ppp0
753
pppd version 2.4.5

* by using pidoff to kill pppd this script works again

---
 recipes/ppp/files/poff |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
recipes/ppp/files/poff +1 -0
index 0521a94..b2042ef 100644
@@ -2,6 +2,7 @@
 
 # Lets see how many pppds are running....
 set -- `cat /var/run/ppp*.pid 2>/dev/null`
+set -- `pidof pppd`
 
 case $# in
   0) # pppd only creates a pid file once ppp is up, so let's try killing pppd
Signature · 1 line
1.6.3.3
#4 lore raw

PATCH 1/1 cups: add version 1.4.4

* libusb support is enabled in this recipe
* DEFAULT_PREFERENCE = "-1" as previous recipe didn't enable this

---
 recipes/cups/cups-1.4.4/configure.patch            |  117 ++++++++++++++++++++
 recipes/cups/cups-1.4.4/skip_tools.patch           |   51 +++++++++
 .../cups/cups-1.4.4/use_echo_only_in_init.patch    |   11 ++
 recipes/cups/cups_1.4.4.bb                         |   17 +++
 4 files changed, 196 insertions(+), 0 deletions(-)
 create mode 100644 recipes/cups/cups-1.4.4/configure.patch
 create mode 100644 recipes/cups/cups-1.4.4/skip_tools.patch
 create mode 100644 recipes/cups/cups-1.4.4/use_echo_only_in_init.patch
 create mode 100644 recipes/cups/cups_1.4.4.bb
recipes/cups/cups-1.4.4/configure.patch new file +117 -0
new file mode 100644
index 0000000..877e8d3
@@ -0,0 +1,117 @@
+--- cups-1.4.3/configure.orig	2010-04-08 11:14:19.092296014 +0200
++++ cups-1.4.3/configure	2010-04-08 11:19:02.661417938 +0200
+@@ -10940,114 +10940,6 @@
+     		OPTIM="-fPIC $OPTIM"
+ 	fi
+ 
+-	# The -fstack-protector option is available with some versions of
+-	# GCC and adds "stack canaries" which detect when the return address
+-	# has been overwritten, preventing many types of exploit attacks.
+-	{ echo "$as_me:$LINENO: checking if GCC supports -fstack-protector" >&5
+-echo $ECHO_N "checking if GCC supports -fstack-protector... $ECHO_C" >&6; }
+-	OLDCFLAGS="$CFLAGS"
+-	CFLAGS="$CFLAGS -fstack-protector"
+-	cat >conftest.$ac_ext <<_ACEOF
+-/* confdefs.h.  */
+-_ACEOF
+-cat confdefs.h >>conftest.$ac_ext
+-cat >>conftest.$ac_ext <<_ACEOF
+-/* end confdefs.h.  */
+-
+-int
+-main ()
+-{
+-
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (ac_try="$ac_link"
+-case "(($ac_try" in
+-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+-  *) ac_try_echo=$ac_try;;
+-esac
+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+-  (eval "$ac_link") 2>conftest.er1
+-  ac_status=$?
+-  grep -v '^ *+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } && {
+-	 test -z "$ac_c_werror_flag" ||
+-	 test ! -s conftest.err
+-       } && test -s conftest$ac_exeext &&
+-       $as_test_x conftest$ac_exeext; then
+-  OPTIM="$OPTIM -fstack-protector"
+-		{ echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6; }
+-else
+-  echo "$as_me: failed program was:" >&5
+-sed 's/^/| /' conftest.$ac_ext >&5
+-
+-	{ echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6; }
+-fi
+-
+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+-      conftest$ac_exeext conftest.$ac_ext
+-	CFLAGS="$OLDCFLAGS"
+-
+-	# The -pie option is available with some versions of GCC and adds
+-	# randomization of addresses, which avoids another class of exploits
+-	# that depend on a fixed address for common functions.
+-	{ echo "$as_me:$LINENO: checking if GCC supports -pie" >&5
+-echo $ECHO_N "checking if GCC supports -pie... $ECHO_C" >&6; }
+-	OLDCFLAGS="$CFLAGS"
+-	CFLAGS="$CFLAGS -pie -fPIE"
+-	cat >conftest.$ac_ext <<_ACEOF
+-/* confdefs.h.  */
+-_ACEOF
+-cat confdefs.h >>conftest.$ac_ext
+-cat >>conftest.$ac_ext <<_ACEOF
+-/* end confdefs.h.  */
+-
+-int
+-main ()
+-{
+-
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (ac_try="$ac_compile"
+-case "(($ac_try" in
+-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+-  *) ac_try_echo=$ac_try;;
+-esac
+-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+-  (eval "$ac_compile") 2>conftest.er1
+-  ac_status=$?
+-  grep -v '^ *+' conftest.er1 >conftest.err
+-  rm -f conftest.er1
+-  cat conftest.err >&5
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } && {
+-	 test -z "$ac_c_werror_flag" ||
+-	 test ! -s conftest.err
+-       } && test -s conftest.$ac_objext; then
+-  PIEFLAGS="-pie -fPIE"
+-		{ echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6; }
+-else
+-  echo "$as_me: failed program was:" >&5
+-sed 's/^/| /' conftest.$ac_ext >&5
+-
+-	{ echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6; }
+-fi
+-
+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+-	CFLAGS="$OLDCFLAGS"
+-
+ 	if test "x$with_optim" = x; then
+ 		# Add useful warning options for tracking down problems...
+ 		OPTIM="-Wall -Wno-format-y2k $OPTIM"
recipes/cups/cups-1.4.4/skip_tools.patch new file +51 -0

51 lines not on this page · raw message

recipes/cups/cups-1.4.4/use_echo_only_in_init.patch new file +11 -0
new file mode 100644
index 0000000..21ff0e5
@@ -0,0 +1,11 @@
+--- a/init/cups.sh.in.orig	2008-10-04 16:50:46.000000000 -0300
++++ b/init/cups.sh.in	2008-10-04 16:51:39.000000000 -0300
+@@ -68,7 +68,7 @@
+ 		ECHO_ERROR=:
+ 		;;
+ 
+-	Linux*)
++	DISABLELinux*)
+ 		IS_ON=/bin/true
+ 		if test -f /etc/init.d/functions; then
+ 			. /etc/init.d/functions
recipes/cups/cups_1.4.4.bb new file +17 -0
new file mode 100644
index 0000000..7813dbf
@@ -0,0 +1,17 @@
+require cups14.inc
+
+SRC_URI += " \
+	file://use_echo_only_in_init.patch \
+	file://skip_tools.patch \
+	file://configure.patch \
+	"
+
+SRC_URI[archive.md5sum] = "8776403ad60fea9e85eab9c04d88560d"
+SRC_URI[archive.sha256sum] = "d25ffa35add3abeeec0eba60be2cffc89425b649c64ef3a73dfc724683a59aa3"
+
+PR = "r1"
+
+DEFAULT_PREFERENCE = "-1"
+DEPENDS += " libusb "
+EXTRA_OECONF += " --disable-gssapi --disable-largefile --enable-debug --disable-relro --enable-libusb"
+CONFFILES_${PN} += "${sysconfdir}/cups/cupsd.conf"
Signature · 1 line
1.6.3.3
#5 lore raw

PATCH 1/1 ppp: add version 2.4.5

* tested on armv5te with RTC and GPRS
* DEFAULT_PREFERENCE = "-1" for the moment until it's better tested

---
 recipes/ppp/ppp-2.4.5/cifdefroute.patch            |  322 ++++
 recipes/ppp/ppp-2.4.5/enable-ipv6.patch            |   11 +
 recipes/ppp/ppp-2.4.5/ldflags.patch                |   48 +
 .../makefile-remove-hard-usr-reference.patch       |   28 +
 recipes/ppp/ppp-2.4.5/makefile.patch               |   86 ++
 .../ppp/ppp-2.4.5/ppp-2.4.4-mppe-mppc.1.1.patch    | 1567 ++++++++++++++++++++
 recipes/ppp/ppp-2.4.5/pppd-resolv-varrun.patch     |   43 +
 recipes/ppp/ppp-2.4.5/pppoatm-makefile.patch       |    7 +
 recipes/ppp/ppp_2.4.5.bb                           |   82 +
 9 files changed, 2194 insertions(+), 0 deletions(-)
 create mode 100644 recipes/ppp/ppp-2.4.5/cifdefroute.patch
 create mode 100644 recipes/ppp/ppp-2.4.5/enable-ipv6.patch
 create mode 100644 recipes/ppp/ppp-2.4.5/ldflags.patch
 create mode 100644 recipes/ppp/ppp-2.4.5/makefile-remove-hard-usr-reference.patch
 create mode 100644 recipes/ppp/ppp-2.4.5/makefile.patch
 create mode 100644 recipes/ppp/ppp-2.4.5/ppp-2.4.4-mppe-mppc.1.1.patch
 create mode 100644 recipes/ppp/ppp-2.4.5/pppd-resolv-varrun.patch
 create mode 100644 recipes/ppp/ppp-2.4.5/pppoatm-makefile.patch
 create mode 100644 recipes/ppp/ppp_2.4.5.bb
recipes/ppp/ppp-2.4.5/cifdefroute.patch new file +322 -0
new file mode 100644
index 0000000..8cf43ee
@@ -0,0 +1,322 @@
+    Add cifdefroute patch from Debian / SuSE to implement replacedefaultroute
+    
+    http://packages.debian.org/source/etch/ppp
+    
+    Debian source package for ppp 2.4.4rel-8
+    
+    zcat http://ftp.de.debian.org/debian/pool/main/p/ppp/ppp_2.4.4rel-8.diff.gz |
+    patch -p0, then look for debian/patches/cifdefroute.diff
+
+diff --git a/pppd/ipcp.c b/pppd/ipcp.c
+index 5962c47..e6f7e2a 100644
+--- a/pppd/ipcp.c
++++ b/pppd/ipcp.c
+@@ -197,6 +197,14 @@ static option_t ipcp_option_list[] = {
+       "disable defaultroute option", OPT_ALIAS | OPT_A2CLR,
+       &ipcp_wantoptions[0].default_route },
+ 
++    { "replacedefaultroute", o_bool,
++				&ipcp_wantoptions[0].replace_default_route,
++      "Replace default route", 1
++    },
++    { "noreplacedefaultroute", o_bool,
++				&ipcp_allowoptions[0].replace_default_route,
++      "Never replace default route", OPT_A2COPY,
++				&ipcp_wantoptions[0].replace_default_route },
+     { "proxyarp", o_bool, &ipcp_wantoptions[0].proxy_arp,
+       "Add proxy ARP entry", OPT_ENABLE|1, &ipcp_allowoptions[0].proxy_arp },
+     { "noproxyarp", o_bool, &ipcp_allowoptions[0].proxy_arp,
+@@ -263,7 +271,7 @@ struct protent ipcp_protent = {
+     ip_active_pkt
+ };
+ 
+-static void ipcp_clear_addrs __P((int, u_int32_t, u_int32_t));
++static void ipcp_clear_addrs __P((int, u_int32_t, u_int32_t, bool));
+ static void ipcp_script __P((char *, int));	/* Run an up/down script */
+ static void ipcp_script_done __P((void *));
+ 
+@@ -1660,7 +1668,8 @@ ip_demand_conf(u)
+     if (!sifnpmode(u, PPP_IP, NPMODE_QUEUE))
+ 	return 0;
+     if (wo->default_route)
+-	if (sifdefaultroute(u, wo->ouraddr, wo->hisaddr))
++	if (sifdefaultroute(u, wo->ouraddr, wo->hisaddr,
++		wo->replace_default_route))
+ 	    default_route_set[u] = 1;
+     if (wo->proxy_arp)
+ 	if (sifproxyarp(u, wo->hisaddr))
+@@ -1742,7 +1751,8 @@ ipcp_up(f)
+      */
+     if (demand) {
+ 	if (go->ouraddr != wo->ouraddr || ho->hisaddr != wo->hisaddr) {
+-	    ipcp_clear_addrs(f->unit, wo->ouraddr, wo->hisaddr);
++	    ipcp_clear_addrs(f->unit, wo->ouraddr, wo->hisaddr,
++				      wo->replace_default_route);
+ 	    if (go->ouraddr != wo->ouraddr) {
+ 		warn("Local IP address changed to %I", go->ouraddr);
+ 		script_setenv("OLDIPLOCAL", ip_ntoa(wo->ouraddr), 0);
+@@ -1767,7 +1777,8 @@ ipcp_up(f)
+ 
+ 	    /* assign a default route through the interface if required */
+ 	    if (ipcp_wantoptions[f->unit].default_route) 
+-		if (sifdefaultroute(f->unit, go->ouraddr, ho->hisaddr))
++		if (sifdefaultroute(f->unit, go->ouraddr, ho->hisaddr,
++			wo->replace_default_route))
+ 		    default_route_set[f->unit] = 1;
+ 
+ 	    /* Make a proxy ARP entry if requested. */
+@@ -1817,7 +1828,8 @@ ipcp_up(f)
+ 
+ 	/* assign a default route through the interface if required */
+ 	if (ipcp_wantoptions[f->unit].default_route) 
+-	    if (sifdefaultroute(f->unit, go->ouraddr, ho->hisaddr))
++	    if (sifdefaultroute(f->unit, go->ouraddr, ho->hisaddr,
++		    wo->replace_default_route))
+ 		default_route_set[f->unit] = 1;
+ 
+ 	/* Make a proxy ARP entry if requested. */
+@@ -1894,7 +1906,7 @@ ipcp_down(f)
+ 	sifnpmode(f->unit, PPP_IP, NPMODE_DROP);
+ 	sifdown(f->unit);
+ 	ipcp_clear_addrs(f->unit, ipcp_gotoptions[f->unit].ouraddr,
+-			 ipcp_hisoptions[f->unit].hisaddr);
++			 ipcp_hisoptions[f->unit].hisaddr, 0);
+     }
+ 
+     /* Execute the ip-down script */
+@@ -1910,16 +1922,25 @@ ipcp_down(f)
+  * proxy arp entries, etc.
+  */
+ static void
+-ipcp_clear_addrs(unit, ouraddr, hisaddr)
++ipcp_clear_addrs(unit, ouraddr, hisaddr, replacedefaultroute)
+     int unit;
+     u_int32_t ouraddr;  /* local address */
+     u_int32_t hisaddr;  /* remote address */
++    bool replacedefaultroute;
+ {
+     if (proxy_arp_set[unit]) {
+ 	cifproxyarp(unit, hisaddr);
+ 	proxy_arp_set[unit] = 0;
+     }
+-    if (default_route_set[unit]) {
++    /* If replacedefaultroute, sifdefaultroute will be called soon
++     * with replacedefaultroute set and that will overwrite the current
++     * default route. This is the case only when doing demand, otherwise
++     * during demand, this cifdefaultroute would restore the old default
++     * route which is not what we want in this case. In the non-demand
++     * case, we'll delete the default route and restore the old if there
++     * is one saved by an sifdefaultroute with replacedefaultroute.
++     */
++    if (!replacedefaultroute && default_route_set[unit]) {
+ 	cifdefaultroute(unit, ouraddr, hisaddr);
+ 	default_route_set[unit] = 0;
+     }
+diff --git a/pppd/ipcp.h b/pppd/ipcp.h
+index 6cf14c9..7ecfa79 100644
+--- a/pppd/ipcp.h
++++ b/pppd/ipcp.h
+@@ -70,6 +70,7 @@ typedef struct ipcp_options {
+     bool old_addrs;		/* Use old (IP-Addresses) option? */
+     bool req_addr;		/* Ask peer to send IP address? */
+     bool default_route;		/* Assign default route through interface? */
++    bool replace_default_route;	/* Replace default route through interface? */
+     bool proxy_arp;		/* Make proxy ARP entry for peer? */
+     bool neg_vj;		/* Van Jacobson Compression? */
+     bool old_vj;		/* use old (short) form of VJ option? */
+diff --git a/pppd/pppd.8 b/pppd/pppd.8
+index 5f82469..222fa30 100644
+--- a/pppd/pppd.8
++++ b/pppd/pppd.8
+@@ -121,6 +121,11 @@ the gateway, when IPCP negotiation is successfully completed.
+ This entry is removed when the PPP connection is broken.  This option
+ is privileged if the \fInodefaultroute\fR option has been specified.
+ .TP
++.B replacedefaultroute
++This option is a flag to the defaultroute option. If defaultroute is
++set and this flag is also set, pppd replaces an existing default route
++with the new default route.
++.TP
+ .B disconnect \fIscript
+ Execute the command specified by \fIscript\fR, by passing it to a
+ shell, after
+@@ -706,7 +711,12 @@ disable both forms of hardware flow control.
+ .TP
+ .B nodefaultroute
+ Disable the \fIdefaultroute\fR option.  The system administrator who
+-wishes to prevent users from creating default routes with pppd
++wishes to prevent users from adding a default route with pppd
++can do so by placing this option in the /etc/ppp/options file.
++.TP
++.B noreplacedefaultroute
++Disable the \fIreplacedefaultroute\fR option. The system administrator who
++wishes to prevent users from replacing a default route with pppd
+ can do so by placing this option in the /etc/ppp/options file.
+ .TP
+ .B nodeflate
+diff --git a/pppd/pppd.h b/pppd/pppd.h
+index f43a039..feff5e6 100644
+--- a/pppd/pppd.h
++++ b/pppd/pppd.h
+@@ -642,7 +642,7 @@ int  sif6addr __P((int, eui64_t, eui64_t));
+ int  cif6addr __P((int, eui64_t, eui64_t));
+ 				/* Remove an IPv6 address from i/f */
+ #endif
+-int  sifdefaultroute __P((int, u_int32_t, u_int32_t));
++int  sifdefaultroute __P((int, u_int32_t, u_int32_t, bool replace_default_rt));
+ 				/* Create default route through i/f */
+ int  cifdefaultroute __P((int, u_int32_t, u_int32_t));
+ 				/* Delete default route through i/f */
+diff --git a/pppd/sys-linux.c b/pppd/sys-linux.c
+index e23315a..712582d 100644
+--- a/pppd/sys-linux.c
++++ b/pppd/sys-linux.c
+@@ -206,6 +206,8 @@ static unsigned char inbuf[512]; /* buffer for chars read from loopback */
+ 
+ static int	if_is_up;	/* Interface has been marked up */
+ static int	have_default_route;	/* Gateway for default route added */
++static struct	rtentry old_def_rt;	/* Old default route */
++static int	default_rt_repl_rest;	/* replace and restore old default rt */
+ static u_int32_t proxy_arp_addr;	/* Addr for proxy arp entry added */
+ static char proxy_arp_dev[16];		/* Device for proxy arp entry */
+ static u_int32_t our_old_addr;		/* for detecting address changes */
+@@ -1513,6 +1515,9 @@ static int read_route_table(struct rtentry *rt)
+ 	p = NULL;
+     }
+ 
++    SET_SA_FAMILY (rt->rt_dst,     AF_INET);
++    SET_SA_FAMILY (rt->rt_gateway, AF_INET);
++
+     SIN_ADDR(rt->rt_dst) = strtoul(cols[route_dest_col], NULL, 16);
+     SIN_ADDR(rt->rt_gateway) = strtoul(cols[route_gw_col], NULL, 16);
+     SIN_ADDR(rt->rt_genmask) = strtoul(cols[route_mask_col], NULL, 16);
+@@ -1582,20 +1587,51 @@ int have_route_to(u_int32_t addr)
+ /********************************************************************
+  *
+  * sifdefaultroute - assign a default route through the address given.
+- */
+-
+-int sifdefaultroute (int unit, u_int32_t ouraddr, u_int32_t gateway)
+-{
+-    struct rtentry rt;
+-
+-    if (defaultroute_exists(&rt) && strcmp(rt.rt_dev, ifname) != 0) {
+-	if (rt.rt_flags & RTF_GATEWAY)
+-	    error("not replacing existing default route via %I",
+-		  SIN_ADDR(rt.rt_gateway));
+-	else
++ *
++ * If the global default_rt_repl_rest flag is set, then this function
++ * already replaced the original system defaultroute with some other
++ * route and it should just replace the current defaultroute with
++ * another one, without saving the current route. Use: demand mode,
++ * when pppd sets first a defaultroute it it's temporary ppp0 addresses
++ * and then changes the temporary addresses to the addresses for the real
++ * ppp connection when it has come up.
++ */
++
++int sifdefaultroute (int unit, u_int32_t ouraddr, u_int32_t gateway, bool replace)
++{
++    struct rtentry rt, tmp_rt;
++    struct rtentry *del_rt = NULL;
++
++    if (default_rt_repl_rest) {
++	/* We have already reclaced the original defaultroute, if we
++	   are called again, we will delete the current default route
++	   and set the new default route in this function.
++	   - this is normally only the case the doing demand: */
++	if (defaultroute_exists(&tmp_rt))
++	    del_rt = &tmp_rt;
++    } else if (defaultroute_exists(&old_def_rt) &&
++	       strcmp(old_def_rt.rt_dev, ifname) != 0) {
++	/* We did not yet replace an existing default route, let's
++	   check if we should save and replace a default route: */
++	if (old_def_rt.rt_flags & RTF_GATEWAY) {
++	    if (!replace) {
++		error("not replacing existing default route via %I",
++		      SIN_ADDR(old_def_rt.rt_gateway));
++		return 0;
++	    } else {
++		/* we need to copy rt_dev because we need it permanent too: */
++		char *tmp_dev = malloc(strlen(old_def_rt.rt_dev) + 1);
++		strcpy(tmp_dev, old_def_rt.rt_dev);
++		old_def_rt.rt_dev = tmp_dev;
++
++		notice("replacing old default route to %s [%I]",
++			old_def_rt.rt_dev, SIN_ADDR(old_def_rt.rt_gateway));
++		default_rt_repl_rest = 1;
++		del_rt = &old_def_rt;
++	    }
++	} else
+ 	    error("not replacing existing default route through %s",
+-		  rt.rt_dev);
+-	return 0;
++		  old_def_rt.rt_dev);
+     }
+ 
+     memset (&rt, 0, sizeof (rt));
+@@ -1610,10 +1646,16 @@ int sifdefaultroute (int unit, u_int32_t ouraddr, u_int32_t gateway)
+ 
+     rt.rt_flags = RTF_UP;
+     if (ioctl(sock_fd, SIOCADDRT, &rt) < 0) {
+-	if ( ! ok_error ( errno ))
++	if (!ok_error(errno))
+ 	    error("default route ioctl(SIOCADDRT): %m");
+ 	return 0;
+     }
++    if (default_rt_repl_rest && del_rt)
++        if (ioctl(sock_fd, SIOCDELRT, del_rt) < 0) {
++	    if (!ok_error(errno))
++	        error("del old default route ioctl(SIOCDELRT): %m");
++	    return 0;
++        }
+ 
+     have_default_route = 1;
+     return 1;
+@@ -1642,11 +1684,21 @@ int cifdefaultroute (int unit, u_int32_t ouraddr, u_int32_t gateway)
+     rt.rt_flags = RTF_UP;
+     if (ioctl(sock_fd, SIOCDELRT, &rt) < 0 && errno != ESRCH) {
+ 	if (still_ppp()) {
+-	    if ( ! ok_error ( errno ))
++	    if (!ok_error(errno))
+ 		error("default route ioctl(SIOCDELRT): %m");
+ 	    return 0;
+ 	}
+     }
++    if (default_rt_repl_rest) {
++	notice("restoring old default route to %s [%I]",
++		old_def_rt.rt_dev, SIN_ADDR(old_def_rt.rt_gateway));
++        if (ioctl(sock_fd, SIOCADDRT, &old_def_rt) < 0) {
++	    if (!ok_error(errno))
++	        error("restore default route ioctl(SIOCADDRT): %m");
++	    return 0;
++        }
++        default_rt_repl_rest = 0;
++    }
+ 
+     return 1;
+ }
+diff --git a/pppd/sys-solaris.c b/pppd/sys-solaris.c
+index add4423..91677fe 100644
+--- a/pppd/sys-solaris.c
++++ b/pppd/sys-solaris.c
+@@ -2036,12 +2036,18 @@ cifaddr(u, o, h)
+  * sifdefaultroute - assign a default route through the address given.
+  */
+ int
+-sifdefaultroute(u, l, g)
++sifdefaultroute(u, l, g, replace)
+     int u;
+     u_int32_t l, g;
++    bool replace;
+ {
+     struct rtentry rt;
+ 
++    if (replace) {
++	error("replacedefaultroute not supported on this platform");
++	return 0;
++    }
++
+ #if defined(__USLC__)
+     g = l;			/* use the local address as gateway */
+ #endif
recipes/ppp/ppp-2.4.5/enable-ipv6.patch new file +11 -0
new file mode 100644
index 0000000..7b8acb2
@@ -0,0 +1,11 @@
+--- ppp-2.4.3/pppd/Makefile.linux.orig	2005-10-28 21:07:40.396359250 +0100
++++ ppp-2.4.3/pppd/Makefile.linux	2005-10-28 21:07:54.217223000 +0100
+@@ -62,7 +62,7 @@
+ 
+ HAS_SHADOW=y
+ #USE_PAM=y
+-#HAVE_INET6=y
++HAVE_INET6=y
+ 
+ # Enable plugins
+ PLUGIN=y
recipes/ppp/ppp-2.4.5/ldflags.patch new file +48 -0

48 lines not on this page · raw message

recipes/ppp/ppp-2.4.5/makefile-remove-hard-usr-reference.patch new file +28 -0
new file mode 100644
index 0000000..b907002
@@ -0,0 +1,28 @@
+--- ppp-2.4.4/pppd/Makefile.linux.orig	2009-08-24 14:28:02.000000000 -0400
++++ ppp-2.4.4/pppd/Makefile.linux	2009-08-24 14:42:58.000000000 -0400	
+@@ -117,10 +117,10 @@
+ #LIBS     += -lshadow $(LIBS)
+ endif
+ 
+-ifneq ($(wildcard /usr/include/crypt.h),)
++#ifneq ($(wildcard /usr/include/crypt.h),)
+ CFLAGS  += -DHAVE_CRYPT_H=1
+ LIBS	+= -lcrypt
+-endif
++#endif
+ 
+ ifdef NEEDDES
+ ifndef USE_CRYPT
+@@ -169,10 +169,10 @@
+ endif
+ 
+ ifdef FILTER
+-ifneq ($(wildcard /usr/include/pcap-bpf.h),)
++#ifneq ($(wildcard /usr/include/pcap-bpf.h),)
+ LIBS    += -lpcap
+ CFLAGS  += -DPPP_FILTER
+-endif
++#endif
+ endif
+ 
+ ifdef HAVE_INET6
recipes/ppp/ppp-2.4.5/makefile.patch new file +86 -0

86 lines not on this page · raw message

recipes/ppp/ppp-2.4.5/ppp-2.4.4-mppe-mppc.1.1.patch new file +1567 -0

1,567 lines not on this page · raw message

recipes/ppp/ppp-2.4.5/pppd-resolv-varrun.patch new file +43 -0

43 lines not on this page · raw message

recipes/ppp/ppp-2.4.5/pppoatm-makefile.patch new file +7 -0
new file mode 100644
index 0000000..5601f59
@@ -0,0 +1,7 @@
+--- ppp-2.4.3/pppd/plugins/pppoatm/Makefile.linux.orig	2005-10-26 20:38:50.990298750 +0100
++++ ppp-2.4.3/pppd/plugins/pppoatm/Makefile.linux	2005-10-26 20:39:05.583210750 +0100
+@@ -1,4 +1,3 @@
+-CC	= gcc
+ COPTS	= -O2 -g
+ CFLAGS	= $(COPTS) -I../.. -I../../../include -fPIC
+ LDFLAGS	= -shared
recipes/ppp/ppp_2.4.5.bb new file +82 -0

82 lines not on this page · raw message

Signature · 1 line
1.6.3.3
#6 lore raw

PATCH 1/1 hplip: add 3.10.6

* tested on armv5te using HP PSC inkjet printers
* DEFAULT_PREFERENCE = "-1" until it's more tested

---
 recipes/hplip/hplip_3.10.6.bb |   59 +++++++++++++++++++++++++++++++++++++++++
 1 files changed, 59 insertions(+), 0 deletions(-)
 create mode 100644 recipes/hplip/hplip_3.10.6.bb
recipes/hplip/hplip_3.10.6.bb new file +59 -0
new file mode 100644
index 0000000..d9dfe1d
@@ -0,0 +1,59 @@
+DESCRIPTION = "HP Linux Imaging and Printing"
+LICENSE = "GPL, MIT, BSD"
+
+# currently, we build a stripped down version that only includes IJS
+# and components required to implement a minimal printing system
+# for embedded systems.
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${PN}-${PV}.tar.gz \
+	"
+
+PR = "r1"
+DEFAULT_PREFERENCE = "-1"
+
+inherit autotools
+
+EXTRA_OECONF = ' \
+                BUILD_SYS="" HOST_SYS="" \
+		--enable-hpijs-install \
+                --disable-network-build \
+                --disable-doc-build \
+                --disable-pp-build \
+                --disable-scan-build \
+                --disable-gui-build \
+                --disable-fax-build \
+                --disable-dbus-build \
+                --disable-foomatic-drv-install \
+                --disable-foomatic-rip-hplip-install \
+               '
+
+# needed by python checks in configure
+EXTRA_OEMAKE = 'BUILD_SYS="" HOST_SYS=""'
+
+PACKAGES += "${PN}-ppd ${PN}-cups ${PN}-backend ${PN}-filter"
+RDEPENDS_${PN} += "python-syslog python-pprint python-compression python-shell python-xml python-unixadmin python-html python-resource python-terminal"
+
+# need to snag the debug file or OE will fail on backend package
+FILES_${PN}-dbg += "\
+     ${libdir}/cups/backend/.debug \
+     ${libdir}/python2.6/site-packages/.debug \
+     ${libdir}/cups/filter/.debug "
+
+FILES_${PN}-ppd = "\
+     ${datadir}/ppd"
+
+FILES_${PN}-cups = "\
+     ${datadir}/cups"
+
+FILES_${PN}-backend = "\
+     ${libdir}/cups/backend"
+
+FILES_${PN}-filter = "\
+     ${libdir}/cups/filter"
+
+FILES_${PN} += "\
+     ${libdir}/python2.6/site-packages/*.so"
+
+SRC_URI[md5sum] = "96c36e3baf35e93cf9436a772f0c9ef4"
+SRC_URI[sha256sum] = "3ee0e68a613d2b966dcb6df9fd8e074c4c3e590249e61c0d792de3373b84fdeb"
+
Signature · 1 line
1.6.3.3
#7 lore raw

PATCH 1/1 openvpn: add 2.1.3

* tested on armv5te using shared keys setup
* DEFAULT_PREFERENCE = "-1" until it's more tested

---
 recipes/openvpn/openvpn_2.1.3.bb |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
 create mode 100644 recipes/openvpn/openvpn_2.1.3.bb
recipes/openvpn/openvpn_2.1.3.bb new file +12 -0
new file mode 100644
index 0000000..c448151
@@ -0,0 +1,12 @@
+require openvpn.inc
+
+PR = "r0"
+SRC_URI = "http://openvpn.net/release/${P}.tar.gz \
+	   file://openvpn"
+
+# I want openvpn to be able to read password from file (hrw)
+EXTRA_OECONF += "--enable-password-save"
+DEFAULT_PREFERENCE = "-1"
+
+SRC_URI[md5sum] = "7486d3e270ba4b033e311d3e022a0ad7"
+SRC_URI[sha256sum] = "5185181df2e6043bd667377bc92e36ea5a5bd7600af209654f109b6403ca5b36"
Signature · 1 line
1.6.3.3
#8 lore raw

PATCH 1/1 gs: add gs-fonts-std

* thsi is one of the font packages gs can use to render ps files

---
 recipes/gs/gs-fonts-std_8.11.bb |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)
 create mode 100644 recipes/gs/gs-fonts-std_8.11.bb
recipes/gs/gs-fonts-std_8.11.bb new file +28 -0
new file mode 100644
index 0000000..76e331c
@@ -0,0 +1,28 @@
+DESCRIPTION = "Ghostscript fonts package"
+LICENSE = "GPL"
+SECTION = "fonts"
+HOMEPAGE = ""
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/gs-fonts/ghostscript-fonts-std-${PV}.tar.gz \
+           "
+
+PACKAGE_ARCH = "all"
+
+SRC_URI[md5sum] = "6865682b095f8c4500c54b285ff05ef6"
+SRC_URI[sha256sum] = "0eb6f356119f2e49b2563210852e17f57f9dcc5755f350a69a46a0d641a0c401"
+
+S = "${WORKDIR}/fonts"
+
+do_install () {
+	install -d ${D}${datadir}/fonts
+	install -m 644 ${S}/*.pfb ${D}${datadir}/fonts
+	install -m 644 ${S}/*.afm ${D}${datadir}/fonts
+	install -m 644 ${S}/*.pfm ${D}${datadir}/fonts
+}
+
+PACKAGES += "${PN}-pfb ${PN}-afm ${PN}-pfm"
+RDEPENDS_${PN} = "${PN}-pfb ${PN}-afm ${PN}-pfm"
+FILES_${PN}-pfb += "${datadir}/fonts/*.pfb"
+FILES_${PN}-afm += "${datadir}/fonts/*.afm"
+FILES_${PN}-pfm += "${datadir}/fonts/*.pfm"
Signature · 1 line
1.6.3.3
Acked-by on v1 1/1
#9 lore raw
In reply to Eric Bénard

2010/9/21 Eric Bénard <[email protected]>:

Quoted 19 lines

---
 recipes/perl/liburi-perl_1.52.bb |    4 ++--

 1 files changed, 2 insertions(+), 2 deletions(-)
recipes/perl/liburi-perl_1.52.bb +0 -0
index d9cf315..54f69da 100644
@@ -2,9 +2,9 @@ DESCRIPTION = "Manipulates and accesses URI strings"

 SECTION = "libs"
 LICENSE = "Artistic|GPL"
 #RDEPENDS_${PN} += " libmime-base64-perl libnet-perl"

recipes/perl/liburi-perl_1.52.bb +2 -2
-PR = "r3"
+PR = "r4"
 
-SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/URI-${PV}.tar.gz"
+SRC_URI = "http://cpan.yimg.com/modules/by-authors/id/GAAS/URI-${PV}.tar.gz"
Quoted 3 lines

 S = "${WORKDIR}/URI-${PV}"

--

Hm, you're touching an interesting issue here.
First time I tried:
http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/URI-1.52.tar.gz works for me it did not work, 2nd time it did 3rd time it didn't
seems it sometimes redirects to a mirror that is not there or does not have the file
I got as faulty mirror:
http://archive.cs.uu.nl/mirror/CPAN/authors/id/G/GA/GAAS/URI-1.52.tar.gz

cpan.yimg.com is apparently not something that redirects to a mirror so seems a better choice.
Probably we should also do something like this for other recipes that use search.cpan.org

It might also be a good plan to update the recipe to 1.55.

One other thing: The rdepends is commented out.
Accordign to http://deps.cpantesters.org/?module=URI;perl=latest the depends are on
1. MIME::Base64 S B R D Core module Core module
2. ExtUtils::MakeMaker S B R D Core module Core module
Suggest to fix this too.

After considering those fixes

#10 lore raw

PATCH v2 1/1 liburi-perl: update to 1.5.5

---
v2 : update to 1.55, URL fix is no more necessary

 recipes/perl/liburi-perl_1.52.bb |   18 ------------------
 recipes/perl/liburi-perl_1.55.bb |   18 ++++++++++++++++++
 2 files changed, 18 insertions(+), 18 deletions(-)
 delete mode 100644 recipes/perl/liburi-perl_1.52.bb
 create mode 100644 recipes/perl/liburi-perl_1.55.bb
recipes/perl/liburi-perl_1.52.bb deleted +0 -18
deleted file mode 100644
index d9cf315..0000000
@@ -1,18 +0,0 @@
-DESCRIPTION = "Manipulates and accesses URI strings"
-SECTION = "libs"
-LICENSE = "Artistic|GPL"
-#RDEPENDS_${PN} += " libmime-base64-perl libnet-perl"
-PR = "r3"
-
-SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/URI-${PV}.tar.gz"
-
-S = "${WORKDIR}/URI-${PV}"
-
-inherit cpan
-
-BBCLASSEXTEND="native"
-
-PACKAGE_ARCH = "all"
-
-SRC_URI[md5sum] = "d6ba96cc3e650af6537675e016e83d3e"
-SRC_URI[sha256sum] = "3d325b52c9d1e7aa2fbf67131f1f5ee39964cbe54e864bcfb9808af274a9eb4a"
recipes/perl/liburi-perl_1.55.bb new file +18 -0
new file mode 100644
index 0000000..1f602e2
@@ -0,0 +1,18 @@
+DESCRIPTION = "Manipulates and accesses URI strings"
+SECTION = "libs"
+LICENSE = "Artistic|GPL"
+RDEPENDS_${PN} += " perl-module-extutils-makemaker perl-module-mime-base64"
+PR = "r4"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/URI-${PV}.tar.gz"
+
+S = "${WORKDIR}/URI-${PV}"
+
+inherit cpan
+
+BBCLASSEXTEND="native"
+
+PACKAGE_ARCH = "all"
+
+SRC_URI[md5sum] = "e66a2ab45da92a2c5f67a495c88999f5"
+SRC_URI[sha256sum] = "34ece72deedebfe7d52da90990e49d79e7c62319837def69ed943316bfb74291"
Signature · 1 line
1.6.3.3
Acked-by on v2 1/1
#11 lore raw

Re: [PATCH v2] liburi-perl: update to 1.5.5

2010/9/23 Eric Bénard <[email protected]>:

Quoted 3 lines

---
v2 : update to 1.55, URL fix is no more necessary

Quoted 64 lines

 recipes/perl/liburi-perl_1.52.bb |   18 ------------------ recipes/perl/liburi-perl_1.55.bb |   18 ++++++++++++++++++

 2 files changed, 18 insertions(+), 18 deletions(-)

 delete mode 100644 recipes/perl/liburi-perl_1.52.bb create mode 100644 recipes/perl/liburi-perl_1.55.bb

recipes/perl/liburi-perl_1.52.bb deleted +0 -18
deleted file mode 100644
index d9cf315..0000000
@@ -1,18 +0,0 @@
-DESCRIPTION = "Manipulates and accesses URI strings"
-SECTION = "libs"
-LICENSE = "Artistic|GPL"
-#RDEPENDS_${PN} += " libmime-base64-perl libnet-perl"
-PR = "r3"
-
-SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/URI-${PV}.tar.gz"
-
-S = "${WORKDIR}/URI-${PV}"
-
-inherit cpan
-
-BBCLASSEXTEND="native"
-
-PACKAGE_ARCH = "all"
-
-SRC_URI[md5sum] = "d6ba96cc3e650af6537675e016e83d3e"
-SRC_URI[sha256sum] = "3d325b52c9d1e7aa2fbf67131f1f5ee39964cbe54e864bcfb9808af274a9eb4a"
recipes/perl/liburi-perl_1.55.bb new file +18 -1
new file mode 100644
index 0000000..1f602e2
@@ -0,0 +1,18 @@
+DESCRIPTION = "Manipulates and accesses URI strings"
+SECTION = "libs"
+LICENSE = "Artistic|GPL"
+RDEPENDS_${PN} += " perl-module-extutils-makemaker perl-module-mime-base64"
+PR = "r4"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/URI-${PV}.tar.gz"
+
+S = "${WORKDIR}/URI-${PV}"
+
+inherit cpan
+
+BBCLASSEXTEND="native"
+
+PACKAGE_ARCH = "all"
+
+SRC_URI[md5sum] = "e66a2ab45da92a2c5f67a495c88999f5"
+SRC_URI[sha256sum] = "34ece72deedebfe7d52da90990e49d79e7c62319837def69ed943316bfb74291"
--

1.6.3.3

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel