Esempio n. 1
0
def setup():
    autotools.aclocal("-I m4")
    autotools.autoheader()
    libtools.libtoolize("--force --copy --automake")
    autotools.configure("--libdir=/usr/lib")
    
    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
Esempio n. 2
0
def setup():
    autotools.aclocal("-I m4")
    autotools.autoheader()
    libtools.libtoolize("--force --copy --automake")
    autotools.configure("--libdir=/usr/lib")

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
Esempio n. 3
0
def setup():
	autotools.aclocal("-I m4")
	libtools.libtoolize("--force --copy")
	autotools.autoheader()
	autotools.automake("--add-missing --copy -Wno-portability")
	autotools.autoconf()
	autotools.rawConfigure("--prefix=/usr --enable-threads --disable-dependency-tracking")
Esempio n. 4
0
def setup():
    pisitools.dosed("saslauthd/auth_rimap.c", "(?m)^(define DEFAULT_REMOTE_SERVICE.*)imap", r"\1 imap2")

    shelltools.export("WANT_AUTOCONF", "2.5")
    
    pisitools.remove("configure")
    pisitools.remove("config.h.in")
    pisitools.remove("autom4te.cache")
    
    autotools.aclocal("-I cmulocal -I config")
    autotools.autoheader()
    autotools.autoconf()

    autotools.configure("--with-saslauthd=/var/lib/sasl2 \
                        --with-pwcheck=/var/lib/sasl2  \
                        --with-configdir=/etc/sasl2 \
                        --with-plugindir=/usr/lib/sasl2 \
                        --with-dbpath=/etc/sasl2/sasldb2 \
                        --enable-login \
                        --enable-ntlm \
                        --disable-krb4 \
                        --disable-otp \
                        --disable-static \
                        --with-openssl \
                        --with-pam \
                        --without-ldap \
                        --disable-gssapi \
                        --without-mysql \
                        --disable-mysql \
                        --without-pgsql \
                        --disable-postgres \
                        --disable-java \
                        --without-authdaemond \
                        --disable-sql \
                        --with-dblib=gdbm")
Esempio n. 5
0
def setup():
    # Rebuild configure scripts
    shelltools.cd("src")
    autotools.autoheader()
    autotools.autoconf()

    # Rename man pages to regenerate them
    for manpage in open("../manpaths.txt", "r"):
        shelltools.move(manpage.strip(), "%s.in" % manpage.strip())

    shelltools.export("CFLAGS", "-I/usr/include/et -fPIC -fno-strict-aliasing -fstack-protector-all %s" % get.CFLAGS())

    # Fix pthread linking
    pisitools.dosed("configure", "-lthread", "-lpthread")
    pisitools.dosed("configure", "-pthread", "-lpthread")

    # dirsrv or ldap?
    autotools.configure(
        "--with-system-et \
                         --with-system-ss \
                         --with-pam \
                         --with-ldap \
                         --with-netlib=-lresolv \
                         --without-selinux \
                         --without-tcl \
                         --localstatedir=/var/kerberos \
                         --disable-rpath \
                         --enable-shared \
                         --enable-pkinit \
                         --enable-dns-for-realm"
    )

    # Fix krb5-config script to remove rpaths and CFLAGS
    pisitools.dosed("krb5-config", "^CC_LINK=.*", "CC_LINK='$(CC) $(PROG_LIBPATH)'")
Esempio n. 6
0
def setup():
    libtools.libtoolize("--copy --force")
    autotools.aclocal()
    autotools.autoheader()
    autotools.autoconf()
    autotools.automake("-ac")
    autotools.configure("--disable-static")
Esempio n. 7
0
def setup():
    autotools.aclocal()
    autotools.autoheader()
    autotools.automake("--add-missing")
    autotools.autoconf()

    autotools.configure()
Esempio n. 8
0
def setup():
    libtools.libtoolize("--copy --force")
    autotools.aclocal()
    autotools.autoheader()
    autotools.autoconf()
    autotools.automake("-ac")
    autotools.configure("--disable-static")
