[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] libdaemon.spec submission
From: |
Stuart Hughes |
Subject: |
Re: [Ltib] libdaemon.spec submission |
Date: |
Mon, 06 Jul 2009 11:38:29 +0100 |
User-agent: |
Thunderbird 2.0.0.16 (X11/20080707) |
Hi Mike,
I've uploaded the tarball to the GPP on your behalf and checked in the
attached patch. I changed the vendor to ltib.org.
Note, if you have further submissions the style of the patch attached is
helpful as it shows all the pieces in a single topic context. Thanks
for including the reference to the site and download location in your
submission (this is what I needed).
Regards, Stuart
Mike Goins wrote:
libdaemon is a lightweight C library that eases the writing of UNIX daemons
Website:
http://0pointer.de/lennart/projects/libdaemon/
Source:
http://0pointer.de/lennart/projects/libdaemon/libdaemon-0.13.tar.gz
I would call it a simple library since daemonizing is not exactly hard
to do. Avahi (http://avahi.org/) uses this library, spec and patch
coming.
Tested with ltib 8.1.2 (1.384.2.5) and mpc837xerdb
Index: config/userspace/packages.lkc
===================================================================
RCS file: /sources/ltib/ltib/config/userspace/packages.lkc,v
retrieving revision 1.22
diff -u -r1.22 packages.lkc
--- config/userspace/packages.lkc 24 Jun 2009 13:57:30 -0000 1.22
+++ config/userspace/packages.lkc 6 Jul 2009 10:29:42 -0000
@@ -1435,6 +1435,13 @@
Installed files: protocols, services
+config PKG_LIBDAEMON
+ bool "libdaemon"
+ help
+ libdaemon is a lightweight C library that eases the writing
+ of UNIX daemons. It consists of the following parts. See
+ http://0pointer.de/lennart/projects/libdaemon/
+
config PKG_LIBERATION_FONTS
bool "Liberation fonts"
help
Index: config/userspace/pkg_map
===================================================================
RCS file: /sources/ltib/ltib/config/userspace/pkg_map,v
retrieving revision 1.11
diff -u -r1.11 pkg_map
--- config/userspace/pkg_map 24 Jun 2009 13:57:30 -0000 1.11
+++ config/userspace/pkg_map 6 Jul 2009 10:29:42 -0000
@@ -302,6 +302,7 @@
PKG_LIBOGG = libogg
PKG_LIBVORBIS = libvorbis
PKG_LIBTHEORA = libtheora
+PKG_LIBDAEMON = libdaemon
# X server related stuff
PKG_RANDRPROTO = randrproto
Index: dist/lfs-5.1/libdaemon/libdaemon.spec
===================================================================
RCS file: dist/lfs-5.1/libdaemon/libdaemon.spec
diff -N dist/lfs-5.1/libdaemon/libdaemon.spec
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ dist/lfs-5.1/libdaemon/libdaemon.spec 6 Jul 2009 10:29:43 -0000
@@ -0,0 +1,36 @@
+%define pfx /opt/freescale/rootfs/%{_target_cpu}
+
+Summary : Lightweight C library that eases the writing of UNIX daemons.
+Name : libdaemon
+Version : 0.13
+Release : 1
+License : LGPL
+Vendor : ltib.org
+Packager : Mike Goins
+Group : System Environment/Libraries
+URL : http://0pointer.de/lennart/projects/libdaemon/
+Source : %{name}-%{version}.tar.gz
+BuildRoot : %{_tmppath}/%{name}
+Prefix : %{pfx}
+
+%Description
+%{summary}
+
+%Prep
+%setup
+
+%Build
+env ac_cv_func_setpgrp_void=yes \
+./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}
+make
+
+%Install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}
+
+%Clean
+rm -rf $RPM_BUILD_ROOT
+
+%Files
+%defattr(-,root,root)
+%{pfx}/*