[Lunar-commits] <moonbase-core> glibc: version bumped to 2.18.
Stefan Wold
ratler at lunar-linux.org
Tue Nov 19 00:11:58 CET 2013
commit 388c333b318a7791e06b4bbf6fdcad62514e8ab2
Author: Florin Braescu <florin at lunar-linux.org>
Date: Sat, 16 Nov 2013 02:31:14 -0800
URL: https://github.com/lunar-linux/moonbase-core/commit/388c333b318a7791e06b4bbf6fdcad62514e8ab2
glibc: version bumped to 2.18.
For testing purposes only.
---
libs/glibc/BUILD | +7/-1
libs/glibc/BUILD.x86_64 | +7/-1
libs/glibc/DETAILS | +5/-7
libs/glibc/nscd.service | +18/-0
libs/glibc/nscd.tmpfiles | +4/-0
5 files changed, 41 insertions(+), 9 deletions(-)
--- a/libs/glibc/BUILD
+++ b/libs/glibc/BUILD
@@ -26,7 +26,6 @@
patch_it $SOURCE3 1 &&
patch_it $SOURCE4 1 &&
patch_it $SOURCE5 1 &&
- patch_it $SOURCE6 1 &&
# disable final test
sed -i '/test-installation.pl/d' Makefile &&
@@ -137,6 +136,13 @@
# Remove the temporary libc
rm /lib/{ld,lib{c,dl,m,rt,pthread,nss_files,util,nsl,crypt}}-lunar.so &&
+ # Install nscd and gai related files
+ install -dm755 /usr/lib/{systemd/system,tmpfiles.d} &&
+ install -m644 $SOURCE_DIRECTORY/nscd/nscd.conf /etc/nscd.conf &&
+ install -m644 $SOURCE_DIRECTORY/posix/gai.conf /etc/gai.conf &&
+ install -m644 $SCRIPT_DIRECTORY/nscd.service /usr/lib/systemd/system &&
+ install -m644 $SCRIPT_DIRECTORY/nscd.tmpfiles /usr/lib/tmpfiles.d/nscd.conf &&
+
# Generate locale info
if [ -z "$GLIBC_LOCALES" ]; then
make localedata/install-locales || exit 1
--- a/libs/glibc/BUILD.x86_64
+++ b/libs/glibc/BUILD.x86_64
@@ -29,7 +29,6 @@
patch_it $SOURCE3 1 &&
patch_it $SOURCE4 1 &&
patch_it $SOURCE5 1 &&
- patch_it $SOURCE6 1 &&
# disable final test
sed -i '/test-installation.pl/d' Makefile &&
@@ -127,6 +126,13 @@
# Remove the temporary libc
rm /lib/{ld,lib{c,dl,m,rt,pthread,nss_files,util,nsl,crypt}}-lunar.so &&
+ # Install nscd and gai related files
+ install -dm755 /usr/lib/{systemd/system,tmpfiles.d} &&
+ install -m644 $SOURCE_DIRECTORY/nscd/nscd.conf /etc/nscd.conf &&
+ install -m644 $SOURCE_DIRECTORY/posix/gai.conf /etc/gai.conf &&
+ install -m644 $SCRIPT_DIRECTORY/nscd.service /usr/lib/systemd/system &&
+ install -m644 $SCRIPT_DIRECTORY/nscd.tmpfiles /usr/lib/tmpfiles.d/nscd.conf &&
+
# Generate locale info
if [ -z "$GLIBC_LOCALES" ]; then
make localedata/install-locales || exit 1
--- a/libs/glibc/DETAILS
+++ b/libs/glibc/DETAILS
@@ -1,12 +1,11 @@
MODULE=glibc
- VERSION=2.17
+ VERSION=2.18
MAJOR=${VERSION::4}
SOURCE=$MODULE-$VERSION.tar.xz
- SOURCE2=$MODULE-2.17-no_timezones.patch
+ SOURCE2=$MODULE-2.18-no_timezones.patch
SOURCE3=$MODULE-2.11.1-__i686.patch.bz2
SOURCE4=$MODULE-2.15-fixes-1.patch.bz2
SOURCE5=$MODULE-2.15-math64crash.patch
- SOURCE6=$MODULE-2.17-sync-with-linux37.patch.bz2
SOURCE_URL[0]=$GNU_URL/$MODULE
SOURCE_URL[1]=ftp://ftp.gnu.org/pub/gnu/$MODULE
SOURCE_URL[2]=http://www.mirrorservice.org/sites/ftp.gnu.org/gnu/glibc
@@ -15,15 +14,14 @@
SOURCE4_URL=$PATCH_URL
SOURCE5_URL=$PATCH_URL
SOURCE6_URL=$PATCH_URL
- SOURCE_VFY=sha1:e210daf1d5d6d6da7bf216fbaad4922bd642952b
- SOURCE2_VFY=sha1:5b6d568ef5c6f4a03a6ce75e9e8397edefb70426
+ SOURCE_VFY=sha1:1f0e4e7ba5fe1f45ffd0548b6c36caef0bc7e51f
+ SOURCE2_VFY=sha1:86c3b8d2424a27e05937b50fb545b250834b69a9
SOURCE3_VFY=sha1:e3f36e2bb17e51e31035f2cd405d099c624d0e9e
SOURCE4_VFY=sha1:7e53ec5daaf29d13ff3e9a9b2450da1f93000add
SOURCE5_VFY=sha1:cbf649a7cf3648a5c4ce93ebe4d68a61349f3036
- SOURCE6_VFY=sha1:05cbd8de46c215db66b644e643f2be96a43eedc0
WEB_SITE=http://www.gnu.org/software/libc
ENTERED=20010922
- UPDATED=20130821
+ UPDATED=20130813
SHORT="C library for use with GNU/Hurd and GNU/Linux"
PSAFE=no
--- /dev/null
+++ b/libs/glibc/nscd.service
@@ -0,0 +1,18 @@
+# systemd service file for nscd
+
+[Unit]
+Description=Name Service Cache Daemon
+
+[Service]
+Type=simple
+ExecStart=/usr/sbin/nscd --foreground
+ExecStop=/usr/sbin/nscd --shutdown
+ExecReload=/usr/sbin/nscd -i passwd
+ExecReload=/usr/sbin/nscd -i group
+ExecReload=/usr/sbin/nscd -i hosts
+ExecReload=/usr/sbin/nscd -i services
+Restart=always
+PIDFile=/run/nscd/nscd.pid
+
+[Install]
+WantedBy=multi-user.target
--- /dev/null
+++ b/libs/glibc/nscd.tmpfiles
@@ -0,0 +1,4 @@
+# Configuration to create /run/nscd directory
+# Used as part of systemd's tmpfiles
+
+d /run/nscd 0755 root root
More information about the Lunar-commits
mailing list