aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2001-11-30 02:00:12 +0800
committerpetef <petef@FreeBSD.org>2001-11-30 02:00:12 +0800
commit49a19c5515e6aae440dc15995569d36ac76e9f2e (patch)
tree26de5d68969760f3fdae3462d97cc3285d529b00 /databases
parentd3fadf1b5d59d247ccb4169d53c51adc6b82cf8e (diff)
downloadfreebsd-ports-gnome-49a19c5515e6aae440dc15995569d36ac76e9f2e.tar.gz
freebsd-ports-gnome-49a19c5515e6aae440dc15995569d36ac76e9f2e.tar.zst
freebsd-ports-gnome-49a19c5515e6aae440dc15995569d36ac76e9f2e.zip
Fix ownership and permissions on shlibs to make ldconfig happy.
PR: 31871 Submitted by: Sergey Skvortsov <skv@protey.ru>
Diffstat (limited to 'databases')
-rw-r--r--databases/firebird-client/Makefile2
-rw-r--r--databases/firebird-client/pkg-install4
-rw-r--r--databases/firebird-devel/Makefile2
-rw-r--r--databases/firebird-devel/pkg-install4
-rw-r--r--databases/firebird-server/Makefile2
-rw-r--r--databases/firebird-server/pkg-install4
-rw-r--r--databases/firebird/Makefile2
-rw-r--r--databases/firebird/pkg-install4
-rw-r--r--databases/firebird2-server/Makefile2
-rw-r--r--databases/firebird2-server/pkg-install4
-rw-r--r--databases/firebird20-server/Makefile2
-rw-r--r--databases/firebird20-server/pkg-install4
12 files changed, 36 insertions, 0 deletions
diff --git a/databases/firebird-client/Makefile b/databases/firebird-client/Makefile
index 28a23455f090..69c2619d8482 100644
--- a/databases/firebird-client/Makefile
+++ b/databases/firebird-client/Makefile
@@ -62,6 +62,8 @@ do-install:
${RM} ${PREFIX}/firebird/install; \
${RM} ${PREFIX}/firebird/lib/libgds.so.1.0; \
${LN} -fs gds.so ${PREFIX}/firebird/lib/libgds.so.1; \
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/firebird/lib \
+ ${CHMOD} -R g-w ${PREFIX}/firebird/lib \
cd ${PREFIX}/firebird/examples; \
tar zxf ${DISTDIR}/interbase0.9-4-v5examples.tar.gz; \
${CP} ${FILESDIR}/RELNOTES ${PREFIX}/firebird/ \
diff --git a/databases/firebird-client/pkg-install b/databases/firebird-client/pkg-install
index c40e25e88ffc..61c651df083e 100644
--- a/databases/firebird-client/pkg-install
+++ b/databases/firebird-client/pkg-install
@@ -73,6 +73,10 @@ EOF
elif [ "$2" = "POST-INSTALL" ]; then
chown -R firebird:firebird $PKG_PREFIX/firebird
+# make lib ldconfig-compatible
+chown -R root:wheel $PKG_PREFIX/firebird/lib
+chmod -R g-w $PKG_PREFIX/firebird/lib
+
# Turn everybody to read only.
chmod -R o=r $PKG_PREFIX/firebird
diff --git a/databases/firebird-devel/Makefile b/databases/firebird-devel/Makefile
index 28a23455f090..69c2619d8482 100644
--- a/databases/firebird-devel/Makefile
+++ b/databases/firebird-devel/Makefile
@@ -62,6 +62,8 @@ do-install:
${RM} ${PREFIX}/firebird/install; \
${RM} ${PREFIX}/firebird/lib/libgds.so.1.0; \
${LN} -fs gds.so ${PREFIX}/firebird/lib/libgds.so.1; \
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/firebird/lib \
+ ${CHMOD} -R g-w ${PREFIX}/firebird/lib \
cd ${PREFIX}/firebird/examples; \
tar zxf ${DISTDIR}/interbase0.9-4-v5examples.tar.gz; \
${CP} ${FILESDIR}/RELNOTES ${PREFIX}/firebird/ \
diff --git a/databases/firebird-devel/pkg-install b/databases/firebird-devel/pkg-install
index c40e25e88ffc..61c651df083e 100644
--- a/databases/firebird-devel/pkg-install
+++ b/databases/firebird-devel/pkg-install
@@ -73,6 +73,10 @@ EOF
elif [ "$2" = "POST-INSTALL" ]; then
chown -R firebird:firebird $PKG_PREFIX/firebird
+# make lib ldconfig-compatible
+chown -R root:wheel $PKG_PREFIX/firebird/lib
+chmod -R g-w $PKG_PREFIX/firebird/lib
+
# Turn everybody to read only.
chmod -R o=r $PKG_PREFIX/firebird
diff --git a/databases/firebird-server/Makefile b/databases/firebird-server/Makefile
index 28a23455f090..69c2619d8482 100644
--- a/databases/firebird-server/Makefile
+++ b/databases/firebird-server/Makefile
@@ -62,6 +62,8 @@ do-install:
${RM} ${PREFIX}/firebird/install; \
${RM} ${PREFIX}/firebird/lib/libgds.so.1.0; \
${LN} -fs gds.so ${PREFIX}/firebird/lib/libgds.so.1; \
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/firebird/lib \
+ ${CHMOD} -R g-w ${PREFIX}/firebird/lib \
cd ${PREFIX}/firebird/examples; \
tar zxf ${DISTDIR}/interbase0.9-4-v5examples.tar.gz; \
${CP} ${FILESDIR}/RELNOTES ${PREFIX}/firebird/ \
diff --git a/databases/firebird-server/pkg-install b/databases/firebird-server/pkg-install
index c40e25e88ffc..61c651df083e 100644
--- a/databases/firebird-server/pkg-install
+++ b/databases/firebird-server/pkg-install
@@ -73,6 +73,10 @@ EOF
elif [ "$2" = "POST-INSTALL" ]; then
chown -R firebird:firebird $PKG_PREFIX/firebird
+# make lib ldconfig-compatible
+chown -R root:wheel $PKG_PREFIX/firebird/lib
+chmod -R g-w $PKG_PREFIX/firebird/lib
+
# Turn everybody to read only.
chmod -R o=r $PKG_PREFIX/firebird
diff --git a/databases/firebird/Makefile b/databases/firebird/Makefile
index 28a23455f090..69c2619d8482 100644
--- a/databases/firebird/Makefile
+++ b/databases/firebird/Makefile
@@ -62,6 +62,8 @@ do-install:
${RM} ${PREFIX}/firebird/install; \
${RM} ${PREFIX}/firebird/lib/libgds.so.1.0; \
${LN} -fs gds.so ${PREFIX}/firebird/lib/libgds.so.1; \
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/firebird/lib \
+ ${CHMOD} -R g-w ${PREFIX}/firebird/lib \
cd ${PREFIX}/firebird/examples; \
tar zxf ${DISTDIR}/interbase0.9-4-v5examples.tar.gz; \
${CP} ${FILESDIR}/RELNOTES ${PREFIX}/firebird/ \
diff --git a/databases/firebird/pkg-install b/databases/firebird/pkg-install
index c40e25e88ffc..61c651df083e 100644
--- a/databases/firebird/pkg-install
+++ b/databases/firebird/pkg-install
@@ -73,6 +73,10 @@ EOF
elif [ "$2" = "POST-INSTALL" ]; then
chown -R firebird:firebird $PKG_PREFIX/firebird
+# make lib ldconfig-compatible
+chown -R root:wheel $PKG_PREFIX/firebird/lib
+chmod -R g-w $PKG_PREFIX/firebird/lib
+
# Turn everybody to read only.
chmod -R o=r $PKG_PREFIX/firebird
diff --git a/databases/firebird2-server/Makefile b/databases/firebird2-server/Makefile
index 28a23455f090..69c2619d8482 100644
--- a/databases/firebird2-server/Makefile
+++ b/databases/firebird2-server/Makefile
@@ -62,6 +62,8 @@ do-install:
${RM} ${PREFIX}/firebird/install; \
${RM} ${PREFIX}/firebird/lib/libgds.so.1.0; \
${LN} -fs gds.so ${PREFIX}/firebird/lib/libgds.so.1; \
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/firebird/lib \
+ ${CHMOD} -R g-w ${PREFIX}/firebird/lib \
cd ${PREFIX}/firebird/examples; \
tar zxf ${DISTDIR}/interbase0.9-4-v5examples.tar.gz; \
${CP} ${FILESDIR}/RELNOTES ${PREFIX}/firebird/ \
diff --git a/databases/firebird2-server/pkg-install b/databases/firebird2-server/pkg-install
index c40e25e88ffc..61c651df083e 100644
--- a/databases/firebird2-server/pkg-install
+++ b/databases/firebird2-server/pkg-install
@@ -73,6 +73,10 @@ EOF
elif [ "$2" = "POST-INSTALL" ]; then
chown -R firebird:firebird $PKG_PREFIX/firebird
+# make lib ldconfig-compatible
+chown -R root:wheel $PKG_PREFIX/firebird/lib
+chmod -R g-w $PKG_PREFIX/firebird/lib
+
# Turn everybody to read only.
chmod -R o=r $PKG_PREFIX/firebird
diff --git a/databases/firebird20-server/Makefile b/databases/firebird20-server/Makefile
index 28a23455f090..69c2619d8482 100644
--- a/databases/firebird20-server/Makefile
+++ b/databases/firebird20-server/Makefile
@@ -62,6 +62,8 @@ do-install:
${RM} ${PREFIX}/firebird/install; \
${RM} ${PREFIX}/firebird/lib/libgds.so.1.0; \
${LN} -fs gds.so ${PREFIX}/firebird/lib/libgds.so.1; \
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/firebird/lib \
+ ${CHMOD} -R g-w ${PREFIX}/firebird/lib \
cd ${PREFIX}/firebird/examples; \
tar zxf ${DISTDIR}/interbase0.9-4-v5examples.tar.gz; \
${CP} ${FILESDIR}/RELNOTES ${PREFIX}/firebird/ \
diff --git a/databases/firebird20-server/pkg-install b/databases/firebird20-server/pkg-install
index c40e25e88ffc..61c651df083e 100644
--- a/databases/firebird20-server/pkg-install
+++ b/databases/firebird20-server/pkg-install
@@ -73,6 +73,10 @@ EOF
elif [ "$2" = "POST-INSTALL" ]; then
chown -R firebird:firebird $PKG_PREFIX/firebird
+# make lib ldconfig-compatible
+chown -R root:wheel $PKG_PREFIX/firebird/lib
+chmod -R g-w $PKG_PREFIX/firebird/lib
+
# Turn everybody to read only.
chmod -R o=r $PKG_PREFIX/firebird