From af084e59040fb222dcad52ffd4897eff3c848dbc Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 1 Feb 2009 16:10:39 +0100 Subject: [PATCH] Added new packages: avahi, intltool and libdaemon. --- lfs/avahi | 102 +++++++++++++++++++++++++++++++++++ lfs/intltool | 87 ++++++++++++++++++++++++++++++ lfs/libdaemon | 85 +++++++++++++++++++++++++++++ make.sh | 3 ++ src/rootfiles/core/intltool | 13 +++++ src/rootfiles/core/libdaemon | 13 +++++ 6 files changed, 303 insertions(+) create mode 100644 lfs/avahi create mode 100644 lfs/intltool create mode 100644 lfs/libdaemon create mode 100644 src/rootfiles/core/intltool create mode 100644 src/rootfiles/core/libdaemon diff --git a/lfs/avahi b/lfs/avahi new file mode 100644 index 000000000..b93964b7e --- /dev/null +++ b/lfs/avahi @@ -0,0 +1,102 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007, 2008 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 . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +PKG_NAME = avahi +VER = 0.6.24 +PKG_VER = 0 + +THISAPP = $(PKG_NAME)-$(VER) +DL_FILE = $(THISAPP).tar.gz +DIR_APP = $(DIR_SRC)/$(THISAPP) + +OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) + +MAINTAINER = +GROUP = Networking/Zeroconf +EXTRA = no +DEBUG = no +DEPS = dbus dbus-glib libdaemon python-dbus + +URL = http://avahi.org/ +LICENSE = LGPLv2 +SHORT_DESC = Local network service discovery. + +define LONG_DESC + Avahi is a system which facilitates service discovery on \ + a local network -- this means that you can plug your laptop or \ + computer into a network and instantly be able to view other people who \ + you can chat with, find printers to print to or find files being \ + shared. This kind of technology is already found in MacOS X (branded \ + 'Rendezvous', 'Bonjour' and sometimes 'ZeroConf') and is very \ + convenient. +endef + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +download: $(objects) + +info: + $(DO_PKG_INFO) + +install: $(OBJECT) + +package: + @$(DO_PACKAGE) + +$(objects): + @$(LOAD) + +############################################################################### +# Installation Details +############################################################################### + +$(OBJECT): $(objects) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && \ + ./configure \ + $(CONFIGURE_ARCH) \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static \ + --with-distro=none \ + --disable-gdbm \ + --disable-qt3 \ + --disable-qt4 \ + --disable-gtk \ + --disable-pygtk \ + --disable-mono + cd $(DIR_APP) && make $(PARALLELISMFLAGS) + cd $(DIR_APP) && make install + + $(PYTHON_COMPILE) + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/lfs/intltool b/lfs/intltool new file mode 100644 index 000000000..99aae1547 --- /dev/null +++ b/lfs/intltool @@ -0,0 +1,87 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007, 2008 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 . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +PKG_NAME = intltool +VER = 0.40.5 +PKG_VER = 0 + +THISAPP = $(PKG_NAME)-$(VER) +DL_FILE = $(THISAPP).tar.bz2 +DIR_APP = $(DIR_SRC)/$(THISAPP) + +OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) + +MAINTAINER = +GROUP = Localization/Tools +EXTRA = no +DEBUG = no +DEPS = gettext perl-xml-parser + +URL = http://www.gnome.org/ +LICENSE = GPLv2 with exceptions +SHORT_DESC = Utility for internationalizing various kinds of data files. + +define LONG_DESC + This tool automatically extracts translatable strings from oaf, glade, \ + bonobo ui, nautilus theme, .desktop, and other data files and puts \ + them in the po files. +endef + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +download: $(objects) + +info: + $(DO_PKG_INFO) + +install: $(OBJECT) + +package: + @$(DO_PACKAGE) + +$(objects): + @$(LOAD) + +############################################################################### +# Installation Details +############################################################################### + +$(OBJECT): $(objects) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && \ + ./configure \ + $(CONFIGURE_ARCH) \ + --prefix=/usr \ + --disable-static + cd $(DIR_APP) && make $(PARALLELISMFLAGS) + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/lfs/libdaemon b/lfs/libdaemon new file mode 100644 index 000000000..7ba25398a --- /dev/null +++ b/lfs/libdaemon @@ -0,0 +1,85 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007, 2008 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 . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +PKG_NAME = libdaemon +VER = 0.13 +PKG_VER = 0 + +THISAPP = $(PKG_NAME)-$(VER) +DL_FILE = $(THISAPP).tar.gz +DIR_APP = $(DIR_SRC)/$(THISAPP) + +OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) + +MAINTAINER = +GROUP = System/Libaries +EXTRA = no +DEBUG = no +DEPS = + +URL = http://0pointer.de/lennart/projects/libdaemon/ +LICENSE = LGPLv2+ +SHORT_DESC = Library for writing UNIX daemons. + +define LONG_DESC + libdaemon is a lightweight C library which eases the writing of UNIX daemons. +endef + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +download: $(objects) + +info: + $(DO_PKG_INFO) + +install: $(OBJECT) + +package: + @$(DO_PACKAGE) + +$(objects): + @$(LOAD) + +############################################################################### +# Installation Details +############################################################################### + +$(OBJECT): $(objects) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && \ + ./configure \ + $(CONFIGURE_ARCH) \ + --prefix=/usr \ + --disable-static + cd $(DIR_APP) && make $(PARALLELISMFLAGS) + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index a64edda46..66493f714 100755 --- a/make.sh +++ b/make.sh @@ -193,12 +193,14 @@ ipfire_build() { ### Building some general stuff # STAGE 1 + ipfire_make libdaemon ipfire_make pcre ipfire_make expat ipfire_make dbus ipfire_make dbus-glib ipfire_make openssl ipfire_make perl-xml-parser + ipfire_make intltool ipfire_make python ipfire_make python-dbus ipfire_make python-urlgrabber @@ -230,6 +232,7 @@ ipfire_build() { ipfire_make vlan ipfire_make bind ipfire_make whois + ipfire_make avahi ### Building some general stuff # STAGE 2 diff --git a/src/rootfiles/core/intltool b/src/rootfiles/core/intltool new file mode 100644 index 000000000..545c64221 --- /dev/null +++ b/src/rootfiles/core/intltool @@ -0,0 +1,13 @@ +#usr/bin/intltool-extract +#usr/bin/intltool-merge +#usr/bin/intltool-prepare +#usr/bin/intltool-update +#usr/bin/intltoolize +#usr/share/aclocal/intltool.m4 +#usr/share/intltool +#usr/share/intltool/Makefile.in.in +#usr/share/man/man8/intltool-extract.8 +#usr/share/man/man8/intltool-merge.8 +#usr/share/man/man8/intltool-prepare.8 +#usr/share/man/man8/intltool-update.8 +#usr/share/man/man8/intltoolize.8 diff --git a/src/rootfiles/core/libdaemon b/src/rootfiles/core/libdaemon new file mode 100644 index 000000000..5c3cd45b4 --- /dev/null +++ b/src/rootfiles/core/libdaemon @@ -0,0 +1,13 @@ +#usr/include/libdaemon +#usr/include/libdaemon/daemon.h +#usr/include/libdaemon/dexec.h +#usr/include/libdaemon/dfork.h +#usr/include/libdaemon/dlog.h +#usr/include/libdaemon/dnonblock.h +#usr/include/libdaemon/dpid.h +#usr/include/libdaemon/dsignal.h +#usr/lib/libdaemon.la +usr/lib/libdaemon.so +usr/lib/libdaemon.so.0 +usr/lib/libdaemon.so.0.4.0 +#usr/lib/pkgconfig/libdaemon.pc -- 2.47.3