On Mon, Jan 17, 2011 at 01:34:35AM +0000, Mikolaj Kucharski wrote: > On Mon, Jan 17, 2011 at 02:05:29AM +0100, Tobias Ulmer wrote: > > Did I get the EPOCH stuff right? ;-) > ... > > -DISTNAME= ncmpc-0.17 > > -EPOCH= 0 > > -REVISION= 0 > > +DISTNAME= ncmpc-0.18 > > +EPOCH= 1 > > No. Version 0.18 goes correctly up from 0.17p0, so there is no need to > bump EPOCH. EPOCH should stay at zero. > > EPOCH never goes away or goes to lower value. Always need to go up, but > *only* in certain (hopefuly rare) situations. Here is example when would > go up with EPOCH: > > If by any chance in a week you need to revert ncmpc update back to 0.17 > (from 0.18) then you need to tell pkg tools that from now on 0.17 is > newer version than 0.18 (in terms of OpenBSD ports and packages) so you > bump EPOCH. On a everyday basis that usually does not happend. > > EPOCH is bumped always when version goes backward, so pkg tools know that > package needs to be updated anyway, even if the version is lower. That > is why EPOCH is for. > > Hope makes sense.
Thanks, that does make sense :) > > -- > best regards > q# > Fixed port: Index: Makefile =================================================================== RCS file: /srv/boron/data/vcs/cvs/openbsd/ports/audio/ncmpc/Makefile,v retrieving revision 1.19 diff -u -p -r1.19 Makefile --- Makefile 15 Nov 2010 00:22:47 -0000 1.19 +++ Makefile 17 Jan 2011 01:41:52 -0000 @@ -2,9 +2,8 @@ COMMENT= curses based frontend for mpd -DISTNAME= ncmpc-0.17 +DISTNAME= ncmpc-0.18 EPOCH= 0 -REVISION= 0 CATEGORIES= audio HOMEPAGE= http://mpd.wikia.com/wiki/Client:Ncmpc @@ -17,7 +16,7 @@ PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -WANTLIB= c glib-2.0 mpdclient ncurses +WANTLIB= c glib-2.0 mpdclient ncursesw LIB_DEPENDS= devel/glib2 \ audio/libmpdclient MODULES= devel/gettext @@ -27,7 +26,6 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE CONFIGURE_STYLE= gnu CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \ LDFLAGS=-L${LOCALBASE}/lib -USE_GROFF = Yes post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ncmpc Index: distinfo =================================================================== RCS file: /srv/boron/data/vcs/cvs/openbsd/ports/audio/ncmpc/distinfo,v retrieving revision 1.5 diff -u -p -r1.5 distinfo --- distinfo 19 Aug 2010 08:08:24 -0000 1.5 +++ distinfo 17 Jan 2011 00:43:40 -0000 @@ -1,5 +1,5 @@ -MD5 (ncmpc-0.17.tar.gz) = iroZZ1ovpz7hgcSeDQEYgg== -RMD160 (ncmpc-0.17.tar.gz) = ykpuHim74Mf+3eHFVRJuvRanUB0= -SHA1 (ncmpc-0.17.tar.gz) = MfRArE+dm1sWC8y+N6fZQzYKQXo= -SHA256 (ncmpc-0.17.tar.gz) = cixS/YKFla+sJ4JgNnAabx3ztDEICS9EaDYnUdz0I8E= -SIZE (ncmpc-0.17.tar.gz) = 336303 +MD5 (ncmpc-0.18.tar.gz) = mfEcpxvjMuArF4fSxNlAEQ== +RMD160 (ncmpc-0.18.tar.gz) = x2O2bJJgc6PZt+zT65dQREVyOAE= +SHA1 (ncmpc-0.18.tar.gz) = MT6G7ICV/E9wtACPsToilvtvgks= +SHA256 (ncmpc-0.18.tar.gz) = NaHNzxvEfwJhAk1gBX21ia/dSw7E80RJ9H479alY6aw= +SIZE (ncmpc-0.18.tar.gz) = 345000 Index: pkg/PLIST =================================================================== RCS file: /srv/boron/data/vcs/cvs/openbsd/ports/audio/ncmpc/pkg/PLIST,v retrieving revision 1.4 diff -u -p -r1.4 PLIST --- pkg/PLIST 19 Aug 2010 08:08:24 -0000 1.4 +++ pkg/PLIST 17 Jan 2011 00:43:40 -0000 @@ -19,6 +19,7 @@ share/locale/fr/LC_MESSAGES/ncmpc.mo share/locale/gl/LC_MESSAGES/ncmpc.mo share/locale/he/LC_MESSAGES/ncmpc.mo share/locale/hu/LC_MESSAGES/ncmpc.mo +share/locale/it/LC_MESSAGES/ncmpc.mo share/locale/ko/LC_MESSAGES/ncmpc.mo share/locale/nb/LC_MESSAGES/ncmpc.mo share/locale/nl/LC_MESSAGES/ncmpc.mo