BeNeDeLux
Wissensbegierig
Hallo Zusammen,
ich möchte gerne für ispCP Omega einen Port bauen bzw. mal damit anfangen.
Es sollen alle nötigen Pakete für ispCP mit den dafür benötigten Optionen installiert werden. Ich habe hierzu auch schon eine Makfile, distinfo, pkg-descr erstellt und nach /usr/ports/www verschoben.
Beim make install bekomme ich allerdings folgenden Fehler:
Mir ist jetzt nicht so klar warum das an dieser stelle nicht klappt.
Bevor die MD5-Summe geprüft werden kann muss die .tar.bz2 Datei doch erstmal heruntergeladen werden. Der Dateinamen in der Makfile ist identisch mit der in der distinfo.
Makefile:
distinfo:
Das ist das erste mal das ich so eine Makefile baue. Dank der guten Dokumentation von FreeBSD ging es bis hier her auch ganz gut.
Kann mir einer sagen woran das hier liegt ?
Thanks & Greez
BeNe
ich möchte gerne für ispCP Omega einen Port bauen bzw. mal damit anfangen.
Es sollen alle nötigen Pakete für ispCP mit den dafür benötigten Optionen installiert werden. Ich habe hierzu auch schon eine Makfile, distinfo, pkg-descr erstellt und nach /usr/ports/www verschoben.
Beim make install bekomme ich allerdings folgenden Fehler:
Code:
[root@matrix /usr/ports/www/ispcp]# make install
=> ispcp-omega-1.0.4.tar.bz2 is not in /usr/ports/www/ispcp/distinfo.
=> Either /usr/ports/www/ispcp/distinfo is out of date, or
=> ispcp-omega-1.0.4.tar.bz2 is spelled incorrectly.
*** Error code 1
Stop in /usr/ports/www/ispcp.
[root@matrix /usr/ports/www/ispcp]#
Bevor die MD5-Summe geprüft werden kann muss die .tar.bz2 Datei doch erstmal heruntergeladen werden. Der Dateinamen in der Makfile ist identisch mit der in der distinfo.
Makefile:
Code:
# New ports collection makefile for: ispCP Omega
# Date created: Mar 12 2010
# Whom: BeNe
#
# $FreeBSD: ports/www/ispcp/Makefile,v 0.1 2010/03/12 09:27:31 BeNe Exp $
#
PORTNAME= ispcp-omega
PORTVERSION= 1.0.4
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ispcp/ispCP%20Omega/ispCP%20Omega%20${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}
DISTFILES= ${DISTNAME}.tar.bz2
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= BeNe
COMMENT= ispCP Omega is an Open Source Virtual Hosting System
USE_APACHE= yes
USE_MYSQL= yes
USE_PHP= bz2 ctype curl dba dom fileinfo filter ftp gd gettext hash iconv imap json mbstring mcrypt mhash mysql mysqli pcre pdo pdo_sqlite\
posix session shmop simplexml soap sockets spl tokenizer xml xmlreader xmlrpc xmlwriter zip zlib
USE_POSTFIX= pcre sasl2 tls mysql cdb vda
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
RUN_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash \
${LOCALBASE}/bin/mysqld_safe:${PORTSDIR}/databases/mysql50-server \
${LOCALBASE}/sbin/proftpd:${PORTSDIR}/ftp/proftpd \
${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache22 \
${LOCALBASE}/sbin/postfix:${PORTSDIR}/mail/postfix \
${LOCALBASE}/sbin/postgrey:${PORTSDIR}/mail/postgrey \
${LOCALBASE}/sbin/logrotate:${PORTSDIR}/sysutils/logrotate \
${LOCALBASE}/bin/php:${PORTSDIR}/lang/php5 \
${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget \
${LOCALBASE}/bin/procmail:${PORTSDIR}/mail/procmail \
${LOCALBASE}/bin/maildrop:${PORTSDIR}/mail/maildrop \
${LOCALBASE}/bin/policyd-weight:${PORTSDIR}/mail/postfix-policyd-weight \
${LOCALBASE}/www/awstats/cgi-bin/awstats.pl:${PORTSDIR}/www/awstats \
${LOCALBASE}/sbin/chkrootkit:${PORTSDIR}/security/chkrootkit \
${LOCALBASE}/bin/rkhunter:${PORTSDIR}/security/rkhunter \
${LOCALBASE}/libexec/apache22/mod_fastcgi.so:${PORTSDIR}/www/mod_fastcgi \
${LOCALBASE}/libexec/apache22/mod_fcgid.so:${PORTSDIR}/www/mod_fcgid \
${LOCALBASE}/libexec/apache22/mod_cband.so:${PORTSDIR}/www/mod_cband \
${LOCALBASE}/sbin/amavisd:${PORTSDIR}/security/amavisd-new \
${LOCALBASE}/bin/imapd:${PORTSDIR}/mail/courier-imap \
${LOCALBASE}/bin/pear:${PORTSDIR}/devel/pear \
${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql50 \
${SITE_PERL}/MIME/Entity.pm:${PORTSDIR}/mail/p5-MIME-Tools \
${SITE_PERL}/Crypt/CBC.pm:${PORTSDIR}/security/p5-Crypt-CBC \
${SITE_PERL}/Crypt/PasswdMD5.pm:${PORTSDIR}/security/p5-Crypt-PasswdMD5 \
${SITE_PERL}/${PERL_ARCH}/Crypt/Blowfish.pm:${PORTSDIR}/security/p5-Crypt-Blowfish \
${SITE_PERL}/Term/ReadPassword.pm:${PORTSDIR}/devel/p5-Term-ReadPassword
# We need Apache > = 2.x
CONFLICTS= apache+mod_ssl-1.* apache+mod_ssl+ipv6-1.* apache+mod_ssl+modsnmp-1.* \
apache+mod_ssl+mod_snmp+ipv6-1.* apache+mod_ssl+mod_accel-1.* \
apache+mod_ssl+mod_snmp+mod_accel-1.* \
apache+ipv6-1.* apache+ssl-1.* apache-1.* apache_fp-1.* \
caudium-devel-1.* caudium10-1.* caudium12-* \
ru-apache+mod_ssl-1.* ru-apache-1.* thttpd-2.*
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
#do-extract:
# @${MKDIR} ${WRKSRC}
# @${TAR} -yxf ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} -C ${WRKSRC}
#do-install:
# @${MKDIR} ${WWWDIR}
# @cd ${WRKSRC} && \
# ${FIND} . -type d -exec ${MKDIR} ${WWWDIR}/{} \; \
# -exec ${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/{} \;
# @cd ${WRKSRC} && \
# ${FIND} . \! -type d -exec ${INSTALL_DATA} {} ${WWWDIR}/{} \; \
# -exec ${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/{} \;
#post-install:
# @${CAT} ${PKGMESSAGE}
#####################################################
# For later use to patch ispCP Configs for FreeBSD
# pre-fetch:
# i go fetch something, yeah
# post-patch:
# i need to do something after patch, great
# pre-install:
# and then some more stuff before installing, wow
.include <bsd.port.mk>
######################################################
# Ports to check RUN_DEPENDS
#/usr/ports/security/courier-authlib
#/usr/ports/databases/mysql50-client
#/usr/ports/lang/php5-extensions
#/usr/ports/lang/perl5.10
#/usr/ports/databases/p5-Class-DBI-mysql
#/usr/ports/archivers/p5-Compress-Zlib
#/usr/ports/security/p5-Crypt-DES
#/usr/ports/security/p5-Crypt-SSLeay
#/usr/ports/textproc/p5-HTML-Entities-Numbered
#/usr/ports/www/p5-HTML-Parser
#/usr/ports/www/p5-HTML-Tagset
#/usr/ports/www/p5-HTTP-GHTTP
#/usr/ports/devel/p5-IO-stringy
#/usr/ports/mail/p5-MIME-Tools
#/usr/ports/mail/p5-Mail-Tools
#/usr/ports/net/p5-Net-Daemon
#/usr/ports/dns/p5-Net-LibIDN
#/usr/ports/net/p5-PlRPC
#/usr/ports/net/p5-URI
#/usr/ports/www/p5-libwww
#/usr/ports/devel/p5-Term-ReadKey
#/usr/ports/devel/p5-File-MimeInfo
#/usr/ports/mail/p5-MIME-Tools
#/usr/ports/textproc/p5-YAML
Code:
MD5 (ispcp/ispcp-omega-1.0.4.tar.bz2) = c4b095784853be004ac1e064e094981a
SIZE (ispcp/ispcp-omega-1.0.4.tar.bz2) = 14559161
Kann mir einer sagen woran das hier liegt ?
Thanks & Greez
BeNe