summaryrefslogtreecommitdiff
path: root/net/openser/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/openser/files')
-rw-r--r--net/openser/files/patch-Makefile76
-rw-r--r--net/openser/files/patch-Makefile.defs43
-rw-r--r--net/openser/files/pkg-deinstall.in24
-rw-r--r--net/openser/files/pkg-install.in12
4 files changed, 0 insertions, 155 deletions
diff --git a/net/openser/files/patch-Makefile b/net/openser/files/patch-Makefile
deleted file mode 100644
index 9da825037641..000000000000
--- a/net/openser/files/patch-Makefile
+++ /dev/null
@@ -1,76 +0,0 @@
---- Makefile.orig Wed Jan 30 14:50:03 2008
-+++ Makefile Wed Jan 30 16:41:05 2008
-@@ -47,10 +47,10 @@
- skip_modules?=
-
- # if not set on the cmd. line or the env, exclude this modules:
--exclude_modules?= jabber cpl-c mysql pa postgres osp unixodbc \
-- avp_radius auth_radius group_radius uri_radius xmpp \
-- presence pua pua_mi pua_usrloc seas\
-- mi_xmlrpc perl snmpstats
-+exclude_modules?= $(MYSQL) $(POSTGRESQL) $(SNMPSTATS) $(TLSOPS) $(UNIXODBC) \
-+ $(AUTHRADIUS) avp_radius group_radius uri_radius xmpp \
-+ presence pua pua_mi pua_usrloc seas mi_xmlrpc perl \
-+ snmpstats jabber osp auth_diameter
- ifeq ($(TLS),)
- exclude_modules+= tlsops
- endif
-@@ -343,21 +343,9 @@
-
- # note: on solaris 8 sed: ? or \(...\)* (a.s.o) do not work
- install-cfg: $(cfg-prefix)/$(cfg-dir)
-- sed -e "s#/usr/.*lib/$(NAME)/modules/#$(modules-target)#g" \
-- < etc/$(NAME).cfg > $(cfg-prefix)/$(cfg-dir)$(NAME).cfg.sample0
-- sed -e "s#/usr/.*etc/$(NAME)/tls/#$(cfg-target)tls/#g" \
-- < $(cfg-prefix)/$(cfg-dir)$(NAME).cfg.sample0 \
-- > $(cfg-prefix)/$(cfg-dir)$(NAME).cfg.sample
-- rm -fr $(cfg-prefix)/$(cfg-dir)$(NAME).cfg.sample0
-- chmod 644 $(cfg-prefix)/$(cfg-dir)$(NAME).cfg.sample
-- if [ -z "${skip_cfg_install}" -a \
-- ! -f $(cfg-prefix)/$(cfg-dir)$(NAME).cfg ]; then \
-- mv -f $(cfg-prefix)/$(cfg-dir)$(NAME).cfg.sample \
-- $(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
- # openserctl config
- $(INSTALL_TOUCH) $(cfg-prefix)/$(cfg-dir)/openserctlrc.sample
- $(INSTALL_CFG) scripts/openserctlrc \
-@@ -391,7 +379,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)
-+ $(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
-@@ -456,7 +444,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) ; \
-+ $(BSD_INSTALL_SCRIPT) /tmp/$(NAME)_mysql.sh $(bin-prefix)/$(bin-dir) ; \
- rm -fr /tmp/$(NAME)_mysql.sh ; \
- fi
- if [ "$(PGSQLON)" = "yes" ]; then \
-@@ -469,7 +457,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 \
-+ $(BSD_INSTALL_SCRIPT) /tmp/$(NAME)_postgresql.sh \
- $(bin-prefix)/$(bin-dir) ; \
- rm -fr /tmp/$(NAME)_postgresql.sh ; \
- fi
-@@ -494,8 +482,6 @@
- if [ -f modules/"$$r"/README ]; then \
- $(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" ; \
- fi ; \
- fi ; \
diff --git a/net/openser/files/patch-Makefile.defs b/net/openser/files/patch-Makefile.defs
deleted file mode 100644
index 7899cece0d0a..000000000000
--- a/net/openser/files/patch-Makefile.defs
+++ /dev/null
@@ -1,43 +0,0 @@
---- Makefile.defs.orig Thu Dec 20 13:34:23 2007
-+++ Makefile.defs Wed Jan 30 14:58:46 2008
-@@ -131,7 +131,7 @@
- ifeq ($(ARCH_B),64b)
- LIBDIR ?= lib64
- else
-- LIBDIR ?= lib
-+ LIBDIR = lib
- # assume 32b - it is not really used further
- ARCH_B=32b
- endif
-@@ -211,13 +211,13 @@
- TAR ?= tar
- endif
-
--INSTALL_TOUCH = touch # used to create the file first (good to
-- # make solaris install work)
--INSTALL_CFG = $(INSTALL) -m 644
--INSTALL_BIN = $(INSTALL) -m 755
--INSTALL_MODULES = $(INSTALL) -m 755
--INSTALL_DOC = $(INSTALL) -m 644
--INSTALL_MAN = $(INSTALL) -m 644
-+INSTALL_TOUCH = : # used to create the file first (good to
-+ # make solaris install work)
-+INSTALL_CFG = $(BSD_INSTALL_DATA)
-+INSTALL_BIN = $(BSD_INSTALL_PROGRAM)
-+INSTALL_MODULES = $(BSD_INSTALL_PROGRAM)
-+INSTALL_DOC = $(BSD_INSTALL_DATA)
-+INSTALL_MAN = $(BSD_INSTALL_MAN)
-
- #set some vars from the environment (and not make builtins)
- CC := $(shell echo "$${CC}")
-@@ -1205,8 +1205,8 @@
-
- #add libssl if needed
- ifneq ($(TLS),)
--DEFS+= -I$(LOCALBASE)/ssl/include -I$(LOCALBASE)/include
--LIBS+= -L$(LOCALBASE)/lib -L$(LOCALBASE)/ssl/lib -lssl -lcrypto
-+DEFS+= -I$(OPENSSLINC)
-+LIBS+= -L$(OPENSSLLIB) -lssl -lcrypto
- endif
-
- ifneq ($(found_lock_method), yes)
diff --git a/net/openser/files/pkg-deinstall.in b/net/openser/files/pkg-deinstall.in
deleted file mode 100644
index 5ca38f0f45b0..000000000000
--- a/net/openser/files/pkg-deinstall.in
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-rc_dir=$PKG_PREFIX/etc/openser
-
-if [ "$2" = DEINSTALL ]; then
- for f in %%RC_FILES%%; do
- if /usr/bin/cmp -s $rc_dir/$f.default $rc_dir/$f; then
- /bin/rm -f $rc_dir/$f
- fi
- done
-elif [ "$2" = POST-DEINSTALL ]; then
- rc_dirs=`for d in %%RC_DIRS%%; do echo $d; done | /usr/bin/sort -r`
-
- for d in $rc_dirs ""; do
- /bin/rmdir $rc_dir/$d 2>/dev/null || /usr/bin/true
- done
-
- if [ -e $rc_dir ]; then
- echo "==============================================================================="
- echo "If you are permanently removing this port, you should manually remove the"
- echo "$rc_dir directory."
- echo "==============================================================================="
- fi
-fi
diff --git a/net/openser/files/pkg-install.in b/net/openser/files/pkg-install.in
deleted file mode 100644
index 79e885fcf5fc..000000000000
--- a/net/openser/files/pkg-install.in
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-[ "$2" != POST-INSTALL ] && exit
-
-rc_dir=$PKG_PREFIX/etc/openser
-
-for f in %%RC_FILES%%; do
- if ! [ -e $rc_dir/$f ]; then
- /usr/bin/install -o root -g wheel -m 644 \
- $rc_dir/$f.default $rc_dir/$f
- fi
-done