fcgi2 security update.

This commit is contained in:
uglyside
2025-04-19 18:53:09 +03:00
parent 70f86a9161
commit 89016cd2a8
2 changed files with 19 additions and 26 deletions
+5 -14
View File
@@ -2,29 +2,20 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import libtools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
#WorkDir = "%s-%s-SNAP-0311112127" % (get.srcNAME(), get.srcVERSION())
def setup():
#libtools.libtoolize("--copy --force")
#autotools.aclocal()
shelltools.system("sh ./autogen.sh")
autotools.configure("--enable-static=no")
autotools.autoreconf("-fi")
autotools.configure("--prefix=/usr --enable-static=no")
def build():
autotools.make("-j1")
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("LICENSE.TERMS", "README*")
pisitools.dohtml("doc/*.html", "doc/*.gif", "doc/fastcgi-prog-guide/*.*", "doc/fastcgi-whitepaper/*.*")
pisitools.doman("doc/cgi-fcgi.1", "doc/FCGI_Accept.3", "doc/FCGI_Finish.3", "doc/FCGI_SetExitStatus.3", "doc/FCGI_StartFilterData.3")
pisitools.dodoc("LICENSE")