Bug 168712 - sysutils/ipa new options framework support
Summary: sysutils/ipa new options framework support
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sylvio Cesar Teixeira
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-05 13:30 UTC by Andrey Simonenko
Modified: 2012-06-07 02:20 UTC (History)
0 users

See Also:


Attachments
file.diff (1.64 KB, patch)
2012-06-05 13:30 UTC, Andrey Simonenko
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Simonenko 2012-06-05 13:30:13 UTC
Please update sysutils/ipa to support new options framework.
Comment 1 Sylvio Cesar Teixeira freebsd_committer freebsd_triage 2012-06-05 14:11:35 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sylvio

I'll take it.
Comment 2 Andrey Simonenko 2012-06-06 09:49:23 UTC
Updated change without multi-options:

diff -ruN ipa.orig/Makefile ipa/Makefile
--- ipa.orig/Makefile	2011-11-21 11:16:46.000000000 +0200
+++ ipa/Makefile	2012-06-06 11:46:12.000000000 +0300
@@ -19,36 +19,39 @@
 GNU_CONFIGURE=	yes
 USE_RC_SUBR=	ipa
 
-OPTIONS=	AUTORULES "Enable dynamic rules support" on \
-		RULES "Enable static rules support" on \
-		LIMITS "Enable limits support" on \
-		SUBLIMITS "Enable sublimits support" on \
-		THRESHOLDS "Enable thresholds support" on \
-		CTL_CREDS "Enable ipactl's messages credentials" off
+NO_OPTIONS_SORT=	yes
+OPTIONS_DEFINE=		AUTORULES RULES LIMITS SUBLIMITS THRESHOLDS CTL_CREDS
+OPTIONS_DEFAULT=	AUTORULES RULES LIMITS SUBLIMITS THRESHOLDS
+AUTORULES_DESC=		Enable dynamic rules support
+RULES_DESC=		Enable static rules support
+LIMITS_DESC=		Enable limits support
+SUBLIMITS_DESC=		Enable sublimits support
+THRESHOLDS_DESC=	Enable thresholds support
+CTL_CREDS_DESC=		Enable ipactl's messages credentials
 
 .include <bsd.port.options.mk>
 
-.if defined(WITHOUT_AUTORULES)
+.if empty(PORT_OPTIONS:MAUTORULES)
 CONFIGURE_ARGS+=	--disable-autorules
 .endif
 
-.if defined(WITHOUT_RULES)
+.if empty(PORT_OPTIONS:MRULES)
 CONFIGURE_ARGS+=	--disable-rules
 .endif
 
-.if defined(WITHOUT_LIMITS)
+.if empty(PORT_OPTIONS:MLIMITS)
 CONFIGURE_ARGS+=	--disable-limits
 .endif
 
-.if defined(WITHOUT_SUBLIMITS)
+.if empty(PORT_OPTIONS:MSUBLIMITS)
 CONFIGURE_ARGS+=	--disable-sublimits
 .endif
 
-.if defined(WITHOUT_THRESHOLDS)
+.if empty(PORT_OPTIONS:MTHRESHOLDS)
 CONFIGURE_ARGS+=	--disable-thresholds
 .endif
 
-.if defined(WITH_CTL_CREDS)
+.if ${PORT_OPTIONS:MCTL_CREDS}
 CONFIGURE_ARGS+=	--enable-ctl-creds
 .endif
Comment 3 dfilter service freebsd_committer freebsd_triage 2012-06-07 02:17:13 UTC
sylvio      2012-06-07 01:16:59 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/ipa         Makefile 
  Log:
  - Update to new options framework.
  
  PR:             ports/168712
  Submitted by:   Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> (maintainer)
  
  Revision  Changes    Path
  1.49      +15 -12    ports/sysutils/ipa/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Sylvio Cesar Teixeira freebsd_committer freebsd_triage 2012-06-07 02:17:23 UTC
State Changed
From-To: open->closed

Committed. Thanks!