1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Make this port sysinstall friendly.

This commit is contained in:
Cy Schubert 2005-10-26 17:14:38 +00:00
parent 9adb1ba8a3
commit ccf0654678
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146428
12 changed files with 18 additions and 57 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= sudosh
PORTVERSION= 1.8.2
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME:S/_/-/}
@ -41,7 +41,4 @@ MAN8= sudosh-replay.8
BROKEN= "Does not compile on FreeBSD 4.x"
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

View File

@ -1,6 +1,7 @@
--- src/Makefile.in.orig Sun Jun 12 19:33:29 2005
+++ src/Makefile.in Tue Oct 25 10:06:54 2005
@@ -428,6 +428,7 @@
+++ src/Makefile.in Wed Oct 26 06:59:17 2005
@@ -427,7 +427,8 @@
install-sudosh.conf:
test -z "$(sysconfdir)" || $(mkdir_p) "$(DESTDIR)$(sysconfdir)"
test -f $(sysconfdir)/sudosh.conf || $(INSTALL) -o 0 -g 0 -m 0444 '$(srcdir)/sudosh.conf' '$(sysconfdir)/sudosh.conf'

View File

@ -1,13 +0,0 @@
****************************************************************************
* *
* If this is a brand new install, a copy a new copy of *
* PREFIX/etc/sudoers.conf has been installed. Should you choose to *
* uninstall sudosh, the sudoers.conf file will remain and should you *
* choose to remove it, it must be manually deleted. Any previously *
* existing sudoers.conf file has not been overwritten by this package. *
* A reference copy of sudoers.conf may be found in *
* PREFIX/etc/sudoers.conf.sample. *
* *
****************************************************************************

View File

@ -1,3 +1,5 @@
@unexec test -f %D/etc/sudosh.conf && cmp %D/etc/sudosh.conf.sample %D/etc/sudosh.conf > /dev/null 2>&1 && rm %D/etc/sudosh.conf && echo %D/etc/sudosh.conf has been removed; test -f %D/etc/sudosh.conf && echo %D/etc/sudosh.conf has not been removed; true
bin/sudosh
bin/sudosh-replay
etc/sudosh.conf.sample
@exec test -f %D/etc/sudosh.conf || cp %D/etc/sudosh.conf.sample %D/etc/sudosh.conf

View File

@ -7,7 +7,7 @@
PORTNAME= sudosh
PORTVERSION= 1.8.2
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME:S/_/-/}
@ -41,7 +41,4 @@ MAN8= sudosh-replay.8
BROKEN= "Does not compile on FreeBSD 4.x"
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

View File

@ -1,6 +1,7 @@
--- src/Makefile.in.orig Sun Jun 12 19:33:29 2005
+++ src/Makefile.in Tue Oct 25 10:06:54 2005
@@ -428,6 +428,7 @@
+++ src/Makefile.in Wed Oct 26 06:59:17 2005
@@ -427,7 +427,8 @@
install-sudosh.conf:
test -z "$(sysconfdir)" || $(mkdir_p) "$(DESTDIR)$(sysconfdir)"
test -f $(sysconfdir)/sudosh.conf || $(INSTALL) -o 0 -g 0 -m 0444 '$(srcdir)/sudosh.conf' '$(sysconfdir)/sudosh.conf'

View File

@ -1,13 +0,0 @@
****************************************************************************
* *
* If this is a brand new install, a copy a new copy of *
* PREFIX/etc/sudoers.conf has been installed. Should you choose to *
* uninstall sudosh, the sudoers.conf file will remain and should you *
* choose to remove it, it must be manually deleted. Any previously *
* existing sudoers.conf file has not been overwritten by this package. *
* A reference copy of sudoers.conf may be found in *
* PREFIX/etc/sudoers.conf.sample. *
* *
****************************************************************************

View File

@ -1,3 +1,5 @@
@unexec test -f %D/etc/sudosh.conf && cmp %D/etc/sudosh.conf.sample %D/etc/sudosh.conf > /dev/null 2>&1 && rm %D/etc/sudosh.conf && echo %D/etc/sudosh.conf has been removed; test -f %D/etc/sudosh.conf && echo %D/etc/sudosh.conf has not been removed; true
bin/sudosh
bin/sudosh-replay
etc/sudosh.conf.sample
@exec test -f %D/etc/sudosh.conf || cp %D/etc/sudosh.conf.sample %D/etc/sudosh.conf

View File

@ -7,7 +7,7 @@
PORTNAME= sudosh
PORTVERSION= 1.8.2
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME:S/_/-/}
@ -41,7 +41,4 @@ MAN8= sudosh-replay.8
BROKEN= "Does not compile on FreeBSD 4.x"
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

View File

@ -1,6 +1,7 @@
--- src/Makefile.in.orig Sun Jun 12 19:33:29 2005
+++ src/Makefile.in Tue Oct 25 10:06:54 2005
@@ -428,6 +428,7 @@
+++ src/Makefile.in Wed Oct 26 06:59:17 2005
@@ -427,7 +427,8 @@
install-sudosh.conf:
test -z "$(sysconfdir)" || $(mkdir_p) "$(DESTDIR)$(sysconfdir)"
test -f $(sysconfdir)/sudosh.conf || $(INSTALL) -o 0 -g 0 -m 0444 '$(srcdir)/sudosh.conf' '$(sysconfdir)/sudosh.conf'

View File

@ -1,13 +0,0 @@
****************************************************************************
* *
* If this is a brand new install, a copy a new copy of *
* PREFIX/etc/sudoers.conf has been installed. Should you choose to *
* uninstall sudosh, the sudoers.conf file will remain and should you *
* choose to remove it, it must be manually deleted. Any previously *
* existing sudoers.conf file has not been overwritten by this package. *
* A reference copy of sudoers.conf may be found in *
* PREFIX/etc/sudoers.conf.sample. *
* *
****************************************************************************

View File

@ -1,3 +1,5 @@
@unexec test -f %D/etc/sudosh.conf && cmp %D/etc/sudosh.conf.sample %D/etc/sudosh.conf > /dev/null 2>&1 && rm %D/etc/sudosh.conf && echo %D/etc/sudosh.conf has been removed; test -f %D/etc/sudosh.conf && echo %D/etc/sudosh.conf has not been removed; true
bin/sudosh
bin/sudosh-replay
etc/sudosh.conf.sample
@exec test -f %D/etc/sudosh.conf || cp %D/etc/sudosh.conf.sample %D/etc/sudosh.conf