1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- unbreak gcc42

- Bump portrevision
- update mastersites.

PR:		ports/117928
Submitted by:	Philippe Audeoud <jadawin@tuxaco.net>
Approved by:	portmgr (linimon)
This commit is contained in:
Jean Milanez Melo 2007-11-28 11:53:39 +00:00
parent 147e04522b
commit 6f77465c41
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202856
2 changed files with 17 additions and 14 deletions

View File

@ -7,9 +7,9 @@
PORTNAME= chpasswd
PORTVERSION= 2.2.3
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITES= SF
MASTER_SITE_SUBDIR= orsochpasswd
MAINTAINER= jmelo@FreeBSD.org
@ -21,16 +21,10 @@ CONFIGURE_ARGS= --prefix=${PREFIX}/etc/chpasswd \
--enable-language=English \
--enable-cgidir=${PREFIX}/www/cgi-bin
.include <bsd.port.pre.mk>
.if (${OSVERSION} >= 700000)
BROKEN= Does not compile on 7.X
.endif
pre-install:
@${MKDIR} ${PREFIX}/www/cgi-bin
post-install:
@${ECHO} 'Remember, passwd and log file must be owned by httpd user, or chmod 777'
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,8 +1,17 @@
--- chpasswd.c.orig Fri Apr 11 01:54:02 2003
+++ chpasswd.c Wed Sep 22 15:46:47 2004
@@ -23,6 +23,16 @@
static void vrfyauth(IpAuth,PwdLogFile,PwdFile,SmtpUser,SmtpSubject);
eperror(s);
--- chpasswd.c.orig 2005-05-09 13:05:08.000000000 +0000
+++ chpasswd.c 2007-11-08 15:10:11.000000000 +0000
@@ -282,7 +282,7 @@
}
-static int
+int
htoi(s)
unsigned char *s;
{
@@ -664,6 +664,16 @@
}
+void getword(char *, char *, char);
+void Herror(char *);