diff options
author | nakai <nakai@FreeBSD.org> | 2000-09-13 16:36:15 +0000 |
---|---|---|
committer | nakai <nakai@FreeBSD.org> | 2000-09-13 16:36:15 +0000 |
commit | 39de4eba658b2d1f7911165b00e90d0fc93184ea (patch) | |
tree | d4e0a65c559f80f92893a163288ecd7e091130b6 /x11 | |
parent | 72d6ff001b6a212aba59f8f075af40aff00bfed2 (diff) | |
download | FreeBSD-ports-39de4eba658b2d1f7911165b00e90d0fc93184ea.zip FreeBSD-ports-39de4eba658b2d1f7911165b00e90d0fc93184ea.tar.gz |
Add dialog to warn security issue to users.
Diffstat (limited to 'x11')
-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 3dc92bf..3f1e9a7 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 0000000..410ed85 --- /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 3dc92bf..3f1e9a7 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 0000000..410ed85 --- /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 |