diff options
Diffstat (limited to 'src/nshd/hackers_git')
-rw-r--r-- | src/nshd/hackers_git/db_config.go | 2 | ||||
-rw-r--r-- | src/nshd/hackers_git/db_group.go | 2 | ||||
-rw-r--r-- | src/nshd/hackers_git/db_pam.go | 2 | ||||
-rw-r--r-- | src/nshd/hackers_git/db_passwd.go | 2 | ||||
-rw-r--r-- | src/nshd/hackers_git/db_shadow.go | 2 | ||||
-rw-r--r-- | src/nshd/hackers_git/gid.go | 2 | ||||
-rw-r--r-- | src/nshd/hackers_git/hackers.go | 13 | ||||
-rw-r--r-- | src/nshd/hackers_git/hackers_parse.go | 2 | ||||
-rw-r--r-- | src/nshd/hackers_git/hackers_watch.go | 9 |
9 files changed, 17 insertions, 19 deletions
diff --git a/src/nshd/hackers_git/db_config.go b/src/nshd/hackers_git/db_config.go index ffacf00..dc3b99e 100644 --- a/src/nshd/hackers_git/db_config.go +++ b/src/nshd/hackers_git/db_config.go @@ -22,7 +22,7 @@ package hackers_git import ( - p "nslcd/proto" + p "lukeshu.com/git/go/libnslcd.git/proto" s "syscall" ) diff --git a/src/nshd/hackers_git/db_group.go b/src/nshd/hackers_git/db_group.go index 4f27627..7b820e8 100644 --- a/src/nshd/hackers_git/db_group.go +++ b/src/nshd/hackers_git/db_group.go @@ -22,7 +22,7 @@ package hackers_git import ( - p "nslcd/proto" + p "lukeshu.com/git/go/libnslcd.git/proto" s "syscall" ) diff --git a/src/nshd/hackers_git/db_pam.go b/src/nshd/hackers_git/db_pam.go index 3fc773c..e21ba63 100644 --- a/src/nshd/hackers_git/db_pam.go +++ b/src/nshd/hackers_git/db_pam.go @@ -24,7 +24,7 @@ package hackers_git import ( "crypto/rand" "math/big" - p "nslcd/proto" + p "lukeshu.com/git/go/libnslcd.git/proto" s "syscall" ) diff --git a/src/nshd/hackers_git/db_passwd.go b/src/nshd/hackers_git/db_passwd.go index 1283ec1..0be3910 100644 --- a/src/nshd/hackers_git/db_passwd.go +++ b/src/nshd/hackers_git/db_passwd.go @@ -22,7 +22,7 @@ package hackers_git import ( - p "nslcd/proto" + p "lukeshu.com/git/go/libnslcd.git/proto" s "syscall" ) diff --git a/src/nshd/hackers_git/db_shadow.go b/src/nshd/hackers_git/db_shadow.go index c83f223..c2719b3 100644 --- a/src/nshd/hackers_git/db_shadow.go +++ b/src/nshd/hackers_git/db_shadow.go @@ -22,7 +22,7 @@ package hackers_git import ( - p "nslcd/proto" + p "lukeshu.com/git/go/libnslcd.git/proto" s "syscall" ) diff --git a/src/nshd/hackers_git/gid.go b/src/nshd/hackers_git/gid.go index d8293d7..f7bbac7 100644 --- a/src/nshd/hackers_git/gid.go +++ b/src/nshd/hackers_git/gid.go @@ -21,7 +21,7 @@ package hackers_git -import "getgr" +import "lukeshu.com/git/go/libgnulinux.git/getgr" func name2gid(name string) int32 { gr, err := getgr.ByName(name) diff --git a/src/nshd/hackers_git/hackers.go b/src/nshd/hackers_git/hackers.go index 5b57a63..2e9edc1 100644 --- a/src/nshd/hackers_git/hackers.go +++ b/src/nshd/hackers_git/hackers.go @@ -24,12 +24,11 @@ package hackers_git import ( - "inotify" - "inotify/inutil" - "nslcd/proto" - "nslcd/proto/server" - "nslcd/systemd" - "sd_daemon/logger" + "lukeshu.com/git/go/libgnulinux.git/inotify" + "lukeshu.com/git/go/libnslcd.git/proto" + "lukeshu.com/git/go/libnslcd.git/proto/server" + "lukeshu.com/git/go/libnslcd.git/systemd" + "lukeshu.com/git/go/libsystemd.git/sd_daemon/logger" "sync" ) @@ -52,7 +51,7 @@ type Hackers struct { users map[int32]user groups map[string]map[string]bool - in_fd *inutil.Watcher + in_fd *inotify.Watcher in_wd_home inotify.Wd in_wd_yaml inotify.Wd in_uid2wd map[int32]inotify.Wd diff --git a/src/nshd/hackers_git/hackers_parse.go b/src/nshd/hackers_git/hackers_parse.go index 63e5c0f..0525c56 100644 --- a/src/nshd/hackers_git/hackers_parse.go +++ b/src/nshd/hackers_git/hackers_parse.go @@ -27,7 +27,7 @@ import ( "io/ioutil" "os" "path" - "sd_daemon/logger" + "lukeshu.com/git/go/libsystemd.git/sd_daemon/logger" "strconv" "strings" ) diff --git a/src/nshd/hackers_git/hackers_watch.go b/src/nshd/hackers_git/hackers_watch.go index d2c5bce..5bcecbc 100644 --- a/src/nshd/hackers_git/hackers_watch.go +++ b/src/nshd/hackers_git/hackers_watch.go @@ -22,12 +22,11 @@ package hackers_git import ( - "inotify" - "inotify/inutil" + "lukeshu.com/git/go/libgnulinux.git/inotify" "os" "path/filepath" - "sd_daemon/logger" - "sd_daemon/lsb" + "lukeshu.com/git/go/libsystemd.git/sd_daemon/logger" + "lukeshu.com/git/go/libsystemd.git/sd_daemon/lsb" ) const ( @@ -83,7 +82,7 @@ func (o *Hackers) close() { func (o *Hackers) reload() (err error) { o.close() - o.in_fd, err = inutil.WatcherInit() ; if err != nil { return } + o.in_fd, err = inotify.WatcherInit() ; if err != nil { return } o.in_wd_home, err = o.in_fd.AddWatch("/home" , in_DIR|in_CHILD_ADD); if err != nil { return } o.in_wd_yaml, err = o.in_fd.AddWatch(o.Cfg.Yamldir, in_DIR|in_CHILD_ANY); if err != nil { return } |