Esempio n. 9
0
def setup():
    autotools.aclocal("-I m4")
    libtools.libtoolize("--force --copy")
    autotools.autoheader()
    autotools.automake("--add-missing --copy -Wno-portability")
    autotools.autoconf()
    autotools.rawConfigure("--prefix=/usr --enable-threads")
Esempio n. 10
0
def setup():
    autotools.aclocal()
    autotools.autoheader()
    autotools.automake("--add-missing")
    autotools.autoconf()

    autotools.configure()
Esempio n. 11
0
def setup():
    libtools.libtoolize("--force --copy")
    autotools.aclocal()
    autotools.autoheader()
    autotools.autoconf()
    autotools.automake("--add-missing --copy --gnu")
                        
    autotools.configure("--sbindir=/sbin --libdir=/lib")
Esempio n. 12
0
def setup():
    libtools.libtoolize("--force --copy")
    autotools.aclocal()
    autotools.autoheader()
    autotools.autoconf()
    autotools.automake("--add-missing --copy --gnu")

    autotools.configure("--sbindir=/sbin --libdir=/lib")
Esempio n. 13
0
def setup():
    libtools.libtoolize("--copy --force")
    autotools.aclocal()
    autotools.automake("--add-missing")
    autotools.autoheader()
    autotools.autoconf()

    autotools.configure()
Esempio n. 14
0
def setup():
    libtools.libtoolize("--copy --force")
    autotools.aclocal()
    autotools.autoconf()
    autotools.autoheader()
    autotools.automake("--copy --foreign --add-missing")

    autotools.configure()
Esempio n. 15
0
def setup():
    autotools.autoreconf("-vif")
    autotools.autoconf()
    libtools.libtoolize("--copy --force")
    libtools.libtoolize("--automake")
    autotools.aclocal("-I m4")
    autotools.autoheader()
    autotools.configure("--disable-static \
						 --docdir=/usr/share/doc/maloc")
Esempio n. 16
0
def setup():
	autotools.autoreconf("-vif")
	autotools.autoconf()
	libtools.libtoolize("--copy --force")
	libtools.libtoolize("--automake")
	autotools.aclocal("-I m4")
	autotools.autoheader()
	autotools.configure("--disable-static \
						 --docdir=/usr/share/doc/maloc")
Esempio n. 17
0
def setup():
    shelltools.export("WANT_AUTOCONF", "2.5")
    shelltools.export("WANT_AUTOMAKE", "1.7")

    autotools.aclocal("-I m4")
    autotools.autoheader()
    autotools.automake("-afc")
    autotools.autoconf()

    libtools.libtoolize("--copy --force")

    flags = "-mcpu=i686 \
             -O2 \
             -pipe \
             -frename-registers \
             -fomit-frame-pointer \
             -mno-sse \
             -ffunction-sections"

    shelltools.export("CFLAGS", "%s %s" % (get.CFLAGS(), flags))
    shelltools.export("CXXFLAGS", "%s %s" % (get.CXXFLAGS(), flags))

    autotools.configure(
        "--enable-nls \
                         --disable-gnome \
                         --disable-altivec \
                         --disable-speex \
                         --enable-ipv6 \
                         --enable-samba \
                         --enable-mng \
                         --enable-png \
                         --enable-faad \
                         --enable-flac \
                         --with-ogg \
                         --with-vorbis \
                         --with-x \
                         --enable-xinerama \
                         --disable-vidix \
                         --disable-dxr3 \
                         --enable-directfb \
                         --enable-fb \
                         --enable-opengl \
                         --enable-aalib \
                         --enable-caca \
                         --enable-sdl \
                         --enable-libmad --with-external-libmad \
                         --disable-oss \
                         --disable-vcd \
                         --enable-alsa \
                         --enable-arts \
                         --disable-esd \
                         --with-ffmpeg \
                         --with-xv-path=/usr/lib \
                         --disable-optimizations \
                         --disable-optimizations \
                         --disable-dependency-tracking"
    )
