Add some new packages and rename liburi-perl.
Add mailx, cups, msmtp.
Rename liburi-perl_1.56 to liburi-perl_1.56.bb
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: jingdonglu/distro
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jingdonglu/distro
Thanks,
Jingdong Lu <[email protected]>
---
Jingdong Lu (4):
mailx: Add mailx
cups: Add cups
msmtp: Add msmtp
liburi-perl: Rename liburi-perl
.../perl/{liburi-perl_1.56 => liburi-perl_1.56.bb} | 0
.../cups/cups-1.4.4/configure.patch | 117 ++++++++++++++++++++
.../cups/cups-1.4.4/skip_tools.patch | 51 +++++++++
.../cups/cups-1.4.4/use_echo_only_in_init.patch | 11 ++
meta/recipes-extended/cups/cups14.inc | 86 ++++++++++++++
meta/recipes-extended/cups/cups_1.4.4.bb | 17 +++
meta/recipes-extended/mailx/mailx_12.4.bb | 23 ++++
meta/recipes-extended/msmtp/msmtp_1.4.21.bb | 31 +++++
8 files changed, 336 insertions(+), 0 deletions(-)
rename meta/recipes-devtools/perl/{liburi-perl_1.56 => liburi-perl_1.56.bb} (100%)
create mode 100644 meta/recipes-extended/cups/cups-1.4.4/configure.patch
create mode 100644 meta/recipes-extended/cups/cups-1.4.4/skip_tools.patch
create mode 100644 meta/recipes-extended/cups/cups-1.4.4/use_echo_only_in_init.patch
create mode 100644 meta/recipes-extended/cups/cups14.inc
create mode 100644 meta/recipes-extended/cups/cups_1.4.4.bb
create mode 100644 meta/recipes-extended/mailx/mailx_12.4.bb
create mode 100644 meta/recipes-extended/msmtp/msmtp_1.4.21.bbPATCH 1/4 mailx: Add mailx
--- meta/recipes-extended/mailx/mailx_12.4.bb | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-extended/mailx/mailx_12.4.bb
meta/recipes-extended/mailx/mailx_12.4.bb new file +23 -0
@@ -0,0 +1,23 @@ +SUMMARY = "mailx is the traditional command-line-mode \ +mail user agent." +DESCRIPTION = "Mailx is an enhanced mail command, which provides the functionality \ +of the POSIX mailx command, as well as SysV mail and Berkeley Mail \ +(from which it is derived)." +HOMEPAGE = "http://heirloom.sourceforge.net/mailx.html" +SECTION = "console/network" + +PRIORITY = "required" +LICENSE = "BSD with advertising and MPLv1.1" +PR = "r0" + +#COPYING or Licence +LIC_FILES_CHKSUM = "file://COPYING;md5=4202a0a62910cf94f7af8a3436a2a2dd" + +SRC_URI = "http://downloads.sourceforge.net/heirloom/mailx-12.4.tar.bz2 \ + " +SRC_URI[md5sum] = "0c93759e34200eb56a0e7c464680a54a" +SRC_URI[sha256sum] = "92201e769fe346bc0364c87437a330ef3c97ab3e9d7b2235b93f509e85e5716a" + +do_install() { + make DESTDIR=${D} PREFIX=${prefix} UCBINSTALL=install install +}
Signature · 1 line
1.7.0.4
PATCH 2/4 cups: Add cups
In reply to Jingdong Lu--- .../cups/cups-1.4.4/configure.patch | 117 ++++++++++++++++++++ .../cups/cups-1.4.4/skip_tools.patch | 51 +++++++++ .../cups/cups-1.4.4/use_echo_only_in_init.patch | 11 ++ meta/recipes-extended/cups/cups14.inc | 86 ++++++++++++++ meta/recipes-extended/cups/cups_1.4.4.bb | 17 +++ 5 files changed, 282 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-extended/cups/cups-1.4.4/configure.patch create mode 100644 meta/recipes-extended/cups/cups-1.4.4/skip_tools.patch create mode 100644 meta/recipes-extended/cups/cups-1.4.4/use_echo_only_in_init.patch create mode 100644 meta/recipes-extended/cups/cups14.inc create mode 100644 meta/recipes-extended/cups/cups_1.4.4.bb
meta/recipes-extended/cups/cups-1.4.4/configure.patch new file +117 -0
@@ -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"
meta/recipes-extended/cups/cups-1.4.4/skip_tools.patch new file +51 -0
51 lines not on this page · raw message
meta/recipes-extended/cups/cups-1.4.4/use_echo_only_in_init.patch new file +11 -0
@@ -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
meta/recipes-extended/cups/cups14.inc new file +86 -0
86 lines not on this page · raw message
meta/recipes-extended/cups/cups_1.4.4.bb new file +17 -0
@@ -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[md5sum] = "8776403ad60fea9e85eab9c04d88560d" +SRC_URI[sha256sum] = "d25ffa35add3abeeec0eba60be2cffc89425b649c64ef3a73dfc724683a59aa3" + +PR = "r0" + +DEFAULT_PREFERENCE = "-1" +#DEPENDS += "virtual/libusb0" +EXTRA_OECONF += " --disable-gssapi --disable-largefile --enable-debug --disable-relro --enable-libusb" +CONFFILES_${PN} += "${sysconfdir}/cups/cupsd.conf"
Signature · 1 line
1.7.0.4
PATCH 3/4 msmtp: Add msmtp
In reply to Jingdong Lu--- meta/recipes-extended/msmtp/msmtp_1.4.21.bb | 31 +++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-extended/msmtp/msmtp_1.4.21.bb
meta/recipes-extended/msmtp/msmtp_1.4.21.bb new file +31 -0
@@ -0,0 +1,31 @@ +SUMMARY = "msmtp is an SMTP client." +DESCRIPTION = "msmtp is an SMTP client." +HOMEPAGE = "http://msmtp.sourceforge.net/" +SECTION = "console/network" + +PRIORITY = "required" +LICENSE = "GPLv3" +PR = "r0" + + +#COPYING or Licence +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" + +SRC_URI = "http://sourceforge.net/projects/msmtp/files/msmtp/1.4.21/msmtp-1.4.21.tar.bz2 \ + " + +SRC_URI[md5sum] = "9d764cd9036168f49bc9d6531a7f3dba" +SRC_URI[sha256sum] = "2fb39be54d793882081d38ec2b709f6dc1aa4c124f5f244e111a0b604df14ffa" + +inherit gettext + +#S = "${WORKDIR}/msmtp-1.4.21" + +do_configure() { + ${S}/configure --prefix=${prefix} +} + +do_install() { + oe_runmake 'DESTDIR=${D}' install +} +
Signature · 1 line
1.7.0.4
PATCH 4/4 liburi-perl: Rename liburi-perl
In reply to Jingdong Lu---
.../perl/{liburi-perl_1.56 => liburi-perl_1.56.bb} | 0
1 files changed, 0 insertions(+), 0 deletions(-)
rename meta/recipes-devtools/perl/{liburi-perl_1.56 => liburi-perl_1.56.bb} (100%)meta/recipes-devtools/perl/liburi-perl_1.56.bb renamed from meta/recipes-devtools/perl/liburi-perl_1.56 +0 -0
Signature · 1 line
1.7.0.4
Quoted 12 lines · Jingdong Lu
Add mailx, cups, msmtp.
Rename liburi-perl_1.56 to liburi-perl_1.56.bbPull URL:
git://git.pokylinux.org/poky-contrib.git
Branch: jingdonglu/distro
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jingdonglu/distroThanks,
Jingdong Lu<[email protected]>
---
Quoted 5 lines
Jingdong Lu (4):
mailx: Add mailx
cups: Add cups
msmtp: Add msmtp
liburi-perl: Rename liburi-perl
Hi Jingdong,
I did not pull mailx, cups or msmtp for various failures and needed to get more history about where these recipes and patches came from. Did you use OpenEmbedded as a reference for these, if so, you need to credit OE and document where any why the patches are needed for cups.
We also held off from the lsb task, since it contained all of these.
If you have any questions, let me know.
Sau!
Quoted 24 lines
.../perl/{liburi-perl_1.56 => liburi-perl_1.56.bb} | 0 .../cups/cups-1.4.4/configure.patch | 117 ++++++++++++++++++++ .../cups/cups-1.4.4/skip_tools.patch | 51 +++++++++ .../cups/cups-1.4.4/use_echo_only_in_init.patch | 11 ++ meta/recipes-extended/cups/cups14.inc | 86 ++++++++++++++ meta/recipes-extended/cups/cups_1.4.4.bb | 17 +++ meta/recipes-extended/mailx/mailx_12.4.bb | 23 ++++ meta/recipes-extended/msmtp/msmtp_1.4.21.bb | 31 +++++ 8 files changed, 336 insertions(+), 0 deletions(-)rename meta/recipes-devtools/perl/{liburi-perl_1.56 => liburi-perl_1.56.bb} (100%) create mode 100644
meta/recipes-extended/cups/cups-1.4.4/configure.patchcreate mode 100644meta/recipes-extended/cups/cups-1.4.4/skip_tools.patchcreate mode 100644meta/recipes-extended/cups/cups-1.4.4/use_echo_only_in_init.patchcreate mode 100644 meta/recipes-extended/cups/cups14.inc
create mode 100644 meta/recipes-extended/cups/cups_1.4.4.bb
create mode 100644 meta/recipes-extended/mailx/mailx_12.4.bb
create mode 100644 meta/recipes-extended/msmtp/msmtp_1.4.21.bb_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky