Bug 156422 - [MAINTAINER] databases/sqlite-ext-mobigroup-3.7.5: update to 3.7.5-mobigroup.1
Summary: [MAINTAINER] databases/sqlite-ext-mobigroup-3.7.5: update to 3.7.5-mobigroup.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-15 15:10 UTC by Pavel I Volkov
Modified: 2011-04-20 18:50 UTC (History)
0 users

See Also:


Attachments
sqlite-ext-mobigroup-3.7.5-1.patch (5.04 KB, patch)
2011-04-15 15:10 UTC, Pavel I Volkov
no flags Details | Diff
sqlite-ext-mobigroup-3.7.5-1.patch-1 (1023 bytes, application/octet-stream; name="sqlite-ext-mobigroup-3.7.5-1.patch-1")
2011-04-19 15:11 UTC, Pavel I Volkov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel I Volkov 2011-04-15 15:10:11 UTC
[DESCRIBE CHANGES]
- Update to 3.7.5-mobigroup.1

Generated with FreeBSD Port Tools 0.99
Comment 1 Po-Chuan Hsieh freebsd_committer freebsd_triage 2011-04-16 12:23:34 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

I will take it.
Comment 2 Pavel I Volkov 2011-04-19 15:11:22 UTC
Hello. At this port to break the monotony increase PORTVERSION.
(Thanks erwin@freebsd.org). Please use this patch to fix this. Thank
you.
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2011-04-19 17:02:25 UTC
Hi,

  I've made a similar patch already. In this patch, I've also changed
  WRKSRC and use bsd.port.options.mk. Please review if it's OK to you.
  Thanks.

Regards,
sunpoet

--- sqlite-ext-mobigroup.patch begins here ---
Index: Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/pcvs/ports/databases/sqlite-ext-mobigroup/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	5 Nov 2010 01:50:48 -0000	1.2
+++ Makefile	19 Apr 2011 15:56:04 -0000
@@ -6,42 +6,32 @@
 #
=20
 PORTNAME=3D	sqlite-ext-mobigroup
-PORTVERSION=3D	1
-DISTVERSIONPREFIX=3D	mobigroup.
+PORTVERSION=3D	3.7.5.1
 CATEGORIES=3D	databases
-MASTER_SITES=3D	http://mobigroup.ru/debian/pool-squeeze/main/s/sqlite3/ \
-		LOCAL/glarkin
-PKGNAMESUFFIX=3D	-${SQLITE_VERSION}
-DISTNAME=3D	${SQLITE_NAME}_${SQLITE_VERSION}-${DISTVERSIONPREFIX}${DISTVER=
SION}
+MASTER_SITES=3D	http://mobigroup.ru/debian/pool-squeeze/main/s/sqlite3/
+DISTNAME=3D	sqlite3_${PORTVERSION:R}-mobigroup.${PORTVERSION:E}
=20
 MAINTAINER=3D	pavelivolkov@googlemail.com
 COMMENT=3D	A mobigroup functions library for SQLite
=20
-# Soon to be expired earlier version of the port
-CONFLICTS=3D	sqlite-ext-inet-[0-9].*
-
 USE_SQLITE=3D	yes
=20
 DIST_SUBDIR=3D	sqlite-ext
-NO_WRKSUBDIR=3D	yes
-
-SQLITE_NAME=3D	sqlite3
-SQLITE_VERSION=3D	3.7.2
+WRKSRC=3D		${WRKDIR}/sqlite3-${PORTVERSION:R}
=20
 USE_LDCONFIG=3D	${PREFIX}/libexec/${DIST_SUBDIR}
=20
-OPTIONS=3D	\
-		COMPRESS "compress content into a blob using libz" off \
-		INET "provide the ipv4 functions in SQL queries" on \
-		MD5 "implements the MD5 message-digest algorithm" off \
+OPTIONS=3D	COMPRESS "compress content into a blob using libz" off \
 		ENV "implements the getenv" off \
-
-.include <bsd.port.pre.mk>
+		INET "provide the ipv4 functions in SQL queries" on \
+		MD5 "implements the MD5 message-digest algorithm" off
=20
 PLIST_DIRS=3D	libexec/${DIST_SUBDIR}
 PORTDOCS=3D	*
 PORTEXAMPLES=3D	*
=20
+.include <bsd.port.options.mk>
+
 .ifdef WITH_COMPRESS
 PLIST_FILES+=3D	libexec/${DIST_SUBDIR}/libsqlitecompress.so
 .endif
