[1/2] New package: libcheck (dependency for kbd 2.0.3)
Message ID | 1458479644-8292-1-git-send-email-marcel.lorenz@ipfire.org |
---|---|
State | Dropped |
Headers |
Return-Path: <development-bounces@lists.ipfire.org> Received: from mail01.ipfire.org (hedwig.ipfire.org [172.28.1.200]) by web02.ipfire.org (Postfix) with ESMTP id 43D2261505 for <patchwork@ipfire.org>; Sun, 20 Mar 2016 14:02:25 +0100 (CET) Received: from mail01.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 489F91DF9; Sun, 20 Mar 2016 14:02:24 +0100 (CET) Received: from mint01.skynet.local (ip5f5b7cdb.dynamic.kabel-deutschland.de [95.91.124.219]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 5A0B01A8E; Sun, 20 Mar 2016 14:02:21 +0100 (CET) From: Marcel Lorenz <marcel.lorenz@ipfire.org> To: development@lists.ipfire.org Subject: [PATCH 1/2] New package: libcheck (dependency for kbd 2.0.3) Date: Sun, 20 Mar 2016 14:14:03 +0100 Message-Id: <1458479644-8292-1-git-send-email-marcel.lorenz@ipfire.org> X-Mailer: git-send-email 1.9.1 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFire development talk <development.lists.ipfire.org> List-Unsubscribe: <http://lists.ipfire.org/mailman/options/development>, <mailto:development-request@lists.ipfire.org?subject=unsubscribe> List-Archive: <http://lists.ipfire.org/pipermail/development/> List-Post: <mailto:development@lists.ipfire.org> List-Help: <mailto:development-request@lists.ipfire.org?subject=help> List-Subscribe: <http://lists.ipfire.org/mailman/listinfo/development>, <mailto:development-request@lists.ipfire.org?subject=subscribe> Errors-To: development-bounces@lists.ipfire.org Sender: "Development" <development-bounces@lists.ipfire.org> |
Message
Marcel Lorenz
March 21, 2016, 12:14 a.m. UTC
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 this name. ;-)
Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org>
---
config/rootfiles/common/libcheck | 43 ++++++++++++++++++++++
lfs/libcheck | 77 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 120 insertions(+)
create mode 100644 config/rootfiles/common/libcheck
create mode 100644 lfs/libcheck
Comments
Hi, the patch itself is okay. 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 this name. > ;-) Please do not include those comments in the commit message because they don't really have any long-term use. Use the "cover letter" functionality of git send- email instead. Why did naming the package "check" not work? -Michael > > Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org> > > --- > config/rootfiles/common/libcheck | 43 ++++++++++++++++++++++ > lfs/libcheck | 77 > ++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 120 insertions(+) > create mode 100644 config/rootfiles/common/libcheck > create mode 100644 lfs/libcheck > > 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 @@ > +############################################################################# > ## > +# > # > +# IPFire.org - A linux based > firewall # > +# Copyright (C) 2007-2012 Michael Tremer & Christian > Schmidt # > +# > # > +# This program is free software: you can redistribute it and/or > modify # > +# it under the terms of the GNU General Public License as published > by # > +# the Free Software Foundation, either version 3 of the License, > or # > +# (at your option) any later > version. # > +# > # > +# This program is distributed in the hope that it will be > useful, # > +# but WITHOUT ANY WARRANTY; without even the implied warranty > of # > +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See > the # > +# GNU General Public License for more > details. # > +# > # > +# You should have received a copy of the GNU General Public > License # > +# along with this program. If not, see <http://www.gnu.org/licenses/>. > # > +# > # > +############################################################################# > ## > + > +############################################################################# > ## > +# Definitions > +############################################################################# > ## > + > +include Config > + > +VER = 0.10.0 > + > +THISAPP = check-$(VER) > +DL_FILE = $(THISAPP).tar.gz > +DL_FROM = $(URL_IPFIRE) > +DIR_APP = $(DIR_SRC)/$(THISAPP) > +TARGET = $(DIR_INFO)/$(THISAPP) > + > +############################################################################# > ## > +# Top-level Rules > +############################################################################# > ## > + > +objects = $(DL_FILE) > + > +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) > + > +$(DL_FILE)_MD5 = 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=/usr > + cd $(DIR_APP) && make $(MAKETUNING) > + cd $(DIR_APP) && make install > + @rm -rf $(DIR_APP) > + @$(POSTBUILD)
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, > > the patch itself is okay. > > 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 >> this name. >> ;-) > > Please do not include those comments in the commit message because they > don't > really have any long-term use. Use the "cover letter" functionality of > git send- > email instead. > > Why did naming the package "check" not work? > > -Michael > >> >> Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org> >> >> --- >> config/rootfiles/common/libcheck | 43 ++++++++++++++++++++++ >> lfs/libcheck | 77 >> ++++++++++++++++++++++++++++++++++++++++ >> 2 files changed, 120 insertions(+) >> create mode 100644 config/rootfiles/common/libcheck >> create mode 100644 lfs/libcheck >> >> 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 @@ >> +############################################################################# >> ## >> +# >> # >> +# IPFire.org - A linux based >> firewall # >> +# Copyright (C) 2007-2012 Michael Tremer & Christian >> Schmidt # >> +# >> # >> +# This program is free software: you can redistribute it and/or >> modify # >> +# it under the terms of the GNU General Public License as published >> by # >> +# the Free Software Foundation, either version 3 of the License, >> or # >> +# (at your option) any later >> version. # >> +# >> # >> +# This program is distributed in the hope that it will be >> useful, # >> +# but WITHOUT ANY WARRANTY; without even the implied warranty >> of # >> +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See >> the # >> +# GNU General Public License for more >> details. # >> +# >> # >> +# You should have received a copy of the GNU General Public >> License # >> +# along with this program. If not, see >> <http://www.gnu.org/licenses/>. >> # >> +# >> # >> +############################################################################# >> ## >> + >> +############################################################################# >> ## >> +# Definitions >> +############################################################################# >> ## >> + >> +include Config >> + >> +VER = 0.10.0 >> + >> +THISAPP = check-$(VER) >> +DL_FILE = $(THISAPP).tar.gz >> +DL_FROM = $(URL_IPFIRE) >> +DIR_APP = $(DIR_SRC)/$(THISAPP) >> +TARGET = $(DIR_INFO)/$(THISAPP) >> + >> +############################################################################# >> ## >> +# Top-level Rules >> +############################################################################# >> ## >> + >> +objects = $(DL_FILE) >> + >> +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) >> + >> +$(DL_FILE)_MD5 = 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=/usr >> + cd $(DIR_APP) && make $(MAKETUNING) >> + cd $(DIR_APP) && make install >> + @rm -rf $(DIR_APP) >> + @$(POSTBUILD)