7d6 < MY_P="${P/-/_}" 10c9 < SRC_URI="mirror://sourceforge/${PN}/${MY_P}.c" --- > SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" 21,25c20,26 < src_unpack() { < mkdir ${S} < cp ${DISTDIR}/${MY_P}.c ${S} < } < --- > # shttpd now supports this: > # -DWITH_PUT_AND_DELETE Support for PUT and DELETE methods > # -DNO_AUTH Disable authorization support > # -DNO_CGI Disable CGI support > # -DIO_MAX=16384 Maximum HTTP request size (default is 32K) > # > # i think CGI is interesting (CGI use flag?) 31c32,33 < opts="-DWITH_SSL ${MY_P}.c -o ${PN} -lcrypto -lssl" --- > opts="-DCONFIG=\"/etc/shttpd/shttpd.conf\" \ > -DWITH_SSL ${PN}.c -o ${PN} -lcrypto -lssl" 33c35,36 < opts="${MY_P}.c -o ${PN}" --- > opts="-DCONFIG=\"/etc/shttpd/shttpd.conf\" \ > ${PN}.c -o ${PN}" 47a51,55 > doman ${PN}.1 || die > > insinto /etc/shttpd > doins ${FILESDIR}/${PN}.conf || die > doins ${PN}.pem || die 55c63 < einfo "Please read http://shttpd.sourceforge.net/ for more info!" --- > einfo "Do not forget to edit the config file /etc/shttpd/shttpd.conf."