Esempio n. 18
0
def setup():
    autotools.autoheader()
    libtools.libtoolize("--force --copy --automake")
    autotools.configure("--enable-shared \
                         --enable-sharedlibs=gcc \
                         --enable-error-messages=all \
                         --enable-timer-type=clock_gettime \
                         --enable-romio \
                         --enable-pmiport \
                         --with-python=python2")
Esempio n. 19
0
def setup():
    autotools.autoheader()
    libtools.libtoolize("--force --copy --automake")
    autotools.configure("--enable-shared \
                         --enable-sharedlibs=gcc \
                         --enable-error-messages=all \
                         --enable-timer-type=clock_gettime \
                         --enable-romio \
                         --enable-pmiport \
                         --with-python=python2")
Esempio n. 20
0
def setup():
    shelltools.export("WANT_AUTOCONF", "2.5")

    libtools.libtoolize("--copy --force")
    autotools.aclocal()
    autotools.automake("--add-missing")
    autotools.autoheader()
    autotools.autoconf()

    autotools.configure()
Esempio n. 21
0
def setup():
    shelltools.export("WANT_AUTOCONF", "2.5")

    libtools.libtoolize("--copy --force")
    autotools.aclocal()
    autotools.automake("--add-missing")
    autotools.autoheader()
    autotools.autoconf()

    autotools.configure()
Esempio n. 22
0
def setup():
    shelltools.export("WANT_AUTOCONF", "2.5")
    shelltools.export("WANT_AUTOMAKE", "1.7")

    autotools.aclocal("-I m4")
    autotools.autoheader()
    autotools.automake("-afc")
    autotools.autoconf()

    libtools.libtoolize("--copy --force")

    flags = "-mcpu=i686 \
             -O2 \
             -pipe \
             -frename-registers \
             -fomit-frame-pointer \
             -mno-sse \
             -ffunction-sections"

    shelltools.export("CFLAGS", "%s %s" % (get.CFLAGS(), flags))
    shelltools.export("CXXFLAGS", "%s %s" % (get.CXXFLAGS(), flags))

    autotools.configure("--enable-nls \
                         --disable-gnome \
                         --disable-altivec \
                         --disable-speex \
                         --enable-ipv6 \
                         --enable-samba \
                         --enable-mng \
                         --enable-png \
                         --enable-faad \
                         --enable-flac \
                         --with-ogg \
                         --with-vorbis \
                         --with-x \
                         --enable-xinerama \
                         --disable-vidix \
                         --disable-dxr3 \
                         --enable-directfb \
                         --enable-fb \
                         --enable-opengl \
                         --enable-aalib \
                         --enable-caca \
                         --enable-sdl \
                         --enable-libmad --with-external-libmad \
                         --disable-oss \
                         --disable-vcd \
                         --enable-alsa \
                         --enable-arts \
                         --disable-esd \
                         --with-ffmpeg \
                         --with-xv-path=/usr/lib \
                         --disable-optimizations \
                         --disable-optimizations \
                         --disable-dependency-tracking")
Esempio n. 23
0
def setup():
    shelltools.export("WANT_AUTOMAKE", "1.8")
    shelltools.export("WANT_AUTOCONF", "2.5")

    libtools.libtoolize("--force --copy --automake")
    autotools.autoheader()
    autotools.aclocal()
    autotools.automake("-a -f -c")
    autotools.autoconf()

    autotools.configure("--enable-shared --disable-djbfft")
Esempio n. 24
0
def setup():
    shelltools.export("WANT_AUTOMAKE", "1.8")
    shelltools.export("WANT_AUTOCONF", "2.5")

    libtools.libtoolize("--force --copy --automake")
    autotools.autoheader()
    autotools.aclocal()
    autotools.automake("-a -f -c")
    autotools.autoconf()

    autotools.configure("--enable-shared --disable-djbfft")
Esempio n. 25
0
def setup():
    libtools.libtoolize("--copy --force")
    autotools.aclocal()
    autotools.autoheader()
    autotools.automake("--add-missing --copy")
    autotools.autoconf()

    shelltools.system("glib-gettextize --force --copy")
    shelltools.system("intltoolize --copy --force --automake")

    autotools.configure()
