summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compat-libs/.gitignore2
-rw-r--r--src/compat-libs/libsystemd-id128.pc.in (renamed from src/libsystemd-id128/libsystemd-id128.pc.in)0
-rw-r--r--src/compat-libs/libsystemd-id128.sym (renamed from src/libsystemd-id128/libsystemd-id128.sym)0
-rw-r--r--src/libsystemd-id128/.gitignore1
l---------src/libsystemd-id128/Makefile1
-rw-r--r--src/libsystemd/libsystemd.sym7
l---------src/libsystemd/sd-id128/Makefile1
-rw-r--r--src/libsystemd/sd-id128/libsystemd-id128.pc.in18
-rw-r--r--src/libsystemd/sd-id128/sd-id128.c (renamed from src/libsystemd-id128/sd-id128.c)0
9 files changed, 27 insertions, 3 deletions
diff --git a/src/compat-libs/.gitignore b/src/compat-libs/.gitignore
index 0b8d1067d9..662c154cdd 100644
--- a/src/compat-libs/.gitignore
+++ b/src/compat-libs/.gitignore
@@ -1 +1 @@
-/libsystemd-login.pc
+/libsystemd-*.pc
diff --git a/src/libsystemd-id128/libsystemd-id128.pc.in b/src/compat-libs/libsystemd-id128.pc.in
index bb65ffde33..bb65ffde33 100644
--- a/src/libsystemd-id128/libsystemd-id128.pc.in
+++ b/src/compat-libs/libsystemd-id128.pc.in
diff --git a/src/libsystemd-id128/libsystemd-id128.sym b/src/compat-libs/libsystemd-id128.sym
index 604c0026c6..604c0026c6 100644
--- a/src/libsystemd-id128/libsystemd-id128.sym
+++ b/src/compat-libs/libsystemd-id128.sym
diff --git a/src/libsystemd-id128/.gitignore b/src/libsystemd-id128/.gitignore
deleted file mode 100644
index 144adf9bea..0000000000
--- a/src/libsystemd-id128/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/libsystemd-id128.pc
diff --git a/src/libsystemd-id128/Makefile b/src/libsystemd-id128/Makefile
deleted file mode 120000
index d0b0e8e008..0000000000
--- a/src/libsystemd-id128/Makefile
+++ /dev/null
@@ -1 +0,0 @@
-../Makefile \ No newline at end of file
diff --git a/src/libsystemd/libsystemd.sym b/src/libsystemd/libsystemd.sym
index 9b10604b53..9416f223e2 100644
--- a/src/libsystemd/libsystemd.sym
+++ b/src/libsystemd/libsystemd.sym
@@ -10,6 +10,13 @@
LIBSYSTEMD_209 {
global:
+ /* originally LIBSYSTEMD_ID128_38 */
+ sd_id128_to_string;
+ sd_id128_from_string;
+ sd_id128_randomize;
+ sd_id128_get_machine;
+ sd_id128_get_boot;
+
/* originally LIBSYSTEMD_LOGIN_31 */
sd_get_seats;
sd_get_sessions;
diff --git a/src/libsystemd/sd-id128/Makefile b/src/libsystemd/sd-id128/Makefile
new file mode 120000
index 0000000000..94aaae2c4d
--- /dev/null
+++ b/src/libsystemd/sd-id128/Makefile
@@ -0,0 +1 @@
+../../Makefile \ No newline at end of file
diff --git a/src/libsystemd/sd-id128/libsystemd-id128.pc.in b/src/libsystemd/sd-id128/libsystemd-id128.pc.in
new file mode 100644
index 0000000000..bb65ffde33
--- /dev/null
+++ b/src/libsystemd/sd-id128/libsystemd-id128.pc.in
@@ -0,0 +1,18 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: systemd
+Description: systemd 128 Bit ID Utility Library
+URL: @PACKAGE_URL@
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lsystemd-id128
+Cflags: -I${includedir}
diff --git a/src/libsystemd-id128/sd-id128.c b/src/libsystemd/sd-id128/sd-id128.c
index 9ee40ab91e..9ee40ab91e 100644
--- a/src/libsystemd-id128/sd-id128.c
+++ b/src/libsystemd/sd-id128/sd-id128.c