pkgsrc-Bugs archive

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

Re: pkg/44216 (mail/postfix requires NIS which does not exist on Solaris builds over b130)



> Synopsis: mail/postfix requires NIS which does not exist on Solaris builds 
> over b130

Just to be clear... the only part of the included patch that is new is
the final segment, right:

 @@ -400,8 +415,8 @@
  #define HAS_DBM
  #define DEF_DB_TYPE    "dbm"
  #define ALIAS_DB_MAP   "dbm:/etc/mail/aliases"
 -#define HAS_NIS
 -#define HAS_NISPLUS
 +/* #define HAS_NIS
 +#define HAS_NISPLUS */
  #define USE_SYS_SOCKIO_H               /* Solaris 2.5, changed sys/ioctl.h */
  #define GETTIMEOFDAY(t)        gettimeofday(t)
  #define ROOT_PATH      "/bin:/usr/bin:/sbin:/usr/sbin:/usr/ucb"

The rest is the pre-existing patch-ag file.

It seems to me that this fix should be wrapped in a version check of
some sort, since builds <= b130 have NIS, right?

I work with 'closed' Solaris 10, so I'm fuzzy on what variable one
might look at to determine a Solaris/ONNV build number.

Any ideas?  Thanks,  - Tim


Home | Main Index | Thread Index | Old Index