diff options
author | Brian Bidulock | 2014-05-08 17:20:27 -0600 |
---|---|---|
committer | Brian Bidulock | 2015-06-10 10:13:41 -0600 |
commit | 52bbcdeb49eec440a17084d9247503c6e2d9c771 (patch) | |
tree | 77895b7ca35d1eb21383db414f0848f6e0470ece /install.patch | |
parent | 4eeef74aaccb11850bf0c36950df98af5bb0be90 (diff) | |
download | aur-52bbcdeb49eec440a17084d9247503c6e2d9c771.tar.gz |
version 0.3.2-2
Diffstat (limited to 'install.patch')
-rw-r--r-- | install.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/install.patch b/install.patch new file mode 100644 index 000000000000..ba188eea1ab6 --- /dev/null +++ b/install.patch @@ -0,0 +1,32 @@ +diff -up src/ocserv-0.3.2/configure.ac.orig src/ocserv-0.3.2/configure.ac +--- src/ocserv-0.3.2/configure.ac.orig 2014-03-30 06:46:56.000000000 -0600 ++++ src/ocserv-0.3.2/configure.ac 2014-03-30 06:56:15.000000000 -0600 +@@ -65,9 +65,11 @@ AM_CONDITIONAL(HAVE_DBUS, test "x$dbus_e + + if test "x$dbus_enabled" != xno;then + dbus_conf_dir=$($PKG_CONFIG dbus-1 --variable=sysconfdir) +-AC_SUBST(DBUS_CONFIG_DIR, [$dbus_conf_dir/etc/dbus-1/system.d/]) ++AC_SUBST(dbusconfdir, [$dbus_conf_dir/dbus-1/system.d/]) + fi + ++AC_SUBST(systemddir, ['${libdir}/systemd/system']) ++ + AC_ARG_WITH(protobuf, + AS_HELP_STRING([--without-protobuf], [use the included protobuf library]), + test_for_protobuf=$withval, +diff -up src/ocserv-0.3.2/doc/Makefile.am.orig src/ocserv-0.3.2/doc/Makefile.am +--- src/ocserv-0.3.2/doc/Makefile.am.orig 2014-03-30 06:47:13.000000000 -0600 ++++ src/ocserv-0.3.2/doc/Makefile.am 2014-03-30 06:56:08.000000000 -0600 +@@ -20,6 +20,9 @@ ocpasswd.8: ../src/ocpasswd-args.def + @AUTOGEN@ -L../src -DMAN_SECTION=8 -Tagman-cmd.tpl "$<".tmp && \ + rm -f "$<".tmp + +-install-data-local: +- -test -d "$(DBUS_CONFIG_DIR)" && ! test -f $(DBUS_CONFIG_DIR)/org.infradead.ocserv.conf && $(INSTALL_DATA) dbus/org.infradead.ocserv.conf $(DBUS_CONFIG_DIR) +- -test -d "/usr/lib/systemd/system/" && ! test -f /usr/lib/systemd/system/ocserv.service && $(INSTALL_DATA) systemd/standalone/ocserv.service /usr/lib/systemd/system/ ++dist_dbusconf_DATA = \ ++ dbus/org.infradead.ocserv.conf ++ ++dist_systemd_DATA = \ ++ systemd/socket-activated/ocserv.service \ ++ systemd/socket-activated/ocserv.socket |