Files
profiled/debian/rules
T
oxmc a86ad3298e Rename project from vesperprofiled to pawletprofiled (PawletOS fork)
This checkout is PawletOS's fork (git.oxmc.me/PawletOS/profiled), so its
own identity should read PawletOS, not VesperOS: binary/package name,
AIDL package+interface (me.oxmc.vesperos.profile -> os.pawlet.profiled),
D-Bus service/object/error names, C++ namespace (vesperos::profile ->
pawletos::profile), sepolicy types, data paths (/data/system/vesperos ->
/data/system/pawletos, /etc/vesperprofiled -> /etc/pawletprofiled), the
vendored OpenSSL static-lib module names, and the ZTE protocol string.

Also drops generated build output (obj-x86_64-linux-gnu/, debian/.debhelper,
debian staging dir, debhelper log/substvars files) that had been committed
by mistake, and adds a .gitignore so they don't come back.

The stock/upstream vesperprofiled at git.oxmc.me/VesperOS/vesperprofiled
is untouched -- this commit only goes to the pawletos remote.
2026-07-25 00:50:46 -07:00

29 lines
1011 B
Makefile
Executable File

#!/usr/bin/make -f
export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --buildsystem=cmake --builddirectory=obj-$(DEB_HOST_GNU_TYPE)
override_dh_auto_configure:
dh_auto_configure -- \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
-DCMAKE_INSTALL_LOCALSTATEDIR=/var
override_dh_auto_install:
dh_auto_install
install -Dm 0644 dbus/os.pawlet.ProfiledService.conf \
debian/pawletprofiled/etc/dbus-1/system.d/os.pawlet.ProfiledService.conf
install -Dm 0644 apparmor/pawletprofiled \
debian/pawletprofiled/etc/apparmor.d/pawletprofiled
install -d -m 0755 debian/pawletprofiled/etc/pawletprofiled
install -d -m 0755 debian/pawletprofiled/etc/pawletprofiled/preinstalled
install -d -m 0700 debian/pawletprofiled/var/lib/pawletprofiled/profiles
install -Dm 0640 zte.conf.example \
debian/pawletprofiled/etc/pawletprofiled/zte.conf.example
override_dh_installsystemd:
dh_installsystemd --name=pawletprofiled --no-start