Add GDB
[hvlinux.git] / stage3 / hv-install-1
index 6999f74..c57d161 100755 (executable)
@@ -8,7 +8,7 @@ init_log_file
 
 ipkg -m noac ${BASHCOMPLETION}
 ipkg ${WHICH}
-ipkg -m acnb ${REISERFSPROGS}
+ipkg -m acnb ${REISERFSPROGS} "--sbindir=/sbin"
 ipkg -m acnb ${POPT}
 ipkg -m acnb ${LIBTIRPC} "--disable-static --disable-gssapi"
 ipkg ${PAM}
@@ -24,10 +24,12 @@ ipkg -j ${FCRON}
 ipkg ${OPENSSH}
 ipkg -s lynx ${LYNX}
 ipkg ${EXPAT}
-ipkg ${APR} "--disable-static --with-installbuilddir=/usr/share/apr-1/build"
+ipkg -j ${APR} "--disable-static --with-installbuilddir=/usr/share/apr-1/build"
 ipkg ${APR_UTIL} "--with-apr=/usr --with-gdbm=/usr -with-openssl=/usr"
 ipkg ${NEON} "--with-ssl"
-ipkg -s tcl ${TCL}
+ipkg -s tcl -d unix ${TCL} "\
+        --enable-threads \
+        --mandir=/usr/share/man"
 CFLAGS="${CFLAGS} -DSQLITE_ENABLE_FTS3=1 -DSQLITE_SECURE_DELETE -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 \
     -DSQLITE_ENABLE_COLUMN_METADATA=1" \
     ipkg ${SQLITE}
@@ -47,13 +49,13 @@ ipkg -m acnb ${HTOP}
 
 # Networking
 ipkg -m noac -s tcp_wrappers ${TCPWRAPPERS}
-ipkg -m acnb ${RPCBIND} "--bindir=/sbin --with-rpcuser=root"
+ipkg -m acnb ${RPCBIND} "--bindir=/sbin --with-rpcuser=root --with-systemdsystemunitdir=no"
 LIBS="-lpthread" ipkg -m acnb ${NFS_UTILS} " \
     --disable-nfsv4 \
     --disable-nfsv41 \
     --sbindir=/sbin \
     --disable-gss"
-ipkg ${XINETD}
+ipkg ${XINETD} "--with-loadavg"
 if [ "x${USE_DYNAMIC_DNS}" = "xyes" ]; then
     ipkg ${DDCLIENT}
 fi
@@ -77,7 +79,7 @@ ipkg -m acnb ${MYSQL}
 ipkg -m noac ${ZIP}
 ipkg -m noac ${UNZIP}
 ipkg -m noac ${UNRAR}
-ipkg -m noac ${P7ZIP}
+ipkg -m noac -s p7zip ${P7ZIP}
 ipkg -m noac ${PBZIP2}
 ipkg ${CPIO} "\
     --bindir=/bin \
@@ -100,10 +102,12 @@ ipkg -m pm ${PERL_MOD_XML_PARSER}
 # Grep alternative
 ipkg -m noac ${ACK}
 ipkg -m noac ${COLORDIFF}
+ipkg ${GDB} "--with-system-readline"
 
 ipkg ${INTLTOOL}
 
 ipkg -m acnb ${GIT} "--libexecdir=/usr/lib --with-gitconfig=/etc/gitconfig"
+ipkg -j -m noac ${GIT_CRYPT}
 
 ipkg ${DIALOG}
 
@@ -139,11 +143,15 @@ ipkg ${LIBART}
 ipkg ${LIBEXIF}
 ipkg ${FRIBIDI}
 ipkg -m acnb ${HICOLOR_ICON_THEME}
-ipkg ${GIFLIB}
+ipkg ${GIFLIB} "--disable-static"
 ipkg -m acnb ${LIBMNG} "--disable-static"
 
 ipkg ${FREETYPE} "--disable-static"
-ipkg ${FONTCONFIG}
+ipkg ${FONTCONFIG} "\
+    --localstatedir=/var \
+    --disable-docs \
+    --without-add-fonts \
+    --with-docdir=/usr/share/doc/${FONTCONFIG}"
 
 ipkg -m noac ${CKERMIT}
 
@@ -164,7 +172,12 @@ ipkg -m acnb ${GNUTLS} "--with-default-trust-store-file=/etc/ssl-ca-bundle.crt"
 ipkg -l "${SASL2}-pass1" -s "cyrus-sasl" ${SASL2}
 ipkg ${OPENLDAP}
 ipkg -l "${SASL2}-pass2" -s "cyrus-sasl" ${SASL2}
-ipkg -s "krb5" ${KERBEROS5}
+ipkg -s "krb5" -d src ${KERBEROS5} "\
+    --localstatedir=/var/lib \
+    --with-system-et \
+    --with-system-ss \
+    --with-system-verto=no \
+    --enable-dns-for-realm"
 
 if [ "x${INST_TYPE}" = "xserver" -o "x${INST_TYPE}" = "xltsp-server" ]; then
     ipkg -m noac ${SENDMAIL}
@@ -172,7 +185,12 @@ else
     ipkg ${MSMTP}
 fi
 
-ipkg ${GNUPG} "--libexecdir=/usr/lib"
+ipkg -m acnb ${PTH} "\
+    --disable-static \
+    --mandir=/usr/share/man"
+ipkg ${LIBASSUAN}
+ipkg ${LIBKSBA}
+ipkg ${GNUPG} "-enable-symcryptrun"
 ipkg ${MUTT} "--enable-imap --with-ssl --with-sasl --enable-hcache"
 
 ipkg ${YASM}
@@ -191,7 +209,7 @@ if [ "x${INST_TYPE}" = "xworkstation" -o "x${INST_TYPE}" = "xltsp-server" ]; the
         # Audio file formats
        ipkg ${LIBOGG}
        ipkg ${LIBVORBIS}
-       ipkg -m acnb ${FLAC}
+       ipkg -m acnb ${FLAC} "--disable-thorough-test"
 
        ipkg ${LIBSNDFILE}
         ipkg -m acnb ${VAMP}
@@ -206,7 +224,7 @@ if [ "x${INST_TYPE}" = "xworkstation" -o "x${INST_TYPE}" = "xltsp-server" ]; the
         ipkg -m acnb ${LIBFAAC}
         ipkg -m acnb ${LIBFAAD2}
         ipkg ${LIBTHEORA}
-        ipkg ${XVIDCORE}
+        ipkg -m acnb -d "build/generic" ${XVIDCORE}
 
         ipkg ${LIBX264} "--enable-shared"