aboutsummaryrefslogtreecommitdiffstats
path: root/x11/gdm2
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-04-18 13:08:08 +0800
committermarcus <marcus@FreeBSD.org>2004-04-18 13:08:08 +0800
commit37140ec9282c6d85dd2f291392662525ff63b145 (patch)
tree032879173d7a1afbe91f676596921a3593311f32 /x11/gdm2
parente86f1d3be2bf8225e00ae4c7a716dde6584ab361 (diff)
downloadfreebsd-ports-gnome-37140ec9282c6d85dd2f291392662525ff63b145.tar.gz
freebsd-ports-gnome-37140ec9282c6d85dd2f291392662525ff63b145.tar.zst
freebsd-ports-gnome-37140ec9282c6d85dd2f291392662525ff63b145.zip
Fix some packaging permission issues on GDM internal directories.
Diffstat (limited to 'x11/gdm2')
-rw-r--r--x11/gdm2/Makefile1
-rw-r--r--x11/gdm2/files/patch-config_Makefile.in18
-rw-r--r--x11/gdm2/pkg-install4
3 files changed, 21 insertions, 2 deletions
diff --git a/x11/gdm2/Makefile b/x11/gdm2/Makefile
index 72c091fb41a9..c3aa39ddfb3c 100644
--- a/x11/gdm2/Makefile
+++ b/x11/gdm2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gdm2
PORTVERSION= 2.6.0.1
+PORTREVISION= 1
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.6
diff --git a/x11/gdm2/files/patch-config_Makefile.in b/x11/gdm2/files/patch-config_Makefile.in
new file mode 100644
index 000000000000..5323b6cfc87e
--- /dev/null
+++ b/x11/gdm2/files/patch-config_Makefile.in
@@ -0,0 +1,18 @@
+--- config/Makefile.in.orig Sun Apr 18 01:03:27 2004
++++ config/Makefile.in Sun Apr 18 01:04:09 2004
+@@ -400,13 +400,13 @@
+
+ if test '!' -d $(DESTDIR)$(logdir); then \
+ $(mkinstalldirs) $(DESTDIR)$(logdir); \
+- chown root.root $(DESTDIR)$(logdir); \
++ chown root:wheel $(DESTDIR)$(logdir); \
+ chmod 755 $(DESTDIR)$(logdir); \
+ fi
+
+ if test '!' -d $(DESTDIR)$(authdir); then \
+ $(mkinstalldirs) $(DESTDIR)$(authdir); \
+- chown root.gdm $(DESTDIR)$(authdir); \
++ chown root:gdm $(DESTDIR)$(authdir); \
+ chmod 1770 $(DESTDIR)$(authdir); \
+ fi
+
diff --git a/x11/gdm2/pkg-install b/x11/gdm2/pkg-install
index 13e26f4bfba2..06972670f5bc 100644
--- a/x11/gdm2/pkg-install
+++ b/x11/gdm2/pkg-install
@@ -33,8 +33,8 @@ POST-INSTALL)
exit 1
fi
fi
- ${CHOWN} -R ${USER}:${GROUP} ${PKG_PREFIX}/share/gnome/gdm ${PKG_PREFIX}/etc/gdm
- ${CHMOD} 0750 ${PKG_PREFIX}/share/gnome/gdm
+ ${CHOWN} -R root:${GROUP} ${PKG_PREFIX}/share/gnome/gdm
+ ${CHMOD} 1770 ${PKG_PREFIX}/share/gnome/gdm
exit 0
;;
esac