Index: Makefile
===================================================================
RCS file: /cvs/ports/misc/migrationtools/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile 27 Oct 2002 21:07:53 -0000 1.2
+++ Makefile 15 Aug 2003 23:33:53 -0000
@@ -2,32 +2,34 @@
COMMENT= "perl scripts for migrating system information to LDAP"
+V= 45
DISTNAME= MigrationTools
-PKGNAME= migrationtools-44
+PKGNAME= ${DISTNAME:L}-${V}
+DIST_SUBDIR= ${PKGNAME}
CATEGORIES= misc
MASTER_SITES= http://www.padl.com/download/
HOMEPAGE= http://www.padl.com/OSS/MigrationTools.html
-# BSD license, included with the source files
+# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
-RUN_DEPENDS= openldap:openldap-client-*:databases/openldap
+RUN_DEPENDS= :openldap-client-*:databases/openldap
NO_BUILD= Yes
NO_REGRESS= Yes
SUBST_VARS= PKGNAME
-WRKDIST= ${WRKDIR}/${DISTNAME}-44
-MTSDIR= ${PREFIX}/share/${PKGNAME}/
+WRKDIST= ${WRKDIR}/${DISTNAME}-${V}
+MTSDIR= ${PREFIX}/share/${PKGNAME}
do-install:
${INSTALL_DATA_DIR} ${MTSDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/*.ph ${MTSDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/*.pl ${MTSDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/*.sh ${MTSDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/*.{ph,pl,sh} ${MTSDIR}
+ ${INSTALL_DATA_DIR} ${MTSDIR}/ads
+ ${INSTALL_SCRIPT} ${WRKSRC}/ads/*.{ph,pl,sh} ${MTSDIR}/ads
${INSTALL_DATA} ${WRKSRC}/README ${MTSDIR}
Index: distinfo
===================================================================
RCS file: /cvs/ports/misc/migrationtools/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- distinfo 12 Oct 2002 17:31:43 -0000 1.1.1.1
+++ distinfo 15 Aug 2003 23:33:53 -0000
@@ -1,3 +1,3 @@
-MD5 (MigrationTools.tar.gz) = 2cc51cbf0276c161724626c70b59f0b1
-RMD160 (MigrationTools.tar.gz) = e0b79e3a28d74cd748f6b5448912790c1afb2681
-SHA1 (MigrationTools.tar.gz) = 9e32f9348dd5525ec214137ae5b58955d1d37d5d
+MD5 (migrationtools-45/MigrationTools.tar.gz) = 2355e54f17a1fdc87b0d56ed9ea3e115
+RMD160 (migrationtools-45/MigrationTools.tar.gz) = 78628fb2e9b3142d1690a6c0fe8103435d025f9a
+SHA1 (migrationtools-45/MigrationTools.tar.gz) = cc6f5ae8b8fd42bb77f094dc962a22239a492df0
Index: patches/patch-ads_migrate_passwd_ads_pl
===================================================================
RCS file: patches/patch-ads_migrate_passwd_ads_pl
diff -N patches/patch-ads_migrate_passwd_ads_pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-ads_migrate_passwd_ads_pl 15 Aug 2003 23:33:53 -0000
@@ -0,0 +1,21 @@
+$OpenBSD$
+--- ads/migrate_passwd_ads.pl.orig 2001-08-12 17:19:36.000000000 +0200
++++ ads/migrate_passwd_ads.pl 2003-08-16 01:29:07.000000000 +0200
+@@ -33,7 +33,7 @@
+ # SUCH DAMAGE.
+ #
+ #
+-# Password migration tool. Migrates /etc/shadow as well, if it exists.
++# Password migration tool. Migrates /etc/master.passwd as well, if it exists.
+ #
+ # Thanks to Peter Jacob Slot .
+ #
+@@ -150,7 +150,7 @@ if (OUTFILE != STDOUT) { close(OUTFILE);
+
+ sub read_shadow_file
+ {
+- open(SHADOW, "/etc/shadow") || return;
++ open(SHADOW, "/etc/master.passwd") || return;
+ while(
) {
+ chop;
+ ($shadowUser) = split(/:/, $_);
Index: patches/patch-migrate_passwd_pl
===================================================================
RCS file: /cvs/ports/misc/migrationtools/patches/patch-migrate_passwd_pl,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-migrate_passwd_pl
--- patches/patch-migrate_passwd_pl 12 Oct 2002 17:31:43 -0000 1.1.1.1
+++ patches/patch-migrate_passwd_pl 15 Aug 2003 23:33:53 -0000
@@ -1,6 +1,6 @@
$OpenBSD: patch-migrate_passwd_pl,v 1.1.1.1 2002/10/12 17:31:43 shell Exp $
---- migrate_passwd.pl.orig Sun Oct 13 01:19:14 2002
-+++ migrate_passwd.pl Sun Oct 13 01:19:46 2002
+--- migrate_passwd.pl.orig 2003-04-15 05:09:34.000000000 +0200
++++ migrate_passwd.pl 2003-08-16 01:21:58.000000000 +0200
@@ -32,7 +32,7 @@
# SUCH DAMAGE.
#
@@ -10,7 +10,7 @@
#
# Thanks to Peter Jacob Slot .
#
-@@ -181,7 +181,7 @@ if (OUTFILE != STDOUT) { close(OUTFILE);
+@@ -184,7 +184,7 @@ if (OUTFILE != STDOUT) { close(OUTFILE);
sub read_shadow_file
{
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/misc/migrationtools/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 DESCR
--- pkg/DESCR 12 Oct 2002 17:31:43 -0000 1.1.1.1
+++ pkg/DESCR 15 Aug 2003 23:33:53 -0000
@@ -2,5 +2,3 @@
groups, aliases, hosts, netgroups, networks, protocols, RPCs, and
services from existing nameservices (flat files, NIS, and NetInfo)
to LDAP.
-
-WWW: ${HOMEPAGE}
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/misc/migrationtools/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 PLIST
--- pkg/PLIST 12 Oct 2002 17:31:43 -0000 1.1.1.1
+++ pkg/PLIST 15 Aug 2003 23:33:53 -0000
@@ -1,5 +1,11 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/10/12 17:31:43 shell Exp $
share/${PKGNAME}/README
+share/${PKGNAME}/ads/migrate_all_nis_online_ads.sh
+share/${PKGNAME}/ads/migrate_all_online_ads.sh
+share/${PKGNAME}/ads/migrate_base.pl
+share/${PKGNAME}/ads/migrate_common.ph
+share/${PKGNAME}/ads/migrate_group_ads.pl
+share/${PKGNAME}/ads/migrate_passwd_ads.pl
share/${PKGNAME}/migrate_aliases.pl
share/${PKGNAME}/migrate_all_netinfo_offline.sh
share/${PKGNAME}/migrate_all_netinfo_online.sh
@@ -25,4 +31,5 @@
share/${PKGNAME}/migrate_rpc.pl
share/${PKGNAME}/migrate_services.pl
share/${PKGNAME}/migrate_slapd_conf.pl
+@dirrm share/${PKGNAME}/ads
@dirrm share/${PKGNAME}
|