@@ -59,19 +49,19 @@
=20
 do-build:
 .ifdef WITH_COMPRESS
-	@cd ${WRKSRC}/${SQLITE_NAME}/ext/_compress && \
+	@cd ${WRKSRC}/ext/_compress && \
 		${CC} -lz ${CFLAGS} compress.c -o libsqlitecompress.so
 .endif
 .ifdef WITH_INET
-	@cd ${WRKSRC}/${SQLITE_NAME}/ext/inet && \
+	@cd ${WRKSRC}/ext/inet && \
 		${CC} ${CFLAGS} ipv4-ext.c -o libsqliteipv4.so
 .endif
 .ifdef WITH_ENV
-	@cd ${WRKSRC}/${SQLITE_NAME}/ext/env && \
+	@cd ${WRKSRC}/ext/env && \
 		${CC} ${CFLAGS} env.c -o libsqliteenv.so
 .endif
 .ifdef WITH_MD5
-	@cd ${WRKSRC}/${SQLITE_NAME}/ext/md5 && \
+	@cd ${WRKSRC}/ext/md5 && \
 		${CC} ${CFLAGS} md5.c -o libsqlitemd5.so
 .endif
=20
@@ -84,34 +74,34 @@
 	@${MKDIR} ${EXAMPLESDIR}
 .endif
 .ifdef WITH_COMPRESS
-	@${INSTALL_PROGRAM} ${WRKSRC}/${SQLITE_NAME}/ext/_compress/libsqlitecompr=
ess.so ${PREFIX}/libexec/${DIST_SUBDIR}
+	@${INSTALL_PROGRAM} ${WRKSRC}/ext/_compress/libsqlitecompress.so ${PREFIX=
}/libexec/${DIST_SUBDIR}
 .endif
 .ifdef WITH_INET
-	@${INSTALL_PROGRAM} ${WRKSRC}/${SQLITE_NAME}/ext/inet/libsqliteipv4.so ${=
PREFIX}/libexec/${DIST_SUBDIR}
+	@${INSTALL_PROGRAM} ${WRKSRC}/ext/inet/libsqliteipv4.so ${PREFIX}/libexec=
/${DIST_SUBDIR}
 .	ifndef NOPORTDOCS
-		@${SED} '/\/\*/d;/\*\//,$$d' ${WRKSRC}/${SQLITE_NAME}/ext/inet/ipv4-ext.=
c > ${WRKSRC}/${SQLITE_NAME}/ext/inet/README-ipv4.txt
-		@${INSTALL_DATA} ${WRKSRC}/${SQLITE_NAME}/ext/inet/README-ipv4.txt ${DOC=
SDIR}
+		@${SED} '/\/\*/d;/\*\//,$$d' ${WRKSRC}/ext/inet/ipv4-ext.c > ${WRKSRC}/e=
xt/inet/README-ipv4.txt
+		@${INSTALL_DATA} ${WRKSRC}/ext/inet/README-ipv4.txt ${DOCSDIR}
 .	endif
 .	ifndef NOPORTEXAMPLES
-		@${INSTALL_DATA} ${WRKSRC}/${SQLITE_NAME}/ext/inet/ipv4-ext.sql ${EXAMPL=
ESDIR}
+		@${INSTALL_DATA} ${WRKSRC}/ext/inet/ipv4-ext.sql ${EXAMPLESDIR}
 .	endif
 .endif
 .ifdef WITH_ENV
-	@${INSTALL_PROGRAM} ${WRKSRC}/${SQLITE_NAME}/ext/env/libsqliteenv.so ${PR=
EFIX}/libexec/${DIST_SUBDIR}
+	@${INSTALL_PROGRAM} ${WRKSRC}/ext/env/libsqliteenv.so ${PREFIX}/libexec/$=
{DIST_SUBDIR}
 .	ifndef NOPORTDOCS
-		@${SED} '/\/\*/d;/\*\//,$$d' ${WRKSRC}/${SQLITE_NAME}/ext/env/env.c > ${=
WRKSRC}/${SQLITE_NAME}/ext/env/README-env.txt
-		@${INSTALL_DATA} ${WRKSRC}/${SQLITE_NAME}/ext/env/README-env.txt ${DOCSD=
IR}
+		@${SED} '/\/\*/d;/\*\//,$$d' ${WRKSRC}/ext/env/env.c > ${WRKSRC}/ext/env=
/README-env.txt
+		@${INSTALL_DATA} ${WRKSRC}/ext/env/README-env.txt ${DOCSDIR}
 .	endif
 .endif
 .ifdef WITH_MD5
