svn | 17 Jul 2012 06:47

[PC-BSD Commits] r17791 - pcbsd-projects/AD_4_PCBSD/samba

Author: johnh
Date: 2012-07-17 04:47:49 +0000 (Tue, 17 Jul 2012)
New Revision: 17791

Modified:
   pcbsd-projects/AD_4_PCBSD/samba/sambaconf.c
Log:
bugfix, was setting node and continuing even after the proper section
was found.

Modified: pcbsd-projects/AD_4_PCBSD/samba/sambaconf.c
===================================================================
--- pcbsd-projects/AD_4_PCBSD/samba/sambaconf.c	2012-07-17 04:22:02 UTC (rev 17790)
+++ pcbsd-projects/AD_4_PCBSD/samba/sambaconf.c	2012-07-17 04:47:49 UTC (rev 17791)
 <at>  <at>  -225,8 +225,9  <at>  <at> 
 			section = 1;
 		}

+		node = se;
 		if (section != 0)
-			node = se;
+			break;
 	}

 	if (sm->overwrite) {
svn | 17 Jul 2012 06:58

[PC-BSD Commits] r17792 - pcbsd-projects/AD_4_PCBSD/scripts

Author: johnh
Date: 2012-07-17 04:58:17 +0000 (Tue, 17 Jul 2012)
New Revision: 17792

Modified:
   pcbsd-projects/AD_4_PCBSD/scripts/pc-adctl
   pcbsd-projects/AD_4_PCBSD/scripts/pc-kinit
   pcbsd-projects/AD_4_PCBSD/scripts/pc-nsswitch
   pcbsd-projects/AD_4_PCBSD/scripts/pc-samba
Log:
Modified scripts to make AD work. 

Modified: pcbsd-projects/AD_4_PCBSD/scripts/pc-adctl
===================================================================
--- pcbsd-projects/AD_4_PCBSD/scripts/pc-adctl	2012-07-17 04:47:49 UTC (rev 17791)
+++ pcbsd-projects/AD_4_PCBSD/scripts/pc-adctl	2012-07-17 04:58:17 UTC (rev 17792)
 <at>  <at>  -7,7 +7,7  <at>  <at> 

 . /usr/local/etc/rc.AD

-ad_assert()
+adctl_assert()
 {
 	local args="$*"

 <at>  <at>  -19,36 +19,67  <at>  <at> 
 	fi
 }

-ad_start()
(Continue reading)

svn | 17 Jul 2012 07:03

[PC-BSD Commits] r17793 - pcbsd-projects/AD_4_PCBSD/rc

Author: johnh
Date: 2012-07-17 05:03:24 +0000 (Tue, 17 Jul 2012)
New Revision: 17793

Modified:
   pcbsd-projects/AD_4_PCBSD/rc/rc.AD
Log:
Remove FreeNAS specific code/settings.

Modified: pcbsd-projects/AD_4_PCBSD/rc/rc.AD
===================================================================
--- pcbsd-projects/AD_4_PCBSD/rc/rc.AD	2012-07-17 04:58:17 UTC (rev 17792)
+++ pcbsd-projects/AD_4_PCBSD/rc/rc.AD	2012-07-17 05:03:24 UTC (rev 17793)
 <at>  <at>  -26,87 +26,7  <at>  <at> 

 . /etc/rc.subr

-
 #
-#	FreeNAS settings	
-#
-: ${FREENAS_CONFIG:="/data/freenas-v1.db"}
-: ${FREENAS_CONFIG_MD5:="/var/tmp/freenas_config.md5"}
-: ${FREENAS_SQLITE_CMD:="/usr/local/bin/sqlite3"}
-: ${FREENAS_RC:="/var/tmp/rc.conf.freenas"}
-
-#
-#	Updater specific variables.
-#
-: ${CD_UPGRADE_SENTINEL="/data/cd-upgrade"}
(Continue reading)

svn | 17 Jul 2012 06:22

[PC-BSD Commits] r17790 - pcbsd-projects/AD_4_PCBSD/pam

Author: johnh
Date: 2012-07-17 04:22:02 +0000 (Tue, 17 Jul 2012)
New Revision: 17790

Modified:
   pcbsd-projects/AD_4_PCBSD/pam/pam-lexer.l
Log:
Left out another needed symbol

Modified: pcbsd-projects/AD_4_PCBSD/pam/pam-lexer.l
===================================================================
--- pcbsd-projects/AD_4_PCBSD/pam/pam-lexer.l	2012-07-17 03:58:18 UTC (rev 17789)
+++ pcbsd-projects/AD_4_PCBSD/pam/pam-lexer.l	2012-07-17 04:22:02 UTC (rev 17790)
 <at>  <at>  -31,7 +31,7  <at>  <at> 
 optional		{ return (OPTIONAL); }
 include			{ return (INCLUDE); }

-[a-zA-Z0-9_\-\./]+	{ yylval.str = xstrdup(yytext); return (STRING); }
+[a-zA-Z0-9_\-\./=]+	{ yylval.str = xstrdup(yytext); return (STRING); }
 [ \t]+

 %%
svn | 17 Jul 2012 05:58

[PC-BSD Commits] r17789 - pcbsd-projects/AD_4_PCBSD/scripts

Author: johnh
Date: 2012-07-17 03:58:18 +0000 (Tue, 17 Jul 2012)
New Revision: 17789

Modified:
   pcbsd-projects/AD_4_PCBSD/scripts/pc-adctl
   pcbsd-projects/AD_4_PCBSD/scripts/pc-nsswitch
   pcbsd-projects/AD_4_PCBSD/scripts/pc-pam
Log:
Make PAM and NSS work.

Modified: pcbsd-projects/AD_4_PCBSD/scripts/pc-adctl
===================================================================
--- pcbsd-projects/AD_4_PCBSD/scripts/pc-adctl	2012-07-17 03:44:47 UTC (rev 17788)
+++ pcbsd-projects/AD_4_PCBSD/scripts/pc-adctl	2012-07-17 03:58:18 UTC (rev 17789)
 <at>  <at>  -25,7 +25,7  <at>  <at> 
 	then
 		ad_assert service pc-kerberos start
 		ad_assert service pc-nsswitch start
-		#service pc-pam start
+		ad_assert service pc-pam start
 		#service pc-samba start
 		#service pc-kinit start
 		#service pc-kinit status

Modified: pcbsd-projects/AD_4_PCBSD/scripts/pc-nsswitch
===================================================================
--- pcbsd-projects/AD_4_PCBSD/scripts/pc-nsswitch	2012-07-17 03:44:47 UTC (rev 17788)
+++ pcbsd-projects/AD_4_PCBSD/scripts/pc-nsswitch	2012-07-17 03:58:18 UTC (rev 17789)
 <at>  <at>  -12,7 +12,7  <at>  <at> 
(Continue reading)

svn | 17 Jul 2012 05:44

[PC-BSD Commits] r17788 - pcbsd-projects/AD_4_PCBSD/pam

Author: johnh
Date: 2012-07-17 03:44:47 +0000 (Tue, 17 Jul 2012)
New Revision: 17788

Modified:
   pcbsd-projects/AD_4_PCBSD/pam/pam-lexer.l
   pcbsd-projects/AD_4_PCBSD/pam/pam-parser.y
   pcbsd-projects/AD_4_PCBSD/pam/pamconf.c
   pcbsd-projects/AD_4_PCBSD/pam/pamconf.h
Log:
Bug fixes. '/' was not being parsed properly. Some functions in the
parser moved into the main C program and externed to the parser also.

Modified: pcbsd-projects/AD_4_PCBSD/pam/pam-lexer.l
===================================================================
--- pcbsd-projects/AD_4_PCBSD/pam/pam-lexer.l	2012-07-16 21:47:49 UTC (rev 17787)
+++ pcbsd-projects/AD_4_PCBSD/pam/pam-lexer.l	2012-07-17 03:44:47 UTC (rev 17788)
 <at>  <at>  -18,7 +18,7  <at>  <at> 

 
 \n				{ return (NEWLINE); }
-^#(.+)?$		{ yylval.str = strdup(yytext); return (COMMENT); }
+^#(.+)?$		{ yylval.str = xstrdup(yytext); return (COMMENT); }

 auth			{ return (AUTH); }
 account			{ return (ACCOUNT); }
 <at>  <at>  -31,7 +31,7  <at>  <at> 
 optional		{ return (OPTIONAL); }
 include			{ return (INCLUDE); }

(Continue reading)

svn | 16 Jul 2012 23:47

[PC-BSD Commits] r17787 - in pcbsd-projects/AD_4_PCBSD: nss rc scripts

Author: johnh
Date: 2012-07-16 21:47:49 +0000 (Mon, 16 Jul 2012)
New Revision: 17787

Added:
   pcbsd-projects/AD_4_PCBSD/scripts/pc-adctl
Modified:
   pcbsd-projects/AD_4_PCBSD/nss/nssconf.c
   pcbsd-projects/AD_4_PCBSD/rc/rc.AD
   pcbsd-projects/AD_4_PCBSD/scripts/Makefile
   pcbsd-projects/AD_4_PCBSD/scripts/pc-kerberos
   pcbsd-projects/AD_4_PCBSD/scripts/pc-nsswitch
   pcbsd-projects/AD_4_PCBSD/scripts/pc-samba
Log:
Some bugfixes, progress, adctl for starting/stopping all the AD services.
Still a work in progress.

Modified: pcbsd-projects/AD_4_PCBSD/nss/nssconf.c
===================================================================
--- pcbsd-projects/AD_4_PCBSD/nss/nssconf.c	2012-07-16 20:36:46 UTC (rev 17786)
+++ pcbsd-projects/AD_4_PCBSD/nss/nssconf.c	2012-07-16 21:47:49 UTC (rev 17787)
 <at>  <at>  -58,13 +58,14  <at>  <at> 
 usage(void)
 {
 	fprintf(stderr,
-		"usage: nssconf <(+|^|-|)database> [options]\n"
+		"usage: nssconf [options]\n"
 		"Where option in:\n\n"
 		"\t-f <input file>\n"
-		"\t-o <output file\n"
(Continue reading)

svn | 16 Jul 2012 22:36

[PC-BSD Commits] r17786 - in pbi/modules: graphics graphics/gtkam graphics/gtkam/resources graphics/gtkam/xdg-desktop graphics/gtkam/xdg-menu multimedia multimedia/pwcview multimedia/pwcview/resources

Author: kenmoore
Date: 2012-07-16 20:36:46 +0000 (Mon, 16 Jul 2012)
New Revision: 17786

Added:
   pbi/modules/graphics/gtkam/
   pbi/modules/graphics/gtkam/external-links
   pbi/modules/graphics/gtkam/pbi.conf
   pbi/modules/graphics/gtkam/resources/
   pbi/modules/graphics/gtkam/resources/gtkam.png
   pbi/modules/graphics/gtkam/scripts/
   pbi/modules/graphics/gtkam/xdg-desktop/
   pbi/modules/graphics/gtkam/xdg-desktop/gtkam.desktop
   pbi/modules/graphics/gtkam/xdg-menu/
   pbi/modules/graphics/gtkam/xdg-menu/gtkam.desktop
   pbi/modules/graphics/gtkam/xdg-mime/
   pbi/modules/multimedia/pwcview/
   pbi/modules/multimedia/pwcview/external-links
   pbi/modules/multimedia/pwcview/pbi.conf
   pbi/modules/multimedia/pwcview/resources/
   pbi/modules/multimedia/pwcview/resources/pwcview.png
   pbi/modules/multimedia/pwcview/scripts/
   pbi/modules/multimedia/pwcview/xdg-desktop/
   pbi/modules/multimedia/pwcview/xdg-menu/
   pbi/modules/multimedia/pwcview/xdg-mime/
Log:
Add modules for multimedia/pwcview and graphics/gtkam. Thanks to "nemysis" for the modules

Index: pbi/modules/graphics/gtkam/pbi.conf
===================================================================
(Continue reading)

svn | 16 Jul 2012 22:24

[PC-BSD Commits] r17785 - in pbi/modules/games: . stepbill stepbill/resources xbill xbill/resources xbill/xdg-desktop xbill/xdg-menu xtux xtux/resources xtux/xdg-desktop xtux/xdg-menu

Author: kenmoore
Date: 2012-07-16 20:24:23 +0000 (Mon, 16 Jul 2012)
New Revision: 17785

Added:
   pbi/modules/games/stepbill/
   pbi/modules/games/stepbill/external-links
   pbi/modules/games/stepbill/pbi.conf
   pbi/modules/games/stepbill/resources/
   pbi/modules/games/stepbill/resources/stepbill.png
   pbi/modules/games/stepbill/scripts/
   pbi/modules/games/stepbill/xdg-desktop/
   pbi/modules/games/stepbill/xdg-menu/
   pbi/modules/games/stepbill/xdg-mime/
   pbi/modules/games/xbill/
   pbi/modules/games/xbill/external-links
   pbi/modules/games/xbill/pbi.conf
   pbi/modules/games/xbill/resources/
   pbi/modules/games/xbill/resources/XBill.png
   pbi/modules/games/xbill/scripts/
   pbi/modules/games/xbill/xdg-desktop/
   pbi/modules/games/xbill/xdg-desktop/xbill.desktop
   pbi/modules/games/xbill/xdg-menu/
   pbi/modules/games/xbill/xdg-menu/xbill.desktop
   pbi/modules/games/xbill/xdg-mime/
   pbi/modules/games/xtux/
   pbi/modules/games/xtux/external-links
   pbi/modules/games/xtux/pbi.conf
   pbi/modules/games/xtux/resources/
   pbi/modules/games/xtux/resources/XTux.png
(Continue reading)

svn | 16 Jul 2012 22:19

[PC-BSD Commits] r17784 - pcbsd-projects/AD_4_PCBSD/samba

Author: johnh
Date: 2012-07-16 20:19:27 +0000 (Mon, 16 Jul 2012)
New Revision: 17784

Modified:
   pcbsd-projects/AD_4_PCBSD/samba/sambaconf.c
Log:
Add overwrite support

Modified: pcbsd-projects/AD_4_PCBSD/samba/sambaconf.c
===================================================================
--- pcbsd-projects/AD_4_PCBSD/samba/sambaconf.c	2012-07-16 20:09:58 UTC (rev 17783)
+++ pcbsd-projects/AD_4_PCBSD/samba/sambaconf.c	2012-07-16 20:19:27 UTC (rev 17784)
 <at>  <at>  -16,6 +16,7  <at>  <at> 
 	char *section;
 	char *name;
 	char *value;
+	int overwrite;
 	int op;
 };
 TAILQ_HEAD(smb_modification_list, smb_modification) modifications = 
 <at>  <at>  -65,7 +66,8  <at>  <at> 
 		"Where option in:\n\n"
 		"\t-f <input file>\n"
 		"\t-o <output file>\n"
-		"\t-m <(+|^|-)section:name:value)>\n\n"
+		"\t-m <(+|^|-)section:name=value)>\n"
+		"\t-w\n\n"
 	);

(Continue reading)

svn | 16 Jul 2012 22:09

[PC-BSD Commits] r17783 - pcbsd/current/src-qt4/about-gui

Author: kris
Date: 2012-07-16 20:09:58 +0000 (Mon, 16 Jul 2012)
New Revision: 17783

Modified:
   pcbsd/current/src-qt4/about-gui/mainwindow.ui
Log:

Remove a whitespace

Modified: pcbsd/current/src-qt4/about-gui/mainwindow.ui
===================================================================
(Binary files differ)

Gmane