aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2005-05-03 15:03:54 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2005-05-03 15:03:54 +0000
commit9e4f960e50c2908ea9665947cf40b33d4dbd71ed (patch)
treeebbc736af4709f138a1457799bb390e73114dc4e
parent5aae450458ffb148ef6145016888ed322b822959 (diff)
downloadports-9e4f960e50c2908ea9665947cf40b33d4dbd71ed.tar.gz
ports-9e4f960e50c2908ea9665947cf40b33d4dbd71ed.zip
Notes
-rw-r--r--ports-mgmt/pkg_trackinst/Makefile26
-rw-r--r--ports-mgmt/pkg_trackinst/distinfo2
-rw-r--r--ports-mgmt/pkg_trackinst/pkg-descr10
-rw-r--r--ports-mgmt/pkg_trackinst/pkg-plist33
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/pkg_trackinst/Makefile26
-rw-r--r--sysutils/pkg_trackinst/distinfo2
-rw-r--r--sysutils/pkg_trackinst/pkg-descr10
-rw-r--r--sysutils/pkg_trackinst/pkg-plist33
9 files changed, 143 insertions, 0 deletions
diff --git a/ports-mgmt/pkg_trackinst/Makefile b/ports-mgmt/pkg_trackinst/Makefile
new file mode 100644
index 000000000000..ebb9a7f7e0df
--- /dev/null
+++ b/ports-mgmt/pkg_trackinst/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: pkg_trackinst
+# Date created: 3 May 2005
+# Whom: Hye-Shik Chang <perky@FreeBSD.org>
+#
+# $FreeBSD$
+
+PORTNAME= pkg_trackinst
+PORTVERSION= 0.2
+CATEGORIES= sysutils
+MASTER_SITES= http://people.freebsd.org/~perky/distfiles/
+
+MAINTAINER= perky@FreeBSD.org
+COMMENT= PkgDB/pkg-plist generator by tracking installation
+
+RUN_DEPENDS= ${LOCALBASE}/lib/installwatch.so:${PORTSDIR}/sysutils/installwatch
+
+USE_PYTHON= 2.4+
+USE_PYDISTUTILS= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 501105
+IGNORE= requires dynamically-linked base programs
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/ports-mgmt/pkg_trackinst/distinfo b/ports-mgmt/pkg_trackinst/distinfo
new file mode 100644
index 000000000000..d2cf180ca7fe
--- /dev/null
+++ b/ports-mgmt/pkg_trackinst/distinfo
@@ -0,0 +1,2 @@
+MD5 (pkg_trackinst-0.2.tar.gz) = 234f9dacd1e353a3a2d254c7f2383349
+SIZE (pkg_trackinst-0.2.tar.gz) = 9487
diff --git a/ports-mgmt/pkg_trackinst/pkg-descr b/ports-mgmt/pkg_trackinst/pkg-descr
new file mode 100644
index 000000000000..544f7253727d
--- /dev/null
+++ b/ports-mgmt/pkg_trackinst/pkg-descr
@@ -0,0 +1,10 @@
+This package provides two commands:
+
+ * pkg_trackinst:
+ Tracks installation of unpackaged software and writes pkgdb
+ entry using the install log. Then, it also creates a binary
+ package for the installed package.
+
+ * pkg_genplist:
+ Generates `pkg-plist' of a port in current directory automatically
+ by a test installation.
diff --git a/ports-mgmt/pkg_trackinst/pkg-plist b/ports-mgmt/pkg_trackinst/pkg-plist
new file mode 100644
index 000000000000..12cfde0cda92
--- /dev/null
+++ b/ports-mgmt/pkg_trackinst/pkg-plist
@@ -0,0 +1,33 @@
+bin/pkg_genplist
+bin/pkg_trackinst
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/InstallSession.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/InstallSession.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/InstallSession.pyo
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/PkgDbInfoForm.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/PkgDbInfoForm.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/PkgDbInfoForm.pyo
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/PkgDbWriter.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/PkgDbWriter.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/PkgDbWriter.pyo
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/PlistWriter.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/PlistWriter.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/PlistWriter.pyo
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/TerminalSlider.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/TerminalSlider.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/TerminalSlider.pyo
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/Trackers.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/Trackers.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/Trackers.pyo
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/__init__.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/__init__.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/__init__.pyo
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/cmd_support.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/cmd_support.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/cmd_support.pyo
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/genplist_main.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/genplist_main.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/genplist_main.pyo
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/main.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/main.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/main.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/PkgTrackInst
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 60fedc0825c2..4a454ee400ac 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -364,6 +364,7 @@
SUBDIR += pkg_install-devel
SUBDIR += pkg_remove
SUBDIR += pkg_rmleaves
+ SUBDIR += pkg_trackinst
SUBDIR += pkg_tree
SUBDIR += pkill
SUBDIR += plconfig
diff --git a/sysutils/pkg_trackinst/Makefile b/sysutils/pkg_trackinst/Makefile
new file mode 100644
index 000000000000..ebb9a7f7e0df
--- /dev/null
+++ b/sysutils/pkg_trackinst/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: pkg_trackinst
+# Date created: 3 May 2005
+# Whom: Hye-Shik Chang <perky@FreeBSD.org>
+#
+# $FreeBSD$
+
+PORTNAME= pkg_trackinst
+PORTVERSION= 0.2
+CATEGORIES= sysutils
+MASTER_SITES= http://people.freebsd.org/~perky/distfiles/
+
+MAINTAINER= perky@FreeBSD.org
+COMMENT= PkgDB/pkg-plist generator by tracking installation
+
+RUN_DEPENDS= ${LOCALBASE}/lib/installwatch.so:${PORTSDIR}/sysutils/installwatch
+
+USE_PYTHON= 2.4+
+USE_PYDISTUTILS= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 501105
+IGNORE= requires dynamically-linked base programs
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/pkg_trackinst/distinfo b/sysutils/pkg_trackinst/distinfo
new file mode 100644
index 000000000000..d2cf180ca7fe
--- /dev/null
+++ b/sysutils/pkg_trackinst/distinfo
@@ -0,0 +1,2 @@
+MD5 (pkg_trackinst-0.2.tar.gz) = 234f9dacd1e353a3a2d254c7f2383349
+SIZE (pkg_trackinst-0.2.tar.gz) = 9487
diff --git a/sysutils/pkg_trackinst/pkg-descr b/sysutils/pkg_trackinst/pkg-descr
new file mode 100644
index 000000000000..544f7253727d
--- /dev/null
+++ b/sysutils/pkg_trackinst/pkg-descr
@@ -0,0 +1,10 @@
+This package provides two commands:
+
+ * pkg_trackinst:
+ Tracks installation of unpackaged software and writes pkgdb
+ entry using the install log. Then, it also creates a binary
+ package for the installed package.
+
+ * pkg_genplist:
+ Generates `pkg-plist' of a port in current directory automatically
+ by a test installation.
diff --git a/sysutils/pkg_trackinst/pkg-plist b/sysutils/pkg_trackinst/pkg-plist
new file mode 100644
index 000000000000..12cfde0cda92
--- /dev/null
+++ b/sysutils/pkg_trackinst/pkg-plist
@@ -0,0 +1,33 @@
+bin/pkg_genplist
+bin/pkg_trackinst
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/InstallSession.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/InstallSession.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/InstallSession.pyo
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/PkgDbInfoForm.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/PkgDbInfoForm.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/PkgDbInfoForm.pyo
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/PkgDbWriter.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/PkgDbWriter.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/PkgDbWriter.pyo
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/PlistWriter.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/PlistWriter.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/PlistWriter.pyo
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/TerminalSlider.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/TerminalSlider.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/TerminalSlider.pyo
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/Trackers.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/Trackers.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/Trackers.pyo
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/__init__.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/__init__.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/__init__.pyo
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/cmd_support.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/cmd_support.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/cmd_support.pyo
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/genplist_main.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/genplist_main.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/genplist_main.pyo
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/main.py
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/main.pyc
+%%PYTHON_SITELIBDIR%%/PkgTrackInst/main.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/PkgTrackInst