Browse code

pkg: Move ser related packaging files to pkg/ser

Jon Bonilla authored on 14/10/2010 19:56:36
Showing 58 changed files
... ...
@@ -827,12 +827,9 @@ bin:
827 827
 deb:
828 828
 	-@if [ -d debian ]; then \
829 829
 		dpkg-buildpackage -rfakeroot -tc; \
830
-	elif [ -d pkg/$(MAIN_NAME)/deb/debian ]; then \
831
-		ln -s pkg/$(MAIN_NAME)/deb/debian debian; \
832
-		dpkg-buildpackage -rfakeroot -tc; \
833 830
 		rm debian; \
834 831
 	else \
835
-		ln -s pkg/debian debian; \
832
+		ln -s pkg/$(MAIN_NAME)/deb/debian debian; \
836 833
 		dpkg-buildpackage -rfakeroot -tc; \
837 834
 		rm debian; \
838 835
 	fi
... ...
@@ -843,7 +840,7 @@ sunpkg:
843 840
 	mkdir -p tmp/$(MAIN_NAME)_sun_pkg
844 841
 	$(MAKE) install basedir=$(CURDIR)/tmp/$(MAIN_NAME) \
845 842
 			prefix=/usr/local $(mk_params)
846
-	(cd pkg/solaris; \
843
+	(cd pkg/$(MAIN_NAME)/solaris; \
847 844
 	pkgmk -r ../../tmp/$(MAIN_NAME)/usr/local -o -d ../../tmp/$(MAIN_NAME)_sun_pkg/ -v "$(RELEASE)" ;\
848 845
 	cd ../..)
849 846
 	cat /dev/null > ../$(NAME)-$(RELEASE)-$(OS)-$(ARCH)-local
850 847
similarity index 100%
851 848
rename from pkg/debian/changelog
852 849
rename to pkg/ser/deb/debian/changelog
853 850
similarity index 100%
854 851
rename from pkg/debian/compat
855 852
rename to pkg/ser/deb/debian/compat
856 853
similarity index 100%
857 854
rename from pkg/debian/control
858 855
rename to pkg/ser/deb/debian/control
859 856
similarity index 100%
860 857
rename from pkg/debian/copyright
861 858
rename to pkg/ser/deb/debian/copyright
862 859
similarity index 100%
863 860
rename from pkg/debian/cron.d.ex
864 861
rename to pkg/ser/deb/debian/cron.d.ex
865 862
similarity index 100%
866 863
rename from pkg/debian/ex.package.doc-base
867 864
rename to pkg/ser/deb/debian/ex.package.doc-base
868 865
similarity index 100%
869 866
rename from pkg/debian/manpage.1.ex
870 867
rename to pkg/ser/deb/debian/manpage.1.ex
871 868
similarity index 100%
872 869
rename from pkg/debian/manpage.sgml.ex
873 870
rename to pkg/ser/deb/debian/manpage.sgml.ex
874 871
similarity index 100%
875 872
rename from pkg/debian/postinst
876 873
rename to pkg/ser/deb/debian/postinst
877 874
similarity index 100%
878 875
rename from pkg/debian/postrm
879 876
rename to pkg/ser/deb/debian/postrm
880 877
similarity index 100%
881 878
rename from pkg/debian/preinst.ex
882 879
rename to pkg/ser/deb/debian/preinst.ex
883 880
similarity index 100%
884 881
rename from pkg/debian/prerm
885 882
rename to pkg/ser/deb/debian/prerm
886 883
similarity index 100%
887 884
rename from pkg/debian/prerm.ex
888 885
rename to pkg/ser/deb/debian/prerm.ex
889 886
similarity index 100%
890 887
rename from pkg/debian/rules
891 888
rename to pkg/ser/deb/debian/rules
892 889
similarity index 100%
893 890
rename from pkg/debian/ser-oob.config
894 891
rename to pkg/ser/deb/debian/ser-oob.config
895 892
similarity index 100%
896 893
rename from pkg/debian/ser-oob.postinst
897 894
rename to pkg/ser/deb/debian/ser-oob.postinst
898 895
similarity index 100%
899 896
rename from pkg/debian/ser-oob.postrm
900 897
rename to pkg/ser/deb/debian/ser-oob.postrm
901 898
similarity index 100%
902 899
rename from pkg/debian/ser-oob.prerm
903 900
rename to pkg/ser/deb/debian/ser-oob.prerm
904 901
similarity index 100%
905 902
rename from pkg/debian/ser-oob.templates
906 903
rename to pkg/ser/deb/debian/ser-oob.templates
907 904
similarity index 100%
908 905
rename from pkg/debian/ser.config
909 906
rename to pkg/ser/deb/debian/ser.config
910 907
similarity index 100%
911 908
rename from pkg/debian/ser.default
912 909
rename to pkg/ser/deb/debian/ser.default
913 910
similarity index 100%
914 911
rename from pkg/debian/ser.examples
915 912
rename to pkg/ser/deb/debian/ser.examples
916 913
similarity index 100%
917 914
rename from pkg/debian/ser.init
918 915
rename to pkg/ser/deb/debian/ser.init
919 916
similarity index 100%
920 917
rename from pkg/debian/ser.templates
921 918
rename to pkg/ser/deb/debian/ser.templates
922 919
similarity index 100%
923 920
rename from pkg/debian/shlibs.local
924 921
rename to pkg/ser/deb/debian/shlibs.local
925 922
similarity index 100%
926 923
rename from pkg/debian/watch
927 924
rename to pkg/ser/deb/debian/watch
928 925
similarity index 100%
929 926
rename from pkg/freebsd/000.ser.sh
930 927
rename to pkg/ser/freebsd/000.ser.sh
931 928
similarity index 100%
932 929
rename from pkg/freebsd/Makefile
933 930
rename to pkg/ser/freebsd/Makefile
934 931
similarity index 100%
935 932
rename from pkg/freebsd/distinfo
936 933
rename to pkg/ser/freebsd/distinfo
937 934
similarity index 100%
938 935
rename from pkg/freebsd/pkg-comment
939 936
rename to pkg/ser/freebsd/pkg-comment
940 937
similarity index 100%
941 938
rename from pkg/freebsd/pkg-descr
942 939
rename to pkg/ser/freebsd/pkg-descr
943 940
similarity index 100%
944 941
rename from pkg/freebsd/pkg-plist
945 942
rename to pkg/ser/freebsd/pkg-plist
946 943
similarity index 100%
947 944
rename from pkg/gentoo/ser-0.8.10.ebuild
948 945
rename to pkg/ser/gentoo/ser-0.8.10.ebuild
949 946
similarity index 100%
950 947
rename from pkg/gentoo/ser-0.8.11.ebuild
951 948
rename to pkg/ser/gentoo/ser-0.8.11.ebuild
952 949
similarity index 100%
953 950
rename from pkg/gentoo/ser-0.8.12.ebuild
954 951
rename to pkg/ser/gentoo/ser-0.8.12.ebuild
955 952
similarity index 100%
956 953
rename from pkg/gentoo/ser-0.8.14.ebuild
957 954
rename to pkg/ser/gentoo/ser-0.8.14.ebuild
958 955
similarity index 100%
959 956
rename from pkg/gentoo/ser-0.8.9.ebuild
960 957
rename to pkg/ser/gentoo/ser-0.8.9.ebuild
961 958
similarity index 100%
962 959
rename from pkg/gentoo/ser.init
963 960
rename to pkg/ser/gentoo/ser.init
964 961
similarity index 100%
965 962
rename from pkg/netbsd/COMMENT
966 963
rename to pkg/ser/netbsd/COMMENT
967 964
similarity index 100%
968 965
rename from pkg/netbsd/DESCR
969 966
rename to pkg/ser/netbsd/DESCR
970 967
similarity index 100%
971 968
rename from pkg/netbsd/Makefile
972 969
rename to pkg/ser/netbsd/Makefile
973 970
similarity index 100%
974 971
rename from pkg/netbsd/PLIST
975 972
rename to pkg/ser/netbsd/PLIST
976 973
similarity index 100%
977 974
rename from pkg/netbsd/distinfo
978 975
rename to pkg/ser/netbsd/distinfo
979 976
similarity index 100%
980 977
rename from pkg/openbsd/Makefile
981 978
rename to pkg/ser/openbsd/Makefile
982 979
similarity index 100%
983 980
rename from pkg/openbsd/distinfo
984 981
rename to pkg/ser/openbsd/distinfo
985 982
similarity index 100%
986 983
rename from pkg/openbsd/pkg/COMMENT
987 984
rename to pkg/ser/openbsd/pkg/COMMENT
988 985
similarity index 100%
989 986
rename from pkg/openbsd/pkg/DESCR
990 987
rename to pkg/ser/openbsd/pkg/DESCR
991 988
similarity index 100%
992 989
rename from pkg/openbsd/pkg/PLIST
993 990
rename to pkg/ser/openbsd/pkg/PLIST
994 991
similarity index 100%
995 992
rename from pkg/opensuse/ser.init.SuSE
996 993
rename to pkg/ser/opensuse/ser.init.SuSE
997 994
similarity index 100%
998 995
rename from pkg/opensuse/ser.spec
999 996
rename to pkg/ser/opensuse/ser.spec
1000 997
similarity index 100%
1001 998
rename from pkg/rpm/ser.init
1002 999
rename to pkg/ser/rpm/ser.init
1003 1000
similarity index 100%
1004 1001
rename from pkg/rpm/ser.spec-4.1
1005 1002
rename to pkg/ser/rpm/ser.spec-4.1
1006 1003
similarity index 100%
1007 1004
rename from pkg/rpm/ser.spec.fedora
1008 1005
rename to pkg/ser/rpm/ser.spec.fedora
1009 1006
similarity index 100%
1010 1007
rename from pkg/solaris/pkginfo
1011 1008
rename to pkg/ser/solaris/pkginfo
1012 1009
similarity index 100%
1013 1010
rename from pkg/solaris/prototype
1014 1011
rename to pkg/ser/solaris/prototype
1015 1012
similarity index 100%
1016 1013
rename from pkg/suse/ser.init
1017 1014
rename to pkg/ser/suse/ser.init
1018 1015
similarity index 100%
1019 1016
rename from pkg/suse/ser.spec
1020 1017
rename to pkg/ser/suse/ser.spec