diff options
-rw-r--r-- | x11/gdm2/Makefile | 1 | ||||
-rw-r--r-- | x11/gdm2/files/patch-config_Makefile.in | 18 | ||||
-rw-r--r-- | x11/gdm2/pkg-install | 4 |
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 |