teamplayer: use postgresql 9.0
This commit is contained in:
parent
9fed2e9a12
commit
48854856b3
|
@ -2,15 +2,14 @@ HG_REPO = ../teamplayer
|
|||
TP_USER = teamplayer
|
||||
TP_HOME = /opt/teamplayer
|
||||
TP_DB = /var/lib/teamplayer
|
||||
PGVER = 8.4
|
||||
PGVER = 9.0
|
||||
|
||||
INSTALL = /usr/bin/install
|
||||
M4 = /usr/bin/m4
|
||||
M4_DEFS = -D HOSTNAME=$(HOSTNAME) -D TP_USER=$(TP_USER) -D TP_HOME=$(TP_HOME)
|
||||
M4_DEFS += -D TP_DB=$(TP_DB)
|
||||
M4_DEFS += -D TP_USER=$(TP_USER) -D TP_HOME=$(TP_HOME) -D TP_DB=$(TP_DB)
|
||||
M4C = $(M4) $(M4_DEFS)
|
||||
|
||||
preinstall =
|
||||
postinstall = \
|
||||
chroot $(CHROOT) emerge -n $(USEPKG) =dev-db/postgresql-server-$(PGVER)*; \
|
||||
chroot $(CHROOT) passwd -d postgres; \
|
||||
yes | chroot $(CHROOT) emerge --config =postgresql-server-$(PGVER)*; \
|
||||
chroot $(CHROOT) rc-update add postgresql-$(PGVER) default; \
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
dev-db/postgresql-base ~amd64
|
||||
dev-db/postgresql-server ~amd64
|
||||
dev-python/django ~amd64
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
=dev-db/postgresql-server-8.4*
|
||||
dev-python/django
|
||||
dev-python/flup
|
||||
dev-python/python-mpd
|
||||
|
|
Loading…
Reference in New Issue