Esempio n. 26
0
def setup():
    for manpage in open("manpaths.txt", "r").readlines():
        shelltools.move(manpage.strip(), "%s.in" % manpage.strip())

    autotools.autoheader()
    autotools.autoconf()

    shelltools.export("CFLAGS", "%s -I/usr/include/et -fPIE -fno-strict-aliasing" % get.CFLAGS())
    shelltools.export("LDFLAGS", "%s -pie" % get.LDFLAGS())

    autotools.configure("--with-pam")
Esempio n. 27
0
def setup():
    autotools.aclocal("-I m4")
    libtools.libtoolize()
    autotools.autoheader()
    autotools.automake("--add-missing")
    autotools.autoconf()
    autotools.configure("--disable-static")

    # Remove rpath
    pisitools.dosed("libtool", "^hardcode_libdir_flag_spec=.*", 'hardcode_libdir_flag_spec=""')
    pisitools.dosed("libtool", "^runpath_var=LD_RUN_PATH", "runpath_var=DIE_RPATH_DIE")
Esempio n. 28
0
def setup():
    libtools.libtoolize("--copy --force")
    autotools.aclocal()
    autotools.autoheader()
    autotools.automake("--add-missing --copy")
    autotools.autoconf()

    shelltools.system("glib-gettextize --force --copy")
    shelltools.system("intltoolize --copy --force --automake")

    autotools.configure()
Esempio n. 29
0
def setup():
    shelltools.cd("openpgm/pgm/")
    shelltools.system("pwd")
    libtools.libtoolize("-fc")
    autotools.aclocal()
    autotools.autoheader()
    autotools.automake("--add-missing --copy")
    autotools.autoconf()
    # suppress c compiler warnings
    pisitools.cflags.add("-Wno-cpp -Wno-unused-result")
    autotools.configure()
Esempio n. 30
0
def setup():
    shelltools.cd("autoconf")
    autotools.autoconf()
    autotools.autoheader()

    for i in ["configure", "defs.h.in"]:
        if shelltools.isFile("../%s" % i):
            shelltools.unlink("../%s" % i)
        shelltools.copy(i, "../")

    shelltools.cd("..")
    autotools.configure('--libdir="/lib" CFLAGS="%s -fPIC"' % get.CFLAGS())
Esempio n. 31
0
def setup():
    shelltools.cd("autoconf")
    autotools.autoconf()
    autotools.autoheader()

    for i in ["configure", "defs.h.in"]:
        if shelltools.isFile("../%s" % i):
            shelltools.unlink("../%s" % i)
        shelltools.copy(i, "../")

    shelltools.cd("..")
    autotools.configure('--libdir="/lib" CFLAGS="%s -fPIC"' % get.CFLAGS())
Esempio n. 32
0
def setup():
    autotools.aclocal("-I m4")
    libtools.libtoolize()
    autotools.autoheader()
    autotools.automake("--add-missing")
    autotools.autoconf()
    autotools.configure("--disable-static")

    # Remove rpath
    pisitools.dosed("libtool", "^hardcode_libdir_flag_spec=.*",
                    "hardcode_libdir_flag_spec=\"\"")
    pisitools.dosed("libtool", "^runpath_var=LD_RUN_PATH",
                    "runpath_var=DIE_RPATH_DIE")
Esempio n. 33
0
def setup():
    shelltools.cd("linux")
    shelltools.export("WANT_AUTOCONF", "2.5")

    autotools.autoheader()
    autotools.autoconf()
    autotools.configure("--enable-esd \
                         --enable-sdl \
                         --enable-alsa \
                         --enable-arts \
                         --disable-smpeg \
                         --enable-vorbis \
                         --enable-paranoid-locks \
                         --libdir=/usr/lib \
                         --enable-capture \
                         --enable-optimize")
