- Unbreak

- plist cleanup

Submitted by:	Mike Durian <durian@shadetreesoftware.com>
This commit is contained in:
Martin Wilke 2007-05-31 04:28:00 +00:00
parent ff8168bc86
commit 8b6c6c1221
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=192438
19 changed files with 84 additions and 51 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= sipxcommserverlib
PORTVERSION= 3.6.0
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= http://www.sipfoundry.org/pub/sipX/3.6/SRC/

View File

@ -31,6 +31,20 @@ PRE-INSTALL)
fi
;;
POST-INSTALL)
# Create a dummy file in /usr/local/share/sipxpbx to act
# as a poorman's reference count. Both sipxcommserverlib
# and sipxconfig create this directory. Though sipxcommserverlib
# does not put any files in it. When sipxconfig deinstalls
# there is nothing to prevent it from completely removing
# the directory. Then when sipxcommservlib deinstalls, it
# finds the directory it created is now gone.
#
# By creating a dummy file here, we'll prevent sipxconfig
# from completely removing the directory and this will make
# tinderbox happy when it deinstalls sipxcommserverlib.
mkdir -p %%PREFIX%%/share/sipxpbx
/usr/bin/touch %%PREFIX%%/share/sipxpbx/.sipxcommserverlib_dummy
chown ${USER}:${GROUP} %%PREFIX%%/etc/sipxpbx
;;
esac

View File

@ -90,9 +90,10 @@ libexec/sipx-utils.sh
%%PORTDOCS%%@dirrm %%DOCSDIR%%
share/sipx/schema/authrules.xsd
share/sipx/schema/urlmap.xsd
@dirrm share/sipxpbx
@dirrm share/sipx/schema
@dirrm share/sipx
share/sipxpbx/.sipxcommserverlib_dummy
@dirrmtry share/sipxpbx
@dirrmtry share/sipx/schema
@dirrmtry share/sipx
@dirrm include/testlib
@dirrm include/sipdb
@dirrm include/odbc
@ -100,8 +101,9 @@ share/sipx/schema/urlmap.xsd
@dirrm include/fastdb
@dirrm include/digitmaps
@dirrm include/configrpc
@exec mkdir -p %D/etc/sipxpbx/ssl/authorities
@dirrm etc/sipxpbx/ssl/authorities
@dirrm etc/sipxpbx/ssl
@dirrm etc/sipxpbx/process.d
@dirrm etc/sipxpbx
@dirrm bin/ssl-cert
@dirrmtry etc/sipxpbx/process.d
@dirrmtry etc/sipxpbx
@dirrmtry bin/ssl-cert

View File

@ -7,7 +7,7 @@
PORTNAME= sipxconfig
PORTVERSION= 3.6.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= net
MASTER_SITES= http://www.sipfoundry.org/pub/sipX/3.6/SRC/

View File

@ -152,7 +152,7 @@ share/sipxpbx/lib/wsdl4j-1.5.1.jar
share/sipxpbx/lib/xercesImpl-2.7.0.jar
share/sipxpbx/lib/xml-apis-1.3.1.jar
share/sipxpbx/lib/xmlrpc-2.0.jar
@dirrm bin/ssl-cert
@dirrmtry bin/ssl-cert
@dirrm etc/sipxpbx/acme
@dirrm etc/sipxpbx/audiocodes
@dirrm etc/sipxpbx/ciscoAta
@ -165,23 +165,25 @@ share/sipxpbx/lib/xmlrpc-2.0.jar
@dirrm etc/sipxpbx/kphone
@dirrm etc/sipxpbx/polycom/mac-address.d
@dirrm etc/sipxpbx/polycom
@dirrm etc/sipxpbx/process.d
@dirrmtry etc/sipxpbx/process.d
@dirrm etc/sipxpbx/sipxconference
@dirrm etc/sipxpbx/sipxpark
@dirrm etc/sipxpbx/sipxvxml
@dirrm etc/sipxpbx/snom
@dirrm etc/sipxpbx/unmanagedPhone
@dirrm etc/sipxpbx
@dirrm lib/ruby/gems/1.8/cache
@dirrmtry etc/sipxpbx
@dirrmtry lib/ruby/gems/1.8/cache
@exec mkdir -p %D/lib/ruby/gems/1.8/doc/sipXconfig-agent-1.0.0
@dirrm lib/ruby/gems/1.8/doc/sipXconfig-agent-1.0.0
@dirrmtry lib/ruby/gems/1.8/doc
@dirrm lib/ruby/gems/1.8/gems/sipXconfig-agent-1.0.0/bin
@dirrm lib/ruby/gems/1.8/gems/sipXconfig-agent-1.0.0/lib
@dirrm lib/ruby/gems/1.8/gems/sipXconfig-agent-1.0.0/tests
@dirrm lib/ruby/gems/1.8/gems/sipXconfig-agent-1.0.0
@dirrm lib/ruby/gems/1.8/gems
@dirrm lib/ruby/gems/1.8/specifications
@dirrm lib/ruby/gems/1.8
@dirrm lib/ruby/gems
@dirrm lib/ruby
@dirrmtry lib/ruby/gems/1.8/gems
@dirrmtry lib/ruby/gems/1.8/specifications
@dirrmtry lib/ruby/gems/1.8
@dirrmtry lib/ruby/gems
@dirrmtry lib/ruby
@dirrm share/sipxpbx/lib
@dirrm share/sipxpbx
@dirrmtry share/sipxpbx

