sudo insults

Dan Casey dcasey at debtresolve.com
Wed May 2 18:20:26 UTC 2007


I'm guilty of not reading the handbook.. I just assumed that revision
had to be bumped up.  Or perhaps the reason for bumping it up is to
prevent systems from recompiling the port for no reason.

Anyway, I have attached the fixed unified diff.

Andrew Pantyukhin wrote:
> On 5/2/07, Dan Casey <dcasey at debtresolve.com> wrote:
>> I can see this was removed a long time ago, but I do not see that need
>> to remove the option entirely.
>>
>> Would it be much of a pain to ask someone to add it as an option.  I
>> have attached a diff for the Make file.
>>
>>
>>
>> 10c10
>> < PORTREVISION= 2
>> ---
>> > PORTREVISION= 3
>> 38c38,39
>> < OPTIONS=      LDAP    "With LDAP support" off \
>> ---
>> > OPTIONS=      INSULTS "With all insults" off \
>> >               LDAP    "With LDAP support" off \
>> 42a44,48
>> >
>> > .if defined(WITH_INSULTS)
>> > CONFIGURE_ARGS+=--with-insults
>> > CONFIGURE_ARGS+=--with-all-insults
>> > .endif
>
> - unified diff, please
> - no need to bump portrevision
>
> Thanks!
-------------- next part --------------
--- Makefile	Wed May  2 14:12:49 2007
+++ Makefile.mine	Wed May  2 14:12:53 2007
@@ -35,11 +35,17 @@
 		--with-long-otp-prompt \
 		--with-pam
 
-OPTIONS=	LDAP	"With LDAP support" off \
+OPTIONS=	INSULTS "With all insults" off \
+		LDAP	"With LDAP support" off \
 		OPIE	"With OPIE support" off \
 		SHELL_SETS_HOME "Set HOME env to target user in shell mode" off
 
 .include <bsd.port.pre.mk>
+
+.if defined(WITH_INSULTS)
+CONFIGURE_ARGS+=--with-insults
+CONFIGURE_ARGS+=--with-all-insults
+.endif
 
 .if defined(WITH_LDAP)
 USE_OPENLDAP=yes


More information about the freebsd-ports mailing list