systembsd.git
9 years agoupdate TODO
kremlin [Tue, 22 Jul 2014 21:46:16 +0000 (16:46 -0500)]
update TODO

9 years agoupdate TODO
kremlin [Tue, 22 Jul 2014 21:45:10 +0000 (16:45 -0500)]
update TODO

9 years agominor, add genfiles to gitignore
kremlin [Tue, 22 Jul 2014 21:43:00 +0000 (16:43 -0500)]
minor, add genfiles to gitignore

9 years agoupdate service files to run with root permissions
kremlin [Tue, 22 Jul 2014 21:41:27 +0000 (16:41 -0500)]
update service files to run with root permissions

root is needed for gethostname(3), setlocale(3), setting system time,
and handling login enviornments.

9 years agomodify makefile and script to work with previous commit
kremlin [Tue, 22 Jul 2014 21:34:50 +0000 (16:34 -0500)]
modify makefile and script to work with previous commit

last commit created discrepencies in makefile and gen-gdbus-interfaces.sh, fix

9 years agoorganize configs in conf/ into new subdirectories
kremlin [Tue, 22 Jul 2014 21:27:05 +0000 (16:27 -0500)]
organize configs in conf/ into new subdirectories

introspection xml -> conf/introspect-xml/
service files -> conf/service-files/
dbus policies -> conf/sysbus-policy/

9 years agoremove genfiles from repo, instead generate in makefile
kremlin [Tue, 22 Jul 2014 21:15:50 +0000 (16:15 -0500)]
remove genfiles from repo, instead generate in makefile

genfiles (-gen.{c,h}) should be generated at build time instead of
being included in the repo. remove them & add relevant recipes/pre-reqs
include genfiles in 'clean' recipe

9 years agorefactor makefile with env variables
kremlin [Tue, 22 Jul 2014 20:54:34 +0000 (15:54 -0500)]
refactor makefile with env variables

per ajacoutot's reccomendation

9 years agoedit TODO
kremlin [Tue, 22 Jul 2014 20:26:23 +0000 (15:26 -0500)]
edit TODO

9 years agoupdate gitignore to include all binaries
kremlin [Tue, 22 Jul 2014 20:22:46 +0000 (15:22 -0500)]
update gitignore to include all binaries

additionally get rid of unused -handler rule

9 years agoget rid of objects in repository
kremlin [Tue, 22 Jul 2014 20:21:12 +0000 (15:21 -0500)]
get rid of objects in repository

i thought i could make some cool looking diffs in gitweb or something :)

9 years ago(minor) update binaries
kremlin [Tue, 22 Jul 2014 03:12:29 +0000 (22:12 -0500)]
(minor) update binaries

9 years agocopy and regex localed, timedated, and logind from hostnamed
kremlin [Tue, 22 Jul 2014 03:12:02 +0000 (22:12 -0500)]
copy and regex localed, timedated, and logind from hostnamed

they now start up and display the proper methods/functions on the
system bus, albeit with no functionality

9 years agocut out cruft in dbus confs
kremlin [Tue, 22 Jul 2014 02:18:42 +0000 (21:18 -0500)]
cut out cruft in dbus confs

9 years agoadd DBus service files, change Makefile to install them
kremlin [Tue, 22 Jul 2014 02:00:27 +0000 (21:00 -0500)]
add DBus service files, change Makefile to install them

9 years ago(minor) update binaries
kremlin [Tue, 22 Jul 2014 01:40:09 +0000 (20:40 -0500)]
(minor) update binaries

9 years agoconf file will now be used to set intranslatable properties
kremlin [Tue, 22 Jul 2014 01:39:43 +0000 (20:39 -0500)]
conf file will now be used to set intranslatable properties

9 years agoupdate TODO
kremlin [Tue, 22 Jul 2014 01:37:56 +0000 (20:37 -0500)]
update TODO

9 years agohostname1 now returns hostname minus domain info
kremlin [Tue, 22 Jul 2014 01:37:41 +0000 (20:37 -0500)]
hostname1 now returns hostname minus domain info

also initializes pointer array properly, no more GLib warnings

9 years agoclean up hostnamed.c, clear out localed.c for copying
kremlin [Tue, 22 Jul 2014 00:55:40 +0000 (19:55 -0500)]
clean up hostnamed.c, clear out localed.c for copying

fix minor memory management issues in hostnamed.c. localed.c
was previously based on a version of hostnamed.c i copied,
however it has strayed too far away from the working version
and must be recopied/refactored.

9 years agoempty main.c
kremlin [Tue, 22 Jul 2014 00:35:57 +0000 (19:35 -0500)]
empty main.c

