summaryrefslogtreecommitdiff
path: root/libnm-32
diff options
context:
space:
mode:
authorDanny Rawlins <monster.romster@gmail.com>2019-08-11 22:02:51 +1000
committerDanny Rawlins <monster.romster@gmail.com>2019-08-11 22:02:51 +1000
commitb56908990e8f9776921956e2a34506d92639341d (patch)
treee7aa9dc291e85f9843fb0bc1751be7b549ce632d /libnm-32
parent0d725bebc0b69a76b0f490867ca85bf3c268dea2 (diff)
downloadcompat-32-b56908990e8f9776921956e2a34506d92639341d.tar.gz
compat-32-b56908990e8f9776921956e2a34506d92639341d.tar.xz
libnm-32: initial import
Diffstat (limited to 'libnm-32')
-rw-r--r--libnm-32/.footprint15
-rw-r--r--libnm-32/.signature5
-rw-r--r--libnm-32/Pkgfile68
3 files changed, 88 insertions, 0 deletions
diff --git a/libnm-32/.footprint b/libnm-32/.footprint
new file mode 100644
index 00000000..4f5c9b70
--- /dev/null
+++ b/libnm-32/.footprint
@@ -0,0 +1,15 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/lib32/
+lrwxrwxrwx root/root usr/lib32/libnm-glib-vpn.so.1 -> libnm-glib-vpn.so.1.2.0
+-rwxr-xr-x root/root usr/lib32/libnm-glib-vpn.so.1.2.0
+lrwxrwxrwx root/root usr/lib32/libnm-glib.so.4 -> libnm-glib.so.4.9.0
+-rwxr-xr-x root/root usr/lib32/libnm-glib.so.4.9.0
+lrwxrwxrwx root/root usr/lib32/libnm-util.so.2 -> libnm-util.so.2.7.0
+-rwxr-xr-x root/root usr/lib32/libnm-util.so.2.7.0
+lrwxrwxrwx root/root usr/lib32/libnm.so.0 -> libnm.so.0.1.0
+-rwxr-xr-x root/root usr/lib32/libnm.so.0.1.0
+drwxr-xr-x root/root usr/lib32/pkgconfig/
+-rw-r--r-- root/root usr/lib32/pkgconfig/libnm-glib-vpn.pc
+-rw-r--r-- root/root usr/lib32/pkgconfig/libnm-glib.pc
+-rw-r--r-- root/root usr/lib32/pkgconfig/libnm-util.pc
+-rw-r--r-- root/root usr/lib32/pkgconfig/libnm.pc
diff --git a/libnm-32/.signature b/libnm-32/.signature
new file mode 100644
index 00000000..fe4b18ba
--- /dev/null
+++ b/libnm-32/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/compat-32.pub
+RWSwxGo/zH7eXQ1fwtzhfc6dTJo0y2qFIhAKnzLM6GA60uWP4oMLxw1U80ZZvmtERylvgaHT80qq8thAa0LSN2wMwqxqb+tmiQY=
+SHA256 (Pkgfile) = 06ba64b7cc69f68a0109ab72c5109796530fc2ff01f8cc7de35602a432183545
+SHA256 (.footprint) = 4c1940af71df368f71cfe32e03c9e55c62441a6846e4c2ba669bd044da12f106
+SHA256 (NetworkManager-1.18.0.tar.xz) = c6e8df25e5a3c7309bc17664be8971689314884cdd08afdd6b0847d29d2a8ba6
diff --git a/libnm-32/Pkgfile b/libnm-32/Pkgfile
new file mode 100644
index 00000000..36a3f0d6
--- /dev/null
+++ b/libnm-32/Pkgfile
@@ -0,0 +1,68 @@
+# Description: Network configuration tool
+# URL: https://wiki.gnome.org/Projects/NetworkManager/
+# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
+# Depends on: dbus-glib-32 nss-32 libndp-32 libnm jansson-32 curl-32 libxslt
+
+name=libnm-32
+version=1.18.0
+release=1
+source=(https://ftp.gnome.org/pub/gnome/sources/NetworkManager/${version%.*}/NetworkManager-${version}.tar.xz)
+
+build() {
+ cd NetworkManager-$version
+
+ sed '/initrd/d' -i src/meson.build
+
+ mkdir build
+ cd build
+
+ CXXFLAGS+="-O2 -fPIC" \
+ meson --prefix /usr \
+ --sysconfdir /etc \
+ --localstatedir /var \
+ --libdir /usr/lib32/NetworkManager \
+ --libexecdir /usr/lib32/networkmanager \
+ -Ddbus_conf_dir=/usr/share/dbus-1/system.d \
+ -Dudev_dir=/lib/udev \
+ -Ddhcpcd=/sbin/dhcpcd \
+ -Dresolvconf=true \
+ -Dconfig_dns_rc_manager_default=resolvconf \
+ -Dcrypto=nss \
+ -Dintrospection=false \
+ -Dsession_tracking_consolekit=false \
+ -Dwifi=false \
+ -Dwext=false \
+ -Dpolkit=false \
+ -Dmodify_system=true \
+ -Dlibnm_glib=true \
+ -Difupdown=false \
+ -Dnmtui=false \
+ -Dnmcli=false \
+ -Dsession_tracking=no \
+ -Db_lto=false \
+ -Dlibaudit=no \
+ -Dlibpsl=false \
+ -Dppp=false \
+ -Dofono=false \
+ -Dselinux=false \
+ -Dmodem_manager=false \
+ -Dsystemdsystemunitdir=false \
+ -Dsystemd_journal=false \
+ -Dqt=false \
+ -Ddocs=false \
+ -Dtests=no \
+ -Djson_validation=true \
+ -Dovs=false \
+ -Dmore_logging=false \
+ -Dmore_asserts=0 \
+ -Dlibpsl=false \
+ ..
+ ninja
+ mkdir $SRC/install
+ DESTDIR=$SRC/install/ ninja install
+
+ install -d -m 0755 $PKG/usr/lib32/pkgconfig
+ cp -dr --no-preserve='ownership' $SRC/install/usr/lib32/NetworkManager/{libnm,libnm-glib,libnm-glib-vpn,libnm-util}.so* $PKG/usr/lib32/
+ cp -dr --no-preserve='ownership' $SRC/install/usr/lib32/NetworkManager/pkgconfig/{libnm,libnm-glib,libnm-glib-vpn,libnm-util}.pc $PKG/usr/lib32/pkgconfig/
+ rm $PKG/usr/lib32/*.so
+}

Generated by cgit