anchor.diff:  
   CFLAGS_append = " -fPIE -pie"
   CXXFLAGS_append = " -fPIE -pie"
  +
  +NGINX_WWWDIR ?= "${localstatedir}/www/localhost"
  +NGINX_USER   ?= "www"
   
   EXTRA_OECONF = ""
   
  
positive.code: USERADD_PACKAGES = "${PN}"
  USERADD_PARAM_${PN} = " \
      --system --no-create-home \
      --home ${localstatedir}/www/localhost \
      --groups www-data \
      --user-group www"
  
negative.code: 	fi
  	install -d ${D}${sysconfdir}/${BPN}
  	ln -snf ${localstatedir}/run/${BPN} ${D}${sysconfdir}/${BPN}/run
  	install -d ${D}${NGINX_WWWDIR}
  	mv ${D}/usr/html ${D}${NGINX_WWWDIR}/
  	chown ${NGINX_USER}:www-data -R ${D}${NGINX_WWWDIR}
  
  	install -d ${D}${sysconfdir}/init.d
  	install -m 0755 ${WORKDIR}/nginx.init ${D}${sysconfdir}/init.d/nginx
  