Author: glen Date: Mon Jul 20 11:30:46 2009 GMT Module: packages Tag: HEAD ---- Log message: - fix bashism
---- Files affected: packages/pxe-kexec: pxe-kexec.spec (1.1 -> 1.2) , bashism.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/pxe-kexec/pxe-kexec.spec diff -u packages/pxe-kexec/pxe-kexec.spec:1.1 packages/pxe-kexec/pxe-kexec.spec:1.2 --- packages/pxe-kexec/pxe-kexec.spec:1.1 Mon Jul 20 11:58:09 2009 +++ packages/pxe-kexec/pxe-kexec.spec Mon Jul 20 13:30:40 2009 @@ -2,7 +2,7 @@ Summary: Linux boots Linux via network Name: pxe-kexec Version: 0.1.7 -Release: 0.1 +Release: 1 License: GPL v2+ Group: Applications/System URL: http://pxe-kexec.berlios.de/ @@ -10,6 +10,7 @@ # Source0-md5: 3aa6f95a31a3e7eadc363dec9d8321d7 BuildRequires: cmake BuildRequires: curl-devel +BuildRequires: libstdc++-devel BuildRequires: ncurses-devel BuildRequires: readline-devel Requires: kexec-tools @@ -40,7 +41,7 @@ %files %defattr(644,root,root,755) -%doc COPYING NEWS README ChangeLog +%doc NEWS README ChangeLog %attr(755,root,root) %{_sbindir}/pxe-kexec %{_mandir}/man8/pxe-kexec.8* @@ -50,5 +51,8 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.2 2009/07/20 11:30:40 glen +- fix bashism + Revision 1.1 2009/07/20 09:58:09 glen - new ================================================================ Index: packages/pxe-kexec/bashism.patch diff -u /dev/null packages/pxe-kexec/bashism.patch:1.1 --- /dev/null Mon Jul 20 13:30:46 2009 +++ packages/pxe-kexec/bashism.patch Mon Jul 20 13:30:40 2009 @@ -0,0 +1,11 @@ +--- pxe-kexec-0.1.7/src/pxekexec.cc~ 2008-10-22 21:48:27.000000000 +0300 ++++ pxe-kexec-0.1.7/src/pxekexec.cc 2009-07-20 14:30:02.967066054 +0300 +@@ -272,7 +272,7 @@ + /* -------------------------------------------------------------------------- */ + bool PxeKexec::checkEnv() + { +- int ret = system("kexec -h &>/dev/null"); ++ int ret = system("kexec -h >/dev/null 2>&1"); + if (WEXITSTATUS(ret) != 0) { + cout << "Error: kexec-tools are not installed." << endl; + return false; ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pxe-kexec/pxe-kexec.spec?r1=1.1&r2=1.2&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