View File

@ -7,7 +7,7 @@
PORTNAME= sipxpbx
PORTVERSION= 3.6.0
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= net
MASTER_SITES= http://www.sipfoundry.org/pub/sipX/3.6/SRC/
@ -33,8 +33,6 @@ RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
sipXvxml.sh:${PORTSDIR}/net/sipxvxml \
psql:${PORTSDIR}/databases/postgresql81-client
BROKEN= Incorrect pkg-plist
USE_BZIP2= yes
USE_GMAKE= yes
USE_AUTOTOOLS= autoconf:259:env automake:19:env

View File

@ -1,6 +1,6 @@
#!/bin/sh
PATH=/bin:/usr/sbin
PATH=/bin:/sbin:/usr/bin:/usr/sbin
USER=sipx
GROUP=sipx
@ -31,6 +31,15 @@ PRE-INSTALL)
fi
;;
POST-INSTALL)
# Create a dummy file in /usr/local/www/sipX/conf to act
# as a poorman's reference count. Both sipxpbx and sipxvxml
# create this empty directory. If we leave it empty,
# when we remove either package, the directory will be removed
# (assuming it is still empty). However, the other package
# still thinks the empty directory still exists. Tinderbox
# doesn't like this.
touch %%PREFIX%%/www/sipX/conf/.sipxpbx_dummy
# fix up permission on sipX directories under /var
mkdir -p %%LOCALSTATEDIR%%/log/sipxpbx
mkdir -p %%LOCALSTATEDIR%%/run/sipxpbx

View File

@ -22,7 +22,6 @@ bin/sipxpresence.sh
bin/voicemail_clean
bin/watchdog
bin/watchdog.sh
etc/rc.d/sipxpbx
etc/sipxpbx/ProcessDefinitions.xml
etc/sipxpbx/WatchDog.xml
etc/sipxpbx/cbadmission.xml.in
@ -47,6 +46,7 @@ www/sipX/cgi-bin/cbadmission/cbadmission.cgi
www/sipX/cgi-bin/processmonitor/process.cgi
www/sipX/cgi-bin/replication/replication.cgi
www/sipX/cgi-bin/voicemail/mediaserver.cgi
www/sipX/conf/.sipxpbx_dummy
www/sipX/doc/aa_vxml/autoattendant-afterhour.vxml
www/sipX/doc/aa_vxml/autoattendant-operator.vxml
www/sipX/doc/aa_vxml/dialbyname.vxml
@ -1168,17 +1168,16 @@ www/sipX/doc/vm_vxml/savemessage_no_operator.vxml.in
@dirrm www/sipX/doc/adminui
@dirrm www/sipX/doc/aa_vxml
@dirrm www/sipX/doc
@exec mkdir -p %D/www/sipX/conf
@dirrm www/sipX/conf
@dirrmtry www/sipX/conf
@dirrm www/sipX/cgi-bin/voicemail
@dirrm www/sipX/cgi-bin/replication
@dirrm www/sipX/cgi-bin/processmonitor
@dirrm www/sipX/cgi-bin/cbadmission
@dirrm www/sipX/cgi-bin
@dirrm www/sipX
@dirrm share/sipx/schema
@dirrm share/sipx
@dirrmtry www/sipX
@dirrmtry share/sipx/schema
@dirrmtry share/sipx
@dirrm share/doc/sipx/sipxpbx
@dirrm share/doc/sipx
@dirrm etc/sipxpbx/process.d
@dirrm etc/sipxpbx
@dirrmtry etc/sipxpbx/process.d
@dirrmtry etc/sipxpbx

View File

@ -7,7 +7,7 @@
PORTNAME= sipxproxy
PORTVERSION= 3.6.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= net
MASTER_SITES= http://www.sipfoundry.org/pub/sipX/3.6/SRC/

