summaryrefslogtreecommitdiff
path: root/net/asterisk-oh323/files/patch-asterisk-driver::Makefile
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2011-10-14 22:30:49 +0000
committerDoug Barton <dougb@FreeBSD.org>2011-10-14 22:30:49 +0000
commit4eb5b88d9eb1a88094ac3ae85f20e29e7510e97b (patch)
tree07820ebb6104ca954e4d94f3a2fdb93d78912435 /net/asterisk-oh323/files/patch-asterisk-driver::Makefile
parentAdd doulos-compact 4.110, Doulos SIL TrueType font collection, compact (diff)
As previously advertised, complete removal of vulnerable ports that
no one has stepped up to deal with: archivers/pecl-phar Vulnerable since 2011-01-13 comms/libsyncml Depends on devel/libsoup22, which is FORBIDDEN databases/mysql323-server Vulnerable since 2006-10-29 databases/mysql323-client Vulnerable since 2006-10-29 databases/mysql323-scripts Vulnerable since 2006-10-29 databases/mysql40-server Vulnerable since 2006-10-29 databases/mysql40-client Vulnerable since 2006-10-29 databases/mysql40-scripts Vulnerable since 2006-10-29 databases/p5-DBD-mysql40 Depends on databases/mysql40-server, which is FORBIDDEN deskutils/buoh Depends on devel/libsoup22, which is FORBIDDEN deskutils/libopensync-plugin-syncml Depends on comms/libsyncml, which is DEPRECATED devel/libsoup22 Vulnerable since 2011-07-28 dns/bind9-sdb-ldap Vulnerable since 2011-06-04 dns/bind9-sdb-postgresql Vulnerable since 2011-06-04 ftp/wgetpro Vulnerable since 2004-12-14 games/quake2forge Vulnerable since 2005-01-21 graphics/linux-tiff Vulnerable since 2004-10-13 japanese/mutt Vulnerable since 2007-07-29 japanese/asterisk14-sounds Depends on net/asterisk14, which is FORBIDDEN net/asterisk14 Vulnerable since 2011-06-25 net/isc-dhcp31-client Vulnerable since 2011-04-10 net/isc-dhcp31-server Vulnerable since 2011-04-10 net/isc-dhcp31-relay Vulnerable since 2011-04-10 net/asterisk-app-ldap Depends on net/asterisk14, which is FORBIDDEN net/asterisk-app-notify Depends on net/asterisk14, which is FORBIDDEN net/asterisk-oh323 Depends on net/asterisk14, which is FORBIDDEN, does not compile on sparc64 net/asterisk14-addons Depends on net/asterisk14, which is FORBIDDEN net/astfax Depends on net/asterisk14, which is FORBIDDEN net-mgmt/nagios2 Vulnerable since 2009-06-30 www/gforge Vulnerable since 2005-08-09 www/linux-flashplugin7 Vulnerable since at least 2008-05-30 www/opera-devel Vulnerable since 2010-06-25, does not fetch www/plone3 Vulnerable and unsupported upstream www/serendipity-devel Vulnerable since 2008-04-25 www/ziproxy Vulnerable since 2010-06-15 www/asterisk-gui Depends on net/asterisk14, which is FORBIDDEN x11-toolkits/linux-pango Vulnerable since 2009-05-13
Notes
Notes: svn path=/head/; revision=283540
Diffstat (limited to 'net/asterisk-oh323/files/patch-asterisk-driver::Makefile')
-rw-r--r--net/asterisk-oh323/files/patch-asterisk-driver::Makefile128
1 files changed, 0 insertions, 128 deletions
diff --git a/net/asterisk-oh323/files/patch-asterisk-driver::Makefile b/net/asterisk-oh323/files/patch-asterisk-driver::Makefile
deleted file mode 100644
index 5e04c0e91046..000000000000
--- a/net/asterisk-oh323/files/patch-asterisk-driver::Makefile
+++ /dev/null
@@ -1,128 +0,0 @@
-
-$FreeBSD$
-
---- asterisk-driver/Makefile.orig
-+++ asterisk-driver/Makefile
-@@ -34,23 +34,23 @@
- ifndef SKIP_SUFFIX
- ifeq ($(OH323STAT),1)
- ifeq ($(OH323BUILDTYPE),debug) # Static, debug
-- LIBPTPATH=$(word 1,$(shell ls $(PWLIBDIR)/lib/libpt*_d_s.a))
-+ LIBPTPATH=$(word 1,$(shell ls $(SYSLIBDIR)/libpt*_d_s.a))
- else # Static, opt
-- LIBPTPATH=$(word 1,$(shell ls $(PWLIBDIR)/lib/libpt*_r_s.a))
-+ LIBPTPATH=$(word 1,$(shell ls $(SYSLIBDIR)/libpt*_r_s.a))
- endif
- else
- ifeq ($(OH323BUILDTYPE),debug) # Shared, debug
-- LIBPTPATH=$(word 1,$(shell ls $(PWLIBDIR)/lib/libpt*d.so))
-+ LIBPTPATH=$(word 1,$(shell ls $(SYSLIBDIR)/libpt*d.so))
- else # Shared, opt
-- LIBPTPATH=$(word 1,$(shell ls $(PWLIBDIR)/lib/libpt*r.so))
-+ LIBPTPATH=$(word 1,$(shell ls $(SYSLIBDIR)/libpt*r.so))
- endif
- endif
- LIBPTNAME=$(subst lib,,$(basename $(notdir $(LIBPTPATH))))
- else
- ifeq ($(OH323STAT),1)
-- LIBPTPATH=$(word 1,$(shell ls $(PWLIBDIR)/lib/$(LIBPT_BASE).a))
-+ LIBPTPATH=$(word 1,$(shell ls $(SYSLIBDIR)/$(LIBPT_BASE).a))
- else
-- LIBPTPATH=$(word 1,$(shell ls $(PWLIBDIR)/lib/$(LIBPT_BASE).so))
-+ LIBPTPATH=$(word 1,$(shell ls $(SYSLIBDIR)/$(LIBPT_BASE).so))
- endif
- LIBPTNAME=$(subst lib,,$(basename $(notdir $(LIBPTPATH))))
- endif
-@@ -59,42 +59,42 @@
- ifndef SKIP_SUFFIX
- ifeq ($(OH323STAT),1)
- ifeq ($(OH323BUILDTYPE),debug) # Static, debug
-- LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/libh323*_d_s.a))
-+ LIBH323PATH=$(word 1,$(shell ls $(SYSLIBDIR)/libh323*_d_s.a))
- else
- ifeq ($(OH323BUILDTYPE),opt) # Static, opt
-- LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/libh323*_r_s.a))
-+ LIBH323PATH=$(word 1,$(shell ls $(SYSLIBDIR)/libh323*_r_s.a))
- else # Static, opt, no trace
-- LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/libh323*_n_s.a))
-+ LIBH323PATH=$(word 1,$(shell ls $(SYSLIBDIR)/libh323*_n_s.a))
- endif
- endif
- else
- ifeq ($(OH323BUILDTYPE),debug) # Shared, debug
-- LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/libh323*d.so))
-+ LIBH323PATH=$(word 1,$(shell ls $(SYSLIBDIR)/libh323*d.so))
- else
- ifeq ($(OH323BUILDTYPE),opt) # Shared, opt
-- LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/libh323*r.so))
-+ LIBH323PATH=$(word 1,$(shell ls $(SYSLIBDIR)/libh323*r.so))
- else # Shared, opt, no trace
-- LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/libh323*n.so))
-+ LIBH323PATH=$(word 1,$(shell ls $(SYSLIBDIR)/libh323*n.so))
- endif
- endif
- endif
- LIBH323NAME=$(subst lib,,$(basename $(notdir $(LIBH323PATH))))
- else
- ifeq ($(OH323STAT),1)
-- LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/$(LIBH323_BASE).a))
-+ LIBH323PATH=$(word 1,$(shell ls $(SYSLIBDIR)/$(LIBH323_BASE).a))
- else
-- LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/$(LIBH323_BASE).so))
-+ LIBH323PATH=$(word 1,$(shell ls $(SYSLIBDIR)/$(LIBH323_BASE).so))
- endif
- LIBH323NAME=$(subst lib,,$(basename $(notdir $(LIBH323PATH))))
- endif
- LIBH323=$(LIBH323NAME)
-
- ifndef SKIP_EXTLIBS
-- EXTLIBS=$(shell $(PWLIBDIR)/make/ptlib-config --libs)
-+ EXTLIBS=$(shell $(PWLIBDIR)/make/ptlib-config --ldflags --libs)
- endif
-
- CFLAGS += -pipe -Wstrict-prototypes -Wmissing-prototypes \
-- -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -fPIC -g -O6 \
-+ -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -fPIC -g \
- -fomit-frame-pointer -DAST_MODULE=\"chan_oh323.so\"
-
- DRVDEPS=$(shell ls *.h)
-@@ -116,6 +116,7 @@
- if [ ! -d $(DESTDIR)$(ASTERISKETCDIR) ]; then \
- $(INSTALL) -d $(DESTDIR)$(ASTERISKETCDIR); \
- fi
-+ $(INSTALL) -m 0644 oh323.conf.sample $(DESTDIR)$(ASTERISKETCDIR)/
- if [ ! -f $(DESTDIR)$(ASTERISKETCDIR)/oh323.conf ]; then \
- $(INSTALL) -m 0644 oh323.conf.sample $(DESTDIR)$(ASTERISKETCDIR)/oh323.conf; \
- fi
-@@ -151,19 +152,27 @@
- @if [ ! -f "$(LIBH323PATH)" ]; then \
- echo "ERROR: No OPENH323 library found!"; exit 1; \
- fi
-+ifeq ($(OH323NOWRAP),1)
-+ $(CC) -shared -Xlinker -x -g -o $@ $(TARGET_OBJ) \
-+ ../wrapper/*.o \
-+ -L$(SYSLIBDIR) -l$(LIBH323) \
-+ -L$(SYSLIBDIR) -l$(LIBPT) \
-+ -lstdc++ $(EXTLIBS)
-+else
- ifeq ($(OH323STAT),1)
- $(CC) -shared -Xlinker -x -g -o $@ $(TARGET_OBJ) \
- -L../wrapper -loh323wrap_s \
-- -L$(OPENH323DIR)/lib -l$(LIBH323) \
-- -L$(PWLIBDIR)/lib -l$(LIBPT) \
-+ -L$(SYSLIBDIR) -l$(LIBH323) \
-+ -L$(SYSLIBDIR) -l$(LIBPT) \
- -lstdc++ $(EXTLIBS)
- else
- $(CC) -shared -Xlinker -x -g -o $@ $(TARGET_OBJ) \
- -L../wrapper -loh323wrap \
-- -L$(OPENH323DIR)/lib -l$(LIBH323) \
-- -L$(PWLIBDIR)/lib -l$(LIBPT) \
-+ -L$(SYSLIBDIR) -l$(LIBH323) \
-+ -L$(SYSLIBDIR) -l$(LIBPT) \
- -lstdc++ $(EXTLIBS)
- endif
-+endif
-
- %.o: %.c $(DRVDEPS)
- $(CC) $(CFLAGS) $(ASTERISKINCLUDE) -c -o $@ $<