pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/39033: solaris net/ntp4 build borken



>Number:         39033
>Category:       pkg
>Synopsis:       solaris net/ntp4 build borken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 24 13:45:00 +0000 2008
>Originator:     john heasley
>Release:        NetBSD 4.99.9
>Organization:
        
>Environment:
System: SunOS tamarack 5.10 Generic_127112-05 i86pc i386 i86pc
>Description:
Solaris 10 build/install of net/ntp4 does not work.  There is a replacement
in the PLIST for LOWER_OPSYS that is bogus for solaris and the build installs
ntptime, but not tickadj.
>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/ntp4/Makefile,v
retrieving revision 1.56
diff -d -u -r1.56 Makefile
--- Makefile    8 Jun 2008 04:53:27 -0000       1.56
+++ Makefile    24 Jun 2008 01:19:35 -0000
@@ -2,6 +2,7 @@
 #
 
 DISTNAME=      ntp-4.2.4p4
+PKGREVISION=   1
 CATEGORIES=    net time
 MASTER_SITES=  http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/  \
                ftp://ftp.udel.edu/pub/ntp/ntp4/
@@ -36,12 +37,15 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-PLIST_VARS+=   ntptime timetrim
+PLIST_VARS+=   ntptime tickadj timetrim
 
 .if ${OPSYS} == "NetBSD"
 PLIST.ntptime=         yes
+PLIST.tickadj=         yes
 .elif ${OPSYS} == "IRIX"
 PLIST.timetrim=                yes
+.elif ${OPSYS} == "SunOS"
+PLIST.ntptime=         yes
 .endif
 
 .include "../../security/openssl/buildlink3.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/net/ntp4/PLIST,v
retrieving revision 1.10
diff -d -u -r1.10 PLIST
--- PLIST       8 Jun 2008 04:53:27 -0000       1.10
+++ PLIST       24 Jun 2008 01:19:35 -0000
@@ -8,7 +8,7 @@
 ${PLIST.ntptime}bin/ntptime
 bin/ntptrace
 bin/sntp
-${PLIST.ntptime}bin/tickadj
+${PLIST.tickadj}bin/tickadj
 ${PLIST.timetrim}bin/timetrim
 man/man1/ntp-keygen.1
 man/man1/ntpd.1
@@ -33,7 +33,7 @@
 share/doc/ntp4/build/hints/hpux
 share/doc/ntp4/build/hints/linux
 share/doc/ntp4/build/hints/mpeix
-share/doc/ntp4/build/hints/${LOWER_OPSYS}
+share/doc/ntp4/build/hints/netbsd
 share/doc/ntp4/build/hints/notes-xntp-v3
 share/doc/ntp4/build/hints/parse
 share/doc/ntp4/build/hints/refclocks



Home | Main Index | Thread Index | Old Index