From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcel Lorenz To: development@lists.ipfire.org Subject: Re: [PATCH 1/2] New package: libcheck (dependency for kbd 2.0.3) Date: Mon, 09 May 2016 16:46:11 +0200 Message-ID: <3767858089b6a6d572c9f52555bcd2fc@mail01.ipfire.org> In-Reply-To: <1459257927.30749.189.camel@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5662972004685965181==" List-Id: --===============5662972004685965181== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, the make.sh can't find a file named "check*" in cache dir. After rename the lfs file are all ok. The error is: Remote file does not exist -- broken link!!! Best, Marcel Am 2016-03-29 15:25, schrieb Michael Tremer: > Hi, >=20 > the patch itself is okay. >=20 > On Sun, 2016-03-20 at 14:14 +0100, Marcel Lorenz wrote: >> This package is only need for build kbd version 2.0.3 >> No files from this package are needed in the distribution. >> The package was original named "check" but the make.sh can't handle=20 >> this name. >> ;-)=C2=A0 >=20 > Please do not include those comments in the commit message because they=20 > don't > really have any long-term use. Use the "cover letter" functionality of=20 > git send- > email instead. >=20 > Why did naming the package "check" not work? >=20 > -Michael >=20 >>=20 >> Signed-off-by: Marcel Lorenz >>=20 >> --- >> =C2=A0config/rootfiles/common/libcheck | 43 ++++++++++++++++++++++ >> =C2=A0lfs/libcheck=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0| 77 >> ++++++++++++++++++++++++++++++++++++++++ >> =C2=A02 files changed, 120 insertions(+) >> =C2=A0create mode 100644 config/rootfiles/common/libcheck >> =C2=A0create mode 100644 lfs/libcheck >>=20 >> diff --git a/config/rootfiles/common/libcheck >> b/config/rootfiles/common/libcheck >> new file mode 100644 >> index 0000000..0af3fcf >> --- /dev/null >> +++ b/config/rootfiles/common/libcheck >> @@ -0,0 +1,43 @@ >> +#usr/bin/checkmk >> +#usr/include/check.h >> +#usr/include/check_stdint.h >> +#usr/lib/libcheck.a >> +#usr/lib/libcheck.la >> +#usr/lib/libcheck.so >> +#usr/lib/libcheck.so.0 >> +#usr/lib/libcheck.so.0.0.0 >> +#usr/lib/pkgconfig/check.pc >> +#usr/share/aclocal/check.m4 >> +#usr/share/doc/check >> +#usr/share/doc/check/COPYING.LESSER >> +#usr/share/doc/check/ChangeLog >> +#usr/share/doc/check/ChangeLogOld >> +#usr/share/doc/check/NEWS >> +#usr/share/doc/check/README >> +#usr/share/doc/check/SVNChangeLog >> +#usr/share/doc/check/example >> +#usr/share/doc/check/example/Makefile.am >> +#usr/share/doc/check/example/README >> +#usr/share/doc/check/example/configure.ac >> +#usr/share/doc/check/example/src >> +#usr/share/doc/check/example/src/Makefile.am >> +#usr/share/doc/check/example/src/main.c >> +#usr/share/doc/check/example/src/money.1.c >> +#usr/share/doc/check/example/src/money.1.h >> +#usr/share/doc/check/example/src/money.2.h >> +#usr/share/doc/check/example/src/money.3.c >> +#usr/share/doc/check/example/src/money.4.c >> +#usr/share/doc/check/example/src/money.5.c >> +#usr/share/doc/check/example/src/money.6.c >> +#usr/share/doc/check/example/src/money.c >> +#usr/share/doc/check/example/src/money.h >> +#usr/share/doc/check/example/tests >> +#usr/share/doc/check/example/tests/Makefile.am >> +#usr/share/doc/check/example/tests/check_money.1.c >> +#usr/share/doc/check/example/tests/check_money.2.c >> +#usr/share/doc/check/example/tests/check_money.3.c >> +#usr/share/doc/check/example/tests/check_money.6.c >> +#usr/share/doc/check/example/tests/check_money.7.c >> +#usr/share/doc/check/example/tests/check_money.c >> +#usr/share/info/check.info >> +#usr/share/man/man1/checkmk.1 >> diff --git a/lfs/libcheck b/lfs/libcheck >> new file mode 100644 >> index 0000000..6e6291e >> --- /dev/null >> +++ b/lfs/libcheck >> @@ -0,0 +1,77 @@ >> +#########################################################################= #### >> ## >> +#=C2=A0=C2=A0=C2=A0=C2=A0=C2=A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A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 >> =C2=A0# >> +# This program is free software: you can redistribute it and/or >> modify=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# >> +# it under the terms of the GNU General Public License as published >> by=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# >> +# the Free Software Foundation, either version 3 of the License, >> or=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# >> +# (at your option) any later >> version.=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# >> +#=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 >> =C2=A0# >> +# This program is distributed in the hope that it will be >> useful,=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0# >> +# but WITHOUT ANY WARRANTY; without even the implied warranty >> of=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0# >> +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.=C2=A0=C2=A0See >> the=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0# >> +# GNU General Public License for more >> details.=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# >> +#=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 >> =C2=A0# >> +# You should have received a copy of the GNU General Public >> License=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# >> +# along with this program.=C2=A0=C2=A0If not, see=20 >> .=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 >> =C2=A0# >> +#=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 >> =C2=A0# >> +#########################################################################= #### >> ## >> + >> +#########################################################################= #### >> ## >> +# Definitions >> +#########################################################################= #### >> ## >> + >> +include Config >> + >> +VER=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D 0.10.0 >> + >> +THISAPP=C2=A0=C2=A0=C2=A0=C2=A0=3D check-$(VER) >> +DL_FILE=C2=A0=C2=A0=C2=A0=C2=A0=3D $(THISAPP).tar.gz >> +DL_FROM=C2=A0=C2=A0=C2=A0=C2=A0=3D $(URL_IPFIRE) >> +DIR_APP=C2=A0=C2=A0=C2=A0=C2=A0=3D $(DIR_SRC)/$(THISAPP) >> +TARGET=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D $(DIR_INFO)/$(THISAPP) >> + >> +#########################################################################= #### >> ## >> +# Top-level Rules >> +#########################################################################= #### >> ## >> + >> +objects =3D $(DL_FILE) >> + >> +$(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) >> + >> +$(DL_FILE)_MD5 =3D 53c5e5c77d090e103a17f3ed7fd7d8b8 >> + >> +install : $(TARGET) >> + >> +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) >> + >> +download :$(patsubst %,$(DIR_DL)/%,$(objects)) >> + >> +md5 : $(subst %,%_MD5,$(objects)) >> + >> +#########################################################################= #### >> ## >> +# Downloading, checking, md5sum >> +#########################################################################= #### >> ## >> + >> +$(patsubst %,$(DIR_CHK)/%,$(objects)) : >> + @$(CHECK) >> + >> +$(patsubst %,$(DIR_DL)/%,$(objects)) : >> + @$(LOAD) >> + >> +$(subst %,%_MD5,$(objects)) : >> + @$(MD5) >> + >> +#########################################################################= #### >> ## >> +# Installation Details >> +#########################################################################= #### >> ## >> + >> +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) >> + @$(PREBUILD) >> + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) >> + cd $(DIR_APP) && ./configure --prefix=3D/usr >> + cd $(DIR_APP) && make $(MAKETUNING) >> + cd $(DIR_APP) && make install >> + @rm -rf $(DIR_APP) >> + @$(POSTBUILD) --===============5662972004685965181==--