diff options
author | zi <zi@FreeBSD.org> | 2014-05-12 02:53:23 +0800 |
---|---|---|
committer | zi <zi@FreeBSD.org> | 2014-05-12 02:53:23 +0800 |
commit | b91dc6c7d9355cc516094abc3a6d84e7053f6a56 (patch) | |
tree | 48df4e8079b5c52e9122bc0baf2e619ce11c9b19 /ports-mgmt | |
parent | fe2d8a014db8a7748143bf714e6ea4b84e3ebdc2 (diff) | |
download | freebsd-ports-gnome-b91dc6c7d9355cc516094abc3a6d84e7053f6a56.tar.gz freebsd-ports-gnome-b91dc6c7d9355cc516094abc3a6d84e7053f6a56.tar.zst freebsd-ports-gnome-b91dc6c7d9355cc516094abc3a6d84e7053f6a56.zip |
- Remove ports-mgmt/pver as it does not support pkgng
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/Makefile | 1 | ||||
-rw-r--r-- | ports-mgmt/pver/Makefile | 56 | ||||
-rw-r--r-- | ports-mgmt/pver/distinfo | 2 | ||||
-rw-r--r-- | ports-mgmt/pver/files/patch-pver.c | 18 | ||||
-rw-r--r-- | ports-mgmt/pver/files/patch-pver_c.c | 13 | ||||
-rw-r--r-- | ports-mgmt/pver/pkg-descr | 7 | ||||
-rw-r--r-- | ports-mgmt/pver/pkg-message | 14 |
7 files changed, 0 insertions, 111 deletions
diff --git a/ports-mgmt/Makefile b/ports-mgmt/Makefile index 2b8c3969ee7b..74074c6ba5a9 100644 --- a/ports-mgmt/Makefile +++ b/ports-mgmt/Makefile @@ -77,7 +77,6 @@ SUBDIR += poudriere-devel SUBDIR += prhistory SUBDIR += psearch - SUBDIR += pver SUBDIR += symports SUBDIR += tinderbox SUBDIR += tinderbox-devel diff --git a/ports-mgmt/pver/Makefile b/ports-mgmt/pver/Makefile deleted file mode 100644 index 7705669dccb5..000000000000 --- a/ports-mgmt/pver/Makefile +++ /dev/null @@ -1,56 +0,0 @@ -# Created by: Wei-Yu Chen <weiyu@alpha3.cs.nthu.edu.tw> -# $FreeBSD$ - -PORTNAME= pver -PORTVERSION= 0.16 -CATEGORIES= ports-mgmt -MASTER_SITES= http://www.csie.nctu.edu.tw/~weiyu/software/ \ - ${MASTER_SITE_GOOGLE_CODE} - -MAINTAINER= zi@FreeBSD.org -COMMENT= Show packages which are different version from ports using INDEX-*.db - -OPTIONS_DEFINE= SORT DB185 -SORT_DESC= Sort the result by the package names -DB185_DESC= Use BerkeleyDB 1.85/1.86 - -WRKSRC= ${WRKDIR}/${PORTNAME} -MAKE_ARGS+= PORTSDIR=${PORTSDIR} -MAKE_JOBS_UNSAFE=yes - -DEPRECATED= Not compatible with pkgNG -EXPIRATION_DATE=2014-09-01 - -PLIST_FILES= bin/pver \ - bin/pver_c \ - bin/pver_dbgen \ - bin/wpver \ - %%DATADIR%%/LICENSE.txt -PLIST_DIRS= %%DATADIR%% - -NO_STAGE= yes -.include <bsd.port.pre.mk> - -.if ${PORT_OPTIONS:MSORT} -MAKE_ARGS+= -DSORT -.endif - -.if ${PORT_OPTIONS:MDB185} -MAKE_ARGS+= -DBSD_DB -.else -USE_BDB= 41+ -MAKE_ARGS+= BDB_VER=${BDB_VER} BDB_LIB_DIR=${BDB_LIB_DIR} -.endif - -.if defined(INDEX_DB_FILE) -MAKE_ARGS+= INDEX_DB_FILE=${INDEX_DB_FILE} -.endif - -post-install: - ${MKDIR} ${DATADIR} - ${INSTALL} ${WRKSRC}/LICENSE.txt ${DATADIR} - - @${CAT} ${PKGMESSAGE} | ${SED} -e 's|PORTSDIR|${PORTSDIR}|g' \ - -e 's|__FreeBSD__|${OSREL:C/.[0-9]//}|g' ${PKGDIR}/pkg-message - -.include <bsd.port.post.mk> diff --git a/ports-mgmt/pver/distinfo b/ports-mgmt/pver/distinfo deleted file mode 100644 index 6305196a7782..000000000000 --- a/ports-mgmt/pver/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (pver-0.16.tar.gz) = 683528f8426a3489707a3c76321ccc6bd5a61c9902fb5eede003213b8dd2b60d -SIZE (pver-0.16.tar.gz) = 6598 diff --git a/ports-mgmt/pver/files/patch-pver.c b/ports-mgmt/pver/files/patch-pver.c deleted file mode 100644 index c35e4af16b13..000000000000 --- a/ports-mgmt/pver/files/patch-pver.c +++ /dev/null @@ -1,18 +0,0 @@ ---- ./pver.c.orig 2009-04-05 18:35:40.000000000 +0200 -+++ ./pver.c 2011-05-26 12:00:10.000000000 +0200 -@@ -78,12 +78,14 @@ - char *data_sp; - char *show_p; - char *p1, *p2; -+ int w; - /** - * show_p: dp->d_name 's c-string version - * data_p: data.data 's c-string version - */ - asprintf(&show_p, "%.*s", dp->d_namlen, dp->d_name); -- asprintf(&data_p, "%.*s", data.DU_LEN, (const char *)data.DU_DATA); -+ w = data.DU_LEN > INT_MAX ? INT_MAX : data.DU_LEN; -+ asprintf(&data_p, "%.*s", w, (const char *)data.DU_DATA); - - /** - * If string data_p contains |, data_p is terminated at | diff --git a/ports-mgmt/pver/files/patch-pver_c.c b/ports-mgmt/pver/files/patch-pver_c.c deleted file mode 100644 index 36eab0f4ec22..000000000000 --- a/ports-mgmt/pver/files/patch-pver_c.c +++ /dev/null @@ -1,13 +0,0 @@ ---- ./pver_c.c.orig 2009-02-21 09:05:36.000000000 +0100 -+++ ./pver_c.c 2011-05-26 12:00:10.000000000 +0200 -@@ -7,7 +7,9 @@ - #include "config.h" - - int show_key(DBI_UNIT *key) { -- printf("%d %.*s\n", key->DU_LEN, key->DU_LEN, (const char *)key->DU_DATA); -+ int w; -+ w = key->DU_LEN > INT_MAX ? INT_MAX : key->DU_LEN; -+ printf("%lu %.*s\n", (unsigned long)key->DU_LEN, w, (const char *)key->DU_DATA); - return 0; - } - diff --git a/ports-mgmt/pver/pkg-descr b/ports-mgmt/pver/pkg-descr deleted file mode 100644 index df284830b654..000000000000 --- a/ports-mgmt/pver/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -A simple utility to show the package name and version -whose port version is different from it. - -The utility uses /usr/ports/INDEX-{__FreeBSD__}.db -The file can be generated by using bundled pver_dbgen - -WWW: http://www.csie.nctu.edu.tw/~weiyu/#msgbox=page/program.html diff --git a/ports-mgmt/pver/pkg-message b/ports-mgmt/pver/pkg-message deleted file mode 100644 index cb0ba719c916..000000000000 --- a/ports-mgmt/pver/pkg-message +++ /dev/null @@ -1,14 +0,0 @@ -=================================================================================== - -PORTSDIR/INDEX-__FreeBSD__.db is usually generated by ports-mgmt/portupgrade -However, you can use the tool 'pver_dbgen' to generate/update it - -> sudo pver_dbgen - -The tool use PORTSDIR/INDEX-__FreeBSD__ to generate db file - -Then you can show the packages whose port version and package version is different -by typing 'pver' -> pver - -=================================================================================== |