Esempio n. 34
0
def setup():
    shelltools.cd("linux")
    shelltools.export("WANT_AUTOCONF", "2.5")

    autotools.autoheader()
    autotools.autoconf()
    autotools.configure("--enable-esd \
                         --enable-sdl \
                         --enable-alsa \
                         --enable-arts \
                         --disable-smpeg \
                         --enable-vorbis \
                         --enable-paranoid-locks \
                         --libdir=/usr/lib \
                         --enable-capture \
                         --enable-optimize")
Esempio n. 35
0
def setup():
    autotools.aclocal("-I m4")
    autotools.autoheader()
    libtools.libtoolize()
    shelltools.system("intltoolize --force --copy --automake")
    autotools.autoreconf("-fi")
    autotools.configure("--with-openldap=yes \
                         --enable-smime=yes \
                         --program-prefix= --disable-dependency-tracking \
                         --disable-goa \
                         --enable-nss=yes \
                         --enable-dot-locking=no \
                         --enable-file-locking=fcntl \
                         --disable-maintainer-mode \
                         --enable-nntp=yes \
                         --enable-vala-bindings=yes \
                         --enable-introspection=yes \
                         --disable-weather \
                         --with-krb5=/usr \
                         --with-libdb=/usr ")
Esempio n. 36
0
def setup():
    pisitools.remove("saslauthd/acinclude.m4")
    pisitools.remove("saslauthd/autom4te.cache")
    pisitools.remove("autom4te.cache")
    pisitools.remove("acinclude.m4")
    autotools.aclocal("-I cmulocal -I config")
    autotools.autoheader()
    autotools.autoconf()
    shelltools.cd("saslauthd")
    autotools.aclocal("-I ../cmulocal -I ../config")
    autotools.autoheader()
    autotools.autoconf()
    shelltools.cd("../")

    autotools.configure(
        "--with-saslauthd=/var/lib/sasl2 \
                         --with-pwcheck=/var/lib/sasl2  \
                         --with-configdir=/etc/sasl2 \
                         --with-plugindir=/usr/lib/sasl2 \
                         --with-dbpath=/etc/sasl2/sasldb2 \
                         --enable-login \
                         --enable-ntlm \
                         --enable-auth-sasldb \
                         --disable-krb4 \
                         --disable-otp \
                         --disable-static \
                         --with-openssl \
                         --with-pam \
                         --with-ldap \
                         --disable-gssapi \
                         --without-mysql \
                         --disable-mysql \
                         --without-pgsql \
                         --disable-postgres \
                         --disable-java \
                         --disable-sql \
                         --with-devrandom=/dev/urandom \
                         --with-dblib=gdbm"
    )
Esempio n. 37
0
def setup():
    #pisitools.remove("saslauthd/acinclude.m4")
    #pisitools.remove("saslauthd/autom4te.cache")
    #pisitools.remove("autom4te.cache")
    #pisitools.remove("acinclude.m4")
    autotools.aclocal("-I cmulocal -I config")
    autotools.autoheader()
    autotools.autoconf()
    shelltools.cd("saslauthd")
    autotools.aclocal("-I ../cmulocal -I ../config")
    autotools.autoheader()
    autotools.autoconf()
    shelltools.cd("../")

    shelltools.export("CFLAGS", "%s -fPIC" % get.CFLAGS())

    autotools.configure("--with-saslauthd=/var/lib/sasl2 \
                         --with-pwcheck=/var/lib/sasl2  \
                         --with-configdir=/etc/sasl2 \
                         --with-plugindir=/usr/lib/sasl2 \
                         --with-dbpath=/etc/sasl2/sasldb2 \
                         --enable-login \
                         --enable-ntlm \
                         --enable-auth-sasldb \
                         --disable-krb4 \
                         --disable-otp \
                         --disable-static \
                         --with-openssl \
                         --with-pam \
                         --disable-gssapi \
                         --without-mysql \
                         --disable-mysql \
                         --without-pgsql \
                         --disable-postgres \
                         --disable-java \
                         --disable-sql \
                         --with-devrandom=/dev/urandom \
                         --with-dblib=gdbm")
