1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

Fix packaging.

PR:		ports/150371
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>, dim@
This commit is contained in:
Wesley Shields 2010-09-13 20:46:01 +00:00
parent 66b2519dc9
commit f79667d89e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=261091
2 changed files with 10 additions and 6 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= sudo
PORTVERSION= 1.7.4.4
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.sudo.ws/sudo/dist/ \
ftp://obsd.isc.org/pub/sudo/ \

View File

@ -1,11 +1,14 @@
--- ./Makefile.in.orig 2010-09-07 09:57:25.000000000 -0400
+++ ./Makefile.in 2010-09-07 09:59:19.000000000 -0400
@@ -500,7 +500,7 @@
--- Makefile.in.orig 2010-09-04 05:43:57.000000000 +0800
+++ Makefile.in 2010-09-08 11:19:29.000000000 +0800
@@ -498,9 +498,8 @@
install-sudoers: install-dirs
$(INSTALL) -d -O $(sudoers_uid) -G $(sudoers_gid) -M 0750 \
$(DESTDIR)$(sudoersdir)/sudoers.d
test -f $(DESTDIR)$(sudoersdir)/sudoers || \
$(INSTALL) -O $(sudoers_uid) -G $(sudoers_gid) -M $(sudoers_mode) \
- test -f $(DESTDIR)$(sudoersdir)/sudoers || \
- $(INSTALL) -O $(sudoers_uid) -G $(sudoers_gid) -M $(sudoers_mode) \
- sudoers $(DESTDIR)$(sudoersdir)/sudoers
+ sudoers $(DESTDIR)$(sudoersdir)/sudoers.sample
+ $(INSTALL) -O $(sudoers_uid) -G $(sudoers_gid) -M $(sudoers_mode) \
+ sudoers $(DESTDIR)$(sudoersdir)/sudoers.sample
install-doc: install-dirs ChangeLog
(cd $(srcdir) && for f in ChangeLog HISTORY LICENSE NEWS README TROUBLESHOOTING UPGRADE sample.*; do $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0444 $$f $(DESTDIR)$(docdir); done)