Changeset 302
- Timestamp:
- 01/24/2009 23:49:44 (3 years ago)
- Location:
- trunk
- Files:
-
- 2 deleted
- 3 edited
- 8 moved
-
GNUmakefile (deleted)
-
Makefile (deleted)
-
Makefile.am (modified) (1 diff)
-
confaudit.in (moved) (moved from trunk/confaudit) (1 diff)
-
confexport.in (moved) (moved from trunk/confexport) (1 diff)
-
configure.ac (modified) (1 diff)
-
confman.conf.in (moved) (moved from trunk/defaults.conf) (2 diffs)
-
confman.conf.sample (moved) (moved from trunk/confman.conf)
-
confman.in (moved) (moved from trunk/confman) (4 diffs)
-
confman_completion.in (moved) (moved from trunk/confman_completions) (1 diff)
-
confmancommon.sh.in (moved) (moved from trunk/confmancommon.sh) (1 diff)
-
confmanlib.sh (modified) (1 diff)
-
confsync.in (moved) (moved from trunk/confsync) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.am
r300 r302 1 bashcompdir = $(sysconfdir)/bash_completion.d 1 2 pkglibexecdir = $(libexecdir)/confman 2 pkgsysconfdir = $(sysconfdir)/confman 3 sysconfdefaultsdir = $(sysconfdir)/defaults 3 4 4 bin_SCRIPTS = abspath5 5 sbin_SCRIPTS = confman 6 pkglibexec_SCRIPTS = confexport confsync confaudit conflock 7 pkgdata_SCRIPTS = confmanlib.sh confmandoc.sh confmancommon.sh 8 pkgsysconf_DATA = confman_completions confman.conf defaults.conf 9 man_MANS = confaudit.8 confexport.8 confman.8 confman.conf.5 confsync.8 6 pkglibexec_SCRIPTS = confexport confsync confaudit 7 dist_pkglibexec_SCRIPTS = conflock abspath 8 pkgdata_SCRIPTS = confmancommon.sh 9 dist_pkgdata_SCRIPTS = confmanlib.sh confmandoc.sh 10 dist_sysconf_DATA = confman.conf.sample 11 sysconfdefaults_DATA = confman.conf 12 bashcomp_DATA = confman_completion 13 dist_man_MANS = confaudit.8 confexport.8 confman.8 confman.conf.5 confsync.8 10 14 15 CLEANFILES = $(sbin_SCRIPTS) \ 16 $(pkglibexec_SCRIPTS) \ 17 $(pkgdata_SCRIPTS) \ 18 $(sysconfdefaults_DATA) \ 19 $(bashcomp_DATA) 20 21 EXTRA_DIST = confman.in \ 22 confexport.in \ 23 confsync.in \ 24 confaudit.in \ 25 confmancommon.sh.in \ 26 confman.conf.in \ 27 confman_completion.in \ 28 LICENSE 29 30 do_subst = $(SED) -e 's,[@]datadir[@],$(datadir),g' \ 31 -e 's,[@]pkgdatadir[@],$(pkgdatadir),g' \ 32 -e 's,[@]pkglibexecdir[@],$(pkglibexecdir),g' \ 33 -e 's,[@]sbindir[@],$(sbindir),g' \ 34 -e 's,[@]sysconfdir[@],$(sysconfdir),g' \ 35 -e 's,[@]sysconfdefaultsdir[@],$(sysconfdefaultsdir),g' 36 37 confman: confman.in Makefile 38 $(do_subst) < confman.in > confman 39 40 confexport: confexport.in Makefile 41 $(do_subst) < confexport.in > confexport 42 43 confsync: confsync.in Makefile 44 $(do_subst) < confsync.in > confsync 45 46 confaudit: confaudit.in Makefile 47 $(do_subst) < confaudit.in > confaudit 48 49 confmancommon.sh: confmancommon.sh.in Makefile 50 $(do_subst) < confmancommon.sh.in > confmancommon.sh 51 52 confman.conf: confman.conf.in Makefile 53 $(do_subst) < confman.conf.in > confman.conf 54 55 confman_completion: confman_completion.in Makefile 56 $(do_subst) < confman_completion.in > confman_completion 57 -
trunk/confaudit.in
r299 r302 28 28 29 29 30 if [ -r ${PREFIX}/share/confman/confmancommon.sh ] ; then31 . ${PREFIX}/share/confman/confmancommon.sh30 if [ -r @pkgdatadir@/confmancommon.sh ] ; then 31 . @pkgdatadir@/confmancommon.sh 32 32 else 33 33 echo "Can't find confmancommon.sh. Exiting." >&2 -
trunk/confexport.in
r301 r302 33 33 # tarball. 34 34 35 if [ -r ${PREFIX}/share/confman/confmancommon.sh ] ; then36 . ${PREFIX}/share/confman/confmancommon.sh35 if [ -r @pkgdatadir@/confmancommon.sh ] ; then 36 . @pkgdatadir@/confmancommon.sh 37 37 else 38 38 echo "Can't find confmancommon.sh. Exiting." >&2 -
trunk/configure.ac
r298 r302 1 1 AC_PREREQ(2.62) 2 2 AC_INIT([confman], [1.9.a], [confman-bugs@timesinks.net]) 3 AM_INIT_AUTOMAKE 3 AM_INIT_AUTOMAKE([foreign]) 4 4 5 5 # Checks for programs. -
trunk/confman.conf.in
r301 r302 10 10 11 11 # The location of our shell library 12 REPO_LIBRARY=" ${PREFIX}/share/confman/confmanlib.sh"12 REPO_LIBRARY="@pkgdatadir@/confmanlib.sh" 13 13 14 14 # The location of our shell's documentation library 15 REPO_DOCS=" ${PREFIX}/share/confman/confmandoc.sh"15 REPO_DOCS="@pkgdatadir@/confmandoc.sh" 16 16 17 17 # The system lockfile … … 19 19 20 20 # The script for locking 21 LOCK="${PREFIX}/libexec/confman/conflock.sh" 21 LOCK="@pkglibexecdir@/conflock" 22 23 # The abspath script 24 ABSPATH="@pkglibexecdir@/abspath" 22 25 23 26 # The directory from the root of the repository to our checkpoints: -
trunk/confman.in
r278 r302 30 30 # Print help and usage information 31 31 32 if [ -r ${PREFIX}/share/confman/confmancommon.sh ] ; then33 . ${PREFIX}/share/confman/confmancommon.sh32 if [ -r @pkgdatadir@/confmancommon.sh ] ; then 33 . @pkgdatadir@/confmancommon.sh 34 34 else 35 35 echo "Can't find confmancommon.sh. Exiting." >&2 … … 246 246 $SUDO ${SUDO:+-v} 247 247 if [ -r $1 ] ; then 248 file=` abspath$1`248 file=`$ABSPATH $1` 249 249 else 250 250 # If we can't enter the parent directory, this will help us 251 251 # get the info we need. 252 file=`$SUDO abspath$1`252 file=`$SUDO $ABSPATH $1` 253 253 fi 254 254 shift … … 390 390 local group=$DEFAULT_GROUP 391 391 local comment="dir" 392 local workdir=` abspath.`392 local workdir=`$ABSPATH .` 393 393 394 394 if [ -z "$dir" ] ; then … … 449 449 450 450 if [ -z $1 ] ; then 451 file=` abspath.`451 file=`$ABSPATH .` 452 452 else 453 file=` abspath$1`453 file=`$ABSPATH $1` 454 454 fi 455 455 echo -e "--------------------------------------------------------" -
trunk/confman_completion.in
r266 r302 38 38 39 39 # Setup ConfMan specific vars 40 CONFMAN=" ${PREFIX}/sbin/confman"41 CONFMAN_CONF=" ${PREFIX}/etc/confman.conf"42 CONFMAN_RC= "~/.confmanrc"40 CONFMAN="@sbindir@/confman" 41 CONFMAN_CONF="@sysconfdir@/confman.conf" 42 CONFMAN_RC=~/.confmanrc 43 43 if [ -e ${CONFMAN_RC} ] ; then 44 44 RECIPE_PATH=$(grep '^RECIPE_PATH' ${CONFMAN_RC}|cut -d'"' -f2) -
trunk/confmancommon.sh.in
r284 r302 30 30 31 31 # Some global definitions. Defaults that can be overriden by options. 32 DEFAULTS=" ${PREFIX}/etc/defaults/confman.conf"33 GCONF=" ${PREFIX}/etc/confman.conf"32 DEFAULTS="@sysconfdefaultsdir@/confman.conf" 33 GCONF="@sysconfdir@/confman.conf" 34 34 UCONF="${HOME}/.confmanrc" 35 35 MYNAME=`basename $0` -
trunk/confmanlib.sh
r301 r302 236 236 local module="$1" 237 237 shift 238 local file=` abspath$1`238 local file=`$ABSPATH $1` 239 239 shift 240 240 local moduledir="${WORK_PATH}/$module" -
trunk/confsync.in
r299 r302 31 31 # configuration pulling mechanism. 32 32 33 if [ -r ${PREFIX}/share/confman/confmancommon.sh ] ; then34 . ${PREFIX}/share/confman/confmancommon.sh33 if [ -r @pkgdatadir@/confmancommon.sh ] ; then 34 . @pkgdatadir@/confmancommon.sh 35 35 else 36 36 echo "Can't find confmancommon.sh. Exiting." >&2
Note: See TracChangeset
for help on using the changeset viewer.