Esempio n. 38
0
def setup():
    libtools.libtoolize("--copy --force")
    autotools.aclocal()
    autotools.autoheader()
    autotools.automake("--add-missing --copy")
    autotools.autoconf()

    shelltools.system("glib-gettextize --force --copy")
    shelltools.system("intltoolize --copy --force --automake")

    autotools.configure("--enable-pcmcia-support \
                         --enable-sysfs-carrier \
                         --enable-hotplug-map \
                         --enable-parted \
                         --enable-acpi-acpid \
                         --disable-acpi-proc \
                         --with-hal-user=hal \
                         --with-hal-group=hal \
                         --with-dbus-sys=/etc/dbus-1/system.d \
                         --disable-docbook-docs \
                         --disable-gtk-doc \
                         --enable-doxygen-docs \
                         --with-pid-file=/var/run/hald.pid")
Esempio n. 39
0
def setup():
    libtools.libtoolize("--copy --force")
    autotools.aclocal()
    autotools.autoheader()
    autotools.automake("--add-missing --copy")
    autotools.autoconf()

    shelltools.system("glib-gettextize --force --copy")
    shelltools.system("intltoolize --copy --force --automake")

    autotools.configure("--enable-pcmcia-support \
                         --enable-sysfs-carrier \
                         --enable-hotplug-map \
                         --enable-parted \
                         --enable-acpi-acpid \
                         --disable-acpi-proc \
                         --with-hal-user=hal \
                         --with-hal-group=hal \
                         --with-dbus-sys=/etc/dbus-1/system.d \
                         --disable-docbook-docs \
                         --disable-gtk-doc \
                         --enable-doxygen-docs \
                         --with-pid-file=/var/run/hald.pid")
Esempio n. 40
0
def setup():
    # Rebuild configure scripts
    shelltools.cd("src")
    autotools.autoheader()
    autotools.autoconf()

    # Rename man pages to regenerate them
    for manpage in open("../manpaths.txt", "r"):
        shelltools.move(manpage.strip(), "%s.in" % manpage.strip())

    shelltools.export(
        "CFLAGS",
        "-I/usr/include/et -fPIC -fno-strict-aliasing -fstack-protector-all %s"
        % get.CFLAGS())

    # Fix pthread linking
    pisitools.dosed("configure", "-lthread", "-lpthread")
    pisitools.dosed("configure", "-pthread", "-lpthread")

    # dirsrv or ldap?
    autotools.configure("--with-system-et \
                         --with-system-ss \
                         --with-pam \
                         --with-ldap \
                         --with-netlib=-lresolv \
                         --without-selinux \
                         --without-tcl \
                         --localstatedir=/var/kerberos \
                         --disable-rpath \
                         --enable-shared \
                         --enable-pkinit \
                         --enable-dns-for-realm")

    # Fix krb5-config script to remove rpaths and CFLAGS
    pisitools.dosed("krb5-config", "^CC_LINK=.*",
                    "CC_LINK='$(CC) $(PROG_LIBPATH)'")
Esempio n. 41
0
def setup():
    shelltools.export("WANT_AUTOCONF", "2.59") 
    autotools.autoconf()
    autotools.autoheader()
    autotools.configure("--enable-nls")
Esempio n. 42
0
def setup():
    autotools.aclocal("-I m4")
    autotools.autoheader()
    libtools.libtoolize("--force --copy --automake")
    autotools.configure("--libdir=/usr/lib")
Esempio n. 43
0
def setup():
    shelltools.system("aclocal")
    autotools.autoheader()
    shelltools.system("./autogen.sh")
    shelltools.system("intltoolize")
    autotools.configure()
Esempio n. 44
0
def setup():
    autotools.autoheader()
    autotools.autoconf()

    autotools.configure("--enable-dynamic-pcre \
                         --enable-zlib")
Esempio n. 45
0
def setup():
    autotools.autoheader()
    libtools.libtoolize("--force --copy --automake")
    autotools.configure("--libdir=/usr/lib")
Esempio n. 46
0
def setup():
    shelltools.system("aclocal")
    autotools.autoheader()
    shelltools.system("./autogen.sh")
    shelltools.system("intltoolize")
    autotools.configure()