]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
rpms: Add bacula-snapshot package
authorEric Bollengier <eric@baculasystems.com>
Thu, 27 Mar 2025 14:32:40 +0000 (15:32 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 27 Mar 2025 14:32:40 +0000 (15:32 +0100)
bacula/platforms/rpms/redhat/bacula.spec.in

index 93d72173c7421249060e1fe899778ae25b91451e..9f72e5dd18af742a88cf5495ebeb8dc41ef4146a 100644 (file)
@@ -583,6 +583,23 @@ Group: System Environment/Daemons
 
 This package installs the TOTP Director Authentication plugin.
 
+%package snapshot
+
+Summary: Bacula - The Network Backup Solution
+Group: System Environment/Daemons
+
+%description snapshot
+%{blurb}
+
+%{blurb2}
+%{blurb3}
+%{blurb4}
+%{blurb5}
+%{blurb6}
+%{blurb7}
+
+This package installs the Snapshot FD plugin.
+
 %package antivirus-plugin
 
 Summary: Bacula - The Network Backup Solution
@@ -751,6 +768,7 @@ export BACULA="Bacula"
         --with-gpfsdir=${cwd}/%{depkgs}/gpfs/include
 
 make -j3
+make -C src/tools install-bsnapshot
 
 %install
 
@@ -1435,6 +1453,10 @@ if [ -d %{sysconf_dir} ]; then
    done
 fi
 
+%files snapshot
+%defattr(-,root,root)
+%attr(755, root, root) %{_sbindir}/bsnapshot
+
 %files antivirus-plugin
 %defattr(-,root,root)
 %{plugin_dir}/antivirus-fd.so