-	@${INSTALL_PROGRAM} ${WRKSRC}/${SQLITE_NAME}/ext/md5/libsqlitemd5.so ${PR=
EFIX}/libexec/${DIST_SUBDIR}
+	@${INSTALL_PROGRAM} ${WRKSRC}/ext/md5/libsqlitemd5.so ${PREFIX}/libexec/$=
{DIST_SUBDIR}
 .	ifndef NOPORTDOCS
-		@${SED} '/\/\*/d;/\*\//,$$d' ${WRKSRC}/${SQLITE_NAME}/ext/md5/md5.c > ${=
WRKSRC}/${SQLITE_NAME}/ext/md5/README-md5.txt
-		@${INSTALL_DATA} ${WRKSRC}/${SQLITE_NAME}/ext/md5/README-md5.txt ${DOCSD=
IR}
+		@${SED} '/\/\*/d;/\*\//,$$d' ${WRKSRC}/ext/md5/md5.c > ${WRKSRC}/ext/md5=
/README-md5.txt
+		@${INSTALL_DATA} ${WRKSRC}/ext/md5/README-md5.txt ${DOCSDIR}
 .	endif
 .	ifndef NOPORTEXAMPLES
-		@${INSTALL_DATA} ${WRKSRC}/${SQLITE_NAME}/ext/md5/md5.sql ${EXAMPLESDIR}
+		@${INSTALL_DATA} ${WRKSRC}/ext/md5/md5.sql ${EXAMPLESDIR}
 .	endif
 .endif
=20
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: distinfo
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/pcvs/ports/databases/sqlite-ext-mobigroup/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo	5 Nov 2010 01:50:48 -0000	1.2
+++ distinfo	19 Apr 2011 15:56:04 -0000
@@ -1,2 +1,2 @@
-SHA256 (sqlite-ext/sqlite3_3.7.2-mobigroup.1.tar.gz) =3D f9616819969b00802=
b42e1d8b8599878a3774df268aebfdd78ed2a3051f1ead6
-SIZE (sqlite-ext/sqlite3_3.7.2-mobigroup.1.tar.gz) =3D 3923088
+SHA256 (sqlite-ext/sqlite3_3.7.5-mobigroup.1.tar.gz) =3D 5e1b0d82c9ae8ab25=
5a0cecf6de62d8bb1c257d88648630736d7d42ba84f895e
+SIZE (sqlite-ext/sqlite3_3.7.5-mobigroup.1.tar.gz) =3D 6745516
--- sqlite-ext-mobigroup.patch ends here ---

--=20
   Sunpoet Po-Chuan Hsieh <sunpoet at sunpoet.net> <sunpoet at FreeBSD.org>
           4096R/CC57E36B 8AD8 68F2 7D2B 0A10 7E9B 8CC0 DC44 247E CC57 E36B
	                     http://people.FreeBSD.org/~sunpoet/pgpkeys.txt
Comment 4 Po-Chuan Hsieh freebsd_committer freebsd_triage 2011-04-19 17:08:17 UTC
Hi,

  I missed the problem pointed out by erwin@. We should bump PORTEPOCH
  to show the version change from "4" to "3.7.5.1".

Regards,
sunpoet
-- 
   Sunpoet Po-Chuan Hsieh <sunpoet at sunpoet.net> <sunpoet at FreeBSD.org>
           4096R/CC57E36B 8AD8 68F2 7D2B 0A10 7E9B 8CC0 DC44 247E CC57 E36B
	                     http://people.FreeBSD.org/~sunpoet/pgpkeys.txt
Comment 5 dfilter service freebsd_committer freebsd_triage 2011-04-20 18:42:17 UTC
sunpoet     2011-04-20 17:41:58 UTC

  FreeBSD ports repository

  Modified files:
    databases/sqlite-ext-mobigroup Makefile distinfo 
  Log:
  - Update to 3.7.5
  - Bump PORTEPOCH for version number going backward when updating to 3.7.2
  - Use WRKSRC properly
  - Use bsd.port.options.mk and bsd.port.mk
  
  PR:             ports/156422
  Submitted by:   Pavel I Volkov <pavelivolkov@googlemail.com> (maintainer)
  
  Revision  Changes    Path
  1.3       +27 -36    ports/databases/sqlite-ext-mobigroup/Makefile
  1.3       +2 -2      ports/databases/sqlite-ext-mobigroup/distinfo
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 6 Po-Chuan Hsieh freebsd_committer freebsd_triage 2011-04-20 18:42:34 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!