9 years ago(minor) update object binaries
kremlin [Tue, 22 Jul 2014 00:34:37 +0000 (19:34 -0500)]
(minor) update object binaries

9 years agocut out config.c & config.h, they are unnessecary
kremlin [Tue, 22 Jul 2014 00:34:02 +0000 (19:34 -0500)]
cut out config.c & config.h, they are unnessecary

9 years agotighten up memory management in hostnamed.c
kremlin [Tue, 22 Jul 2014 00:24:55 +0000 (19:24 -0500)]
tighten up memory management in hostnamed.c

9 years agorefactor hostnamed.c to work with namespace genfile change
kremlin [Mon, 21 Jul 2014 23:57:34 +0000 (18:57 -0500)]
refactor hostnamed.c to work with namespace genfile change

9 years agocut comments in main.c, prepare it to be removed
kremlin [Mon, 21 Jul 2014 23:42:33 +0000 (18:42 -0500)]
cut comments in main.c, prepare it to be removed

9 years agochange gen script to use ksh, remove namespace option, regen genfiles
kremlin [Mon, 21 Jul 2014 23:16:57 +0000 (18:16 -0500)]
change gen script to use ksh, remove namespace option, regen genfiles

rewrite scripts/gen-gdbus-interfaces.sh to use ksh (#!/bin/sh) to cut
down on inbox spam, also fixed prior bug where generated files had bad
paths in their #includes. removed namespacing option from gdbus-codegen
as linked objects do not run into naming conflicts as the previous
commits did. regenerate all genfiles (src/interfaces/foo/foo-gen.{c.h})
accordingly.

9 years agominor, update binaries
kremlin [Tue, 15 Jul 2014 05:11:01 +0000 (00:11 -0500)]
minor, update binaries

9 years agoinclude gprintf.h in hostnamed.c/localed.c to allow strict compilation
kremlin [Tue, 15 Jul 2014 05:09:59 +0000 (00:09 -0500)]
include gprintf.h in hostnamed.c/localed.c to allow strict compilation

9 years agorevamp makefile, build and link objects instead of #include'ing them
kremlin [Tue, 15 Jul 2014 05:03:17 +0000 (00:03 -0500)]
revamp makefile, build and link objects instead of #include'ing them

previously main.c #include'd files which themselves #include'd all source
files. now, we (correctly) build objects from the genfile, which are linked
to our sources.

9 years agocut out unnessecary #include's in main.c, prepare to deprecate
kremlin [Tue, 15 Jul 2014 04:59:35 +0000 (23:59 -0500)]
cut out unnessecary #include's in main.c, prepare to deprecate

we're going to move towards having all four daemons exist as seperate
executables managed exclusively by DBus (startup, lifetime, etc.) so
i'm moving towards getting rid of the one "main" executable.

9 years agominor, bring in standalone daemon executables
kremlin [Tue, 15 Jul 2014 04:57:18 +0000 (23:57 -0500)]
minor, bring in standalone daemon executables

9 years agominor, update objects from genfile
kremlin [Tue, 15 Jul 2014 04:56:11 +0000 (23:56 -0500)]
minor, update objects from genfile

9 years agoremove includes in non-gen'd interf files, they're linked properly now
kremlin [Tue, 15 Jul 2014 04:55:24 +0000 (23:55 -0500)]
remove includes in non-gen'd interf files, they're linked properly now

no need to include foo-gen.c as its functionality exists inside linked object
built by makefile in future commit. additionally, make all non-generated
interface files executable with a dummy main() that runs foo_init() after
setting everything up properly with a g_main_loop

9 years agountouched genfiles now work with linking system, revert localed-gen.c
kremlin [Tue, 15 Jul 2014 04:51:11 +0000 (23:51 -0500)]
untouched genfiles now work with linking system, revert localed-gen.c

previously you needed to edit genfiles as to not re-implement
boilerplate methods. linking (instead of #include'ing) avoids this
and allows genfiles to work without edit, as intended.

9 years agoget rid of non-generated interface headers, we don't need them
kremlin [Tue, 15 Jul 2014 04:48:05 +0000 (23:48 -0500)]
get rid of non-generated interface headers, we don't need them

9 years agobring in genfile objects, remove git filler in bin
kremlin [Tue, 15 Jul 2014 03:46:04 +0000 (22:46 -0500)]
bring in genfile objects, remove git filler in bin

9 years agoadd bin/obj directory & populate w/ tmpfile; mod gitignore accordingly
kremlin [Tue, 15 Jul 2014 03:21:23 +0000 (22:21 -0500)]
add bin/obj directory & populate w/ tmpfile; mod gitignore accordingly

9 years agoget rid of ifdef maze in main.c, the binaries will be compiled sep.
kremlin [Tue, 15 Jul 2014 02:44:45 +0000 (21:44 -0500)]
get rid of ifdef maze in main.c, the binaries will be compiled sep.

9 years agoset hostnamed's 'hostname' property before export
kremlin [Thu, 10 Jul 2014 16:24:40 +0000 (11:24 -0500)]
set hostnamed's 'hostname' property before export

9 years agomore work on managing four interfaces as separate PIDs, new makefile rules for buildi...
kremlin [Tue, 8 Jul 2014 08:15:51 +0000 (03:15 -0500)]
more work on managing four interfaces as separate PIDs, new makefile rules for building and installing standalone interface binaries, a little documentation and preproccessor logic

9 years ago(1) regenerate leaner genfiles, we're not using the object manager functionality...
kremlin [Tue, 8 Jul 2014 06:41:59 +0000 (01:41 -0500)]
(1) regenerate leaner genfiles, we're not using the object manager functionality (2) modify gen-gdbus-interfaces to exclude object manager functionality (3) make localed skeleton (4) namespace hostnamed's and localed's bus/name functions properly (5) edit main.c to init localed

9 years ago"build-proper renamed" to "publish" in makefile
kremlin [Tue, 8 Jul 2014 06:04:16 +0000 (01:04 -0500)]
"build-proper renamed" to "publish" in makefile

9 years agoregenerate proper namespaced code for other 3 interfaces, fix their includes accordingly
kremlin [Tue, 8 Jul 2014 03:12:09 +0000 (22:12 -0500)]
regenerate proper namespaced code for other 3 interfaces, fix their includes accordingly

9 years agofix previous commit (forgot to escape newline), regenerate hostnamed with proper...
kremlin [Tue, 8 Jul 2014 03:07:58 +0000 (22:07 -0500)]
fix previous commit (forgot to escape newline), regenerate hostnamed with proper namespace changes, fix hostnamed.c accordingly

9 years agofix gen-gdbus-interfaces.sh to namespace generated functions by targetted DBus interface
kremlin [Tue, 8 Jul 2014 02:53:20 +0000 (21:53 -0500)]
fix gen-gdbus-interfaces.sh to namespace generated functions by targetted DBus interface

9 years agocut out old XML install cruft
kremlin [Thu, 3 Jul 2014 15:26:51 +0000 (10:26 -0500)]
cut out old XML install cruft

9 years ago(1) modify gen-gdbus-interfaces.sh to generate nessecary subclasses
kremlin [Wed, 2 Jul 2014 06:06:15 +0000 (01:06 -0500)]
(1) modify gen-gdbus-interfaces.sh to generate nessecary subclasses
(2) regenerate hostnamed genfiles accordingly
(3) add in skeleton functions for handling hostnamed properties.
(4) celebrate, as hostnamed.c now serves as a copyable skeleton for the other three

9 years agofollowing last commit, freshen up all ispect xml files with a on an updated archlinu...
kremlin [Wed, 2 Jul 2014 03:28:33 +0000 (22:28 -0500)]
following last commit, freshen up all ispect xml files with a  on an updated archlinux box. also format all XML files to follow the same style (spacing/doctypes/etc)

9 years ago(1) updated ispect xml to reflect recent undocumented changes in hostnamed
kremlin [Wed, 2 Jul 2014 03:21:46 +0000 (22:21 -0500)]
(1) updated ispect xml to reflect recent undocumented changes in hostnamed
(2) implemented skeleton functions for hostnamed, attached to interface which is now
(3) exported on DBus properly as a generated GDBusInterfaceSkeleton

9 years agominor forgot to wrap email in <>'s in txts
kremlin [Sun, 29 Jun 2014 20:33:51 +0000 (15:33 -0500)]
minor forgot to wrap email in <>'s in txts

9 years agoretab
kremlin [Thu, 26 Jun 2014 23:55:42 +0000 (18:55 -0500)]
retab

9 years agoreplace C++ style comments
kremlin [Thu, 26 Jun 2014 23:50:14 +0000 (18:50 -0500)]
replace C++ style comments

9 years agoremove -pedantic, screw that
kremlin [Thu, 26 Jun 2014 23:36:31 +0000 (18:36 -0500)]
remove -pedantic, screw that

9 years agobring in skeleton conf, add to makefile install target
kremlin [Thu, 26 Jun 2014 23:21:13 +0000 (18:21 -0500)]
bring in skeleton conf, add to makefile install target

9 years agocut out install code that should be handled in makefile
kremlin [Thu, 26 Jun 2014 23:18:26 +0000 (18:18 -0500)]
cut out install code that should be handled in makefile

9 years agoclean up makefile, add -std=c89 and -pedantic to build-proper flags
kremlin [Thu, 26 Jun 2014 23:05:38 +0000 (18:05 -0500)]
clean up makefile, add -std=c89 and -pedantic to build-proper flags

9 years agoclean up config.c
kremlin [Thu, 26 Jun 2014 06:30:17 +0000 (01:30 -0500)]
clean up config.c

9 years agodrop persistent file handlers, use rc.d 'reload' instead
kremlin [Thu, 26 Jun 2014 06:08:06 +0000 (01:08 -0500)]
drop persistent file handlers, use rc.d 'reload' instead

9 years agomore work on xml configuration setting..
kremlin [Thu, 26 Jun 2014 04:18:16 +0000 (23:18 -0500)]
more work on xml configuration setting..

9 years agominor, fix system call logic
kremlin [Thu, 26 Jun 2014 02:25:45 +0000 (21:25 -0500)]
minor, fix system call logic

9 years agosee previous commit, forgot 'git add'..
kremlin [Thu, 26 Jun 2014 02:17:03 +0000 (21:17 -0500)]
see previous commit, forgot 'git add'..

9 years agofix up merge conflicts to compile on strict settings
kremlin [Thu, 26 Jun 2014 02:16:18 +0000 (21:16 -0500)]
fix up merge conflicts to compile on strict settings

9 years agofixing merge conflicts
kremlin [Thu, 26 Jun 2014 02:06:06 +0000 (21:06 -0500)]
fixing merge conflicts

9 years agomerge license, hostname buffer changes from master branch
kremlin [Thu, 26 Jun 2014 01:44:39 +0000 (20:44 -0500)]
merge license, hostname buffer changes from master branch

9 years agochange buffer size for gethostname() to HOST_NAME_MAX to avoid accidently truncating...
kremlin [Sun, 22 Jun 2014 06:11:25 +0000 (01:11 -0500)]
change buffer size for gethostname() to HOST_NAME_MAX to avoid accidently truncating the terminating byte on systems that handle gethostname() poorly

9 years agoshebang /bin/sh instead of bash for gdbus interface generator script
kremlin [Sun, 22 Jun 2014 02:51:09 +0000 (21:51 -0500)]
shebang /bin/sh instead of bash for gdbus interface generator script

9 years agoadd license ISC license blurbs
kremlin [Sun, 22 Jun 2014 02:49:37 +0000 (21:49 -0500)]
add license ISC license blurbs

9 years agogoodnight
kremlin [Fri, 20 Jun 2014 05:26:47 +0000 (00:26 -0500)]
goodnight

9 years agoexit func for config, close()s and free()s
kremlin [Fri, 20 Jun 2014 02:59:38 +0000 (21:59 -0500)]
exit func for config, close()s and free()s

9 years agofinish migrating old code to work with gdbus-codegen types, cleaned up config IO...
kremlin [Fri, 20 Jun 2014 02:38:50 +0000 (21:38 -0500)]
finish migrating old code to work with gdbus-codegen types, cleaned up config IO/install, cleaned up code all-around to work with strict compiler flags

9 years agoblow away unnessecary errata whose functionality is covered by code from generated...
kremlin [Thu, 19 Jun 2014 21:48:25 +0000 (16:48 -0500)]
blow away unnessecary errata whose functionality is covered by code from generated interfaces, clean up code, conform better to GLib, bring in gio-unix-2.0

9 years agoprepare old hostnamed.c code for use through proper generated gdbus interface code
kremlin [Thu, 19 Jun 2014 20:44:36 +0000 (15:44 -0500)]
prepare old hostnamed.c code for use through proper generated gdbus interface code

9 years agoregenerate interface types, clean up gen script
kremlin [Thu, 19 Jun 2014 19:59:16 +0000 (14:59 -0500)]
regenerate interface types, clean up gen script

9 years agoblow away improperly generated interface types (bad prefix)
kremlin [Thu, 19 Jun 2014 19:50:05 +0000 (14:50 -0500)]
blow away improperly generated interface types (bad prefix)

9 years agoadd script for generating interface types (gdbus-codegen)
kremlin [Thu, 19 Jun 2014 19:49:33 +0000 (14:49 -0500)]
add script for generating interface types (gdbus-codegen)

9 years agoadd gdbus-codegen files
kremlin [Tue, 17 Jun 2014 15:18:33 +0000 (10:18 -0500)]
add gdbus-codegen files

9 years agofleshed out config and hostnamed more, structure for other 3 daemons..
kremlin [Fri, 13 Jun 2014 02:01:30 +0000 (21:01 -0500)]
fleshed out config and hostnamed more, structure for other 3 daemons..

9 years agofurthering hostnamed, begining configuration..
kremlin [Fri, 13 Jun 2014 00:22:06 +0000 (19:22 -0500)]
furthering hostnamed, begining configuration..

9 years agoproperty handling...
kremlin [Tue, 10 Jun 2014 03:57:52 +0000 (22:57 -0500)]
property handling...

9 years agoexport proper xml FINALLY..
kremlin [Tue, 10 Jun 2014 03:40:48 +0000 (22:40 -0500)]
export proper xml FINALLY..

9 years agocut out literals
kremlin [Tue, 10 Jun 2014 02:20:37 +0000 (21:20 -0500)]
cut out literals

9 years agobring in new configs
kremlin [Tue, 10 Jun 2014 02:19:19 +0000 (21:19 -0500)]
bring in new configs

9 years agoblow away xmldefs, will read from file and checksum isntead...
kremlin [Tue, 10 Jun 2014 01:54:08 +0000 (20:54 -0500)]
blow away xmldefs, will read from file and checksum isntead...

9 years agostarted work on xml file installation/configuration
kremlin [Sun, 8 Jun 2014 06:19:46 +0000 (01:19 -0500)]
started work on xml file installation/configuration

9 years agosyncing...
kremlin [Sun, 8 Jun 2014 01:04:10 +0000 (21:04 -0400)]
syncing...

9 years agoXML configs will be either compiled in (default) or installed (flagged), rm workarounds
kremlin [Sat, 7 Jun 2014 07:45:04 +0000 (03:45 -0400)]
XML configs will be either compiled in (default) or installed (flagged), rm workarounds

9 years agosyncing between computers..
kremlin [Thu, 5 Jun 2014 04:18:53 +0000 (23:18 -0500)]
syncing between computers..

9 years agominor info errata
kremlin [Thu, 5 Jun 2014 03:42:08 +0000 (22:42 -0500)]
minor info errata

9 years agodivorce introspect xml to conf/ file, rm hostnamed.h, update system bus config file...
kremlin [Thu, 5 Jun 2014 03:36:18 +0000 (22:36 -0500)]
divorce introspect xml to conf/ file, rm hostnamed.h, update system bus config file to be more secure..

9 years agosyncing working files between computers...
kremlin [Thu, 5 Jun 2014 02:56:17 +0000 (21:56 -0500)]
syncing working files between computers...

9 years agoadded scripts to place config files, added a note in source about that
kremlin [Mon, 2 Jun 2014 22:38:44 +0000 (17:38 -0500)]
added scripts to place config files, added a note in source about that

9 years agominor, reference issue
kremlin [Mon, 2 Jun 2014 21:47:44 +0000 (16:47 -0500)]
minor, reference issue

9 years agosyntax cleanup, add whatever .bin.core files are to gitignore..
kremlin [Mon, 2 Jun 2014 21:34:45 +0000 (16:34 -0500)]
syntax cleanup, add whatever .bin.core files are to gitignore..

9 years agodivorce XML literal to hostnamed.h, update types to be glib-appropriate, comments
kremlin [Mon, 2 Jun 2014 21:18:33 +0000 (16:18 -0500)]
divorce XML literal to hostnamed.h, update types to be glib-appropriate, comments

9 years agomoved things around to make source readable, added comments, changed init method...
kremlin [Mon, 2 Jun 2014 18:42:23 +0000 (13:42 -0500)]
moved things around to make source readable, added comments, changed init method return type from void -> GError

9 years agoupdate makefile and main.c to reflect changes of previous commit, also place tempfile...
kremlin [Mon, 2 Jun 2014 18:25:23 +0000 (13:25 -0500)]
update makefile and main.c to reflect changes of previous commit, also place tempfile in bin/ as abscence causes git to ignore directory's existence

9 years agoremove crapfile, rename 'modules' -> 'interfaces'
kremlin [Mon, 2 Jun 2014 17:40:33 +0000 (12:40 -0500)]
remove crapfile, rename 'modules' -> 'interfaces'

9 years agohostnamed implementation coming along, implements introspectable now. had to switch...
kremlin [Fri, 30 May 2014 09:19:07 +0000 (04:19 -0500)]
hostnamed implementation coming along, implements introspectable now. had to switch back to session bus temporarily...

9 years agoclean up. we dont need those files rn
kremlin [Fri, 30 May 2014 08:10:26 +0000 (03:10 -0500)]
clean up. we dont need those files rn