summaryrefslogtreecommitdiff
path: root/net/openser/files/patch-Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-05-26 23:21:38 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-05-26 23:21:38 +0000
commitb5ec6accf047581723bdb4602470ea79ba3758a9 (patch)
treea8182649443b308c2371254cf3e038fb136df491 /net/openser/files/patch-Makefile
parentFix build with gcc4.2 (by removing -Werror) (diff)
[maintainer update] net/OpenSER 1.2.1
Maintainer update of port Openser to version 1.2.1 PR: Jesus Rodriguez<jesusr@FreeBSD.org> Submitted by: ports/113037
Notes
Notes: svn path=/head/; revision=191946
Diffstat (limited to 'net/openser/files/patch-Makefile')
-rw-r--r--net/openser/files/patch-Makefile55
1 files changed, 26 insertions, 29 deletions
diff --git a/net/openser/files/patch-Makefile b/net/openser/files/patch-Makefile
index 0ef613ffe769..7f230ad52c51 100644
--- a/net/openser/files/patch-Makefile
+++ b/net/openser/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig Mon Apr 9 11:54:01 2007
-+++ Makefile Mon Apr 9 13:44:55 2007
-@@ -47,13 +47,9 @@
+--- Makefile.orig Thu May 24 11:16:04 2007
++++ Makefile Sat May 26 19:52:17 2007
+@@ -47,10 +47,9 @@
skip_modules?=
# if not set on the cmd. line or the env, exclude this modules:
@@ -8,16 +8,13 @@
- avp_radius auth_radius group_radius uri_radius xmpp \
- presence pua pua_mi pua_usrloc \
- mi_xmlrpc perl snmpstats
--ifeq ($(TLS),)
-- exclude_modules+= tlsops
--endif
+exclude_modules?= $(MYSQL) $(POSTGRESQL) $(SNMPSTATS) $(TLSOPS) $(UNIXODBC) \
-+ avp_radius auth_radius group_radius uri_radius \
-+ jabber osp mi_xmlrpc perl xmpp
- # always exclude the SVN dir
- override exclude_modules+= .svn $(skip_modules)
-
-@@ -339,21 +335,9 @@
++ avp_radius auth_radius group_radius uri_radius \
++ jabber osp mi_xmlrpc perl xmpp
+ ifeq ($(TLS),)
+ exclude_modules+= tlsops
+ endif
+@@ -343,21 +342,9 @@
# note: on solaris 8 sed: ? or \(...\)* (a.s.o) do not work
install-cfg: $(cfg-prefix)/$(cfg-dir)
@@ -34,43 +31,43 @@
- $(cfg-prefix)/$(cfg-dir)$(NAME).cfg; \
- fi
# radius dictionary
- $(INSTALL-TOUCH) $(cfg-prefix)/$(cfg-dir)/dictionary.radius
-- $(INSTALL-CFG) etc/dictionary.radius $(cfg-prefix)/$(cfg-dir)
-+ $(INSTALL-CFG) etc/dictionary.radius $(cfg-prefix)/$(cfg-dir)/dictionary.radius.default
+ $(INSTALL_TOUCH) $(cfg-prefix)/$(cfg-dir)/dictionary.radius
+- $(INSTALL_CFG) etc/dictionary.radius $(cfg-prefix)/$(cfg-dir)
++ $(INSTALL_CFG) etc/dictionary.radius $(cfg-prefix)/$(cfg-dir)/dictionary.radius.default
# openserctl config
- $(INSTALL-TOUCH) $(cfg-prefix)/$(cfg-dir)/openserctlrc.sample
- $(INSTALL-CFG) scripts/openserctlrc \
-@@ -389,7 +373,7 @@
+ $(INSTALL_TOUCH) $(cfg-prefix)/$(cfg-dir)/openserctlrc.sample
+ $(INSTALL_CFG) scripts/openserctlrc \
+@@ -391,7 +378,7 @@
sed -e "s#/usr/local/lib/openser#$(lib-target)#g" | \
sed -e "s#/usr/local/etc/openser#$(cfg-target)#g" >/tmp/openserctl
- $(INSTALL-TOUCH) $(bin-prefix)/$(bin-dir)/openserctl
-- $(INSTALL-BIN) /tmp/openserctl $(bin-prefix)/$(bin-dir)
+ $(INSTALL_TOUCH) $(bin-prefix)/$(bin-dir)/openserctl
+- $(INSTALL_BIN) /tmp/openserctl $(bin-prefix)/$(bin-dir)
+ $(BSD_INSTALL_SCRIPT) /tmp/openserctl $(bin-prefix)/$(bin-dir)
rm -fr /tmp/openserctl
sed -e "s#/usr/local/sbin#$(bin-target)#g" \
< scripts/openserctl.base > /tmp/openserctl.base
-@@ -454,7 +438,7 @@
+@@ -456,7 +443,7 @@
sed -e "s#PATH:/usr/local/sbin#PATH:$(bin-target)#g" \
< scripts/mysqldb.sh > /tmp/$(NAME)_mysql.sh ; \
- $(INSTALL-TOUCH) $(bin-prefix)/$(bin-dir)/$(NAME)_mysql.sh ; \
-- $(INSTALL-BIN) /tmp/$(NAME)_mysql.sh $(bin-prefix)/$(bin-dir) ; \
+ $(INSTALL_TOUCH) $(bin-prefix)/$(bin-dir)/$(NAME)_mysql.sh ; \
+- $(INSTALL_BIN) /tmp/$(NAME)_mysql.sh $(bin-prefix)/$(bin-dir) ; \
+ $(BSD_INSTALL_SCRIPT) /tmp/$(NAME)_mysql.sh $(bin-prefix)/$(bin-dir) ; \
rm -fr /tmp/$(NAME)_mysql.sh ; \
fi
if [ "$(PGSQLON)" = "yes" ]; then \
-@@ -467,7 +451,7 @@
+@@ -469,7 +456,7 @@
sed -e "s#PATH:/usr/local/sbin#PATH:$(bin-target)#g" \
< scripts/postgresqldb.sh > /tmp/$(NAME)_postgresql.sh ; \
- $(INSTALL-TOUCH) $(bin-prefix)/$(bin-dir)/$(NAME)_postgresql.sh ; \
-- $(INSTALL-BIN) /tmp/$(NAME)_postgresql.sh \
+ $(INSTALL_TOUCH) $(bin-prefix)/$(bin-dir)/$(NAME)_postgresql.sh ; \
+- $(INSTALL_BIN) /tmp/$(NAME)_postgresql.sh \
+ $(BSD_INSTALL_SCRIPT) /tmp/$(NAME)_postgresql.sh \
$(bin-prefix)/$(bin-dir) ; \
rm -fr /tmp/$(NAME)_postgresql.sh ; \
fi
-@@ -492,8 +476,6 @@
+@@ -494,8 +481,6 @@
if [ -f modules/"$$r"/README ]; then \
- $(INSTALL-TOUCH) $(doc-prefix)/$(doc-dir)/README ; \
- $(INSTALL-DOC) modules/"$$r"/README \
+ $(INSTALL_TOUCH) $(doc-prefix)/$(doc-dir)/README ; \
+ $(INSTALL_DOC) modules/"$$r"/README \
- $(doc-prefix)/$(doc-dir)/README ; \
- mv -f $(doc-prefix)/$(doc-dir)/README \
$(doc-prefix)/$(doc-dir)/README."$$r" ; \