summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/asterisk-app_notify/files')
-rw-r--r--net-misc/asterisk-app_notify/files/app_notify-0.9-astcfg.diff35
-rw-r--r--net-misc/asterisk-app_notify/files/digest-asterisk-app_notify-0.91
2 files changed, 36 insertions, 0 deletions
diff --git a/net-misc/asterisk-app_notify/files/app_notify-0.9-astcfg.diff b/net-misc/asterisk-app_notify/files/app_notify-0.9-astcfg.diff
new file mode 100644
index 000000000000..23a5c224d2a6
--- /dev/null
+++ b/net-misc/asterisk-app_notify/files/app_notify-0.9-astcfg.diff
@@ -0,0 +1,35 @@
+--- app_notify/Makefile.orig 2005-08-27 23:39:30.000000000 +0000
++++ app_notify/Makefile 2005-08-27 23:41:10.000000000 +0000
+@@ -8,15 +8,13 @@
+
+ NAME=app_notify
+
+-CFLAGS=-g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC
++DESTDIR=
++
++CFLAGS+=-g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC
+ LIBS=
+ RES=$(NAME).so
+
+-ifeq (${OSARCH},Darwin)
+-SOLINK=-dynamic -bundle -undefined suppress -force_flat_namespace
+-else
+-SOLINK=-shared -Xlinker -x
+-endif
++SOLINK=$(shell /usr/bin/asterisk-config --solink)
+
+ MODULES_DIR=/usr/lib/asterisk/modules
+
+@@ -28,10 +26,8 @@
+ clean:
+ rm -f $(NAME).o $(NAME).so notifyClient.o notifyClient sampleClient
+
+-install: all
+- if [ -f $(NAME).so ]; then \
+- install -m 755 $(NAME).so $(MODULES_DIR) ; \
+- fi
++install:
++ install -D -m 755 $(NAME).so $(DESTDIR)$(MODULES_DIR)/$(NAME).so
+
+ reload: install
+ asterisk -rx "unload ${RES}"
diff --git a/net-misc/asterisk-app_notify/files/digest-asterisk-app_notify-0.9 b/net-misc/asterisk-app_notify/files/digest-asterisk-app_notify-0.9
new file mode 100644
index 000000000000..b7cf863a2c1b
--- /dev/null
+++ b/net-misc/asterisk-app_notify/files/digest-asterisk-app_notify-0.9
@@ -0,0 +1 @@
+MD5 1a64ee5c64bd268a2230e2e371d31760 app_notify-0.9.tgz 3028