diff options
author | Yukihiro Nakai <nakai@FreeBSD.org> | 2000-09-13 16:36:15 +0000 |
---|---|---|
committer | Yukihiro Nakai <nakai@FreeBSD.org> | 2000-09-13 16:36:15 +0000 |
commit | 10cc764522cc65d3a153740f6a7ee181b0a1f23d (patch) | |
tree | cba70a3409b23cf8ef6c1b4bf457b6b83e6933a6 | |
parent | Date::Convert allows you to convert date formats using an OO mechanism (diff) |
Add dialog to warn security issue to users.
Notes
Notes:
svn path=/head/; revision=32585
-rw-r--r-- | x11/gdm/Makefile | 5 | ||||
-rw-r--r-- | x11/gdm/pkg-install | 7 | ||||
-rw-r--r-- | x11/gdm2/Makefile | 5 | ||||
-rw-r--r-- | x11/gdm2/pkg-install | 7 |
4 files changed, 24 insertions, 0 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile index 3dc92bf6645e..3f1e9a77a3d1 100644 --- a/x11/gdm/Makefile +++ b/x11/gdm/Makefile @@ -30,6 +30,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ GLIB_CONFIG="${GLIB_CONFIG}" \ LIBS="-L${LOCALBASE}/lib" +pre-fetch: +.if !defined(BATCH) && !defined(PACKAGE_BUILDING) + ${SH} ${PKGDIR}/INSTALL +.endif + pre-patch: @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure diff --git a/x11/gdm/pkg-install b/x11/gdm/pkg-install new file mode 100644 index 000000000000..410ed8543606 --- /dev/null +++ b/x11/gdm/pkg-install @@ -0,0 +1,7 @@ +#!/bin/sh + +if [ "$2" = "POST-INSTALL" -o -n "${PACKAGE_BUILDING}" ]; then + exit 0 +fi + +/usr/bin/dialog --yesno "GDM may contain vulnerabilities leading local root compromise, and it is reported widely with various serurity sites and groups. It is not recommended that this port be installed in public enviroment. Do you wish to accept the serurity risk and build GDM anyway?" 10 60 || /usr/bin/false diff --git a/x11/gdm2/Makefile b/x11/gdm2/Makefile index 3dc92bf6645e..3f1e9a77a3d1 100644 --- a/x11/gdm2/Makefile +++ b/x11/gdm2/Makefile @@ -30,6 +30,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ GLIB_CONFIG="${GLIB_CONFIG}" \ LIBS="-L${LOCALBASE}/lib" +pre-fetch: +.if !defined(BATCH) && !defined(PACKAGE_BUILDING) + ${SH} ${PKGDIR}/INSTALL +.endif + pre-patch: @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure diff --git a/x11/gdm2/pkg-install b/x11/gdm2/pkg-install new file mode 100644 index 000000000000..410ed8543606 --- /dev/null +++ b/x11/gdm2/pkg-install @@ -0,0 +1,7 @@ +#!/bin/sh + +if [ "$2" = "POST-INSTALL" -o -n "${PACKAGE_BUILDING}" ]; then + exit 0 +fi + +/usr/bin/dialog --yesno "GDM may contain vulnerabilities leading local root compromise, and it is reported widely with various serurity sites and groups. It is not recommended that this port be installed in public enviroment. Do you wish to accept the serurity risk and build GDM anyway?" 10 60 || /usr/bin/false |