diff options
author | Stefan Knoblich <stkn@gentoo.org> | 2005-08-27 20:51:13 +0000 |
---|---|---|
committer | Stefan Knoblich <stkn@gentoo.org> | 2005-08-27 20:51:13 +0000 |
commit | f81664629e9c1d60399a1ffcb775d6a84ce3b293 (patch) | |
tree | 6750b053b1c3e3b156f6488e2bde3231cb7d3894 /net-misc/asterisk-app_ldap/files | |
parent | removed the einfo's at the end of the pkg_install (diff) | |
download | historical-f81664629e9c1d60399a1ffcb775d6a84ce3b293.tar.gz historical-f81664629e9c1d60399a1ffcb775d6a84ce3b293.tar.bz2 historical-f81664629e9c1d60399a1ffcb775d6a84ce3b293.zip |
Version bump
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'net-misc/asterisk-app_ldap/files')
-rw-r--r-- | net-misc/asterisk-app_ldap/files/app_ldap-0.9.9-astcfg.diff | 45 | ||||
-rw-r--r-- | net-misc/asterisk-app_ldap/files/digest-asterisk-app_ldap-0.9.9 | 1 |
2 files changed, 46 insertions, 0 deletions
diff --git a/net-misc/asterisk-app_ldap/files/app_ldap-0.9.9-astcfg.diff b/net-misc/asterisk-app_ldap/files/app_ldap-0.9.9-astcfg.diff new file mode 100644 index 000000000000..efe4d8b5dbf2 --- /dev/null +++ b/net-misc/asterisk-app_ldap/files/app_ldap-0.9.9-astcfg.diff @@ -0,0 +1,45 @@ +--- app_ldap/Makefile.orig 2005-08-27 22:47:49.000000000 +0000 ++++ app_ldap/Makefile 2005-08-27 22:50:37.000000000 +0000 +@@ -9,20 +9,18 @@ + NAME=app_ldap + CONF=ldap.conf + ++DESTDIR= ++ + ifeq ($(shell ./check_has_cid.sh),yes) +-CFLAGS=-g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC -DCHANNEL_HAS_CID ++CFLAGS+=-g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC -DCHANNEL_HAS_CID + else +-CFLAGS=-g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC ++CFLAGS+=-g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC + endif + + LIBS=-llber -lldap + RES=$(shell if [ -f /usr/include/asterisk/channel.h ]; then echo "$(NAME).so"; fi) + +-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 + +@@ -34,13 +32,9 @@ + clean: + rm -f $(NAME).o $(NAME).so + +-install: all +- if ! [ -f /etc/asterisk/$(CONF) ]; then \ +- install -m 644 $(CONF).sample /etc/asterisk/$(CONF) ; \ +- fi +- if [ -f $(NAME).so ]; then \ +- install -m 755 $(NAME).so $(MODULES_DIR) ; \ +- fi ++install: ++ install -D -m 644 $(CONF).sample $(DESTDIR)/etc/asterisk/$(CONF) ++ install -D -m 755 $(NAME).so $(DESTDIR)$(MODULES_DIR) + + reload: install + asterisk -rx "unload ${RES}" diff --git a/net-misc/asterisk-app_ldap/files/digest-asterisk-app_ldap-0.9.9 b/net-misc/asterisk-app_ldap/files/digest-asterisk-app_ldap-0.9.9 new file mode 100644 index 000000000000..25f4d0c29966 --- /dev/null +++ b/net-misc/asterisk-app_ldap/files/digest-asterisk-app_ldap-0.9.9 @@ -0,0 +1 @@ +MD5 f4f361ce5a8de20f802fe552a086cc39 app_ldap-0.9.9.tgz 6009 |