mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Treat pgsql's .profile as data: it could have been customized to change the
default database location. Approved by: maintainer
This commit is contained in:
parent
935cdad526
commit
fa2d0e0a64
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38618
@ -124,10 +124,12 @@ post-install:
|
||||
# ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/*ps.gz ${PREFIX}/share/doc/pgsql
|
||||
@ ${CAT} ${PKGDIR}/pkg-plist.doc >> ${TMPPLIST}
|
||||
.endif
|
||||
@ ${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/dot.profile.dist;
|
||||
@ if [ ! -f ${PREFIX}/pgsql/.profile ]; then \
|
||||
${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/.profile; \
|
||||
${CP} ${PREFIX}/pgsql/dot.profile.dist \
|
||||
${PREFIX}/pgsql/.profile; \
|
||||
fi
|
||||
@ ${CHOWN} -R pgsql:pgsql ${PREFIX}/pgsql
|
||||
@ ${CHOWN} root:pgsql ${PREFIX}/pgsql/lib
|
||||
|
@ -1,5 +1,7 @@
|
||||
@unexec if cmp -s %D/pgsql/.profile %D/pgsql/dot.profile.dist; then rm -f %D/pgsql/.profile; fi
|
||||
etc/rc.d/pgsql.sh
|
||||
pgsql/.profile
|
||||
pgsql/dot.profile.dist
|
||||
@exec [ -f %D/pgsql/.profile ] || (cp %D/pgsql/dot.profile.dist %D/pgsql/.profile && chown pgsql:pgsql %D/pgsql/.profile)
|
||||
pgsql/bin/createdb
|
||||
pgsql/bin/createlang
|
||||
pgsql/bin/createuser
|
||||
|
@ -124,10 +124,12 @@ post-install:
|
||||
# ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/*ps.gz ${PREFIX}/share/doc/pgsql
|
||||
@ ${CAT} ${PKGDIR}/pkg-plist.doc >> ${TMPPLIST}
|
||||
.endif
|
||||
@ ${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/dot.profile.dist;
|
||||
@ if [ ! -f ${PREFIX}/pgsql/.profile ]; then \
|
||||
${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/.profile; \
|
||||
${CP} ${PREFIX}/pgsql/dot.profile.dist \
|
||||
${PREFIX}/pgsql/.profile; \
|
||||
fi
|
||||
@ ${CHOWN} -R pgsql:pgsql ${PREFIX}/pgsql
|
||||
@ ${CHOWN} root:pgsql ${PREFIX}/pgsql/lib
|
||||
|
@ -1,5 +1,7 @@
|
||||
@unexec if cmp -s %D/pgsql/.profile %D/pgsql/dot.profile.dist; then rm -f %D/pgsql/.profile; fi
|
||||
etc/rc.d/pgsql.sh
|
||||
pgsql/.profile
|
||||
pgsql/dot.profile.dist
|
||||
@exec [ -f %D/pgsql/.profile ] || (cp %D/pgsql/dot.profile.dist %D/pgsql/.profile && chown pgsql:pgsql %D/pgsql/.profile)
|
||||
pgsql/bin/createdb
|
||||
pgsql/bin/createlang
|
||||
pgsql/bin/createuser
|
||||
|
@ -124,10 +124,12 @@ post-install:
|
||||
# ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/*ps.gz ${PREFIX}/share/doc/pgsql
|
||||
@ ${CAT} ${PKGDIR}/pkg-plist.doc >> ${TMPPLIST}
|
||||
.endif
|
||||
@ ${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/dot.profile.dist;
|
||||
@ if [ ! -f ${PREFIX}/pgsql/.profile ]; then \
|
||||
${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/.profile; \
|
||||
${CP} ${PREFIX}/pgsql/dot.profile.dist \
|
||||
${PREFIX}/pgsql/.profile; \
|
||||
fi
|
||||
@ ${CHOWN} -R pgsql:pgsql ${PREFIX}/pgsql
|
||||
@ ${CHOWN} root:pgsql ${PREFIX}/pgsql/lib
|
||||
|
@ -1,5 +1,7 @@
|
||||
@unexec if cmp -s %D/pgsql/.profile %D/pgsql/dot.profile.dist; then rm -f %D/pgsql/.profile; fi
|
||||
etc/rc.d/pgsql.sh
|
||||
pgsql/.profile
|
||||
pgsql/dot.profile.dist
|
||||
@exec [ -f %D/pgsql/.profile ] || (cp %D/pgsql/dot.profile.dist %D/pgsql/.profile && chown pgsql:pgsql %D/pgsql/.profile)
|
||||
pgsql/bin/createdb
|
||||
pgsql/bin/createlang
|
||||
pgsql/bin/createuser
|
||||
|
@ -124,10 +124,12 @@ post-install:
|
||||
# ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/*ps.gz ${PREFIX}/share/doc/pgsql
|
||||
@ ${CAT} ${PKGDIR}/pkg-plist.doc >> ${TMPPLIST}
|
||||
.endif
|
||||
@ ${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/dot.profile.dist;
|
||||
@ if [ ! -f ${PREFIX}/pgsql/.profile ]; then \
|
||||
${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/.profile; \
|
||||
${CP} ${PREFIX}/pgsql/dot.profile.dist \
|
||||
${PREFIX}/pgsql/.profile; \
|
||||
fi
|
||||
@ ${CHOWN} -R pgsql:pgsql ${PREFIX}/pgsql
|
||||
@ ${CHOWN} root:pgsql ${PREFIX}/pgsql/lib
|
||||
|
@ -1,5 +1,7 @@
|
||||
@unexec if cmp -s %D/pgsql/.profile %D/pgsql/dot.profile.dist; then rm -f %D/pgsql/.profile; fi
|
||||
etc/rc.d/pgsql.sh
|
||||
pgsql/.profile
|
||||
pgsql/dot.profile.dist
|
||||
@exec [ -f %D/pgsql/.profile ] || (cp %D/pgsql/dot.profile.dist %D/pgsql/.profile && chown pgsql:pgsql %D/pgsql/.profile)
|
||||
pgsql/bin/createdb
|
||||
pgsql/bin/createlang
|
||||
pgsql/bin/createuser
|
||||
|
@ -124,10 +124,12 @@ post-install:
|
||||
# ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/*ps.gz ${PREFIX}/share/doc/pgsql
|
||||
@ ${CAT} ${PKGDIR}/pkg-plist.doc >> ${TMPPLIST}
|
||||
.endif
|
||||
@ ${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/dot.profile.dist;
|
||||
@ if [ ! -f ${PREFIX}/pgsql/.profile ]; then \
|
||||
${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/.profile; \
|
||||
${CP} ${PREFIX}/pgsql/dot.profile.dist \
|
||||
${PREFIX}/pgsql/.profile; \
|
||||
fi
|
||||
@ ${CHOWN} -R pgsql:pgsql ${PREFIX}/pgsql
|
||||
@ ${CHOWN} root:pgsql ${PREFIX}/pgsql/lib
|
||||
|
@ -1,5 +1,7 @@
|
||||
@unexec if cmp -s %D/pgsql/.profile %D/pgsql/dot.profile.dist; then rm -f %D/pgsql/.profile; fi
|
||||
etc/rc.d/pgsql.sh
|
||||
pgsql/.profile
|
||||
pgsql/dot.profile.dist
|
||||
@exec [ -f %D/pgsql/.profile ] || (cp %D/pgsql/dot.profile.dist %D/pgsql/.profile && chown pgsql:pgsql %D/pgsql/.profile)
|
||||
pgsql/bin/createdb
|
||||
pgsql/bin/createlang
|
||||
pgsql/bin/createuser
|
||||
|
@ -124,10 +124,12 @@ post-install:
|
||||
# ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/*ps.gz ${PREFIX}/share/doc/pgsql
|
||||
@ ${CAT} ${PKGDIR}/pkg-plist.doc >> ${TMPPLIST}
|
||||
.endif
|
||||
@ ${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/dot.profile.dist;
|
||||
@ if [ ! -f ${PREFIX}/pgsql/.profile ]; then \
|
||||
${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/.profile; \
|
||||
${CP} ${PREFIX}/pgsql/dot.profile.dist \
|
||||
${PREFIX}/pgsql/.profile; \
|
||||
fi
|
||||
@ ${CHOWN} -R pgsql:pgsql ${PREFIX}/pgsql
|
||||
@ ${CHOWN} root:pgsql ${PREFIX}/pgsql/lib
|
||||
|
@ -1,5 +1,7 @@
|
||||
@unexec if cmp -s %D/pgsql/.profile %D/pgsql/dot.profile.dist; then rm -f %D/pgsql/.profile; fi
|
||||
etc/rc.d/pgsql.sh
|
||||
pgsql/.profile
|
||||
pgsql/dot.profile.dist
|
||||
@exec [ -f %D/pgsql/.profile ] || (cp %D/pgsql/dot.profile.dist %D/pgsql/.profile && chown pgsql:pgsql %D/pgsql/.profile)
|
||||
pgsql/bin/createdb
|
||||
pgsql/bin/createlang
|
||||
pgsql/bin/createuser
|
||||
|
@ -124,10 +124,12 @@ post-install:
|
||||
# ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/*ps.gz ${PREFIX}/share/doc/pgsql
|
||||
@ ${CAT} ${PKGDIR}/pkg-plist.doc >> ${TMPPLIST}
|
||||
.endif
|
||||
@ ${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/dot.profile.dist;
|
||||
@ if [ ! -f ${PREFIX}/pgsql/.profile ]; then \
|
||||
${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/.profile; \
|
||||
${CP} ${PREFIX}/pgsql/dot.profile.dist \
|
||||
${PREFIX}/pgsql/.profile; \
|
||||
fi
|
||||
@ ${CHOWN} -R pgsql:pgsql ${PREFIX}/pgsql
|
||||
@ ${CHOWN} root:pgsql ${PREFIX}/pgsql/lib
|
||||
|
@ -1,5 +1,7 @@
|
||||
@unexec if cmp -s %D/pgsql/.profile %D/pgsql/dot.profile.dist; then rm -f %D/pgsql/.profile; fi
|
||||
etc/rc.d/pgsql.sh
|
||||
pgsql/.profile
|
||||
pgsql/dot.profile.dist
|
||||
@exec [ -f %D/pgsql/.profile ] || (cp %D/pgsql/dot.profile.dist %D/pgsql/.profile && chown pgsql:pgsql %D/pgsql/.profile)
|
||||
pgsql/bin/createdb
|
||||
pgsql/bin/createlang
|
||||
pgsql/bin/createuser
|
||||
|
@ -124,10 +124,12 @@ post-install:
|
||||
# ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/*ps.gz ${PREFIX}/share/doc/pgsql
|
||||
@ ${CAT} ${PKGDIR}/pkg-plist.doc >> ${TMPPLIST}
|
||||
.endif
|
||||
@ ${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/dot.profile.dist;
|
||||
@ if [ ! -f ${PREFIX}/pgsql/.profile ]; then \
|
||||
${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/.profile; \
|
||||
${CP} ${PREFIX}/pgsql/dot.profile.dist \
|
||||
${PREFIX}/pgsql/.profile; \
|
||||
fi
|
||||
@ ${CHOWN} -R pgsql:pgsql ${PREFIX}/pgsql
|
||||
@ ${CHOWN} root:pgsql ${PREFIX}/pgsql/lib
|
||||
|
@ -1,5 +1,7 @@
|
||||
@unexec if cmp -s %D/pgsql/.profile %D/pgsql/dot.profile.dist; then rm -f %D/pgsql/.profile; fi
|
||||
etc/rc.d/pgsql.sh
|
||||
pgsql/.profile
|
||||
pgsql/dot.profile.dist
|
||||
@exec [ -f %D/pgsql/.profile ] || (cp %D/pgsql/dot.profile.dist %D/pgsql/.profile && chown pgsql:pgsql %D/pgsql/.profile)
|
||||
pgsql/bin/createdb
|
||||
pgsql/bin/createlang
|
||||
pgsql/bin/createuser
|
||||
|
@ -124,10 +124,12 @@ post-install:
|
||||
# ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/*ps.gz ${PREFIX}/share/doc/pgsql
|
||||
@ ${CAT} ${PKGDIR}/pkg-plist.doc >> ${TMPPLIST}
|
||||
.endif
|
||||
@ ${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/dot.profile.dist;
|
||||
@ if [ ! -f ${PREFIX}/pgsql/.profile ]; then \
|
||||
${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/.profile; \
|
||||
${CP} ${PREFIX}/pgsql/dot.profile.dist \
|
||||
${PREFIX}/pgsql/.profile; \
|
||||
fi
|
||||
@ ${CHOWN} -R pgsql:pgsql ${PREFIX}/pgsql
|
||||
@ ${CHOWN} root:pgsql ${PREFIX}/pgsql/lib
|
||||
|
@ -1,5 +1,7 @@
|
||||
@unexec if cmp -s %D/pgsql/.profile %D/pgsql/dot.profile.dist; then rm -f %D/pgsql/.profile; fi
|
||||
etc/rc.d/pgsql.sh
|
||||
pgsql/.profile
|
||||
pgsql/dot.profile.dist
|
||||
@exec [ -f %D/pgsql/.profile ] || (cp %D/pgsql/dot.profile.dist %D/pgsql/.profile && chown pgsql:pgsql %D/pgsql/.profile)
|
||||
pgsql/bin/createdb
|
||||
pgsql/bin/createlang
|
||||
pgsql/bin/createuser
|
||||
|
@ -124,10 +124,12 @@ post-install:
|
||||
# ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/*ps.gz ${PREFIX}/share/doc/pgsql
|
||||
@ ${CAT} ${PKGDIR}/pkg-plist.doc >> ${TMPPLIST}
|
||||
.endif
|
||||
@ ${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/dot.profile.dist;
|
||||
@ if [ ! -f ${PREFIX}/pgsql/.profile ]; then \
|
||||
${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/.profile; \
|
||||
${CP} ${PREFIX}/pgsql/dot.profile.dist \
|
||||
${PREFIX}/pgsql/.profile; \
|
||||
fi
|
||||
@ ${CHOWN} -R pgsql:pgsql ${PREFIX}/pgsql
|
||||
@ ${CHOWN} root:pgsql ${PREFIX}/pgsql/lib
|
||||
|
@ -1,5 +1,7 @@
|
||||
@unexec if cmp -s %D/pgsql/.profile %D/pgsql/dot.profile.dist; then rm -f %D/pgsql/.profile; fi
|
||||
etc/rc.d/pgsql.sh
|
||||
pgsql/.profile
|
||||
pgsql/dot.profile.dist
|
||||
@exec [ -f %D/pgsql/.profile ] || (cp %D/pgsql/dot.profile.dist %D/pgsql/.profile && chown pgsql:pgsql %D/pgsql/.profile)
|
||||
pgsql/bin/createdb
|
||||
pgsql/bin/createlang
|
||||
pgsql/bin/createuser
|
||||
|
@ -124,10 +124,12 @@ post-install:
|
||||
# ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/*ps.gz ${PREFIX}/share/doc/pgsql
|
||||
@ ${CAT} ${PKGDIR}/pkg-plist.doc >> ${TMPPLIST}
|
||||
.endif
|
||||
@ ${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/dot.profile.dist;
|
||||
@ if [ ! -f ${PREFIX}/pgsql/.profile ]; then \
|
||||
${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/.profile; \
|
||||
${CP} ${PREFIX}/pgsql/dot.profile.dist \
|
||||
${PREFIX}/pgsql/.profile; \
|
||||
fi
|
||||
@ ${CHOWN} -R pgsql:pgsql ${PREFIX}/pgsql
|
||||
@ ${CHOWN} root:pgsql ${PREFIX}/pgsql/lib
|
||||
|
@ -1,5 +1,7 @@
|
||||
@unexec if cmp -s %D/pgsql/.profile %D/pgsql/dot.profile.dist; then rm -f %D/pgsql/.profile; fi
|
||||
etc/rc.d/pgsql.sh
|
||||
pgsql/.profile
|
||||
pgsql/dot.profile.dist
|
||||
@exec [ -f %D/pgsql/.profile ] || (cp %D/pgsql/dot.profile.dist %D/pgsql/.profile && chown pgsql:pgsql %D/pgsql/.profile)
|
||||
pgsql/bin/createdb
|
||||
pgsql/bin/createlang
|
||||
pgsql/bin/createuser
|
||||
|
@ -124,10 +124,12 @@ post-install:
|
||||
# ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/*ps.gz ${PREFIX}/share/doc/pgsql
|
||||
@ ${CAT} ${PKGDIR}/pkg-plist.doc >> ${TMPPLIST}
|
||||
.endif
|
||||
@ ${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/dot.profile.dist;
|
||||
@ if [ ! -f ${PREFIX}/pgsql/.profile ]; then \
|
||||
${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/.profile; \
|
||||
${CP} ${PREFIX}/pgsql/dot.profile.dist \
|
||||
${PREFIX}/pgsql/.profile; \
|
||||
fi
|
||||
@ ${CHOWN} -R pgsql:pgsql ${PREFIX}/pgsql
|
||||
@ ${CHOWN} root:pgsql ${PREFIX}/pgsql/lib
|
||||
|
@ -1,5 +1,7 @@
|
||||
@unexec if cmp -s %D/pgsql/.profile %D/pgsql/dot.profile.dist; then rm -f %D/pgsql/.profile; fi
|
||||
etc/rc.d/pgsql.sh
|
||||
pgsql/.profile
|
||||
pgsql/dot.profile.dist
|
||||
@exec [ -f %D/pgsql/.profile ] || (cp %D/pgsql/dot.profile.dist %D/pgsql/.profile && chown pgsql:pgsql %D/pgsql/.profile)
|
||||
pgsql/bin/createdb
|
||||
pgsql/bin/createlang
|
||||
pgsql/bin/createuser
|
||||
|
@ -124,10 +124,12 @@ post-install:
|
||||
# ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/*ps.gz ${PREFIX}/share/doc/pgsql
|
||||
@ ${CAT} ${PKGDIR}/pkg-plist.doc >> ${TMPPLIST}
|
||||
.endif
|
||||
@ ${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/dot.profile.dist;
|
||||
@ if [ ! -f ${PREFIX}/pgsql/.profile ]; then \
|
||||
${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/.profile; \
|
||||
${CP} ${PREFIX}/pgsql/dot.profile.dist \
|
||||
${PREFIX}/pgsql/.profile; \
|
||||
fi
|
||||
@ ${CHOWN} -R pgsql:pgsql ${PREFIX}/pgsql
|
||||
@ ${CHOWN} root:pgsql ${PREFIX}/pgsql/lib
|
||||
|
@ -1,5 +1,7 @@
|
||||
@unexec if cmp -s %D/pgsql/.profile %D/pgsql/dot.profile.dist; then rm -f %D/pgsql/.profile; fi
|
||||
etc/rc.d/pgsql.sh
|
||||
pgsql/.profile
|
||||
pgsql/dot.profile.dist
|
||||
@exec [ -f %D/pgsql/.profile ] || (cp %D/pgsql/dot.profile.dist %D/pgsql/.profile && chown pgsql:pgsql %D/pgsql/.profile)
|
||||
pgsql/bin/createdb
|
||||
pgsql/bin/createlang
|
||||
pgsql/bin/createuser
|
||||
|
@ -124,10 +124,12 @@ post-install:
|
||||
# ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/*ps.gz ${PREFIX}/share/doc/pgsql
|
||||
@ ${CAT} ${PKGDIR}/pkg-plist.doc >> ${TMPPLIST}
|
||||
.endif
|
||||
@ ${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/dot.profile.dist;
|
||||
@ if [ ! -f ${PREFIX}/pgsql/.profile ]; then \
|
||||
${SED} 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/dot.profile.in \
|
||||
> ${PREFIX}/pgsql/.profile; \
|
||||
${CP} ${PREFIX}/pgsql/dot.profile.dist \
|
||||
${PREFIX}/pgsql/.profile; \
|
||||
fi
|
||||
@ ${CHOWN} -R pgsql:pgsql ${PREFIX}/pgsql
|
||||
@ ${CHOWN} root:pgsql ${PREFIX}/pgsql/lib
|
||||
|
@ -1,5 +1,7 @@
|
||||
@unexec if cmp -s %D/pgsql/.profile %D/pgsql/dot.profile.dist; then rm -f %D/pgsql/.profile; fi
|
||||
etc/rc.d/pgsql.sh
|
||||
pgsql/.profile
|
||||
pgsql/dot.profile.dist
|
||||
@exec [ -f %D/pgsql/.profile ] || (cp %D/pgsql/dot.profile.dist %D/pgsql/.profile && chown pgsql:pgsql %D/pgsql/.profile)
|
||||
pgsql/bin/createdb
|
||||
pgsql/bin/createlang
|
||||
pgsql/bin/createuser
|
||||
|
Loading…
Reference in New Issue
Block a user