Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add auth_attr / prof_attr support to ntp

  • Loading branch information...
commit c20db903a404f1bc85a6d8fa126dc833cdb426eb 1 parent 56672cf
@JohnSonnenschein JohnSonnenschein authored
Showing with 11 additions and 7 deletions.
  1. +3 −3 ntp/Makefile
  2. +8 −4 ntp/install-ntp
View
6 ntp/Makefile
@@ -53,11 +53,11 @@ TARGET_ENV += LD_OPTIONS="-L${DESTDIR}/usr/lib -L/usr/lib -R/usr/lib"
TARGET_ENV += DESTDIR=$(DESTDIR)
all: $(VER)/config.status
- (cd $(VER); env - make all $(TARGET_ENV))
+ (cd $(VER); env - $(TARGET_ENV) gmake all)
install:
- (cd $(VER); env - make install $(TARGET_ENV))
- (ksh93 install-ntp $(TARGET_ENV))
+ (cd $(VER); env - $(TARGET_ENV) gmake install)
+ (env - $(TARGET_ENV) install-ntp)
$(VER)/config.status: $(VER)/.patched
(cd $(VER) ; env - bash ./configure $(CONFIGURE_OPTIONS) $(TARGET_ENV))
View
12 ntp/install-ntp 100644 → 100755
@@ -24,10 +24,14 @@
. ../install.subr
mkdir -p ${DESTDIR}/etc/inet
+mkdir -p ${DESTDIR}/etc/security/auth_attr.d
+mkdir -p ${DESTDIR}/etc/security/prof_attr.d
mkdir -p ${DESTDIR}/lib/svc/manifest/network
mkdir -p ${DESTDIR}/lib/svc/method
-_install N Solaris/ntp.server ${DESTDIR}/etc/inet/ 0644
-_install N Solaris/ntp.client ${DESTDIR}/etc/inet/ 0644
-_install N Solaris/ntp.xml ${DESTDIR}/lib/svc/manifest/network/ 0444
-_install N Solaris/ntp ${DESTDIR}/lib/svc/method 0555
+_install N Solaris/ntp.server ${DESTDIR}/etc/inet/ntp.server 0644
+_install N Solaris/ntp.client ${DESTDIR}/etc/inet/ntp.client 0644
+_install N Solaris/ntp.xml ${DESTDIR}/lib/svc/manifest/network/ntp.xml 0444
+_install N Solaris/ntp ${DESTDIR}/lib/svc/method/ntp 0555
+_install N Solaris/auth_attr ${DESTDIR}/etc/security/auth_attr.d/ntp 0555
+_install N Solaris/prof_attr ${DESTDIR}/etc/security/prof_attr.d/ntp 0555
Please sign in to comment.
Something went wrong with that request. Please try again.