Date: Thu, 29 Jun 2000 14:35:23 -0400 From: "Lester A. Mesa" <netadmin@primex.prontel.net> To: "'Maxim Sobolev'" <sobomax@FreeBSD.ORG> Cc: <freebsd-ports@FreeBSD.ORG> Subject: RE: Please HELP! Message-ID: <001701bfe1f8$c93bed30$0b040a0a@sysop> In-Reply-To: <395B4031.9BE9B7D0@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Maxim: I followed all your advised and here is the new Makefile. But I'm still having the same problem, the installation from the ports it's installing a bunch of directories with files that did not come with the package. Here is a list of this folders /var/qmail/vpopmail/etc/rc.d /var/qmail/vpopmail/info /var/qmail/vpopmail/lib/perl5 /var/qmail/vpopmail/libexec /var/qmail/vpopmail/man(and a bunch of cat and man folders) /var/qmail/vpopmail/sbin /var/qmail/vpopmail/share Is there any way to fix this problem? --------MAKEFILE--------------------------- # New ports collection makefile for: vpopmail # Date created: 23 June 2000 # Whom: mazpe # # $FreeBSD$ # PORTNAME= vpopmail PORTVERSION= 4.8 CATEGORIES= mail MASTER_SITES= http://www.vpopmail.cx/ MAINTAINER= mazpe@Prontel.com BUILD_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail \ tcpserver:${PORTSDIR}/sysutils/ucspi-tcp # If qmail is not install under /var/qmail, change this to the path # where qmail is installed QMAIL_DIR= /var/qmail PREFIX= ${QMAIL_DIR}/vpopmail IS_INTERACTIVE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-roaming-users=y pre-configure: ${FILESDIR}/vpopmail ${QMAIL_DIR} INSTALL_TARGET=install-strip .include <bsd.port.mk> --------VPOPMAIL SCRIPT--------------------------- pw groupadd vchkpw -q; \ pw useradd vpopmail -d ${QMAIL_DIR}/vpopmail -m -g vchkpw -s /bin/sh -h fd; \ echo "127.0.0.:allow,RELAYCLIENT=\"\"" > /etc/tcp.smtp ---------------------------------------------------------------------------- ---- --------PLIST------------------------------------------ bin/clearopensmtp bin/vaddaliasdomain bin/vadddomain bin/vadduser bin/vchkpw bin/vconvert bin/vdeldomain bin/vdelivermail bin/vdeluser bin/vmoduser bin/vpasswd bin/vpopbull bin/vsetuserquota doc/doc_html/vpopmail.html doc/doc_html/vpopmailapi.png doc/man_html/clearopensmtp.html doc/man_html/index.html doc/man_html/vaddaliasdomain.html doc/man_html/vadddomain.html doc/man_html/vadduser.html doc/man_html/vchkpw.html doc/man_html/vconvert.html doc/man_html/vdeldomain.html doc/man_html/vdelivermail.html doc/man_html/vdeluser.html doc/man_html/vpasswd.html doc/man_html/vpopbull.html doc/man_html/vsetuserquota.html include/config.h include/vauth.h include/vpopmail.h include/vpopmail_config.h lib/libvpopmail.a @dirrm bin @dirrm doc/doc_html @dirrm doc/man_html @dirrm domains @dirrm etc @dirrm include @dirrm users ---------------------------------------------------------------------------- -----Original Message----- From: owner-freebsd-ports@FreeBSD.ORG [mailto:owner-freebsd-ports@FreeBSD.ORG]On Behalf Of Maxim Sobolev Sent: Thursday, June 29, 2000 8:25 AM To: Lester A. Mesa Cc: freebsd-ports@FreeBSD.ORG Subject: Re: Please HELP! "Lester A. Mesa" wrote: > I'm creating a port for vpopmail (below I have the Makefile) and everything > configures, build, compiles fine.. but when I try to install it will install > some other directories that did not come with package. Is there a > particular reason for this? > > Here is my Makefile (please let me know of any suggestions) > > -----------------MAKEFILE--------------------------------------------- > # New ports collection makefile for: vpopmail > # Date created: 23 June 2000 > # Whom: mazpe > # > # $FreeBSD$ > # > > PORTNAME= vpopmail > PORTVERSION= 4.8 > CATEGORIES= mail > MASTER_SITES= http://www.vpopmail.cx/ > > MAINTAINER= mazpe@Prontel.com > > # If qmail is not install under /var/qmail, change this to the path > # where qmail is installed. > # IF THIS IS CHANGE TO ANYOTHER THAN /var/qmail BE SURE TO MODIFY > # files/myscript SCRIPT > > QMAIL_DIR= /var/qmail It would be better if you will redesign your script to take QMAIL_DIR as an argument. BTW, QMAIL_DIR definition could moved down (variables ordering is unimportant for make(1)). > BUILD_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail \ > tcpserver:${PORTSDIR}/sysutils/ucspi-tcp > > PREFIX= ${QMAIL_DIR}/vpopmail > IS_INTERACTIVE= yes > HAS_CONFIGURE= yes Is configure script based on GNU autoconf? If so, please replace HAS_CONFIGURE with GNU_CONFIGURE. > CONFIGURE_ARGS= --enable-roaming-users=y > > pre-configure: > ${FILESDIR}/myscript pre-configure: ${FILESDIR}/myscript ${QMAIL_DIR} > do-install: > @cd ${WRKSRC} && ${MAKE} install-strip Use INSTALL_TARGET=install-strip instead. > post-install: > echo postinstall What the lines above supposed to do??? > .include <bsd.port.mk> > ------------------------------------------------------------------------- > > ----------------MYSCRIPT------------------------------------------------- > pw groupadd vchkpw -q; \ > pw useradd vpopmail -d /usr/local/etc/vpopmail -m -g vchkpw -s /bin/sh -h > fd; \ > echo "127.0.0.:allow,RELAYCLIENT=\"\"" > /etc/tcp.smtp > ------------------------------------------------------------------------- See above. > ----------------PLIST---------------------------------------------------- > bin/clearopensmtp > bin/vaddaliasdomain > bin/vadddomain > bin/vadduser > bin/vchkpw > bin/vconvert > bin/vdeldomain > bin/vdelivermail > bin/vdeluser > bin/vmoduser > bin/vpasswd > bin/vpopbull > bin/vsetuserquota > @dirrm bin > doc/doc_html/vpopmail.html > doc/doc_html/vpopmailapi.png > @dirrm doc/doc_html > doc/man_html/clearopensmtp.html > doc/man_html/index.html > doc/man_html/vaddaliasdomain.html > doc/man_html/vadddomain.html > doc/man_html/vadduser.html > doc/man_html/vchkpw.html > doc/man_html/vconvert.html > doc/man_html/vdeldomain.html > doc/man_html/vdelivermail.html > doc/man_html/vdeluser.html > doc/man_html/vpasswd.html > doc/man_html/vpopbull.html > doc/man_html/vsetuserquota.html > @dirrm doc/man_html > @dirrm domains > @dirrm etc > include/config.h > include/vauth.h > include/vpopmail.h > include/vpopmail_config.h > @dirrm include > lib/libvpopmail.a > @dirrm users Please sort it, so all @dirrm's will be grouped at the end of the PLIST. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001701bfe1f8$c93bed30$0b040a0a>