summaryrefslogtreecommitdiff
path: root/net-misc/stargazer/files/patches/stg-2.408-rscriptd-upstream.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/stargazer/files/patches/stg-2.408-rscriptd-upstream.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/stargazer/files/patches/stg-2.408-rscriptd-upstream.patch')
-rw-r--r--net-misc/stargazer/files/patches/stg-2.408-rscriptd-upstream.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/net-misc/stargazer/files/patches/stg-2.408-rscriptd-upstream.patch b/net-misc/stargazer/files/patches/stg-2.408-rscriptd-upstream.patch
new file mode 100644
index 000000000000..4e97da2f80e3
--- /dev/null
+++ b/net-misc/stargazer/files/patches/stg-2.408-rscriptd-upstream.patch
@@ -0,0 +1,26 @@
+--- projects/rscriptd/Makefile.org 2013-01-18 16:22:46.000000000 +0200
++++ projects/rscriptd/Makefile 2013-01-18 16:25:08.000000000 +0200
+@@ -68,6 +68,13 @@
+ # Install etc
+ mkdir -m $(DIR_MODE) -p $(PREFIX)/etc/rscriptd
+ install -m $(DATA_MODE) -o $(OWNER) ./rscriptd.conf $(PREFIX)/etc/rscriptd/rscriptd.conf
++ifeq ($(OS), linux)
++ install -D -m $(BIN_MODE) -o $(OWNER) ../stargazer/inst/linux/etc/stargazer/OnConnect $(PREFIX)/etc/rscriptd/
++ install -D -m $(BIN_MODE) -o $(OWNER) ../stargazer/inst/linux/etc/stargazer/OnDisconnect $(PREFIX)/etc/rscriptd/
++else
++ install -D -m $(BIN_MODE) -o $(OWNER) ../stargazer/inst/freebsd/etc/stargazer/OnConnect $(PREFIX)/etc/rscriptd/
++ install -D -m $(BIN_MODE) -o $(OWNER) ../stargazer/inst/freebsd/etc/stargazer/OnDisconnect $(PREFIX)/etc/rscriptd/
++endif
+
+ uninstall: uninstall-bin uninstall-data
+
+@@ -77,7 +84,8 @@
+ uninstall-data:
+ # Uninstall etc
+ rm -f $(PREFIX)/etc/rscriptd/rscriptd.conf
+-
++ rm -f $(PREFIX)/etc/rscriptd/OnConnect
++ rm -f $(PREFIX)/etc/rscriptd/OnDisconnect
+
+ ifneq ($(MAKECMDGOALS),distclean)
+ ifneq ($(MAKECMDGOALS),clean)