aboutsummaryrefslogtreecommitdiff
path: root/security/sudosh3
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2005-10-25 18:56:46 +0000
committerCy Schubert <cy@FreeBSD.org>2005-10-25 18:56:46 +0000
commitcbf4c7a5f271d752f01a9393fe6e65d01324d614 (patch)
tree18d65002fa90848118dcd4dbbb853171542e9fe7 /security/sudosh3
parentf2249fbb603d4c6eca4fb9988740c5a3fe9d82f4 (diff)
downloadports-cbf4c7a5f271d752f01a9393fe6e65d01324d614.tar.gz
ports-cbf4c7a5f271d752f01a9393fe6e65d01324d614.zip
Notes
Diffstat (limited to 'security/sudosh3')
-rw-r--r--security/sudosh3/Makefile5
-rw-r--r--security/sudosh3/files/patch-src::Makefile.in10
-rw-r--r--security/sudosh3/pkg-message13
-rw-r--r--security/sudosh3/pkg-plist2
4 files changed, 28 insertions, 2 deletions
diff --git a/security/sudosh3/Makefile b/security/sudosh3/Makefile
index 531d7f32d311..42b7fb3f4f09 100644
--- a/security/sudosh3/Makefile
+++ b/security/sudosh3/Makefile
@@ -7,7 +7,7 @@
PORTNAME= sudosh
PORTVERSION= 1.8.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME:S/_/-/}
@@ -41,4 +41,7 @@ MAN8= sudosh-replay.8
BROKEN= "Does not compile on FreeBSD 4.x"
.endif
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
.include <bsd.port.post.mk>
diff --git a/security/sudosh3/files/patch-src::Makefile.in b/security/sudosh3/files/patch-src::Makefile.in
new file mode 100644
index 000000000000..e33811421ef7
--- /dev/null
+++ b/security/sudosh3/files/patch-src::Makefile.in
@@ -0,0 +1,10 @@
+--- 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 @@
+ 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'
++ $(INSTALL) -o 0 -g 0 -m 0444 '$(srcdir)/sudosh.conf' '$(sysconfdir)/sudosh.conf.sample'
+
+ install: install-am install-sudosh.conf
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
diff --git a/security/sudosh3/pkg-message b/security/sudosh3/pkg-message
new file mode 100644
index 000000000000..6e65af7c9a9e
--- /dev/null
+++ b/security/sudosh3/pkg-message
@@ -0,0 +1,13 @@
+
+****************************************************************************
+* *
+* 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. *
+* *
+****************************************************************************
+
diff --git a/security/sudosh3/pkg-plist b/security/sudosh3/pkg-plist
index ec11a4abf030..d922298d2fe0 100644
--- a/security/sudosh3/pkg-plist
+++ b/security/sudosh3/pkg-plist
@@ -1,3 +1,3 @@
bin/sudosh
bin/sudosh-replay
-etc/sudosh.conf
+etc/sudosh.conf.sample