View File

@ -15,6 +15,6 @@ etc/sipxpbx/forwardingrules.xml.in
etc/sipxpbx/process.d/sipauthproxy.process.xml
etc/sipxpbx/process.d/sipproxy.process.xml
etc/sipxpbx/proxy-config.in
@dirrm etc/sipxpbx/process.d
@dirrmtry etc/sipxpbx/process.d
@dirrm etc/sipxpbx/cdr
@dirrm etc/sipxpbx
@dirrmtry etc/sipxpbx

View File

@ -7,7 +7,7 @@
PORTNAME= sipxpublisher
PORTVERSION= 3.6.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= net
MASTER_SITES= http://www.sipfoundry.org/pub/sipX/3.6/SRC/

View File

@ -15,5 +15,5 @@ include/statusserver/SubscribeServerPluginBase.h
include/statusserver/SubscribeServerThread.h
include/statusserver/WebServer.h
@dirrm include/statusserver
@dirrm etc/sipxpbx/process.d
@dirrm etc/sipxpbx
@dirrmtry etc/sipxpbx/process.d
@dirrmtry etc/sipxpbx

View File

@ -7,7 +7,7 @@
PORTNAME= sipxregistry
PORTVERSION= 3.6.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= net
MASTER_SITES= http://www.sipfoundry.org/pub/sipX/3.6/SRC/

View File

@ -13,8 +13,8 @@ lib/libRegistrarImpliedMWI.so.1
share/sipx/schema/alias.xsd
share/sipx/schema/caller-alias.xsd
share/sipx/schema/huntgroup.xsd
@dirrm share/sipx/schema
@dirrm share/sipx
@dirrmtry share/sipx/schema
@dirrmtry share/sipx
@dirrm include/registry
@dirrm etc/sipxpbx/process.d
@dirrm etc/sipxpbx
@dirrmtry etc/sipxpbx/process.d
@dirrmtry etc/sipxpbx

View File

@ -7,7 +7,7 @@
PORTNAME= sipxtacklib
PORTVERSION= 3.6.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net java
MASTER_SITES= http://www.sipfoundry.org/pub/sipX/3.6/SRC/

View File

@ -120,8 +120,8 @@ lib/libsipXtack.so.2
lib/sipviewer/jdom.jar
lib/sipviewer/sipviewer.jar
share/sipx/schema/sip_types.xsd
@dirrm share/sipx/schema
@dirrm share/sipx
@dirrmtry share/sipx/schema
@dirrmtry share/sipx
@dirrm lib/sipviewer
@dirrm include/tapi
@dirrm include/siptest

View File

@ -7,7 +7,7 @@
PORTNAME= sipxvxml
PORTVERSION= 3.6.0
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= http://www.sipfoundry.org/pub/sipX/3.6/SRC/

View File

@ -1,6 +1,6 @@
#!/bin/sh
PATH=/bin:/usr/sbin
PATH=/bin:/sbin:/usr/bin:/usr/sbin
USER=sipx
GROUP=sipx
@ -31,8 +31,18 @@ PRE-INSTALL)
fi
;;
POST-INSTALL)
# Create a dummy file in /usr/local/www/sipX/conf to act
# as a poorman's reference count. Both sipxpbx and sipxvxml
# create this empty directory. If we leave it empty,
# when we remove either package, the directory will be removed
# (assuming it is still empty). However, the other package
# still thinks the empty directory still exists. Tinderbox
# doesn't like this.
mkdir -p %%PREFIX%%/www/sipX/conf
touch %%PREFIX%%/www/sipX/conf/.sipxvxml_dummy
chown ${USER}:${GROUP} %%PREFIX%%/etc/sipxpbx
chown ${USER}:${GROUP} %%PREFIX%%/www/sipX/conf
chown -R ${USER}:${GROUP} %%PREFIX%%/www/sipX/conf
chown ${USER}:${GROUP} %%PREFIX%%/www/sipX
;;
esac

View File

@ -50,11 +50,10 @@ include/src/jsutil.h
include/src/jsxdrapi.h
include/src/prmjtime.h
include/src/resource.h
@exec mkdir -p %D/www/sipX/conf
www/sipX/conf/.sipxvxml_dummy
@dirrm www/sipX/conf
@exec mkdir -p %D/www/sipX
@dirrm www/sipX
@dirrm include/src/fdlibm
@dirrm include/src
@dirrm etc/sipxpbx/process.d
@dirrm etc/sipxpbx
@dirrmtry etc/sipxpbx/process.d
@dirrmtry etc/sipxpbx