- Address plist issue after previous commit and eliminate unnecessary patch

- Add LICENSE

Reported by:	pointyhat
This commit is contained in:
Ryan Steinmetz 2012-02-22 12:11:08 +00:00
parent 1c2e4e5e5f
commit 933defa3d2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=292050
2 changed files with 6 additions and 11 deletions

View File

@ -24,6 +24,9 @@ PKGNAMESUFFIX= -mysql
MAINTAINER?= zi@FreeBSD.org
COMMENT?= A free RADIUS server implementation
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= gdbm.4:${PORTSDIR}/databases/gdbm
CONFLICTS= gnu-radius-[0-9].* openradius-[0-9].* radiusd-cistron-[0-9].*
@ -229,6 +232,9 @@ CONFIGURE_ARGS+= --with-pic
.endif
post-patch:
@${REINPLACE_CMD} -e 's|timestamp(14)|timestamp|g' \
${WRKSRC}/doc/examples/mysql.sql
@${RM} ${WRKSRC}/doc/examples/mysql.sql.bak
# Patch Makefile / Makefile.in throughout the source tree to install raddb
# contents in ${EXAMPLESDIR}/raddb rather than the raddbdir from configure
@${FIND} -E ${WRKSRC} -regex '.*/Makefile(\.in)?$$' -exec \

View File

@ -1,11 +0,0 @@
--- ./doc/examples/mysql.sql.orig 2012-02-19 08:51:58.000000000 -0500
+++ ./doc/examples/mysql.sql 2012-02-19 08:54:03.000000000 -0500
@@ -125,7 +125,7 @@
user varchar(64) NOT NULL default '',
pass varchar(64) NOT NULL default '',
reply varchar(32) NOT NULL default '',
- date timestamp(14) NOT NULL,
+ date timestamp NOT NULL,
PRIMARY KEY (id)
) ;